|
client_join_request.extend(int_to_bytes(0x0100, 2)) # unknown |
The int16 should be broken into 2 separate bytes:
First byte: own room slot id
Second byte: room keybearer's slot id
0100 happens to work when joining a room with 1 person as the person joining will be assigned slot 1, and the room host is almost always at slot 0.
gunbound-server/GunBoundServer/gameserver.py
Line 1037 in 46af0e7
The int16 should be broken into 2 separate bytes:
First byte: own room slot id
Second byte: room keybearer's slot id
0100happens to work when joining a room with 1 person as the person joining will be assigned slot 1, and the room host is almost always at slot 0.