diff --git a/docs/world-of-sosal-reset.md b/docs/world-of-sosal-reset.md index 3ffd886f..fb130fa1 100644 --- a/docs/world-of-sosal-reset.md +++ b/docs/world-of-sosal-reset.md @@ -11,9 +11,48 @@ Upload to a temporary filename, verify the remote SHA-256, then rename to the final version filename. Pin that path and hash in `nixos/system/neuro/minecraft/wow-mine-map.nix`. -The currently pinned source is the spawn revision described below. Resetting -restores its clean map with the Azeroth spawn datapack and no previous player -progress. The original RAR remains available as the parent version. +The repository now pins `world-of-sosal-20261113T172314Z-outland.tar.gz`, +SHA-256 `bee81bb955099e85ed93ca7c258a9cc48ec1a26590bfe891c869a80ad0094def` +(6,579,158,241 bytes). This is a clean source revision, derived from the spawn +revision below, without gameplay state. It was activated on neuro on 2026-11-13: +the working world was reset through the updated import and reset units. +Previous source archives and existing backups were retained. + +Outland is now `crafting_azeroth:outland`. The original source documentation +places its spawn at **-51210 100 7**, Shattrath at `-53787 77 1069`, and the +Hellfire Dark Portal at `-51153 119 7`. Positive X near `51200 116 0` is a +separate rotated Stormwind instance and remains in Azeroth. + +All 147 region files west of X=-25600 were moved into Outland without changing +coordinates or MCA bytes: 96,403 chunks, 854,810,624 bytes. All 2,063,716 source +chunks remain accounted for. The new dimension reuses the native Azeroth height +type (`min_y=-512`, `height=2544`) and an empty flat generator. The Azeroth spawn +datapack remains enabled. Updated installation and teleport instructions and +`OUTLAND_SEPARATION.json` are included in the archive. + +The server uses the new Distant Horizons `server.levelKeyPrefix` +`world-of-sosal-20261113T172314Z-outland-`, enforced by the modpack importer's +`postStart`. The archive configuration omits this key, so `postStart` inserts it +under `[server]` rather than only replacing an existing line. This gives clients +a fresh terrain-cache identity for each dimension. Obsolete client terrain +caches can be removed if old Azeroth LODs remain visible. No DH database is +included in the source archive. Ordinary server restarts preserve the working +world; only the explicit reset command imports the source again. + +The isolated 2026-11-13 trial registered both dimensions on NeoForge 21.1.250. +All 1,440 sampled block states across seven control chunks matched before and +after a server restart, with `yPos=-32` and 52-long heightmaps. Controls include +Outland spawn, Hellfire, Shattrath, Azeroth spawn, the retained positive-X +instance, and both empty counterpart locations. The v11 client joined, visited +Outland and Shattrath, and returned to Azeroth; screenshots confirmed terrain. +Existing modpack recipe/function errors remain unrelated to this map revision. + +After activation, the working server registered both dimensions and passed the +same seven-chunk, 1,440-block comparison with native height metadata. Temporary +force-load tickets were removed after verification. All 133 mod JARs, the v11 +release, JVM launcher, and view/simulation distances of 32/32 remained unchanged. +The public Minecraft status endpoint responded successfully. The final restart +with the new DH cache identity began at 21:42:22 UTC on 2026-11-13. The server now uses the native `crafting_azeroth_height` datapack (`min_y=-512`, `height=2544`). The modpack importer's `postStart` removes @@ -32,7 +71,7 @@ No heightmap-size warnings appeared after restart. Temporary force-load tickets are removed after the trial. This verifies server loading and persistence; client login with the changed mod set is a separate check. -The active spawn revision is +The parent spawn revision is `world-of-sosal-20261112T093842Z-spawn-3742-89-8891.tar.gz`, with SHA-256 `da3f79e5593a5b7485ed371d65341cc1516c78a19a1fba71874ae8c1d90e624c`. Its parent is retained as `versions/world-of-sosal-original-bc80084d.rar`, with diff --git a/nixos/system/neuro/minecraft/world-of-sosal.nix b/nixos/system/neuro/minecraft/world-of-sosal.nix index e0d334c1..74541ea6 100644 --- a/nixos/system/neuro/minecraft/world-of-sosal.nix +++ b/nixos/system/neuro/minecraft/world-of-sosal.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: let packVersion = "v11-lod512-low60"; @@ -40,6 +40,10 @@ in rm -f -- \ "${config.services.minecraft-servers.dataDir}/wowMineMap/mods/dynamicheight-0.2.0+neoforge-1.21-1.21.1.jar" \ "${config.services.minecraft-servers.dataDir}/wowMineMap/mods/sable_dynamicheight_compat-1.0.0.jar" + ${pkgs.gnused}/bin/sed -i \ + -e '/^[[:space:]]*levelKeyPrefix[[:space:]]*=/d' \ + -e '/^\[server\]$/a\levelKeyPrefix = "world-of-sosal-20261113T172314Z-outland-"' \ + "${config.services.minecraft-servers.dataDir}/wowMineMap/config/DistantHorizons.toml" ''; }; } diff --git a/nixos/system/neuro/minecraft/wow-mine-map.nix b/nixos/system/neuro/minecraft/wow-mine-map.nix index a79f9b56..264bac37 100644 --- a/nixos/system/neuro/minecraft/wow-mine-map.nix +++ b/nixos/system/neuro/minecraft/wow-mine-map.nix @@ -13,10 +13,10 @@ serverName = "wowMineMap"; remoteHost = "u664722.your-storagebox.de"; remoteUser = "u664722"; - remotePath = "minecraft/map/versions/world-of-sosal-20261112T093842Z-spawn-3742-89-8891.tar.gz"; - archiveName = "world-of-sosal-20261112T093842Z-spawn-3742-89-8891.tar.gz"; + remotePath = "minecraft/map/versions/world-of-sosal-20261113T172314Z-outland.tar.gz"; + archiveName = "world-of-sosal-20261113T172314Z-outland.tar.gz"; cacheDir = "/var/lib/minecraft-maps"; - archiveSha256 = "da3f79e5593a5b7485ed371d65341cc1516c78a19a1fba71874ae8c1d90e624c"; + archiveSha256 = "bee81bb955099e85ed93ca7c258a9cc48ec1a26590bfe891c869a80ad0094def"; sshKeyFile = config.sops.secrets."minecraft/storage-box-key".path; worldName = "world"; hostPublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5EB5p/5Hp3hGW1oHok+PIOH9Pbn7cnUiGmUEBrCVjnAw+HrKyN8bYVV0dIGllswYXwkG/+bgiBlE6IVIBAq+JwVWu1Sss3KarHY3OvFJUXZoZyRRg/Gc/+LRCE7lyKpwWQ70dbelGRyyJFH36eNv6ySXoUYtGkwlU5IVaHPApOxe4LHPZa/qhSRbPo2hwoh0orCtgejRebNtW5nlx00DNFgsvn8Svz2cIYLxsPVzKgUxs8Zxsxgn+Q/UvR7uq4AbAhyBMLxv7DjJ1pc7PJocuTno2Rw9uMZi1gkjbnmiOh6TTXIEWbnroyIhwc8555uto9melEUmWNQ+C+PwAK+MPw==";