Commit graph

26 commits

Author SHA1 Message Date
ChillerDragon 10ca8238a8 rubocop fixes
Some checks failed
Runtime tests / syntax (push) Has been cancelled
Runtime tests / unit-tests (push) Has been cancelled
Runtime tests / hooks (push) Has been cancelled
Runtime tests / doc-index (push) Has been cancelled
Integration tests / connect-to-server (push) Has been cancelled
Integration tests / srv-chat (push) Has been cancelled
Static analysis / check (push) Has been cancelled
Style / lint (push) Has been cancelled
2024-06-24 11:45:45 +08:00
ChillerDragon c726756b5c Draft out snap builder 2024-02-21 14:32:38 +08:00
ChillerDragon 948aafb749 First workin snap item parser
Thanks a lot to @Learath2 for explaining in irc
And for the awesome libtw2 docs by @heinrich5991

48a2573af6/doc/snapshot.md
2022-11-17 15:43:27 +01:00
ChillerDragon f98ad6ae30 Try hard to parse the first snap item 2022-11-17 14:57:39 +01:00
ChillerDragon c119d393fc Go crazy with colored hexdump 2022-11-16 15:45:04 +01:00
ChillerDragon 653ee661e9 Fix english cancle -> cancel ty swarfey and rcon 2022-11-16 10:50:54 +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 d013656ffb Remove packer debug msg 2022-11-09 13:50:15 +01:00
ChillerDragon 3a39d3f9f8 Start working on the server side 2022-11-08 16:20:46 +01:00
ChillerDragon 2db8b7058d All packer tests passing and verified 2022-11-06 16:43:32 +01:00
ChillerDragon cca183818e Fix tests and packer (multi negative still broken) 2022-11-06 16:26:00 +01:00
ChillerDragon 01d8f8d8e6 Single byte negative int unpacks wrong 2022-11-06 13:57:53 +01:00
ChillerDragon 0479e7f07e Add packer tests 2022-11-06 13:35:10 +01:00
ChillerDragon 11a7e9629d Unpacker should be fully working now
Covered by good test coverage.
Parts of the tests are commented out because they depend on the
currently borken packer to work.
2022-11-06 13:18:26 +01:00
ChillerDragon cafbd79fe9 Mess w packer (no actual progress) 2022-11-06 12:11:54 +01:00
ChillerDragon 39389ae379 Add rubocop to CI (closed #2) 2022-11-05 17:57:12 +01:00
ChillerDragon e7f1d82e2d rubocop -A lib/packer.rb 2022-11-05 17:26:08 +01:00
ChillerDragon 940cc4269f Fix ugly rubocop if and silent disconnect 2022-11-05 17:23:35 +01:00
ChillerDragon ddef46991b rubocop -a 2022-11-05 17:19:05 +01:00
ChillerDragon 0f9c9a0804 Proper chat message support 2022-11-04 16:26:24 +01:00
ChillerDragon 316a24852e Enough unpacker to be dangerous 2022-11-04 15:35:54 +01:00
ChillerDragon b36df089ff Bunch of failing tests 2022-11-04 15:21:48 +01:00
ChillerDragon 831a9b6452 Start working on unpacker 2022-11-04 13:58:19 +01:00
ChillerDragon 57a8f0bcc7 Unhardcode the last packet (startinfo)
Also support bigger integers than 63 :)
2022-11-04 12:31:42 +01:00
ChillerDragon 2c8e6aeb8f Unhardcode startinfo
Thanks a lot to @Learath2 for explaining the int packer to me <3
2022-11-04 11:39:41 +01:00