Page 1 of 1
Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 09:54
by digitalmouse
Tinkering with my little Raspberry Pi Minetest server (installed last month) and Carbone - also installed from last month. My younger nephew is having a blast, and admittedly I'm having fun too building stuff when I should be working on exams or other projects. :)
Just recently started using world edit to clear out large swaths of blocks and noticed that when I started making a tunnel near the surface, a large "burnmark"-like stain or shadow appears on the surface blocks above where the tunnel happens to be. Below are some screen shots, illustrating the problem.
So here is the tunnel at 'ground level'...

And here are some aerial shots of the burn mark above where the tunnel is located...



Any ideas for investigation?
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 11:39
by Linuxdirk
What happens when you manually alter some of the nodes? Maybe a lighting update problem.
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 11:47
by digitalmouse
If by manual, you mean going in and digging out some of the tunnel 'by hand', that seems to work just fine - no shadow artifacts appear on the surface overhead.
Standing near, or even inside the affected area, looks like this:


Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 12:10
by Linuxdirk
digitalmouse wrote:Standing near, or even inside the affected area, looks like this: […]
An what happens if you mine some nodes manually while standing in there?
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 12:32
by ExeterDad
fly into the shadow and pay attention to the item in your hand. When the shadow hits your hand and darkens it, fly up until it gets lightened. Use this method to find the corners of this invisible thing that causes the shadow. Set that area to air with world edit. It will clear it. The area you set needs to be just below and above, and just beyond the corners of this zone. It may take a few tries to get it all.
Sorry for the crude explanation... I'm trying to rush :)
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 20:19
by Minetestforfun
i've also this stranges shadows... When i dig a node in this shadow, nohing happens, the shadow still here
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 20:54
by twoelk
tried placing a torch or planting a tree in the shadow? Anything that forces a lighting update.
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Nov 27, 2014 21:58
by Amaz
Or, select the area where this bug is, and use the command //replace air air
Re: Strange shadow when using World Edit in Carbone

Posted:
Fri Nov 28, 2014 15:05
by Morn76
I have found that LevelDB reduces the shadow problem with WorldEdit considerably, so I'd recommend migrating your world. Quickly flying around the shadow area just after using WE also helps.
Creating a big dirt block in the air above a shadow (make sure it's big enough vertically so the top of the dirt block has no shadows), then replacing it with air often removes shadows on the ground.
Re: Strange shadow when using World Edit in Carbone

Posted:
Fri Nov 28, 2014 18:19
by Gael de Sailly
I've recently made a very simple mod which fixes light and flow problems.
Just type "/mapfix" and it corrects most of light and liquid flow errors in a radius of 40 blocks. If you want another radius, type /mapfix <your_radius> (if you haven't the "server" privilege you can't exceed 50).
Download on Github
Re: Strange shadow when using World Edit in Carbone

Posted:
Fri Nov 28, 2014 18:26
by Morn76
Excellent, Gael, your mod works very well!
Re: Strange shadow when using World Edit in Carbone

Posted:
Sat Nov 29, 2014 08:54
by Gael de Sailly
I will put it in Github.
Re: Strange shadow when using World Edit in Carbone

Posted:
Sat Nov 29, 2014 19:52
by digitalmouse
I tried the 'place a torch' method into the really darkened areas, and it seems to work:


But "less burned" areas only light up in the torches' radius of effect:

So it looks like other methods mentioned here should be given a try. I'll report back on what worked for me later on - kinda swamped with exam stuffs at the moment.
Thanks for all your help thus far!
Re: Strange shadow when using World Edit in Carbone

Posted:
Sat Nov 29, 2014 21:00
by Minetestforfun
Place a torch doesn't work for me, and do nothing... I will try the Gael-de-Sailly method soon :)
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Jul 02, 2015 09:20
by peetaur
Re: Strange shadow when using World Edit in Carbone

Posted:
Thu Jul 02, 2015 10:31
by Gael de Sailly
My mod works but is badly coded. I'll improve it this afternoon.
Especially the vm:calculate_lighting() is useless in this context. I just discovered that the light calculation is done by vm:update_map().
Re: Strange shadow when using World Edit in Carbone

Posted:
Tue Jul 07, 2015 16:00
by jbb
I fixed the problem by remivingbonebofbthe darkbair nodes with worldedit.
You have to go inside the shadow and tipp this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.