OpenCode
56ac8e154e
test: add 4 decode regression tests for recently fixed packets
...
- entity_equipment 1.8 (nbt TAG_End fix)
- entity_equipment 26.2 (topBitSetTerminatedArray fix)
- entity_metadata 1.8 (entityMetadataLoop mergeCompareTo)
- spawn_entity_living 1.8 (entityMetadata mergeCompareTo)
These ensure packets that were previously broken stay working.
2026-08-05 19:36:38 +02:00
OpenCode
ac1b298989
fix: implement topBitSetTerminatedArray, fix nbt TAG_End, fix entity_equipment
...
- Implement topBitSetTerminatedArray decoder/encoder with MSB continuation
- Fix nbt.Tag.Decode to handle TAG_End at root level (fixes 1.8 slot NBT)
- Remove 228 now-passing decode failure tests, keep 10 still failing
- EntityEquipment now works correctly across all versions
2026-08-05 19:30:18 +02:00
OpenCode
1d8f70c7fd
test: fix decode failure tests - remove 200 now-passing, fix format strings
...
Generator fixes resolved most decode failures. 200 tests removed
(packets now decode correctly), 38 still test known failures.
Also fixed bytes.NewBuffer->bytes.NewReader and malformed format
strings in remaining old tests.
2026-08-05 19:05:03 +02:00
OpenCode
40b584dec4
test: add 26.2 replay decode failure tests from live capture
...
29 tests generated from live 26.2 clientbound capture via tcpflow.
6076 packets captured, 35 decode failures (0.58%), 0 serverbound failures.
2026-08-05 19:01:37 +02:00
OpenCode
fa70ea36c6
fix: print_replay test generation & raw_to_tmcpr config state
...
- Fix SaveUnCodeAbleAsTest using wrong package name (1.8.9 vs v1_8)
- Fix test template using bytes.Buffer instead of bytes.NewReader
- Tests now fail when decode SUCCEEDS (bug is fixed)
- Add config state support to raw_to_tmcpr with -config flag
- Fix mca_to_tmcpr -world flag being ignored
2026-08-05 17:43:26 +02:00
OpenCode
7c978e1a7e
fix: raw_to_tmcpr Configuration state + mca_to_tmcpr -world flag
...
- Add -config flag and Configuration state support to raw_to_tmcpr
(required for Minecraft 1.20.2+ protocol >= 764)
- Add 'config' as valid initial state option
- Fix mca_to_tmcpr -world flag being ignored (was hardcoded dev path)
- Add TMCPR replay test data from live 1.8 capture
2026-08-05 17:36:49 +02:00
OpenCode
4b278b7ee3
fix: multiple bugfixes
...
- Fix data race: use atomic.Bool for running in server.go
- Fix busy loop in timer.go: use time.After when idle
- Fix division by zero in print_replay
- Fix silently swallowed errors in proto_generator
- Fix suppressed error in native_encoder
- Delete unused registry_data_hunter
2026-08-05 14:50:10 +02:00
Admin Else
acb5fe8d90
port messenger to more versions
2026-08-04 19:28:43 +02:00
Admin Else
d9bca7e517
strom: fix generator for pointer-receiver Encode, use nbt.Tag for named NBT
...
- Delete raw_capture subcommand (use tcpflow + raw-to-tmcpr instead)
- Fix DefaultEncoder to use temp variable for non-addressable value encoding,
eliminating manual post-generation patches
- Map nbt and optionalNbt types to nbt.Tag (named NBT) instead of nbt.Anon
(anonymous NBT) — 1.8 uses named NBT with root tag names
2026-08-04 16:40:47 +02:00
Admin Else
b162d0d401
strom: add 1.8 protocol support, raw-to-tmcpr, disable raw-capture
...
- Add minecraft-data for version 1.8 (protocol 47)
- Generate proto_generated/v1_8 from 1.8 protocol.json
- Fix generator compatibility: missing CompareTo natives (i16, i32, u16, u32,
i64, string, nbt, optionalNbt), parameterized type placeholder handling ()
- Add raw-to-tmcpr subcommand: converts raw tcpflow captures to TMCPR
with zlib decompression and state-aware compression threshold tracking
- Extend print-replay: 1.8 state transitions (success->Play, login_start->Play,
handshake/status initial states, set_protocol NextState detection)
- Comment out broken raw-capture subcommand (use tcpflow instead)
- Fix nbt.Anon Encode/Decode on value receivers
2026-08-04 16:10:15 +02:00
adman
d388e2c350
add 26.1 support, raw-capture subcommand, and local minecraft-data copy script
2026-07-22 23:22:14 +02:00
adman
126ff5bca0
improve packet replay things
2026-07-20 12:56:19 +02:00
adman
a347aedfc2
untrack big testdata
2026-07-16 22:56:44 +02:00
adman
e324a95727
cmd take account with env var
2026-07-16 22:16:04 +02:00
adman
7f878f40a1
add world module for in-memory block storage and integrate getblock command in messenger
2026-07-16 16:05:42 +02:00
adman
7baa9990cb
yes222
2026-07-16 14:02:28 +02:00
adman
5c5c391aa6
yes
2026-07-16 01:13:31 +02:00
adman
201e0dfa44
fix moving pains
2026-06-27 14:10:31 +02:00
adman
666f250b3e
mc root source folder cleanup
2026-06-27 13:54:54 +02:00
adman
b2784574bd
move tools to strom cli
2026-06-27 13:06:05 +02:00
adman
c0b1501f23
add packet spy json logging
2026-06-17 11:45:54 +02:00
adman
4956c1d874
add OnFinishLogin handling to packet inspector
2026-06-16 22:28:01 +02:00
adman
5d8ff870df
add true-forward mode to packet inspector
2026-06-02 21:06:41 +02:00
adman
58c9a60236
add optional encryption flag to login server and update ServeLogin behavior
2026-05-30 15:53:35 +02:00
adman
3e5b141ec7
add ToolSum function for build info and integrate it into Version outputs
2026-05-29 01:27:35 +02:00
adman
2fb290572a
add mutex for thread-safe XORKeyStream in CFB8
2026-05-11 23:27:14 +02:00
adman
021b8ddc1a
add support for initial state configuration in print_replay tool
2026-05-10 20:35:58 +02:00
adman
a8936d92a5
add replay reader and writer for handling tmcpr files
2026-05-10 18:41:04 +02:00
adman
c56898e787
refactor print_replay to improve unprocessable packet test creation
2026-05-10 17:29:52 +02:00
adman
b5ee17d1ae
remove uncodeable_packet_hunter_proxy tool and integrate its functionality into print_replay
2026-05-10 14:09:24 +02:00
adman
57cef25e27
manage state transitions in print_replay tool
2026-05-10 13:01:40 +02:00
adman
148302c94d
medium sized replay test data
2026-05-09 23:07:27 +02:00
adman
02c402251d
add packet-info subcommand
2026-05-09 21:56:50 +02:00
adman
3bfa70d384
replay testdata
2026-05-08 19:17:09 +02:00
adman
0316b0aa09
add data command and utility functions for type assertion and map key access
2026-05-05 15:28:40 +02:00
adman
ab03b36b4f
add bounds checking for ChunkAt and add TimeAt function to ChunkHeader
2026-05-03 16:28:50 +02:00
adman
b01e482bc5
add file validation to print_nbt command
2026-05-03 16:23:01 +02:00
adman
8a4f203621
add WithoutOnlineMode setting to login server and update usage in packet inspector
2026-05-02 16:16:54 +02:00
adman
69e230a79c
add 'version' subcommand to display build information
2026-05-02 16:07:31 +02:00
adman
1a5f4f4f8e
remove unused address parameter from LoginRaw and fix biome palette length calculation
2026-05-02 15:52:06 +02:00
adman
5222390b65
nbt changes
2026-04-21 08:35:18 +02:00
adman
9f6b1f6bcf
more logging for status cli so you can debug address resolution
2026-04-12 23:15:50 +02:00
adman
891551f9dd
simple api cli
2026-04-06 00:34:28 +02:00
adman
8fb48c6ea9
add version flag to status cmd
2026-04-05 23:39:08 +02:00
Admin Else
1b5af63b75
Fix packet inspector
2026-03-29 17:13:11 +02:00
adman
8f771166a6
better unknown command text
2026-03-27 13:16:16 +01:00
adman
5d6a1a25ea
fix packet spy
2026-03-27 13:09:07 +01:00
adman
df0e5e354b
more srv stuff and packet inspetor
2026-03-25 19:00:18 +01:00
adman
23b5a5d9b7
move cmd to more sensible location
2026-03-25 14:53:38 +01:00