Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighting bug with light-emitting liquids #2823

Closed
Ekdohibs opened this issue Jun 24, 2015 · 16 comments
Closed

Lighting bug with light-emitting liquids #2823

Ekdohibs opened this issue Jun 24, 2015 · 16 comments
Labels
Bug Issues that were confirmed to be a bug @ Server / Client / Env.

Comments

@Ekdohibs
Copy link
Member

After removal of a light-emitting liquid, there are sometimes nodes that still stay lit while there is no light source.

To reproduce:

  • go to a place with no light
  • dig a 2x1 hole; the hole should be in the north/south direction
  • place a lava block in one of the nodes of the hole, and wait for it to spread
  • remove the lava block with a bucket (do not replace it with another node)
  • result:

screenshot_20150624_170702

@est31
Copy link
Contributor

est31 commented Jun 24, 2015

Can't reproduce. Are you sure its not the fault of being in a cave which has its own lightning? But yes, there are some bugs with lightning I agree.

@est31
Copy link
Contributor

est31 commented Jun 24, 2015

Perhaps its because its at a mapblock border? your z coordinate sais 47.7. 48 == 16 * 3

@est31
Copy link
Contributor

est31 commented Jun 24, 2015

Yes, I can confirm it at a mapblock border

@est31 est31 added the Bug Issues that were confirmed to be a bug label Jun 24, 2015
@est31
Copy link
Contributor

est31 commented Jun 24, 2015

Also, its a server bug, not in client prediction. Its still there at re-login.

@est31 est31 added this to the 0.4.13 milestone Jun 30, 2015
@est31
Copy link
Contributor

est31 commented Jul 23, 2015

I've thought it was an easy bug, seems it needs more work, removing it from the milestone as its not critical.

@est31 est31 removed this from the 0.4.13 milestone Jul 23, 2015
@C1ffisme
Copy link

I had a similar bug in the older versions of minetest, but instead of staying light, it was strangely dark once lava disappeared.

@Ekdohibs
Copy link
Member Author

Ekdohibs commented May 4, 2016

I can confirm the bug is still present.

@PilzAdam
Copy link
Contributor

PilzAdam commented May 4, 2016

Reminds me of this: ecb024a

I can confirm that this happens in current master.

@paramat
Copy link
Contributor

paramat commented May 4, 2016

UpdateLighting has issues, this may be another one.
Fixer has found these bugs at block borders around lavacooling mountains on servers.

@Fixer-007
Copy link
Contributor

Yes, if you are interested to see it, go to "No rules" server, I asked admin not to fix it yet. I also had this bug randomly when I dealt with huge amounts of lava.

@paramat
Copy link
Contributor

paramat commented Oct 27, 2016

Maybe fixed by #4655 ?

@Fixer-007
Copy link
Contributor

Fixer-007 commented Oct 27, 2016

I tried to reproduce it with PR4655 on 6eb6e75 on mapgen7 and only thing I seen is this:
1
2

Holes coordinates:
-111 x 64 (lava source)
-111 x 65

Looks like ghost lighting in corner of mapblock. I've seen small patches of light even in bright areas. Can you check it?

@juhdanad
Copy link
Contributor

I don't know what causes this. I also see the light, but the light values of the lighting node and its 26 neighbors is zero both on the client (tested with printf()) and the server (when you quit and play again, you can't see the light).
I think this bug is in the block mesh generating code.

@paramat
Copy link
Contributor

paramat commented Mar 11, 2017

Does #4682 fix this?

@juhdanad
Copy link
Contributor

Yes, #4682 fixed this. What Fixer found there #2823 (comment) is a small bug in mesh generation, but lighting is correct. If you use non-smooth lighting, you should see no issues with lava.

@sofar
Copy link
Contributor

sofar commented Mar 12, 2017

I'll close it for now. I threw lots of lava and removed it with a bucket, and it all came out fine.

@sofar sofar closed this as completed Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug @ Server / Client / Env.
Projects
None yet
Development

No branches or pull requests

8 participants