Project Zomboid

Project Zomboid

Light Switch Backlight
56 kommentarer
🌟|🌟~OBS3SS1ON~🌟|🌟 16. maj kl. 15:34 
function: onTick -- file: LightSwitchBacklight.lua line # 48 | MOD: Light Switch Backlight

ERROR: General , 1747434770645> 46.918.685> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isWallTo of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1747434770645> 46.918.685> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isWallTo of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
ETC...
Munin 25. dec. 2024 kl. 14:27 
Will you update this for B42, replacing the orange indicator light they added but can only be seen when facing the camera?
palapapa 24. juli 2024 kl. 15:55 
I tried using this in an existing save and it messed up the lighting. My world now has random patches of light everywhere.
Umbras 18. juni 2024 kl. 13:56 
works better than the other lightswitch highlight mod simply because it supports the low res textures
Reifel 30. mar. 2024 kl. 8:22 
im getting weird glitch with all easy find switches, at some point it starts to disco, rapidly change colors of objects, containers...
Tnaz.v 1. mar. 2024 kl. 0:21 
Exactly what he said, the same thing happens to me, please fix it. thank you
Cubaweeroi 8. jan. 2024 kl. 14:22 
Having the same problem: after respawning with a new character the switches are not lit anymore, unless you re-enter the world.
qorrja 6. jan. 2024 kl. 10:27 
It works nicely at first, but when respawn, doesn't work anymore until reconnect.
(played co-op, without other mods)
Thanks for your work.
Captain Tofu 25. nov. 2023 kl. 21:35 
Very important info: The blacklight is only applied, when you are near a switch. I did not know that and discarded this mod upon finding it. Now I happen to have stumbled over a letsplay with this mod. I suggest mentioning proximity in the description
Jane Helldiver 15. nov. 2023 kl. 7:10 
MOD WORKS AGAIN!!!

The roll-back fixed it! Zero errors. zero call stack issues. Highlights appear as expected.

Even with 400+ mods.

Thank you and KUDOS for rapid response
Jane Helldiver 15. nov. 2023 kl. 6:59 
Happy to help test. I run with 400+ mods, and have never seen any errors with this until just today.

I don't know enough about code to pinpoint causes, but debug mode is pointing to line 50 and 85 when it pops up the errors.
Jane Helldiver 15. nov. 2023 kl. 6:58 
Just did more testing in DEBUG mode. Sorry to report, but mod is no longer working in several ways.

Lua line 50: If object:canSwitchLight then ()
and
Lua Line 85 outline attempt

Spitting out infinite errors when standing in a tile directly outside of doors near light switches. Doors in North and South of my base have no issue, but East/West cause the infinite errors.

And no matter what method I have tried, including re-sub, and reset of steam and the game, the borders around the light switches simply don't work.

Mod appears to be broken since yesterdays update.

Additional Info: I have used this mod since it was first posted back in February. Never had any issues, errors, or stack trace errors prior to today
Макщ  [ophavsmand] 15. nov. 2023 kl. 6:56 
Thanks for the feedback. For some reason it's working fine for me. I'm figuring out what the problem is. I'll undo the changes for now.
Jane Helldiver 15. nov. 2023 kl. 6:19 
November 14th update broke the mod.

Tested it fully on my server, solo play and also with ONLY this mod active.

No stack trace errors, but the mod no longer works
Макщ  [ophavsmand] 15. nov. 2023 kl. 6:19 
Hi. The mod was updated 6 hours ago. Is the mod still giving errors? If you are referring to errors like in the comments below - make sure you have downloaded the latest version of the mod. In rare cases you will need to restart Steam. Also try unsubscribing from the mod and then re-subscribing to it, then completely logging out of the game and restarting it. Hope this will help.

If the errors are not the same as in the comments below, then please provide me a stacktrace and mod list/collection if possible.
Fenrir 15. nov. 2023 kl. 5:32 
Sorry to bother you. I'm not sure if there's been an update to your module, but lately, it has been consistently throwing errors. All my modules were working fine and compatible for a while. If you could check to see what might be causing the issue, I would appreciate it. I really like this module and would rather not remove it if possible.
Макщ  [ophavsmand] 14. nov. 2023 kl. 23:11 
Thanks for your feedbacks. I was unable to reproduce the error on my side, but it should be fixed now.
Greyrat 14. nov. 2023 kl. 18:25 
STACK TRACE
-----------------------------------------
function: onTick -- file: LightSwitchBacklight.lua line # 48 | MOD: Light Switch Backlight.
[13-11-23 22:51:01.738] LOG : General , 1699937461738> 39,608,488> -------------------------------------------------------------
attempted index: isWallTo of non-table: null.
[13-11-23 22:51:01.738] LOG : General , 1699937461738> 39,608,488> -----------------------------------------
STACK TRACE
Greyrat 14. nov. 2023 kl. 18:25 
it still causes infinite errors :D
turnip 28. aug. 2023 kl. 23:43 
function: onTick -- file: LightSwitchBacklight.lua line # 48 | MOD: Light Switch Backlight

