Project Zomboid

Project Zomboid

Gun's Elevator mod
gunslinger  [開發人員] 1 月 27 日 上午 6:49
Suggestions/Bug Reports
Please post any suggestions or bugs you encounter here.


At the moment all of the elevators I've tested work with the Elevator fix enabled.

North and West facing elevators have been added. the way i add spawn data is on first game boot
so in order for new buttons to spawn you will need a fresh game.
But if you do not want to restart a game a utility function has been added to spawn in any missing buttons if i have them set to spawn

I have a harder time finding elevators with the other facing so if you know the location of ones that do not have buttons please give a general x,y coordinate for me and i will get to it as i update this mod
最後修改者:gunslinger; 2 月 14 日 下午 8:53
< >
目前顯示第 1-15 則留言,共 50
Jaydee 1 月 27 日 上午 7:40 
This may not be possible but figured I would ask here, would you consider making a version for b41? If not I totally understand, working toward the future makes more sense than working in the past.
gunslinger  [開發人員] 1 月 27 日 下午 3:35 
引用自 Jaydee
This may not be possible but figured I would ask here, would you consider making a version for b41? If not I totally understand, working toward the future makes more sense than working in the past.

most if not all of it should work in B41 if structured for it, only issue is testing for multiplayer which i don't really have people or a lot of time for. It's not a no but i'm not sure atm.
Titto Hokkaido 2 月 5 日 下午 11:00 
The elevator at the building in Louisville at x: 12793 y: 1826 seems to get stuck when going to floor 0, as the elevator tiles seem to disappear and I appear in a sort of backrooms type room; elevator music still plays, but can't get out, nor doors open
Titto Hokkaido 2 月 5 日 下午 11:01 
There are other elevators in the building, haven't tested whether they have the same issues
Titto Hokkaido 2 月 5 日 下午 11:01 
went from 5th to 0 floor, if that's relevant
gunslinger  [開發人員] 2 月 5 日 下午 11:43 
you first used this elevator from the 5th floor?
gunslinger  [開發人員] 2 月 6 日 上午 10:31 
im going to look at this. i'm in the middle of adding a lot of stuff so it may take me a bit. what i would recommend is checking if you can pry the doors,or find an alternate way out, and opening context on the button may set that one properly
Yeah, used that elevator from the 5th floor and selected floor 0 as I thought it was ground level

About prying the door, there was no door at all; not even light or buttons, but will try again today in debug with crowbar
After testing, both elevators in the building have the same issue, after reaching floor zero (parking, seems like) the elevator tiles disappear (floor, walls, button, lights) however, from the other side the elevator is still shown... clicking with a crowbar doesn't show anything... also, on the transition from floor 1 to floor 0 the sound plays normally, but then stops and doesn't "ping"
gunslinger  [開發人員] 2 月 8 日 下午 2:35 
引用自 Titto Hokkaido
After testing, both elevators in the building have the same issue, after reaching floor zero (parking, seems like) the elevator tiles disappear (floor, walls, button, lights) however, from the other side the elevator is still shown... clicking with a crowbar doesn't show anything... also, on the transition from floor 1 to floor 0 the sound plays normally, but then stops and doesn't "ping"

this was upsetting because i had specifically tested these multiple times. The issue was with my room filtering logic. which i changed without testing that one. Finding the elevator room is impossible when the name can be nil,janitorcloset,hallway,elevator etc. I'm about to put out a major update and this one will be fixed in that
Titto Hokkaido 2 月 8 日 下午 10:11 
Aw dang, I kind of understand the upset (say kinda because I’m not really a modder) but because I have experienced the same thing in other situations

Anyway, thank you! Cheers
Callframe at: find
function: addNumbers -- file: elevatorCall.lua line # 48 | MOD: gunsElevator
function: locateElevator -- file: elevatorCall.lua line # 166 | MOD: gunsElevator
function: OnFillWorldObjectContextMenu -- file: elevatorCall.lua line # 346 | MOD: gunsElevator
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@483ee46
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1727 | Vanilla
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 425 | Vanilla

LOG : Lua f:762204, t:1739163693776> [Lightja] post context menu...
WARN : General f:762273, t:1739163694434> IsoGameCharacter.doDeferredMovement > WalkTowardState but path2 != null
ERROR: General f:762291, t:1739163694617> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: missing argument #1 to 'find' at KahluaUtil.getArg(KahluaUtil.java:380).
Stack trace:
se.krka.kahlua.vm.KahluaUtil.getArg(KahluaUtil.java:380)
se.krka.kahlua.vm.KahluaUtil.getStringArg(KahluaUtil.java:330)
se.krka.kahlua.stdlib.StringLib.findAux(StringLib.java:1014)
se.krka.kahlua.stdlib.StringLib.call(StringLib.java:125)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:81)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:458)
zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:472)
zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:4254)
jdk.internal.reflect.GeneratedMethodAccessor1632.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.base/java.lang.reflect.Method.invoke(Unknown Source)
se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:79)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:81)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410)
zombie.ui.UIManager.updateMouseButtons(UIManager.java:971)
zombie.ui.UIManager.update(UIManager.java:721)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.GameWindow.logic(GameWindow.java:324)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
zombie.GameWindow.frameStep(GameWindow.java:924)
zombie.GameWindow.run_ez(GameWindow.java:817)
zombie.GameWindow.mainThread(GameWindow.java:615)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:762291, t:1739163694617> -----------------------------------------
STACK TRACE
Have this error whenever right clicking the elevator panel in both floors (West Point PD)
This happened after dragging a body to the elevator and putting it inside; the body didn't move and the elevator got bugged/stuck
gunslinger  [開發人員] 2 月 10 日 上午 10:38 
引用自 Titto Hokkaido
Have this error whenever right clicking the elevator panel in both floors (West Point PD)
This happened after dragging a body to the elevator and putting it inside; the body didn't move and the elevator got bugged/stuck

thank you for the report. This is a strange error. I cannot recreate it nor see where exactly it has the error. Was this elevator used before the recent update?
Titto Hokkaido 2 月 10 日 下午 12:18 
Imma try to force update and report
< >
目前顯示第 1-15 則留言,共 50
每頁顯示: 1530 50