EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Mysql question (https://www.eqemulator.org/forums/showthread.php?t=22047)

njlinus 12-09-2006 10:19 AM

Mysql question
 
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:

Code:

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.


All times are GMT -4. The time now is 12:53 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.