Commit graph

15 commits

Author SHA1 Message Date
ChillerDragon 1cb97f07b4 Detailed print of unknown messages 2024-06-22 13:35:13 +08:00
ChillerDragon 1cf0184d60 Add input timing and dont error on snap empty 2024-06-22 13:15:25 +08:00
ChillerDragon 72bf459d79 Refactor: separate packet parsing and connection state
Computing a response to a packet is now separate from unpacking a packet
2024-06-22 12:25:29 +08:00
ChillerDragon 94b6c7787c Keep unkown messages on repack 2024-06-21 13:14:01 +08:00
ChillerDragon ac347f1f39 Fix crash on server chat messages 2024-06-21 10:31:43 +08:00
ChillerDragon db550ce86f Store chunk header when unpacking 2024-06-21 09:50:46 +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 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 7cf7cfdb8c Suffix everything 0.7 specific with 7 2024-06-20 08:26:04 +08:00
ChillerDragon 5fd1c39039 Add 7 suffix to messages 2024-06-19 13:00:05 +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