-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
I have phantom lights in my world #25
Comments
Thank you for the bug report, yes there are these three commands you could try to run in order: execute as @e[type=minecraft:marker,tag=ts.dl.light] at @s if block ~ ~ ~ minecraft:light[waterlogged=true] run fill ~ ~ ~ ~ ~ ~ minecraft:water replace light
execute as @e[type=minecraft:marker,tag=ts.dl.light] at @s if block ~ ~ ~ minecraft:light[waterlogged=false] run fill ~ ~ ~ ~ ~ ~ minecraft:air replace light
kill @e[type=minecraft:marker,tag=ts.dl.light] These are the ones also listed in the wiki. However, I'm not sure if this will fix your problem, since stray light blocks should be removed automatically when Dynamic Lights is installed. What version of Dynamic Lights did you use when this happened? |
The last version I used on my server was 1.7.1, not sure when the stray lights appeared, but I probably encountered the first ones around 6 month ago when I started benchmarking all my datapacks. Thanks so much for the commands! If you are interested, I can whitelist you on the server. But I guess that is not too interesting for you, - but you can have a look yourself if you want to; we are in the same timezone. I will create a backups now and wait, locating some stray lights and taking notes. |
I see that's why I wanted to ask, since 6 months ago only v1.6 was out and maybe updating to v1.7 or v1.7.1 could have been the issue. I'll take a look at that. Whitelisting me isn't really needed, if the commands happen to not work, the marker entities won't be there either for me to look at, but thanks for the offer. The commands are hidden under a dropdown, the last sentence on the page Home. Admittedly, they are pretty hidden 😅 |
the commands did not remove the lights. I will try to investigate further, and report back. |
That's a shame, sorry for the issues. Since the commands don't work, the marker entities got removed somehow so the only option is to remove them manually by hand (you need to hold a light block in order to see them |
Thanks a lot for sharing that valueable information! Do not feel bad. I really enjoyed the plugin a lot! And it is probably my fault, since I enabled/installed/disabled/removed the plugins out of order and tested everything possible. And I did that a lot with your plugin, because I was testing a lot with it. I will report back! |
I have deleted most of the stray lights. I was unable to see the lights, with or without lightblock in my hands. but luckily I got carpetmod, and followed the lightlevel till I got to a lightlevel of 14, which was basicly the illuminated/shining block. It was like playing windows minesweeper, looking for the bomb. Placed a block there, - bam! - lights out. observation: I got rid of most offending lights, and if I ever find more, I know exactly how to delete them! Thanks so much for your (debugging) help and explanations! And for the datapack itself of course! |
That's interesting, I do not use light blocks with level 14, only 6, 9 and 15. So if the light levels only go to 14 and no light block is near when holding the light item, this might have been the blocks around the dynamic lights not updating in time and not loosing their light values.. So I guess the problem never was my project but just Minecraft's light engine..? Anyway, glad it worked, happy Easter to you as well! |
Hi, for papermc users I have found a solution, download fawe from spigotmc and execute this as an operator |
Thanks for bringing this to my attention, glad you already found a solution that works, at least for now. |
Nope, never had done anything to mess around with any datapacks, but it seems like no new unused light blocks are on my world. |
Well, it seems to be working again. I'd still be interested if anything unusual happened right before you noticed the light blocks (unusual server stop, updated dynamic lights, ...) to prevent this from happening again. |
Sometimes when the server halts or freezes when it is super laggy, we see that there are lights left from before the server froze, and thanks to a despawn plugin we have, it basically kills the marker that dynamic lights places. |
Ah, I see, would you mind telling me the name of the plugin? Maybe there's a tag or something I can add to the markers so they're ignored |
Hi, it is called EntityTrackerFixer by Rottenbone Studios, but we added MARKER to the blacklist and it seems to keep dynamic light's markers now. |
Thanks, it looks like I can't add tags to my markers and the users will have to manually exclude them in the plugin config like you did. I will add this to the wiki |
Describe the bug
Hi.
Hope this is the right way to report a (?) bug.
I used your dynlight mod over several months the last year, currently it is deinstalled.
Every now and then, I see phantom lights, where no lightsource should be. Probably where I dropped torches on the ground, but I can not be sure. I can see those spots on the ground, with lightlevels above 0 and no light emiting sources nearby.
I can not get rid of them, whatever I try. They appear in farms I built and it is rather annoying, because I found no way to remove them several month in.
Can you help me removing those lightsources? Is there a command to run and get rid of those phantom lights?
Thanks in advance,
John
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: