ChillerDragon
9b24347533
Got correct game start tick
2022-11-17 09:56:10 +01:00
ChillerDragon
2da59a6406
Still wrong but different
2022-11-17 08:39:18 +01:00
ChillerDragon
544396ca40
Some random snap item prints
2022-11-16 18:15:57 +01:00
ChillerDragon
b118d37ebe
Forgot chunk num in snap header
2022-11-16 17:33:35 +01:00
ChillerDragon
2410bbd2c4
delete tests .. yikes
2022-11-16 15:58:52 +01:00
ChillerDragon
d4fbc12b49
Who does not understand snap header with this output
...
can not be saved
2022-11-16 15:55:25 +01:00
ChillerDragon
c119d393fc
Go crazy with colored hexdump
2022-11-16 15:45:04 +01:00
ChillerDragon
2d4dc6dc65
Print fixed snap fields
2022-11-16 14:27:14 +01:00
ChillerDragon
3c53e66fdf
One int per line in snap dump
2022-11-16 14:15:34 +01:00
ChillerDragon
804b3c87a2
Fix hexdump color crash
2022-11-16 14:13:29 +01:00
ChillerDragon
7697e5f451
color annotate hexdumps
...
Thanks to the legend @Learath2
2022-11-16 12:40:52 +01:00
ChillerDragon
59c2886046
hexdump snaps
2022-11-16 11:30:13 +01:00
ChillerDragon
616e14be1f
Verbose snap data printing on client side
2022-11-16 10:57:49 +01:00
ChillerDragon
653ee661e9
Fix english cancle -> cancel ty swarfey and rcon
2022-11-16 10:50:54 +01:00
ChillerDragon
4a12262ad3
Move all network payload classes to messages/
2022-11-16 09:37:47 +01:00
ChillerDragon
0f4646e011
Add sanitize cc
2022-11-15 18:26:49 +01:00
ChillerDragon
db56a97e8c
String unpacker should sanitize by default
2022-11-15 18:15:27 +01:00
ChillerDragon
07eb3841d2
Print emotes on the server side
...
thanks to @AlexIsTheGuy for brainstorming emote names
2022-11-15 17:48:56 +01:00
ChillerDragon
6283648964
Use SvClientDrop on the client side
2022-11-15 12:55:43 +01:00
ChillerDragon
c11a7ae2d2
Generate SvClientDrop
...
twnet g sv SvClientDrop client_id:int reason:str silent:bool
2022-11-15 12:43:23 +01:00
ChillerDragon
3ab4fc61d1
Regenerate input timing with correct order
...
also remove the boolean placeholder if there is no bool field
2022-11-15 11:44:20 +01:00
ChillerDragon
6089fe9c7b
twnet cli fix field order
2022-11-15 11:22:55 +01:00
ChillerDragon
096fa110a6
Unpack bool as int
2022-11-15 11:09:54 +01:00
ChillerDragon
92e7400796
Allow sv and cl for packet type
2022-11-15 11:08:29 +01:00
ChillerDragon
92b2cbe4a9
twnet generate rubyish bool getters
2022-11-15 11:03:13 +01:00
ChillerDragon
3a219f406b
Change context api! And add input timing msg
...
Remove the client attribute from the Context class
The block that exposes a Context class has to be called on a client
anyways so also passing it to the block args is redundant.
Replace it by a parsed version of the chunk which has yet to be properly
named current working title is: todo_rename_this
2022-11-15 10:39:44 +01:00
ChillerDragon
fa08043968
First generated code pog
...
I ran this
twnet g sp InputTiming intended_tick:int time_left:int
2022-11-15 10:10:45 +01:00
ChillerDragon
2a553ed9af
First working version of cli packet generator
2022-11-15 09:36:44 +01:00
ChillerDragon
86a306664c
Continue with packet generate script
2022-11-14 18:52:25 +01:00
ChillerDragon
7b25f7f44a
twnet: start working on helper cli script
2022-11-14 14:07:14 +01:00
ChillerDragon
fe3e581f86
Make client callbacks arrays
...
Allows to setup multiple on_* hook blocks as a lib user
closed #10
2022-11-14 10:25:28 +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
41b5277613
Fix multiple clients being connected at the same time
2022-11-13 15:47:37 +01:00
ChillerDragon
6275508a18
Documentation refactor
2022-11-13 13:50:21 +01:00
ChillerDragon
8b6a867525
Generate hooks documentation
2022-11-13 13:13:14 +01:00
ChillerDragon
1949e1eb2e
Add check script for hook documentation
...
related to #11
2022-11-13 12:28:38 +01:00
ChillerDragon
49086b6058
Check loading all files in CI
...
closed #14
2022-11-13 11:55:33 +01:00
ChillerDragon
a663bae03b
Ensure syntax correctness in network.rb
2022-11-13 11:45:32 +01:00
ChillerDragon
36a5100230
Add unit tests for bytes.rb
2022-11-13 11:42:46 +01:00
ChillerDragon
dd6e12e9c2
Add unit test coverage test script #14
2022-11-13 11:33:59 +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
129fa9aed5
I just realized ddnet can not do 0.7
2022-11-12 20:24:33 +01:00