teeworlds-go / protocol

Teeworlds 0.7 network protocol library
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

more error handling, better graceful shutdown, bugfix in filter callbacks & break the whole client :D #13

Closed jxsl13 closed 2 months ago

jxsl13 commented 2 months ago

broke the client somewhere along the lines

currently not enough knowledge about where that might be coming from

starting reader goroutine...
received packet w/ 1 messages
0   control  5
got server token af036b30
received packet w/ 1 messages
0   control  2
got accept
received packet w/ 4 messages
0   net      0
1   net      0
2   net      0
3   net      2
TODO: why is the msg id -1???
unknown game message id=0
  header: 401201
  payload: 4012010112810e1fa1db3378b4fb164ed650592600
  full msg: 4012014012010112810e1fa1db3378b4fb164ed650592600
TODO: why is the msg id -1???
unknown game message id=0
  header: 401302
  payload: 40130201f621a5a1f58537758e7341beee79f2b2053f
  full msg: 40130240130201f621a5a1f58537758e7341beee79f2b2053f
TODO: why is the msg id -1???
unknown game message id=0
  header: 410403
  payload: 41040301f9117b3c803934169fc0aef2bcb75c035475746f7269616c003be1834a8abb0d9b59908a273e2673239d4f4dc501e301966d5c619e5b52460adba2bbdd02bbe8b20100
  full msg: 41040341040301f9117b3c803934169fc0aef2bcb75c035475746f7269616c003be1834a8abb0d9b59908a273e2673239d4f4dc501e301966d5c619e5b52460adba2bbdd02bbe8b20100
got map change
received packet w/ 3 messages
0   net      1
1   net      0
2   net      5
[motd] Testserver with DDraceNetwork Features!\nDon't forget to check server rules by using /rules
TODO: why is the msg id -1???
unknown game message id=0
  header: 400806
  payload: 4008062201000100008001
  full msg: 4008064008062201000100008001
connected, sending info
received packet w/ 3 messages
0   net      11
1   net      6
2   net      8
unprocessed game message id=11
  header: 400108
  payload: 
  full msg: 400108