Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2006, 10:19 AM
njlinus
Sarnak
 
Join Date: May 2006
Posts: 56
Default 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
Reply With Quote
  #2  
Old 12-09-2006, 05:50 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:00 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3