Commit graph

172 commits

Author SHA1 Message Date
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
ChillerDragon ec92b073e8 Added tune params but wasn't able to test it yet
So this code does not work 100% but I will continue
when i figure out how to make the server actually send it
2022-11-20 09:44:42 +01:00
ChillerDragon 1794051342 Add images to gui client 2022-11-19 13:19:22 +01:00
ChillerDragon dc72204140 Add simple gui client to examples 2022-11-19 12:39:58 +01:00
ChillerDragon ad7ef13926 More snap item support 2022-11-19 11:28:45 +01:00
ChillerDragon dd714e51aa Add first snap event sound world 2022-11-19 10:39:29 +01:00
ChillerDragon e203f09fe4 Add projectile snap item 2022-11-19 10:25:31 +01:00
ChillerDragon 738e9effda Cleaner snap item annotations 2022-11-19 10:17:37 +01:00
ChillerDragon 0bcd7bb960 Add player info snap obj 2022-11-19 10:16:00 +01:00
ChillerDragon d4ccfc24e1 Inherit from snap item base class 2022-11-19 10:09:45 +01:00