DH will not load certain chunks no matter what
These chunks were loaded with no issue, after playing in the area for a while they now wont work with DH.
I have "Quality Preset" to "High"
I have "CPU Load" to "I paid for the whole CPU"
I have "Disable Unchanged Chunk Check" to "False"
I flew up to these chunks, placed a sapling, bone mealed the sapling then waited until the F3 menu showed no queued chunks or tasks. Then I flew away and waited again for no queued tasks. Despite all this, these chunks still wont load.
I disabled all mods and ran this with only Distant Horizons to try and fix. However, these chunks "corrupted" when I was playing with the following mod list:
- cloth-config-15.0.140-fabric.jar
- continuity-3.0.0-beta.5+1.21.jar
- CreativeFly-1.4.3-1.21-fabric.jar
- DistantHorizons-2.2.1-a-1.21.1-neo-fabric.jar
- fabric-api-0.105.0+1.21.1.jar
- indium-1.0.35+mc1.21.jar
- iris-fabric-1.8.0-beta.4+mc1.21.1.jar
- modmenu-11.0.2.jar
- noisium-fabric-2.3.0+mc1.21-1.21.1.jar
- replaymod-1.21-2.6.19.jar
- sodium-fabric-0.6.0-beta.2+mc1.21.1.jar
23 Replies
I'm ok with deleting these chunks from the sqlite database, I'm just not sure on its structure so didn't want to mess with it till I knew
bump because I really want this fixed ðŸ˜
I don't think there is much more you can try. Maybe break/place blocks in those chunks instead of growing a tree
I tried that too. Is there a guide on how to delete chunks from the SQLITE database?
unfortunately not
@Recessive i think i can help you but this problem can be happen with most ways i think so reducing ways to find more easy i need ask questions.
before starting make sure all of your mods are updated. you're interested?
Yeh for sure, ask away
but 4pm is sleep time for my country, so youre now active?
firstly mod list has sus mod for dh that being incompatible and its replay mod, try it with removing replay mod
for later; these corrupted chunks are corrupted when adding mods, editing files, or something another?
I tried this, didn't work
@Recessive okay now what about this?
I use a symlink for the sqlite file because I first generated the world locally off-line, then moved the sqlite and copied the world folder over to a different directory in order to host a multiplayer server. I kept the original offline world ONLY, and instead of duplicating the sqlite file I instead made a symlink inside the original offline worlds data directory and used that as the sqlite file for the off-line world. The directories look like this:
multiplayer-world/data/main_db.sqlite
offline-world/data/main_db.symlink
Me and my friends then played on the multiplayer server. We modified chunks and placed a nice house in the area that is corrupted in the video. After we did this, I went in to the offline world and flew around. However, there was a conflict in these corrupted chunks, as in the offline world they had never been updated, and so the sqlite database would be wrong for only those chunks. So as I flew around I suspect it was doing a large update as those chunks changed a lot and it got interrupted when I left the world or something
If this is confusing let me know
i almost forget that, i will look in my free time, sorry about that even its optinal for me, i think u got it my point. also i wrote this for keeping this in my dc page
So no other suggestions? I did everything you asked
Do you know how to edit the database?
i will be in
To delete the corrupted chunks:
- Download and open DB Browser
- Click
Open Database
and select the database
- Click on Browser Data
- Select the FullData
table
- For every corrupted chunk you want to delete:
- Enter the x chunk coord of the corrupted chunk in PosX
- Enter the z chunk coord of the corrupted chunk in PosZ
- For all rows with the correct PosX
and PosZ
:
- Right click the row number on the left
- Click Delete Row
tysm, this is very large information to attain
I'm currently going through the sqlite
recover
y sequence because there was quite a lot of corruption, so if that doesn't work/once that's done I'll do thisThis is the corruption for others:
sqlite file was 12gb
Also I think you meant
For all rows with the correct PosX and PosZ:
Oh yea, edited it. I always confuse Z with Y in this type of stuff
Would you happen to know how to purge all LODs that intersect this chunk? I've cleared all surrounding chunks using:
DELETE FROM FullData WHERE PosX BETWEEN -21 AND 9 AND PosZ BETWEEN 54 AND 82;
But upon loading into the world it's evident the LODs aren't being deleted.
I assume this is because one LOD might take up hundreds of chunks.
I also deleted from the ChunkHash
database in the same locations to try and get it to refreshI haven't done much with SQL, much less with DH's Database, so sadly if what you tried doesn't work, I don't know anything else.
Not totaly sure on this, but afaik even the lowest detail level doesn't go larger than a chunk
I ended up regenning. When I first made the LODs I switched compression formats halfway through to speed it up. As such the database is a complete mess. I just left it on over night using a consistent compression method and all's good.