ERROR: General , 1693289445861> 180,560,637> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isWallTo of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1693289445861> 180,560,638> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isWallTo of non-table: null
turnip 28. aug. 2023 kl. 23:42 
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
turnip 28. aug. 2023 kl. 23:42 
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1693289445862> 180,560,638> -----------------------------------------
32Alpha 14. juli 2023 kl. 11:04 
@I Cat Hair You - you make the mod.
物理系魔法师 29. juni 2023 kl. 2:28 
Can you tell what type of mod this is in conflict with? It was normal until last week, when this message started appearing.


STACK TRACE
-----------------------------------------
function: onTick -- file: LightSwitchBacklight.lua line # 48 | MOD: Light Switch Backlight

Error possible involving MOD:

LightSwitchBacklight.lua:
Mash💀 27. maj 2023 kl. 15:50 
THIS IS THE BEST MOD ON THE WORKSHOP
I Cat Hair You 1. maj 2023 kl. 7:16 
the whole point of a dark room is to not be able to see. you shouldnt be able to find the switch unless you fumble around in the pitch black room for a second or two. make a mod like that where youre forced to search around the walls till you find the switch, like a right click button option [search for switch]
404_coffee.exe 17. apr. 2023 kl. 7:29 
this is really useful!
Kirino 16. apr. 2023 kl. 1:30 
"Can it highlight the ceiling "lamps" also, as i'm always having trouble finding the right spot for the lightbulb when it burns out."

EXACTLY THIS!, if this mod can archieve that, then it´s a straight 11/10 in my Book.
{playername(-1)} 23. mar. 2023 kl. 11:59 
Excuse me, when the power goes out in the city, will the switch also stop looking bright?
FooPhoenix 28. feb. 2023 kl. 13:23 
Very good mod, 10/10 :)
Viperel 27. feb. 2023 kl. 23:12 
Can it highlight the ceiling "lamps" also, as i'm always having trouble finding the right spot for the lightbulb when it burns out.
Fabiparty 27. feb. 2023 kl. 4:45 
Thanks! It begin when electricity go down
Макщ  [ophavsmand] 27. feb. 2023 kl. 4:15 
Thanks for the feedback. I will update the mod this week.
Fabiparty 26. feb. 2023 kl. 16:31 
It cause infinite errors at coop
function: onTick -- file: LightSwitchBacklight.lua line # 48 | MOD: Light Switch Backlight

ERROR: General , 1677451742925> 770.315.275> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isWallTo of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1677451742926> 770.315.275> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isWallTo of non-table: null
♠️ 💗 22. feb. 2023 kl. 22:36 
Excellent, I'd have subbed regardless.
Rhasmoth 22. feb. 2023 kl. 17:47 
Worked fine in local co-op! :)
Макщ  [ophavsmand] 22. feb. 2023 kl. 17:40 
I haven't tested this in MP, but since it's a clientside, it should work, i guess. I'll fix it if it doesn't.
东方彩虹🌈 22. feb. 2023 kl. 16:34 
thank you
PapaFern 22. feb. 2023 kl. 13:06 
MP supported?
Rhasmoth 22. feb. 2023 kl. 11:59 
...a god among mortals. :crying_yeti:
jestin pippers 21. feb. 2023 kl. 19:17 
just say you noob...... noob. nob.....:steamfacepalm:
Endless Jam 21. feb. 2023 kl. 12:48 
макщ сделал мод на жеппу :WhiteWolfHappy:
Garstmarst 21. feb. 2023 kl. 12:43 
God bless you
Макщ  [ophavsmand] 21. feb. 2023 kl. 5:12 
Yep, it is. But if generator is connected to the building, the backlight will work again.
♠️ 💗 21. feb. 2023 kl. 3:36 
This is cool. Does this disable when the power goes out?
Jehstr 21. feb. 2023 kl. 1:39 
Nice
[✚] 🌧RAIN🌧 21. feb. 2023 kl. 0:53 
Nice!
Plineo 20. feb. 2023 kl. 17:52 
Nice.
SRPA-Sentinel 20. feb. 2023 kl. 15:01 
Nice
Nippytime 20. feb. 2023 kl. 0:48 
Nice!