Project Zomboid

Project Zomboid

Vanilla Vehicles Replacer (KI5)
此主题已被锁定
nononon 3 月 11 日 下午 7:18
Help!
I used "Vanilla Vehicles Replacer(KI5)" and ran around in debug on the map. I saw 1 "Wrecked Dash Bulldriver", a lot of "Masterson Horizon" and a lot of "Chevalier Dart" in car crashes and parking lots. I didn't use "Vanilla Vehicles Remover" because I wanted to have cars that KI5 does not have. I saw both KI5 taxi and vanilla taxi. I saw 1 police vehicle. I saw 0 ambulances. Usually my map is full of police and ambulance vehicles. I have vehicles and road stories on high.

I also got these 2 errors

`attempted index: getConditionMax of non-table: null
function: createPartInventoryItem -- file: Vehicles.lua line # 1166 | Vanilla
function: Default -- file: Vehicles.lua line # 393 | Vanilla
java.lang.RuntimeException: attempted index: getConditionMax of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1820)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:128)
at zombie.vehicles.BaseVehicle.callLuaVoid(BaseVehicle.java:10040)
at zombie.vehicles.BaseVehicle.createParts(BaseVehicle.java:1685)
at zombie.vehicles.BaseVehicle.createPhysics(BaseVehicle.java:930)
at zombie.vehicles.BaseVehicle.createPhysics(BaseVehicle.java:848)
at zombie.vehicles.BaseVehicle.addToWorld(BaseVehicle.java:9468)
at zombie.vehicles.BaseVehicle.addToWorld(BaseVehicle.java:9387)
at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4919)
at zombie.iso.IsoChunkMap.updateInternal(IsoChunkMap.java:247)
at zombie.iso.IsoChunkMap.update(IsoChunkMap.java:206)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5939)
at zombie.iso.IsoCell.update(IsoCell.java:5896)
at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4191)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4311)
at zombie.iso.IsoWorld.update(IsoWorld.java:4225)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1811)
at zombie.gameStates.IngameState.update(IngameState.java:1507)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:388)
at zombie.GameWindow.frameStep(GameWindow.java:928)
at zombie.GameWindow.run_ez(GameWindow.java:821)
at zombie.GameWindow.mainThread(GameWindow.java:619)
at java.base/java.lang.Thread.run(Unknown Source)
`

t:1741742813475> -------------------------------------------------------------
attempted index: getConditionMax of non-table: null.
[12-03-25 03:26:53.478] LOG : General f:0, t:1741742813478> -----------------------------------------
STACK TRACE
-----------------------------------------
function: createPartInventoryItem -- file: Vehicles.lua line # 1166 | Vanilla
function: Default -- file: Vehicles.lua line # 393 | Vanilla.
[12-03-25 03:26:53.490] ERROR: General f:0, t:1741742813490> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: getConditionMax of non-table: null at KahluaThread.tableget(KahluaThread.java:1667).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
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:1820)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:128)
zombie.vehicles.BaseVehicle.callLuaVoid(BaseVehicle.java:10040)
zombie.vehicles.BaseVehicle.createParts(BaseVehicle.java:1685)
zombie.vehicles.BaseVehicle.createPhysics(BaseVehicle.java:930)
zombie.vehicles.BaseVehicle.createPhysics(BaseVehicle.java:848)
zombie.vehicles.BaseVehicle.addToWorld(BaseVehicle.java:9468)
zombie.randomizedWorld.RandomizedWorldBase.addVehicle(RandomizedWorldBase.java:342)
zombie.randomizedWorld.randomizedVehicleStory.RVSCarCrash.spawnElement(RVSCarCrash.java:117)
zombie.randomizedWorld.randomizedVehicleStory.VehicleStorySpawner.spawn(VehicleStorySpawner.java:135)
zombie.randomizedWorld.randomizedVehicleStory.RandomizedVehicleStoryBase.callVehicleStorySpawner(RandomizedVehicleStoryBase.java:518)
zombie.randomizedWorld.randomizedVehicleStory.RVSCarCrash.randomizeVehicleStory(RVSCarCrash.java:22)
zombie.iso.IsoChunk.updateVehicleStory(IsoChunk.java:3961)
zombie.iso.IsoChunk.update(IsoChunk.java:3938)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4876)
zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:193)
zombie.gameStates.IngameState.enter(IngameState.java:836)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
zombie.GameWindow.logic(GameWindow.java:388)
zombie.GameWindow.frameStep(GameWindow.java:928)
zombie.GameWindow.run_ez(GameWindow.java:821)
zombie.GameWindow.mainThread(GameWindow.java:619)
java.base/java.lang.Thread.run(Unknown Source)
.
[12-03-25 03:26:53.491] LOG : General f:0, t:1741742813491> -----------------------------------------
STACK TRACE

What mod should I load If I want to replace vanilla vehicles if an appropriate one exists from KI5. I still want vehicles that KI5 does not have. I do not want to deprioritize vanilla vehicles to the point where there is 1 police car and 0 ambulances.
< >
正在显示第 1 - 1 条,共 1 条留言
Пупсич  [开发者] 3 月 11 日 下午 9:58 
This mod replaces cars completely, that is, I simply write down which car I want to replace and another one will always appear instead. That is why you did not meet a single ambulance and I am surprised that you met a police car. I am not sure that you will be able to achieve the desired result with my mod.
As for the errors that you wrote, this is a problem in the '91 Geo Metro mod.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50