Commit graph

108 commits

Author SHA1 Message Date
ChillerDragon acba9e7a5d Display chat messages in server log 2022-11-13 11:15:33 +01:00
ChillerDragon fc48a53bbd Make server log look nice in non verbose mode 2022-11-13 10:42:49 +01:00
ChillerDragon 3358cc6608 Parse start info on server side 2022-11-13 10:37:46 +01:00
ChillerDragon d9b0096ae8 Send server settings 2022-11-13 09:40:05 +01:00
ChillerDragon 263e579661 Create models folder for all the storage classe 2022-11-13 08:58:33 +01:00
ChillerDragon 846b487eb2 Only send snaps to in game clients 2022-11-13 08:40:17 +01:00
ChillerDragon 09bd7bfebb Count ack per client and thus fix reconnect
Sadly reconnecting somehow crashes the client :(

https://github.com/teeworlds/teeworlds/issues/3182
2022-11-13 08:29:21 +01:00
ChillerDragon 409f880f36 Do not crash on ctrl close of invalid connection 2022-11-13 07:51:50 +01:00
ChillerDragon 129fa9aed5 I just realized ddnet can not do 0.7 2022-11-12 20:24:33 +01:00
ChillerDragon 20be105957 Boilerplate server test 2022-11-12 19:32:48 +01:00
ChillerDragon 5fda2dcde1 More integration test refactors 2022-11-12 18:31:40 +01:00
ChillerDragon 44e20583e6 Refactor integration test names 2022-11-12 17:49:50 +01:00
ChillerDragon 7422ee9d94 Proper client drop support on the server side 2022-11-12 16:24:28 +01:00
ChillerDragon c770695f22 Timeout clients that did not sent for 10s 2022-11-12 15:58:08 +01:00
ChillerDragon 821036fba4 Fix client tokens 2022-11-12 15:55:24 +01:00
ChillerDragon 6d7bd0371d Print rcon commands sent by the client 2022-11-12 15:46:38 +01:00
ChillerDragon 11898d0f41 Ensure tokens being in correct format 2022-11-12 12:51:09 +01:00
ChillerDragon e3292deb15 Thoughts about ctrl close 2022-11-12 12:08:25 +01:00
ChillerDragon e914ec3fa2 Send broken close message to clients after 1 second
Aka starting to work on timeouting clients
2022-11-12 12:01:38 +01:00
ChillerDragon 15139ceb68 Ignore input packets from clients 2022-11-12 11:38:46 +01:00
ChillerDragon e9dc1ae75f Support non vital chunks 2022-11-12 11:35:12 +01:00
ChillerDragon 050e4b9e00 Weird idea about seq 2022-11-12 11:22:54 +01:00
ChillerDragon c782eb82e6 Start to work on seq per client 2022-11-12 11:18:12 +01:00
ChillerDragon 426165bc51 Better CI naming 2022-11-12 10:41:35 +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 4813652b82 Send empty snaps to get client in happy state 2022-11-12 09:42:50 +01:00
ChillerDragon 7f7963189c Got client stuck in connecting till timeout 2022-11-11 17:52:57 +01:00
ChillerDragon 1876038d82 Reached "invalid standard map" with a few hax 2022-11-11 17:32:03 +01:00
ChillerDragon d476e545b3 Better CI naming 2022-11-11 14:56:52 +01:00
ChillerDragon cf57146260 Mess with tokens 2022-11-11 14:48:26 +01:00
ChillerDragon 45d1361408 Server send game and server info 2022-11-11 13:42:11 +01:00
ChillerDragon 1baf3fcad0 Start working on server side map packet 2022-11-11 10:21:48 +01:00
ChillerDragon 0a04af1cb6 Parse client info on the server side 2022-11-09 16:46:04 +01:00
ChillerDragon ddc6a1ad17 Fix server 100% CPU usage in idle 2022-11-09 13:55:09 +01:00
ChillerDragon d013656ffb Remove packer debug msg 2022-11-09 13:50:15 +01:00
ChillerDragon 6c005497d4 Layout server control msg structure
Thus closed #5
By deciding to support server as well.

This is rebranding from teeworlds-client to teeworlds_network
And thus also including a bunch of file renames
2022-11-09 08:56:18 +01:00
ChillerDragon 3a39d3f9f8 Start working on the server side 2022-11-08 16:20:46 +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 ffbc433b67 Add rcon support 2022-11-06 18:26:14 +01:00
ChillerDragon 2db8b7058d All packer tests passing and verified 2022-11-06 16:43:32 +01:00
ChillerDragon cca183818e Fix tests and packer (multi negative still broken) 2022-11-06 16:26:00 +01:00
ChillerDragon 01d8f8d8e6 Single byte negative int unpacks wrong 2022-11-06 13:57:53 +01:00
ChillerDragon 0479e7f07e Add packer tests 2022-11-06 13:35:10 +01:00
ChillerDragon 11a7e9629d Unpacker should be fully working now
Covered by good test coverage.
Parts of the tests are commented out because they depend on the
currently borken packer to work.
2022-11-06 13:18:26 +01:00
ChillerDragon cafbd79fe9 Mess w packer (no actual progress) 2022-11-06 12:11:54 +01:00
ChillerDragon a248ae1ed8 Properly versioned documentation 2022-11-05 19:33:08 +01:00
ChillerDragon 672e05a16e Fix data docs 2022-11-05 19:02:11 +01:00
ChillerDragon d810597892 Add integration test (closed #4) 2022-11-05 18:58:53 +01:00
ChillerDragon a3f28aaf37 Make flag bits string mutable (unfreeze) 2022-11-05 18:01:04 +01:00