Commit graph

66 commits

Author SHA1 Message Date
ChillerDragon 309062c7d3 go fmt 2024-06-17 12:24:08 +08:00
ChillerDragon 4605d3907c Add int packer and unpacker 2024-06-17 12:23:54 +08:00
ChillerDragon 47163dce87 Use proper chunk parsing instead of magic values 2024-06-17 11:37:44 +08:00
ChillerDragon a58425ea56 Add more chunk header tests 2024-06-16 09:21:49 +08:00
ChillerDragon 2dd887de7d Add chunk header parsing 2024-06-07 15:38:51 +08:00
ChillerDragon 4d307dc990 Make packet a module and import huffman 2024-06-06 12:51:18 +08:00
ChillerDragon 17047eac70 Start with packet header parsing 2024-06-02 10:58:09 +08:00
ChillerDragon ad60b3f368 Add sample test 2024-06-02 09:41:15 +08:00
ChillerDragon 394069eaa3 rebrand 2024-06-02 09:27:41 +08:00
ChillerDragon 2cbc6f17e9 Spawning a tee works 2024-06-01 19:00:47 +08:00
ChillerDragon 4538112164 Turns out go is not C or ruby
So slices don't just work as easy as in ruby
But i have no idea what is happening in detail either.

Seems like they are structs and somehow a mess.

Using fixed arrays instead and a bunch of compiler driven try and error
I fixed the bug of the server token getting corrupted.
2024-06-01 18:30:01 +08:00
ChillerDragon 8f98290582 Hacky support for reason string termination 2024-06-01 11:54:12 +08:00
ChillerDragon e5fc32b6ba Reach map change 2024-06-01 11:45:32 +08:00
ChillerDragon f357ff2f7f Read and write udp 2024-06-01 11:01:48 +08:00
ChillerDragon 3429fd1909 Get server token 2024-06-01 10:34:53 +08:00
Chiller Dragon 4ca77e6adc
Initial commit 2024-06-01 08:27:56 +08:00