Are you writing TQServer at the end of the packet?
As you can see in my dump: Yes.Quote:
Are you writing TQServer at the end of the packet?
If I recall, the size written in the packet shouldn't include the TQServer at end. Obviously your buffer needs enough room, but 0x49 should be the size of the packet without the TQServer (0x41).Quote:
As you can see in my dump: Yes.
[Only registered and activated users can see links. Click Here To Register...]
I write it behind every packet, encrypt it and send it to the socket system
using (var sendPacket = new DataPacket(new byte[Packet.BufferLength + 8]))
{
sendPacket.WriteBytes(Packet.Copy(), 0);
sendPacket.WriteString("TQServer", sendPacket.BufferLength - 8);
NetworkClient.Send(sendPacket);
}