EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   Shopkeeper sales/purchases not being updated when zoning (https://www.eqemulator.org/forums/showthread.php?t=283)

Drawde 02-06-2002 12:36 AM

Shopkeeper sales/purchases not being updated when zoning
 
The original creator of the shopkeeper code (Darvik) already knows about
this bug but I'm posting it here just in case the EQEmu developers don't.
If you sell items to a shopkeeper, then zone, die or log out, the items
you sold are returned to your inventory, and you lose any money you got
from selling them. The reverse happens with items you've bought (i.e grapes :) ),
you lose the items and get your money back.
I assume this is because the changes to your inventory are somehow not being updated with
the DB/world server.

Pyrotek 02-06-2002 01:12 AM

I haven't taken a look at the code, but adding a simple call to the saveplayerprofile function in the closemerchant opcode should fix this.

Yodason 02-07-2002 08:44 AM

yeah i noticed this. will go into my merchant fix.


All times are GMT -4. The time now is 11:28 PM.

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