jglim/gunbound-server

Room Join Packet (0x2111): Unknown bytes 3:4

jglim opened this issue · 0 comments

jglim commented

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.