immortius / chunkbychunk

Minecraft mod in which you unlock the world chunk by chunk
Other
17 stars 5 forks source link

Chunks stopped generating [SMP, NeoForge 1.20.1, mod version 2.2.3] #124

Open RaeTheGit opened 6 months ago

RaeTheGit commented 6 months ago

We, a groups of 5 people, have been playing together on a server for about a week, spreading out in the overworld and the nether over time but now with probably around 150-200 chunks in both dimensions neither chunk spawners nor the commands appear to do anything in the overworld or the nether (no additional dimension mods). We can still place the spawners down, right click them, it gives the sound feedback but nothing happens, even after a server restart. Additional spawners behave as if the chunk actually got spawned, i.e. get placed but don't do anything after being activated and remain sitting in the world.

I have checked the console, debug log and latest log but couldn't find any trace of what is going on. It seems like the mod's spawn queue got permanently stuck. As far as I could see there is also no way to reset the spawn queue without potentially destroying the world. It is admittedly a rather large modpack with around 260 mods, mainly centred around Create and Botania plus some QoL stuff like Functional Storage, Tom's Simple Storage Networks, Xaero's map suite as well as their Open Parties and Claims mod

Where can we go from here to fix this issue? I'll gladly provide any configs or logs needed.

immortius commented 6 months ago

Oof. Well, the brute force fix is shut down the server, delete chunkspawncontroller.dat in world/data directory and then start the server again. If you can grab it and share it to me I can have a look and see if I can see what went wrong as well - otherwise I'll add some more debugging and options to handle issues with it in the next release (which will be a bit after then next Minecraft release most likely).

immortius commented 6 months ago

Musings for self: ways in which the current system might get stuck without spamming errors to log

In either case the chunk spawner will wait patiently forever for the loading to complete. Could another mod be removing the force load of the source chunk? Maybe fix by more frequently checking and setting the force chunk load flag. Should add timer and log warnings if loading takes too long. Could be manually fixed by teleporting into source dimension, but probably difficult to know which source dimension is being used if biome spawners are being used.

RaeTheGit commented 6 months ago

As github doesn't let me upload the .dat file directly, I've thrown it onto my cloud right here.

I've yet to test the deletion of that file as a couple players are currently in the middle of a project but I will report back as soon as I had the chance to do so.

RaeTheGit commented 6 months ago

So deleting the file worked a charm, we're able to spawn in chunks again. Thanks!

Proxwian commented 1 month ago

Please fix it. Chunks ALWAYS stop from generating after X chunk spawns

Proxwian commented 1 month ago

broken world dat.zip