ncrsn
Joined: 10 Feb 2006 Posts: 183
|
Posted: Tue Mar 18, 2008 5:47 am Post subject: |
|
|
I didn't know this before.
Sorry to say I have no solution to this, just a new thing (maybe) worth knowing: if player combines two stacks with different prices the same will occur.
This should be solveable hooking packet 0x08, and in it, checking if player is trying to add item into a stack (serial packet.GetInt32(10), I think), and if so, comparing the buyprice and sellprice members: if they differ, replying with packet 0x27 and returning 1 so core won't react. Never scripted that myself but should do.
Of course it does not solve the error you mentioned, so...
Storing the real prices (also) in cprops may just be the most clean way, until this bug is fixed. |
|