Quote:
Originally Posted by Fir3andIc3
i did and it doesen't work! It's serverside... don't bother
|
if im nt mistaken this is how the trade operation works in the game:
a typical two phase lock transaction, where a client bag is mirrored by a server bag for that client! when a client moves an item to the trade window, it only sends the BAG-ROW-COL fields to the server, the server checks the BAG-ROW-COL and retrieves a reference inside the server bag and adds it to the clinet-server-client trade bag if its tradable--> by checking the item possessed property which is mirrored from the DB item entry (what i mean! is that the client doesnt reference the item directly nor he ever receives the Unique id of the item in the db even the server bag only has the reference to the UID in the db --- which is the reason for dupping, because u can have many references to the same database entry by exploiting few bugs at the server end via the client! -----
so the other wont see the item, unless the server verifies it, because its the server who adds the items to the trade bag, and sends the item DATA (WITHOUT THE reference or the UID) just to create the view at both clients.
so ever if u add the item to an email letter or trade window, the other side will either see a different item or doesnt see an item at all
thats what i think the trade is implemented.