Problem after deleting chunks

User avatar
Kociak
Member
 
Posts: 17
Joined: Fri Apr 03, 2015 20:29
In-game: kociak

Problem after deleting chunks

by Kociak » Sun Apr 12, 2015 21:28

Hi there.
Recently my world became corrupted - migrating back&forth reset mapgen value so I had "flat" chunks instead of "v6". I managed to select a range of chunks, and deleted them with self-made script working on the sqlite file. Chunks present within the world are the ones that I wanted to save, but the selections' edges look like this:
chunkerr.png
chunkerr.png (526.42 KiB) Viewed 503 times

Is there any way to fix it?
Edit: The weirdest thing is that I can fly further left, as if the chunks were not there! Looking through map.sqlite shows that there are no chunks on the left. Shouldn't the game regenerate them?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Problem after deleting chunks

by Krock » Mon Apr 13, 2015 08:00

How about using
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/deleteblocks here

in the corrupted areas?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Kociak
Member
 
Posts: 17
Joined: Fri Apr 03, 2015 20:29
In-game: kociak

Re: Problem after deleting chunks

by Kociak » Mon Apr 13, 2015 17:32

If it wouldn't be like 1000000 (yes, a million) chunks to delete - that wouldn't be a problem. As I estimated only about 31000 chunks of over a million should be left intact...
Anyway - I'll try it out.

EDIT: Mentioned command partially does the job - it resets all the nodes in a chunk to air, so it is suitable for emptying corrupted chunks. Sadly they don't get regenerated, which is what I expected.
But the strangest thing is... void chunks got regenerated after I migrated (sic!) from sqlite3 to leveldb, but are somewhat different - now I've got sharply blended biomes (like iced lake neighbouring the desert), where deleteblocks command help.

For me the topic is still open, maybe someone else had simmilar thing in his/her world.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron