Project Zomboid

Project Zomboid

Fancy Lanterns [B42 Compatible]
somewhatfrog  [developer] 14 Jun, 2024 @ 11:36am
B41 bugs go here
Don't forget to post that one part of the log where it happens
Please use [code][/code] formatting
Last edited by somewhatfrog; 4 Jan @ 5:06am
< >
Showing 1-5 of 5 comments
Yekip 5 Jun @ 7:04pm 
function: doChargeAction -- file: SWRechargeable.lua line # 7 | MOD: Fancy Lanterns
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
java.lang.RuntimeException: attempted index: getPrimaryHandItem of non-table: null
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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
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)

Callframe at: getSpecificPlayer
function: doChargeAction -- file: SWRechargeable.lua line # 6 | MOD: Fancy Lanterns
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
Callframe at: getSpecificPlayer
function: doChargeAction -- file: SWRechargeable.lua line # 6 | MOD: Fancy Lanterns
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla

Upon attempting to charge the lantern
somewhatfrog  [developer] 5 Jun @ 7:12pm 
Thanks, it is already fixed but I will push update a bit later, didn't want to cause additional server restarts. For now please use hotkeys, sorry for inconvenience
Last edited by somewhatfrog; 5 Jun @ 7:12pm
In Multiplayer Dedicated Server:

When Recharging one of the Fancy Lanterns, if the player presses ESC to cancel the animation, the accumulated charge resets to 0.

The lantern REPORTEDLY vanished from their inventory, only to re-appear. I believe it just unequipped itself though, and the player was big trippin.

I have tested the Recharging glitch myself, and it is consistent.

Unfortunately, I cannot isolate the portion of log, as it was reported a bit ago.

Specifically, it was an unpainted version. Grey Fancy Lantern.
somewhatfrog  [developer] 2 Oct @ 3:11am 
Originally posted by LFadedRageL:
In Multiplayer Dedicated Server:

When Recharging one of the Fancy Lanterns, if the player presses ESC to cancel the animation, the accumulated charge resets to 0.

The lantern REPORTEDLY vanished from their inventory, only to re-appear. I believe it just unequipped itself though, and the player was big trippin.

I have tested the Recharging glitch myself, and it is consistent.

Unfortunately, I cannot isolate the portion of log, as it was reported a bit ago.

Specifically, it was an unpainted version. Grey Fancy Lantern.
That's pretty weird, mod is running on multiple servers for many years and this is the first time I hear about something like that. I was not able to reproduce that on two different servers. Maybe some other mod causes this, please update me if you will find out. Thanks!
It's most likely another mod. I have a large modlist for the server.

Figured I'd bring it to your attention regardless, just in case it WAS something with this mod in particular.

Thanks for the reply, and checking on it!
< >
Showing 1-5 of 5 comments
Per page: 1530 50