View Full Version : Mysql question
njlinus
12-09-2006, 10:19 AM
hey guys, Im trying to find out how to get more results from mysql. for example i can see that my database has 57883 merchants in the database but when i choose it i can only see 799 of them. I know their is a way around it because ive done it before but now i forget how to do it.
thanks in advance
John Adams
12-09-2006, 05:50 PM
In table: npc_types, run:
SELECT * FROM npc_types WHERE merchant_id > 0
That should show all NPCs that are set up as merchants in the game (my PEQ database shows 1753, which seems like a lot).
Table merchantlists is nothing but a list of what items the merchant has in what slot by merchant_id (set in table npc_types).
The item "price" seems to be set in table items, price field. I haven't verified this in code, but this is my understanding of merchants.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.