Originally Posted by
DarkstaR
Originally Posted by
arbuz
To be honest, I didn't expect such a nice and not aggressive answer from you, DarkStar. Thanks :P
I'm only mean to people who want shit handed to them, usually. You seem to know what you're doing, and you're asking for a "how," not a "give me code please."
Also, let me clarify, ITEM information from packets. Selected item etc from GUI structure.
Yeah, thanks for the info. However, the only place I'm reading packets are messages in my bot and I though I'd be forced to read trade info from packets aswell, but like 2 mins ago I've found out, that:
Code:
x = read(trade + 0x44)
y = read(x + 0x24)
z = read(y + 0x120)
under z, there's 1 byte saying:
1 - 'buy' button pressed
0 - 'sell' button pressed
next bytes are selected item's name
I guess other info are there aswell, therefore
I'll try to do some more researches and if I success, I'll make a thread with trade content's structure :P
p.s. forgot to mention, that 'trade' is a gui window trade address