i've been trying to use ollydbg to dupe items. By setting a breakpoint at address 00402D5D (the instruction there is PUSH EAX), and then checking the value of the ESI register, i was told that i can look at the content of the package that my client is about to send to the server. Well, it apparently does works that way.
specifically to dupe stuff, this is what i'm trying to do:
when i put an item in the little trade window, olly blocks rose because of the breakpoint i mentioned. The data always is in the folowing format:
0D 00 C1 07 C4 00 0X 0Y
00 01 00 00 00
where, i suppose, X is the destination index (the id of the little square to which the item is being sent) and Y is the source index (the id of the inventory slot where the item is originally)
so, what i tryed was to drag a second item into the trade box, and when olly blocks rose, i change the value of Y to be equal to the value of Y in the first trade data (imagining that then i would get the same item twice in the trade box)
what happens then is that i just get disconnected from the server
i play in a private server.
i thank in advance all those who read this, and a special thanks to those who try to help me
(im sorry for my bad english... i really did the best i could)