Project Zomboid

Project Zomboid

Vilespring's M113A1 Armored Personnel Carrier [Updated 2023]
Vilespring  [utvikler] 29. jan. 2020 kl. 17.59
Bug Reports
Something acting a little odd or straight up wrong? Tell me about it!
Sist redigert av Vilespring; 29. jan. 2020 kl. 18.00
< >
Viser 4660 av 80 kommentarer
Vilespring  [utvikler] 19. jan. 2022 kl. 8.50 
Interesting. Nothing there seems related to it, but I'll look into it.
Videogames 21. jan. 2022 kl. 22.37 
Encountering an incredibly odd issue where it seems the mod isn't actually activating at all.
Originally was playing on a save with this as included in Planetalgol's 'Military Used Cars' mod - was getting a long string of errors whenever one spawned on map originally thinking it was an issue with their mod so tried some testing without, I attempted to spawn it in using the 'addvehicle' debug and it claims 'no vehicle script m113a1 found'

Even though the mod is clearly enabled on the game menu & in the save's "advanced options" it seems to not exist other than appearing on the mod list. There are no errors anywhere when loading the mod by itself so I've got absolutely nothing to go off of, any clue what's causing this? ( Already tried fresh installation of PZ and force-update of the mod )
Sist redigert av Videogames; 21. jan. 2022 kl. 22.37
Kafkatrap 26. feb. 2022 kl. 2.52 
This just popped up as i entered the M113A1:

LOG : General , 1645872607368> 301,402,662> 1645872607368 znet: ZNetFriends::OnPersonaStateChange
ERROR: General , 1645872641713> 301,437,008> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: Oven and null at KahluaUtil.fail line:82.
ERROR: General , 1645872641714> 301,437,008> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __concat not defined for operands: Oven and null
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:805)
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:88)
at zombie.input.GameKeyboard.update(GameKeyboard.java:106)
at zombie.GameWindow.logic(GameWindow.java:240)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:744)
at zombie.GameWindow.run_ez(GameWindow.java:660)
at zombie.GameWindow.mainThread(GameWindow.java:474)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1645872641714> 301,437,009> -----------------------------------------
STACK TRACE
-----------------------------------------
function: showRadialMenu -- file: ISCommonMenu.lua line # 31
function: showRadialMenu -- file: ISCommonMenu.lua line # 20
function: showRadialMenu -- file: ISTrailerHomeMenu.lua line # 6
function: showRadialMenu -- file: rSemiTruck.Lightbar.lua line # 94
function: onKeyStartPressed -- file: ISUIHandler.lua line # 52
Kafkatrap 28. feb. 2022 kl. 14.49 
@Vilespring, tested it a bit more. The error message seems to only pop up when i enter the APC from the back entry point, doesn't seem to happen when jumping into the drivers seat:


https://pastebin.com/e5BsyZaf
Engine Of Darkness 15. apr. 2022 kl. 10.57 
There is a lua scripting bug in M113CarMechanicsOverlay.lua

This can cause issues with overlays of other mods because this mod breaks the "GasTank" Configuration for other mods.

ISCarMechanicsOverlay.PartList["GasTank"].vehicles = ISCarMechanicsOverlay.PartList["GasTank"].vehicles or {};
ISCarMechanicsOverlay.PartList["GasTank"] = {img="gastank", x=52,y=449,x2=136,y2=502};

The last line most likely has to be

ISCarMechanicsOverlay.PartList["GasTank"].vehicles["m113_"] = {img="gastank", x=52,y=449,x2=136,y2=502};

instead. Currently it breaks the GasTank array.
Vilespring  [utvikler] 15. apr. 2022 kl. 13.37 
Oh is that the case? good catch, I'll fix that ASAP.
Engine Of Darkness 15. apr. 2022 kl. 19.37 
You'd have to test it to ensure your vehicles GasTank continues to work properly, I just quickly looked over the code when searching due to another mod running into an error with its GasTank.

Not sure how experienced you are with development in general -

The last line (as it currently is) removes the "vehicles" subtable from

ISCarMechanicsOverlay.PartList["GasTank"]

This is because that line is an assignment with the new value being

{img="gastank", x=52,y=449,x2=136,y2=502}

and there is no "vehicles" subtable in there anymore.

Which means if someone tries to do this afterwards (e.g. another mod adds his car to the GasTank vehicle definition table)

ISCarMechanicsOverlay.PartList["GasTank"].vehicles["something"] = {...}

it causes an error because the table "vehicles" no longer exists inside "GasTank"
YeoumDo 22. aug. 2022 kl. 23.40 
I can't fill up the fuel. I can't fill it even if I'm holding the oil bottle. If you press the right mouse key, an error code appears.
Vilespring  [utvikler] 23. aug. 2022 kl. 8.06 
Did the error originate from this mod? I don't have any issues with filling it.

Open the pause menu, on the lower right there's a "Mods" button. See which mod in that list turned red.
Vilespring  [utvikler] 23. aug. 2022 kl. 8.15 
I also see there's the report above I saw in April and have forgotten about. If you can show me the vehicle mod that causes it to break, it'll help me debug to make it work.
Delta06 12. sep. 2022 kl. 20.17 
When I was driving over a horde a zombie, one of the zombie manage to bite my character while he was still inside APC even though the windows and door haven't been broken into yet.
Vilespring  [utvikler] 12. sep. 2022 kl. 20.58 
I've sat in hordes for literal realtime hours and never had that. what in the world.

It's not that I don't believe you, it's just I have no idea how to replicate that.

One possible cause is, if you speed off the moment you get into a vehicle (like if the engine is already running) the player won't close the door. My M113 doesn't have the hatches animated, so it's hard to notice. With some modded vehicles it's more obvious.
Delta06 16. sep. 2022 kl. 8.21 
Ah that's probably why.
Yeah I'm seeing the same thing with the Humvee when you take off too fast and the door is still open.
TheFox137 2. feb. 2023 kl. 4.29 
I don't seem to be able to repair the treads or armor. Is that normal or a bug?
Dawg_360 23. feb. 2023 kl. 0.33 
bug report zombies can bite you when your in the back seat had this happen twice on different servers
< >
Viser 4660 av 80 kommentarer
Per side: 1530 50