Corrupted Worlds

Post Reply
User avatar
RasPiManiac
Member
Posts: 46
Joined: Sat Sep 28, 2024 20:12
IRC: RPiManiac
In-game: RPiManiac
Contact:

Corrupted Worlds

by RasPiManiac » Post

Hello,

I have a problem where sometimes after I have exited to the OS and relaunched Luanti and then loaded the world I was playing, it only gets to "Creating Server" and then crashes. I get this error from debug.txt:

Code: Select all

2025-11-13 12:23:19: ERROR[Main]: A serialization error occurred:
2025-11-13 12:23:19: ERROR[Main]: ServerEnvironment::loadMeta(): EnvArgsEnd not found!
2025-11-13 12:23:19: ERROR[Main]: The server is probably running a different version of Luanti.
2025-11-13 12:23:19: ACTION[ServerStop]: Server: Shutting down
2025-11-13 12:23:19: ERROR[ServerStop]: In thread 7e409a3d96c0:
2025-11-13 12:23:19: ERROR[ServerStop]: /media/rpimaniac/PortableSSD/Applications/luanti-5.14.0/src/server/blockmodifier.cpp:404: std::string LBMManager::createIntroductionTimesString(): A fatal error occurred: attempted to query on non fully set up LBMManager
Aborted (core dumped) 
And I cannot load the world again. However, I found a solution where I paste the world.mt, and map.sqlite into a new world folder, and it works okay. I think there are some mapgen glitches though :D
screenshot_20251113_070945.png
screenshot_20251113_070945.png (901 KiB) Viewed 431 times
screenshot_20251112_172014.png
screenshot_20251112_172014.png (681.69 KiB) Viewed 431 times
screenshot_20251112_183657.png
screenshot_20251112_183657.png (803.35 KiB) Viewed 431 times
If anyone can help!

User avatar
AtomicCheese
Member
Posts: 31
Joined: Wed May 28, 2025 17:56
GitHub: IonicCheese
IRC: mrcheese
In-game: IonicCheese

Re: Corrupted Worlds

by AtomicCheese » Post

the mapgen glitches are from the seed of the original world being different from the new world you pasted the map.sqlite + world.mt files into
you should paste the map_meta.txt as it has the seed
(or alternatively find the original seed by going to the corrupted world's map_meta.txt and finding a line that is just `seed = <seed>` then pasting that seed into the "seed" field in the world creator)
i like small code

cdb_1d446776a66d

User avatar
RasPiManiac
Member
Posts: 46
Joined: Sat Sep 28, 2024 20:12
IRC: RPiManiac
In-game: RPiManiac
Contact:

Re: Corrupted Worlds

by RasPiManiac » Post

Thanks for the tip. I'm more interested in fixing the whole thing in the first place though.

User avatar
AtomicCheese
Member
Posts: 31
Joined: Wed May 28, 2025 17:56
GitHub: IonicCheese
IRC: mrcheese
In-game: IonicCheese

Re: Corrupted Worlds

by AtomicCheese » Post

from the error message (and a little bit of experimenting), `env_meta.txt` is corrupted
i dont know what the corrupted version looks like (probably complete binary non-sense); but replacing it should work at the cost of things like the days counter being reset
i like small code

cdb_1d446776a66d

User avatar
orwell
Member
Posts: 992
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: Corrupted Worlds

by orwell » Post

This bug is very old, from 0.4.13 times iirc.
It is sufficient to simple delete env_meta.txt. No need to create a new world etc…

Afaik you only lose the ingame time of day (and total play time in the world) by this, so nothing particularly important.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
RasPiManiac
Member
Posts: 46
Joined: Sat Sep 28, 2024 20:12
IRC: RPiManiac
In-game: RPiManiac
Contact:

Re: Corrupted Worlds

by RasPiManiac » Post

orwell wrote:
Thu Nov 13, 2025 23:33
This bug is very old, from 0.4.13 times iirc.
It is sufficient to simple delete env_meta.txt. No need to create a new world etc…

Afaik you only lose the ingame time of day (and total play time in the world) by this, so nothing particularly important.
Ah thank you, I did not realize this was such an old bug since I have never had problems with it until 5.14.0

User avatar
orwell
Member
Posts: 992
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: Corrupted Worlds

by orwell » Post

I thought it was fixed at some point. But maybe it has resurfaced now…
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
AtomicCheese
Member
Posts: 31
Joined: Wed May 28, 2025 17:56
GitHub: IonicCheese
IRC: mrcheese
In-game: IonicCheese

Re: Corrupted Worlds

by AtomicCheese » Post

wow that old?! thats crazy that it hasnt been fixed
i like small code

cdb_1d446776a66d

User avatar
Blockhead
Moderator
Posts: 2782
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Corrupted Worlds

by Blockhead » Post

AtomicCheese wrote:
Tue Nov 18, 2025 19:32
wow that old?! thats crazy that it hasnt been fixed
Nothing gets fixed whose cause isn't known, and I figure this is rare enough for that to be the case here.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
RasPiManiac
Member
Posts: 46
Joined: Sat Sep 28, 2024 20:12
IRC: RPiManiac
In-game: RPiManiac
Contact:

Re: Corrupted Worlds

by RasPiManiac » Post

Blockhead wrote:
Wed Nov 19, 2025 02:52
AtomicCheese wrote:
Tue Nov 18, 2025 19:32
wow that old?! thats crazy that it hasnt been fixed
Nothing gets fixed whose cause isn't known, and I figure this is rare enough for that to be the case here.
Hm, maybe I should roll up my sleeves and get dirty in the engine code... :D (probably not)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests