Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2008, 09:40 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default merchantlist_temp riddle

Was wondering if someone might can help me here;
I know what the problem is with the temp merchantlists, but don't have the smarts to fix it;
anything past npcID 65535 will not display items; all merchants with id under this number will display items (all Npcs will hold items in merchantlist_temp, just the 65k+ ones will not display). I've tested this many ways for hours(if not days) to arrive at this conclusion
I know it's related to a an unsigned 32bit integer (thank you Cavedude), but don't know where or how to change. If we could fix this, all merchants will hold and display items tell server reset.
Reply With Quote
  #2  
Old 09-21-2008, 10:39 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Thank you, thank you!
now I can sleep again

I'll run it for a while, tell you what happens
Reply With Quote
  #3  
Old 09-23-2008, 08:41 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

This solution here works fine - Ive had it running on two servers with no problems. You might want to consider placing it in the source;
Small details like this are important; The way you log in to the server after patch day and find all the merchants clean (wonder what you might find new). Or the way a mob spawns, what he drops, how he reacts when engaged. At the end, it all comes together and gives you the 'Everquest Live' feeling.

EDIT:
You must have just stickied it! Thanks Trev
Reply With Quote
  #4  
Old 09-23-2008, 08:53 AM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default

I have also been running this since it had been posted by Derision with no problems, works perfect
Thanks again
Reply With Quote
  #5  
Old 09-23-2008, 09:50 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

The Revised Merchant List I posted here a few days ago, makes a great match for this code, since all you see mostly, is what the vendor should have and what players have sold .
One thing to know is, if the vendor has no items for sell, he won't show what you sell him. I've been going around my database adding the basic water and rations to empty vendor lists (at least tell I can add what they really should have).
Reply With Quote
  #6  
Old 09-23-2008, 12:24 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Angelox,

eqtraders.com does a great job of getting merchant data and making accessible. You probably already know this though. Putting it out there just in case...
Reply With Quote
  #7  
Old 09-21-2008, 10:38 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Fixes some merchants not displaying player sold items. Discussion: http://eqemulator.net/forums/showthread.php?t=26292

You could try changing:

client.h, around line 296:

From:
Code:
void    BulkSendMerchantInventory(int merchant_id, int16 npcid);
To:
Code:
void    BulkSendMerchantInventory(int merchant_id, int npcid);
client_process.cpp, around line 798:

From:
Code:
void Client::BulkSendMerchantInventory(int merchant_id, int16 npcid) {
To:
Code:
void Client::BulkSendMerchantInventory(int merchant_id, int npcid) {
I didn't do much testing other than putting 1 temp item on 1 merchant, so I don't know if this will break anything.
Reply With Quote
Reply


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 08:34 AM.


 

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