Page 1 of 1

Merchants again

PostPosted: Tue Jan 25, 2005 10:37 am
by rej
Hello again
I was looking for (and didnt find anywhere) the commands (if any) or script / custom npc for merchants, where i can add items to a certain page, ie. /merchant additem <template> 2 would insert <template> to the 2nd page of it.
i can only add items up till they pages are filled, but i know there must be something because dye, weapon, etc. merchants have paged loot they sell.

please give any advice, thanks

PostPosted: Tue Jan 25, 2005 12:40 pm
by nor
This is not possible with current code.

PostPosted: Tue Jan 25, 2005 1:53 pm
by LightBringer
Look at my paged merchant code on DolData, but it need a different table to assign item for each pages.

LightBringer

PostPosted: Wed Jan 26, 2005 8:07 am
by rej
I tried that one above, i did it like you said, but server will only start when i put those two DB*.cs files into my scripts folder (only god knows why)
but when i change merchants to DOL.GS.Scripts.PagedMerchants, they won't appear. do i have to use mobs instead of Merchants, maybe?
and what do you mean with an extra table? where do i get the layout of that?

PostPosted: Wed Jan 26, 2005 8:19 am
by deagol
If I remember, u should recompile source version of server with the additions from lightbringer...