Merchant Probs

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
i expect alot of ppl have had this prob but i cant remember how 2 fix it, wot the problem is, all the merchants have loads of random items in that there not supposed 2. So ring shop will have books and all sorts in, could some please tell me how 2 sort this. Thanks alot

Also could someone tell me how i can do a action on 1 complete coloumn in DB commander, cant remember >.<
 
Last edited:

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
285
Dublin, Ireland
the top of a merchant_def npc has STDitem Numbers

each stdmode number is the same as an std number in the item.db

so for a ring stdmode is 22
if you have 22 at the top of the NPC it will only buy/sell rings that have a stdmode of 22

BH and Purple
 
Upvote 0

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
285
Dublin, Ireland
WKD2005 said:
lol how do u choose wots inteh shops ect ?

its at the end of every shop NPC file called

[goods]

do none of you look at the NPC files that are already there, made and working and use them to see how an NPC is made???

The best way to learn how something works is to look at something that works

BH and Purple
 
Upvote 0

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Babyhack said:
its at the end of every shop NPC file called

[goods]

do none of you look at the NPC files that are already there, made and working and use them to see how an NPC is made???

The best way to learn how something works is to look at something that works

BH and Purple


was that aimed at me? none of my merchants were working thats y i asked......
so i cudn't look at any 'working' 1's
 
Upvote 0

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
285
Dublin, Ireland
was not aimed any anyone and aimed at everyone

I had no idea you did not have a working file (how would I)
but to have a set of server files with no working SHOP NPCs at all is abit odd

BH and Purple
 
Upvote 0