Page 1 of 1

Custom table Support

Posted: Mon Jul 12, 2010 1:47 pm
by Flashy
Hi,
is it a way to use the same ID's in custom Tables as in org Tables?
Or should i create new id's for NPS's for example?

I will be great if you can think about that. .. on gameserver load, check Id's in orginal table and custom table, if in custom table have same ID's use custom table settings and don't load this id's from orginal table...

This make Update more easier for admins..

cheers,
Flashy

Re: Custom table Support

Posted: Mon Jul 12, 2010 2:06 pm
by janiii
i think it is used like that, that data from custom override the data from original table if it has the same id. but maybe it depends which table, not sure now if all custom tables work like that.

custom spawn - column "id" is important (original is overriden if custom with same id exists)
custom npc - column "npcId"
custom npc skills - column "npcid" and "skillId"
custom item - column "item_id"
custom armor set - column "chest"
custom teleport - column "id"
custom droplist - not sure, but mostly the drop will be added like a new drop
custom merchant - column "shop_id"
custom npc buffer - adds new skill to npc according to buffgroup

Re: Custom table Support

Posted: Mon Jul 12, 2010 2:43 pm
by Flashy
Hi Janiii,
thanks for your prompt reply.
so I do some tests with this new knowlege :D .. and verify the correspondending columns for in the tables..