Quote:
Originally Posted by lerxst2112
Client::Handle_OP_ShopPlayerSell which calls Client::AddMoneyToPP.
|
Thanks, I took a look at the code and it's definitely beyond my very limited C++ skills.
I did however do some more testing, and I figured out what's going on. I'm always given the proper amounts of platinum, gold, and silver that the merchant tells me, but it's using the
silver amount for the amount of
copper to give me as well.
For example:
A merchant says it'll give me 4pp, 3gp,
2sp, 1cp for an item
What I'll actually receive is 4pp, 3gp,
2sp,
2cp (I realize now that my example in the OP doesn't match this and is incorrect, I was just making it up from what I thought I remembered)
This also explains why I'd get absolutely nothing when I sold an item that sold for less than 1 silver piece: the amount of silver pieces returned would be 0 and therefore copper pieces would also be 0.
I have absolutely no idea how to go about fixing this though, and was really hoping someone would have an idea. This is on a titanium client so is it possible something is going wrong in the opcodes? Or could this be a longstanding bug that no one's really noticed because nobody really pays much attention to their lousy copper pieces?
