Project Zomboid

Project Zomboid

Light Switch Backlight
56 則留言
🌟|🌟~OBS3SS1ON~🌟|🌟 5 月 16 日 下午 3: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 2024 年 12 月 25 日 下午 2:27 
Will you update this for B42, replacing the orange indicator light they added but can only be seen when facing the camera?
palapapa 2024 年 7 月 24 日 下午 3: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 2024 年 6 月 18 日 下午 1:56 
works better than the other lightswitch highlight mod simply because it supports the low res textures
Reifel 2024 年 3 月 30 日 上午 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 2024 年 3 月 1 日 上午 12:21 
Exactly what he said, the same thing happens to me, please fix it. thank you
Cubaweeroi 2024 年 1 月 8 日 下午 2:22 
Having the same problem: after respawning with a new character the switches are not lit anymore, unless you re-enter the world.
qorrja 2024 年 1 月 6 日 上午 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 2023 年 11 月 25 日 下午 9: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 2023 年 11 月 15 日 上午 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 2023 年 11 月 15 日 上午 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 2023 年 11 月 15 日 上午 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
Макщ  [作者] 2023 年 11 月 15 日 上午 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 2023 年 11 月 15 日 上午 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
Макщ  [作者] 2023 年 11 月 15 日 上午 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 2023 年 11 月 15 日 上午 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.
Макщ  [作者] 2023 年 11 月 14 日 下午 11:11 
Thanks for your feedbacks. I was unable to reproduce the error on my side, but it should be fixed now.
Greyrat 2023 年 11 月 14 日 下午 6: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 2023 年 11 月 14 日 下午 6:25 
it still causes infinite errors :D
turnip 2023 年 8 月 28 日 下午 11: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 2023 年 8 月 28 日 下午 11: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 2023 年 8 月 28 日 下午 11: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 2023 年 7 月 14 日 上午 11:04 
@I Cat Hair You - you make the mod.
物理系魔法师 2023 年 6 月 29 日 上午 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💀 2023 年 5 月 27 日 下午 3:50 
THIS IS THE BEST MOD ON THE WORKSHOP
I Cat Hair You 2023 年 5 月 1 日 上午 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 2023 年 4 月 17 日 上午 7:29 
this is really useful!
Kirino 2023 年 4 月 16 日 上午 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)} 2023 年 3 月 23 日 上午 11:59 
Excuse me, when the power goes out in the city, will the switch also stop looking bright?
FooPhoenix 2023 年 2 月 28 日 下午 1:23 
Very good mod, 10/10 :)
Viperel 2023 年 2 月 27 日 下午 11: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 2023 年 2 月 27 日 上午 4:45 
Thanks! It begin when electricity go down
Макщ  [作者] 2023 年 2 月 27 日 上午 4:15 
Thanks for the feedback. I will update the mod this week.
Fabiparty 2023 年 2 月 26 日 下午 4: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
♠️ 💗 2023 年 2 月 22 日 下午 10:36 
Excellent, I'd have subbed regardless.
Rhasmoth 2023 年 2 月 22 日 下午 5:47 
Worked fine in local co-op! :)
Макщ  [作者] 2023 年 2 月 22 日 下午 5: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.
东方彩虹🌈 2023 年 2 月 22 日 下午 4:34 
thank you
PapaFern 2023 年 2 月 22 日 下午 1:06 
MP supported?
Rhasmoth 2023 年 2 月 22 日 上午 11:59 
...a god among mortals. :crying_yeti:
jestin pippers 2023 年 2 月 21 日 下午 7:17 
just say you noob...... noob. nob.....:steamfacepalm:
Endless Jam 2023 年 2 月 21 日 下午 12:48 
макщ сделал мод на жеппу :WhiteWolfHappy:
Garstmarst 2023 年 2 月 21 日 下午 12:43 
God bless you
Макщ  [作者] 2023 年 2 月 21 日 上午 5:12 
Yep, it is. But if generator is connected to the building, the backlight will work again.
♠️ 💗 2023 年 2 月 21 日 上午 3:36 
This is cool. Does this disable when the power goes out?
Jehstr 2023 年 2 月 21 日 上午 1:39 
Nice
[✚] 🌧RAIN🌧 2023 年 2 月 21 日 上午 12:53 
Nice!
Plineo 2023 年 2 月 20 日 下午 5:52 
Nice.
SRPA-Sentinel 2023 年 2 月 20 日 下午 3:01 
Nice
Nippytime 2023 年 2 月 20 日 上午 12:48 
Nice!