So, what I am trying to do is send a packet using AutoIT to use a purification pills located somewhere in my inventory, I snitched the packets using edxAnalyzer and that's what comes up
[C -> S][704C]
21
6C 09
I know the 21 is the location in inventory, I know the 704C is the opcode, I know the 6C 09 is the purification pill's ID and the item's type, what I don't know is how to use them in Auto IT. I tried something else like sending a sit/stand packet and it worked fine, the Analyzer gave me that
[C -> S][704F]
04
And here's what I did in AutoIT for the sit/stand packet
Now, what I want is the purification pill's format if I wanted to insert it in AutoIT, for example the sit/stand is this : 0x01004F70010004, I want the purification pill's usage in that same format, no functions or any of that sort. Oh I also tried doing 0x010004C700100216C09 but it gave me a DC, maybe I am putting the wrong direction? I don't know.
Thanks, any help would be appreciated.
[C -> S][704C]
21
6C 09
I know the 21 is the location in inventory, I know the 704C is the opcode, I know the 6C 09 is the purification pill's ID and the item's type, what I don't know is how to use them in Auto IT. I tried something else like sending a sit/stand packet and it worked fine, the Analyzer gave me that
[C -> S][704F]
04
And here's what I did in AutoIT for the sit/stand packet
PHP Code:
TCPStartup()
$socket = TCPConnect("127.0.0.1", 16000)
If $socket = -1 Then
MsgBox(64, "Notice", "Connection failed.")
Exit
EndIf
Sleep(5000)
TCPSend($socket, "0x" & "0100" & "4F70" & "0100" & "04") ;0x + size + opcode + direction + packetdata
TCPShutdown()
Thanks, any help would be appreciated.