Project Zomboid

Project Zomboid

Blackouts [OLD]
Joy Tomaro  [developer] 20 Jun, 2023 @ 1:15am
Bug Reports & Compatibility Issues
Report here.
< >
Showing 1-15 of 18 comments
NuclearPotato 24 Jun, 2023 @ 7:35pm 
Sorry for the delay but I've got some extra info on that multiplayer problem. It only happened once since I went and disabled if afterwards, so the whole issue is kinda iffy on the basis that I don't even know if it's repeatable.

Regardless, the mod works great in vanilla (and technically in multiplayer too, since like I said, I was the only person able to see it)

I don't recall there being any console errors when it occurred. I don't think I have any mods that would conflict - I'd have to check, though - but the big ones that really screw with how the game work would be stuff like Expanded Helicopter Events, Small Town First Responders, Anthro Survivors, Shark's Law Enforcement/Military Improvements, Pillow's Random Spawns, Advanced Trajectory, Firearms B41, Soul Filcher's Awesome Time, and probably a few others I'm forgetting.
Joy Tomaro  [developer] 25 Jun, 2023 @ 10:11pm 
there's a chance that changing the shutoff date just wouldnt work in multiplayer, since that is how my mod achieves the blackouts. thanks for reporting!

for now i'll just assume this mod works best in single player only, but hopefully one day we can get a patch or a new mod that works in multiplayer
Joy Tomaro  [developer] 25 Jun, 2023 @ 10:51pm 
i think i know what would need to be done tho. instead of changing shutoff date i'd have to use setHydroPowerOn. the issue is that i would have to replace the sound effects since they only play when the world shutoff event starts.

so it is definitely doable (if my idea is correct), but it would involve work rewriting everything else i made. if i get back into the game in build 42 i would probably also try updating and improving my mods (no promises)
Quill 30 Jun, 2023 @ 5:30pm 
I got this error after I had a Blackout happen then going to sleep. This is in Singeplayer

`attempted index: Simple of non-table: null
function: returnPowerStatus -- file: BlackoutEventHandler.lua line # 21 | MOD: Blackouts
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@e1480fe6
function: blackoutEnd -- file: BlackoutMainFunctions.lua line # 61 | MOD: Blackouts
java.lang.RuntimeException: attempted index: Simple 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.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:65)
at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:3062)
at jdk.internal.reflect.GeneratedMethodAccessor1281.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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:65)
at zombie.GameTime.update(GameTime.java:671)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Joy Tomaro  [developer] 30 Jun, 2023 @ 10:08pm 
thanks for letting me know! did it affect the gameplay or the error only popped up without visible issues?
Quill 30 Jun, 2023 @ 10:24pm 
It appears I have the permanent blackout happen even though I used the Override in the Sandbox Settings to have power for over a Month
Joy Tomaro  [developer] 30 Jun, 2023 @ 11:47pm 
how long have you not had power, and what are your sandbox options?
Quill 1 Jul, 2023 @ 6:12am 
Originally posted by Tomaro:
how long have you not had power, and what are your sandbox options?
I have Power Shutoff set at 0-2 Months

Override shutoff day at 60

Power outtage chance at 10

Power return chance at 25

So far it's been 5 days in-game since the power shutoff and still no power
Last edited by Quill; 1 Jul, 2023 @ 6:12am
Lil.Owl 1 Jul, 2023 @ 6:08pm 
Bug: TV does not work after blackout. It goes off almost instantaneously after I turn TV back on
Joy Tomaro  [developer] 2 Jul, 2023 @ 7:20am 
thanks for all the reports! i'm not working on modding or playing pz lately, but i'll keep these mind for the day i come back
Quilboar 9 Jul, 2023 @ 11:13pm 
I think the power has finally gone off for good, however I get constant power grid shutdown sounds for no reason.
Quilboar 9 Jul, 2023 @ 11:39pm 
Nvm it stopped
Diamond L2560 11 Jul, 2023 @ 3:41am 
Originally posted by Quilboar:
I think the power has finally gone off for good, however I get constant power grid shutdown sounds for no reason.

same problem
[F2P]Linkstman 12 Jul, 2023 @ 12:53pm 
Tested the mod out in a dedicated server and it actually works for the most part. The shutdown and start up sounds usually play but not always. The only Issue I saw was Tvs will not work unless powered by a generator and the oven light does not turn on but still functions. Fully usable without errors if you keep the TV thing in mind.
Joy Tomaro  [developer] 12 Jul, 2023 @ 1:34pm 
this is all good to know.

i think i have an idea of what i could do to make the mod a lot less buggy, but i have no plans of playing or updating my mods until build 42 or if i get really back into the game again
< >
Showing 1-15 of 18 comments
Per page: 1530 50