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. |
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); Code:
void BulkSendMerchantInventory(int merchant_id, int npcid); From: Code:
void Client::BulkSendMerchantInventory(int merchant_id, int16 npcid) { Code:
void Client::BulkSendMerchantInventory(int merchant_id, int npcid) { |
Thank you, thank you!
now I can sleep again :) I'll run it for a while, tell you what happens |
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 :) |
I have also been running this since it had been posted by Derision with no problems, works perfect :D
Thanks again |
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). |
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... |
Quote:
O well, I'll give it a try thanks for the tip. |
All times are GMT -4. The time now is 08:39 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.