Page 1 of 1

Invalid Block Data in Database

PostPosted: Mon Apr 18, 2016 17:49
by Singleplayer
Invalid data in mapblock (-1931,-3,1933)
It says I can ignore world errors with true, but that didn't do anything.

I've searched around on a different website and it seems to be a bug whenever you build or spawn at the edge of the map
I couldn't make heads or tails of any solution as it was all in computer-lingo I don't understand.

Re: Invalid Block Data in Database

PostPosted: Mon Apr 18, 2016 21:14
by Don
I think you did this already but I will put it in here anyway.
Open your minetest.conf file in a text editor. Add this line
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
ignore_world_load_errors = true


Another option is to start up the game and in chat type
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
/clearobjects


This might take a little time depending on the size of your map.

If this is an issue with someone that travelled outside the map then do you know who it was?
If so then open /minetest/worlds/Your_world/players/Player_Who_did_it in a text editor.
Change their position to a position inside the map and save.
Restart the world and see if that worked.

You may have to look through all player files to see which it is.
you can use grep to search all the files.

These are thoughts off the top of my head. They might help and if not then someone will find a better answer.

Hope this was clear enough. If not then ask me for clearer instructions.

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 00:14
by Singleplayer
I can't type anything in chat because it kicks me out of the world to an error screen.
I think it might be from an animal mod because I saw some sheep walk past the edge and fall off the screen.
I'll try making a new world without the animals and see if that works

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 00:40
by Don
What animal mod is it? That might give us the answers we need.

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 01:17
by Singleplayer
It was the mod on the minetest webpage
under mobs: creatures, that has the zombies and ghosts also.

I am pretty sure that is the problem because when I created a new world and started blowing up blocks at the corner with tnt, that also crashed the game when the items flew off the edge

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 01:22
by Singleplayer
Thanks, I didn't think about the animals until you had mentioned a player going past the edge

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 11:56
by Don
What version of minetest are you using?

Re: Invalid Block Data in Database

PostPosted: Tue Apr 19, 2016 12:22
by ExeterDad
Give yourself some privs...
/grant <yourplayer> all
Teleport to -1931,-3,1933
/teleport -1931,-3,1933
Delete the offending part of map and let it regenerate.
/deleteblocks here

Hope that helps?