Commit graph

17 commits

Author SHA1 Message Date
ChillerDragon e9dc1ae75f Support non vital chunks 2022-11-12 11:35:12 +01:00
ChillerDragon c782eb82e6 Start to work on seq per client 2022-11-12 11:18:12 +01:00
ChillerDragon ff21d6ca84 Check args for chunk header
related to #7
2022-11-12 10:39:11 +01:00
ChillerDragon 83c38c4639 Change chunk header api 2022-11-12 10:17:54 +01:00
ChillerDragon fff2e9efb0 First draft of sending inputs
Thanks a lot to @Swarfey for his tw-chatonly typescript package
https://www.npmjs.com/package/teeworlds

His simple calculation of the pred time was saving me a lot of time!
2022-11-06 20:15:47 +01:00
ChillerDragon a3f28aaf37 Make flag bits string mutable (unfreeze) 2022-11-05 18:01:04 +01:00
ChillerDragon 39389ae379 Add rubocop to CI (closed #2) 2022-11-05 17:57:12 +01:00
ChillerDragon 742b665f26 rubocop -A 2022-11-05 17:48:47 +01:00
ChillerDragon ddef46991b rubocop -a 2022-11-05 17:19:05 +01:00
ChillerDragon 0be954538c Add tests (closed #3) 2022-11-05 17:13:23 +01:00
ChillerDragon 0e42839e74 Fix reconnecting 2022-11-04 12:55:01 +01:00
ChillerDragon 57a8f0bcc7 Unhardcode the last packet (startinfo)
Also support bigger integers than 63 :)
2022-11-04 12:31:42 +01:00
ChillerDragon 2919feb529 Unhardcode more chunk headers 2022-11-04 10:12:23 +01:00
ChillerDragon 01915a5629 Remove hacks and break everything in the process 2022-11-01 10:52:48 +01:00
ChillerDragon cd0d5da9fa Working send_chat() poggers 2022-11-01 10:37:24 +01:00
ChillerDragon b7a2cfb5c3 Start working on proper packet header 2022-10-30 19:00:13 +01:00
ChillerDragon 4544bb3e1a Reach old connection state with less hacks 2022-10-29 16:18:07 +02:00