PDA

View Full Version : Shopkeeper sales/purchases not being updated when zoning


Drawde
02-06-2002, 12:36 AM
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.