I wish to hook a packet.
It`s size is 20 bytes. All is ok in 2D client.
But I need set a packet size to 21 (for KR), when I set it KR works fine but 2D client freeze.
Setting variable size crashes 2D client.
Any idea how to solve this? Set a second (for KR) packet lenght ?
Packet size (2D - KR)
Did you try to set the size to variable and do the calculation
of the packets this way:
of the packets this way:
Code: Select all
if(who.isUOKR)
code for the 21 bytes KR packet here
else
code for the 20 bytes 2D packet here
endif