EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.12k stars 879 forks source link

//restore sets all blocks to air, reports succesfull rollback, unable to undo. #714

Closed LadyCailinBot closed 4 years ago

LadyCailinBot commented 11 years ago

WORLDEDIT-2688 - Reported by NordicBlue

Hello,

I am using nightly version 1356 of WorldEdit, and Spigot build 517.

Whenever I want to restore a region, I select it with the wand. Then I go ahead and do /snap list, /snap use . This all goes fine. But whenever I try to actually do //restore, it just sets all blocks in the selection to air and says the restore has been completed. Whenever I try to //undo it, it says there is nothing to undo. This already got me to ruin a few builds and griefed houses, since there is no way I can undo the failed rollback.

I tried different file ownerships and chmod settings, but these had no effect. Also when I load the backup itself by hand in the server, the world works just fine.

What could this be?

Regards, NordicBlue

LadyCailinBot commented 11 years ago

Comment by wizjany

picture does not match description, and you still did not respond in irc when i told you to give me a copy

LadyCailinBot commented 11 years ago

Comment by NordicBlue

i believe it does match, since i selected a small area and expanded it 20 blocks up and down. there was water under the original structure. the map is about 2 gb in size. are you sure you want a copy?

LadyCailinBot commented 11 years ago

Comment by wizjany

so it was messed up to begin with? also i just need whatever region you are working in

LadyCailinBot commented 11 years ago

Comment by NordicBlue

hi,

no, this plot contained a griefed house. i selected it and as soon as i did the //restore command all blocks within the selection got set to air without the ability to //undo it.

this happens everywhere on the map, not just within a specific region. i will test it on one of our other maps, and then report back.

LadyCailinBot commented 11 years ago

Comment by NordicBlue

You can get the .mca file of the region here: http://mc.exiledgaming.net/worldguard/ The hole is located at 1018, 67, -247. I tried loading the map onto a clean server with just the map and WE/WG, but it still removing the blocks within the //restore region.

I also tried running Bukkit instead of Spigot, but this had no effect.

LadyCailinBot commented 11 years ago

Comment by NordicBlue

I did a MCRegion fixer session, result was 0 corrupted chunks.

I have been playing for a bit, and I can use //restore just fine at 1068 63 835, but it fucks up at 1032 63 -242.

LadyCailinBot commented 11 years ago

Comment by wizjany

well, you only gave me one version of the world to play with, so i messed up the area a bit first: http://i.imgur.com/C1df1br.jpg

and then used the regions you gave me and restored http://i.imgur.com/rfgsq8b.jpg (the bit in the far left is just still rendering on my screen, it popped up a second later)

LadyCailinBot commented 11 years ago

Comment by NordicBlue

That is, uhm, very odd. Could it be that the .dat is corrupted?

LadyCailinBot commented 11 years ago

Comment by wizjany

what .dat? backups don't actually need a .dat afaik, they just pull the block info from a pre-calculated mca file

LadyCailinBot commented 11 years ago

Comment by NordicBlue

What version of WorldEdit did you use to test it?

LadyCailinBot commented 11 years ago

Comment by wizjany

5.5.1, not that anything has changed with that stuff for ages