Commit graph

21 commits

Author SHA1 Message Date
ChillerDragon 4f37d5de48 Fix nil result and add ip port cli args 2024-06-21 10:40:49 +08:00
ChillerDragon 759d37658b Fix logic error in sample 2024-06-21 10:07:58 +08:00
ChillerDragon 0f9cb77677 POC: inspect incoming traffic 2024-06-20 13:27:46 +08:00
ChillerDragon 81f6b89f70 Horrible refactor to allow unpacking net messages 2024-06-20 13:07:10 +08:00
ChillerDragon a78bf12bf0 Make OnPacket return a result struct 2024-06-20 12:29:26 +08:00
ChillerDragon a112473d0f POC: the user has full control over outgoing traffic 2024-06-20 12:10:22 +08:00
ChillerDragon 79d6308a4a Remove network dependency from protocol parser
Following the sans io principle
https://sans-io.readthedocs.io/
2024-06-20 11:19:54 +08:00
ChillerDragon ec59c03379 lil refactor 2024-06-20 11:15:36 +08:00
ChillerDragon 8f4004a2ce Move constants to network7 package 2024-06-19 12:57:32 +08:00
ChillerDragon 9471a65ca3 Refactor all state into the Session struct 2024-06-19 12:36:14 +08:00
ChillerDragon c568a471d3 Add struct for startinfo 2024-06-19 12:13:57 +08:00
ChillerDragon 2ca8a03034 Cleanup the code a bit 2024-06-19 09:02:16 +08:00
ChillerDragon 729fe88324 Show player names in chat 2024-06-18 13:08:56 +08:00
ChillerDragon ef2c7e8a34 Reading the chat kinda works 2024-06-18 12:09:01 +08:00
ChillerDragon cf6efb1e3f Ack and keep alive to not time out 2024-06-17 13:49:56 +08:00
ChillerDragon dcf26f818f Add stateful unpacker 2024-06-17 13:11:59 +08:00
ChillerDragon 47163dce87 Use proper chunk parsing instead of magic values 2024-06-17 11:37:44 +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
Renamed from teeworlds_client.go (Browse further)