Commit graph

45 commits

Author SHA1 Message Date
ChillerDragon 7e45bbe038 Let the server resolve the map path 2024-02-23 12:22:27 +08:00
ChillerDragon aa5b755204 Send the connected client its own client info 2024-02-21 20:22:28 +08:00
ChillerDragon f44a370dc0 Progress on server side snaps
No errors in client log but still in connecting screen
2024-02-21 19:41:53 +08:00
ChillerDragon c726756b5c Draft out snap builder 2024-02-21 14:32:38 +08:00
ChillerDragon 05867afa62 Fix some server crashes and implement emoticons 2024-02-21 13:07:10 +08:00
ChillerDragon a7895747b6 Add more hooks to the server (#9) 2024-02-21 11:39:57 +08:00
ChillerDragon ec90f185e4 Fix server side integration tests 2024-01-23 21:19:01 +08:00
ChillerDragon de5a403a25 Do not crash on ddnet ex messages 2024-01-21 15:55:17 +08:00
ChillerDragon f189b2050e Turn error into warning 2024-01-21 15:32:22 +08:00
ChillerDragon 0dcb85a0e3 rubocop -A 2024-01-20 22:37:18 +08:00
ChillerDragon f9819565e4 rubocop -a 2024-01-20 22:33:25 +08:00
ChillerDragon e43218edbb Add shutdown rcon command 2024-01-20 22:32:12 +08:00
ChillerDragon b49116e190 Add some rcon hooks to server 2024-01-20 22:21:59 +08:00
ChillerDragon b8893bda6a Add detach to server (closed #12) 2024-01-20 21:50:55 +08:00
ChillerDragon 8f647e165c Add first hook to server: chat 2024-01-20 21:39:21 +08:00
ChillerDragon 4a12262ad3 Move all network payload classes to messages/ 2022-11-16 09:37:47 +01:00
ChillerDragon 2bec19ff21 rage quit on snap single 2022-11-13 17:24:13 +01:00
ChillerDragon 26fa55c428 Do not crash server on emotes 2022-11-13 15:54:27 +01:00
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 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 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 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 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 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 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
Renamed from lib/srv.rb (Browse further)