Commit graph

181 commits

Author SHA1 Message Date
ChillerDragon 10ca8238a8 rubocop fixes
Some checks failed
Runtime tests / syntax (push) Has been cancelled
Runtime tests / unit-tests (push) Has been cancelled
Runtime tests / hooks (push) Has been cancelled
Runtime tests / doc-index (push) Has been cancelled
Integration tests / connect-to-server (push) Has been cancelled
Integration tests / srv-chat (push) Has been cancelled
Static analysis / check (push) Has been cancelled
Style / lint (push) Has been cancelled
2024-06-24 11:45:45 +08:00
ChillerDragon af7367be0c Drop known chunks. Fixes duplicated chat messages. 2024-06-24 11:43:10 +08:00
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 420c6deb92 Add tests for snapshot builder payload 2024-02-21 18:46:52 +08:00
ChillerDragon cacb75ac62 Add type to snap items 2024-02-21 14:44:49 +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 0d52e5816c Generate server hooks docs 2024-02-21 12:39:04 +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 ffcb8c7083 Weird rubocop refactor 2024-01-22 23:21:50 +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 2ba05193c5 Handle nil case of empty decompression 2024-01-21 14:41:40 +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 c9cbbb7c0a Fix style 2024-01-20 21:52:51 +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 45bd574908 Try to fix windows IO::EWOULDBLOCKWaitReadable 2023-12-13 19:19:32 +01:00
ChillerDragon 4fabdab3eb Use single quotes 2023-10-22 14:27:14 +02:00
ChillerDragon 42d7fda502 Add --verbose-snap to sample client 2023-10-22 14:26:53 +02:00
ChillerDragon f6c57a31e5 Release v0.0.6 2023-09-17 20:00:02 +02:00
ChillerDragon e4ba688e92 Fix context nil access 2023-09-17 19:59:36 +02:00
ChillerDragon 32ab1ebb75 Release v0.0.5 2023-09-17 19:50:49 +02:00
ChillerDragon a5d24cb2c6 Add on_tick hook 2023-09-17 19:50:09 +02:00
ChillerDragon e606226dea Release v0.0.4 2023-09-17 19:43:14 +02:00
ChillerDragon 43bea26640 Add send_input api 2023-09-17 19:42:47 +02:00
ChillerDragon 1c27c1eb87 Release v0.0.3 2023-09-17 18:23:10 +02:00
ChillerDragon a739190383 Fix reconnect crash 2023-09-17 18:22:38 +02:00
ChillerDragon 42ab29bbfe Release v0.0.2 2023-09-17 17:35:22 +02:00
ChillerDragon 5fdd4ffd15 Fix rcon authed example 2023-09-17 16:36:57 +02:00
ChillerDragon e05523f104 Make 3 client methods private that should not be called
Makes the user api cleaner
2023-09-17 14:49:19 +02:00
ChillerDragon 32c3eb4919 Document on_snapshot 2023-09-17 12:59:38 +02:00
ChillerDragon c185d1a6b2 A bit of rdoc documentation comments 2023-09-17 12:15:31 +02:00
ChillerDragon 49b2806966 Use rconline class 2023-09-17 11:51:09 +02:00
ChillerDragon 6cad2f6bbc Call chunks messages (closed #6) 2022-11-26 11:25:23 +01:00
ChillerDragon aadb67f39c Do not ack msg NULL
For example F-DDrace sends vital chunks with msg id 0
Those are some ddnet uuid extension thingy

But the server does not keep feeding if we ack those
2022-11-24 12:28:42 +01:00
ChillerDragon 0e8310948b Read password from autoexec.cfg 2022-11-24 10:39:30 +01:00
ChillerDragon bddc48ef82 Show disconnect reason from server by default
I was missing it for a 'Wrong password' error
but it is also nice in the non error case
or all other disconnects triggered by the server
like kick etc
2022-11-24 09:54:09 +01:00
ChillerDragon 06328cf838 Support snap items with unknown size 2022-11-23 11:07:06 +01:00
ChillerDragon 69019c9578 Register and then properly read ddnet items 2022-11-23 10:56:36 +01:00
ChillerDragon 353059a47a Start working on ddnet snap items 2022-11-20 11:25:02 +01:00
ChillerDragon d4332ce6b0 Disconnect on invalid snap item
Do not leave a timeouted tee on the server if the snap is
parsed wrong
2022-11-20 10:24:56 +01:00
ChillerDragon c28bcd15e8 Never silently crash on invalid snap item 2022-11-20 10:22:39 +01:00
ChillerDragon 1e829c0eaf Fix crash on server messages and add tests for it 2022-11-20 10:13:07 +01:00