Project Zomboid

Project Zomboid

Blackouts [B41]
This topic has been locked
Joy Tomaro  [developer] 8 Feb, 2024 @ 9:26am
Bug Reports & Compatibility
Let me know of any bugs you find related to this mod.

Also let me know if this mod works in multiplayer, because the old version did not.

KNOWN BUGS:
double sound effect occasionally in multiplayer
gas pumps will still work when the power is off
some fridges will not cool food if you have the coolbags mod
Last edited by Joy Tomaro; 23 Mar, 2024 @ 12:43pm
< >
Showing 1-11 of 11 comments
User 10 Feb, 2024 @ 7:11am 
Mod works in multiplayer. However blackouts happen in different periods of time for each player.

Version: 41.78.16
Joy Tomaro  [developer] 10 Feb, 2024 @ 7:17am 
I see. Thanks for the report!

Does the issue occur from different parts of the map or even when near each other? Also, how different are the timings? Is it vastly different or is it just slightly offset for some players?
Daft Hunk 10 Feb, 2024 @ 7:26am 
Hello, I have a STACK TRACE on my server when testing this mod :
[10-02-24 16:12:26.876] LOG : General , 1707577946876> 516?648?423> -------------------------------------------------------------
attempted index: getSquare of non-table: null.
[10-02-24 16:12:26.876] LOG : General , 1707577946876> 516?648?423> -----------------------------------------
STACK TRACE
-----------------------------------------
function: initiateBlackout -- file: BlackoutEventHandler.lua line # 20 | MOD: Blackouts
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@55ab6bd5
function: blackout -- file: BlackoutMainFunctions.lua line # 40 | MOD: Blackouts.
[10-02-24 16:12:26.877] ERROR: General , 1707577946877> 516?648?424> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getSquare of non-table: null at KahluaThread.tableget line:1689..
[10-02-24 16:12:26.877] ERROR: General , 1707577946877> 516?648?424> DebugLogStream.printException> Stack trace:.
[10-02-24 16:12:26.877] LOG : General , 1707577946877> 516?648?424> -----------------------------------------
STACK TRACE
-----------------------------------------
function: initiateBlackout -- file: BlackoutEventHandler.lua line # 20 | MOD: Blackouts
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@55ab6bd5
function: blackout -- file: BlackoutMainFunctions.lua line # 40 | MOD: Blackouts.
Joy Tomaro  [developer] 10 Feb, 2024 @ 7:27am 
Thanks! I will look at those lines next time I get the chance and see what is up with it.
I can vouch for the blackouts not syncing across players. I, the host, am stumbling around total darkness while my buddy is microwaving foods for me and turning on the tv that doesn't have a power source. Tv turns on, but only when someone who isn't experiencing a blackout uses it. Friend says all the lights in the house are on for him.

Vastly different timings based off of my 1% chance setting for blackouts to occur. Seems like the blackouts are personal experiences.
Joy Tomaro  [developer] 24 Feb, 2024 @ 11:02pm 
Multiplayer syncing issues fixed! Thanks for the reports! This mod is now compatible with multiplayer! Let me know if there are still any bugs I missed!
Joy Tomaro  [developer] 25 Feb, 2024 @ 4:09am 
Originally posted by Daft Hunk:
Hello, I have a STACK TRACE on my server when testing this mod :
[10-02-24 16:12:26.876] LOG : General , 1707577946876> 516?648?423> -------------------------------------------------------------
attempted index: getSquare of non-table: null.
[10-02-24 16:12:26.876] LOG : General , 1707577946876> 516?648?423> -----------------------------------------
STACK TRACE
-----------------------------------------
function: initiateBlackout -- file: BlackoutEventHandler.lua line # 20 | MOD: Blackouts
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@55ab6bd5
function: blackout -- file: BlackoutMainFunctions.lua line # 40 | MOD: Blackouts.
[10-02-24 16:12:26.877] ERROR: General , 1707577946877> 516?648?424>

Hi Daft,

A lot has changed since updating the mod so im no longer certain about which lines these are referring to, but based on the error message it looks like something i was advised about and will have to look out for in the future!

let me know if you get this error again and what you were doing at the time, and i will be able to confirm the issue and solve it!
Last edited by Joy Tomaro; 25 Feb, 2024 @ 4:09am
Burryaga  [developer] 25 Feb, 2024 @ 5:51pm 
I have been given permission to push a patch tonight that should prevent that issue.
Armand Lesarthois 13 Mar, 2024 @ 2:39pm 
When blackout happens (local play) and go away, refrigerators don't cool food back (or at least it doesn't appear to do so.) This only affects the fridge part of refrigerators, the freezer parts and standalone freezers are unaffected. Leaving the game and coming back fix the issue (and I see the blue appearing slowly so it does appear the fridge operation was stuck)
Note that I use the Coolbags mods which may affect yours?
Joy Tomaro  [developer] 13 Mar, 2024 @ 4:18pm 
Originally posted by Armand Lesarthois:
When blackout happens (local play) and go away, refrigerators don't cool food back (or at least it doesn't appear to do so.) This only affects the fridge part of refrigerators, the freezer parts and standalone freezers are unaffected. Leaving the game and coming back fix the issue (and I see the blue appearing slowly so it does appear the fridge operation was stuck)
Note that I use the Coolbags mods which may affect yours?

Hi, Thanks for reporting this

It seems to work fine on my end, so that mod *could* be affecting it, but it doesn't seem like too big of an issue overall. I might look into it one day but as it isn't game breaking and has a relatively easy workaround, it isn't high on my priority list. Thanks again for the report!
Burryaga  [developer] 19 Apr, 2024 @ 6:11am 
Gas pumps and other items that depend on the ElecShutModifier in addition to square power have been fixed.
< >
Showing 1-11 of 11 comments
Per page: 1530 50