Thread: NPC item lists
View Single Post
  #3  
Old 11-29-2004, 08:06 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

#npcstats show
will give you the id of the npc (in game)

In the npc_types table, you'll find a field named merchant_id for that npc. Once you have it, obtain all the records matching the merchant_id of your npc. Add the items you need to merchantlist. don't forget to increase the value of 'slot' for each item.

If you don't know how to do this, read a tutorial on how to use mysql, you CAN'T run a server without knowing the basics of sql.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote