Open chris124567 opened 4 years ago
When joining a live game :
{
"type": 2,
"data": [
"blueboat_SEND_MESSAGE",
{
"room": "",
"key": "PLAYER_USER_DETAILS",
"data": {
"name": "A",
"groupMemberId": null
}
}
],
"options": {
"compress": true
},
"nsp": "/"
}
is the proper format for a NAME packet. So the issue ( I assume, though I only work in JS ) is that groupId: is some weird kind of object? It shouldn't be there ( or set the value to null / None ). Hope this helps.
Hello, thanks for your project it has helped me understand the Gimkit protocol. I am writing my own implementation for regular (non assignment) Gimkit and was wondering if you could help.
My code is here (main file): https://pastebin.com/Ky1V5pCF Util.py: https://pastebin.com/taL4gF9i Yeast.py: https://pastebin.com/y2FWhhc3 Gimkit.py: https://pastebin.com/kHca8FdV I am able to join the room (if I start the game when I'm testing there will be players listed saying "Player [Still Entering Name]") and when I comment the websocket send for the signing in with PLAYER_USER_DETAILS (line 132) the server sends all the answers and stuff like disabled powerups, etc, but then I am unable to join the game with a username. I always prefix the msgpack packets with 0x04 so I don't know what the problem is. Any advice?