I finally manage to get it work :D
Yeah, the client happen to crashed before.
A bit work looking around for the problem, I found that the problem was the SendFuncAddr.
Anyway, I tried to read what packet the client actually send to SendFuncAddr. Reading the opcode you wrote, I see that the pointer for packet was put in register EDI. So, using Cheat Engine, I make a breakpoint at SendFuncAddr. Read the value in register EDI and see what's in that offset. I tried to select a random npc, but there's nothing started with "0200" at the offset pointed by register EDI. It makes me wonder, do I understand it wrong?
--Edited--
Found the answer on this post
[Only registered and activated users can see links. Click Here To Register...]
Yeah, the client happen to crashed before.
A bit work looking around for the problem, I found that the problem was the SendFuncAddr.
Anyway, I tried to read what packet the client actually send to SendFuncAddr. Reading the opcode you wrote, I see that the pointer for packet was put in register EDI. So, using Cheat Engine, I make a breakpoint at SendFuncAddr. Read the value in register EDI and see what's in that offset. I tried to select a random npc, but there's nothing started with "0200" at the offset pointed by register EDI. It makes me wonder, do I understand it wrong?
--Edited--
Found the answer on this post
[Only registered and activated users can see links. Click Here To Register...]