https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/
h e l l o w o r l d [48 65 6c 6c 6f 20 57 6f 72 6c 64]
18 00 15 27 72 00 00 00 29 20 1a 00 00 00 00 00 82 2d 3f 05 00 00 00 00 54 51 53 65 72 76 65 72
[offset 04] 72 00 00 00 = 114: The direction of the player mod possible angles (8). 114 mod 8 = direction 2. [offset 08] 29 20 1a 00 = 1712169: The unique character id making the step. [offset 12] 00 00 00 00 = 0: The type of movement being sent (walking). [offset 16] 82 2d 3f 05 = 88026498: Timestamp (current system tick). [offset 20] 00 00 00 00 = 0: Map id (not always supplied). [offset 24] 54 51 53 65 72 76 65 72 = tqserver: The footer of the packet.
var length = bitconverter.touint16(packet, 0); var typeid = bitconverter.touint16(packet, 2); var direction = bitconverter.touint32(packet, 4) % 8; var character = bitconverter.touint32(packet, 8); var typemove = bitconverter.touint32(packet, 12); var timestamp = bitconverter.touint32(packet, 16); var mapid = bitconverter.touint32(packet, 20);