Project Zomboid
Blackouts [OLD]
Bug Reports & Compatibility Issues
Report here.
< >
Показване на 1-15 от 18 коментара
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.
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
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)
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)
`
thanks for letting me know! did it affect the gameplay or the error only popped up without visible issues?
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
how long have you not had power, and what are your sandbox options?
Първоначално публикувано от 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
Последно редактиран от Quill; 1 юли 2023 в 6:12
Bug: TV does not work after blackout. It goes off almost instantaneously after I turn TV back on
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
I think the power has finally gone off for good, however I get constant power grid shutdown sounds for no reason.
Първоначално публикувано от Quilboar:
I think the power has finally gone off for good, however I get constant power grid shutdown sounds for no reason.

same problem
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.
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
< >
Показване на 1-15 от 18 коментара
На страница: 1530 50