Project Zomboid

Project Zomboid

CarWanna
Xyberviri  [nhà phát triển] 14 Thg06, 2022 @ 10:52am
Bug Reports
Please submit any issues that occur in here.
< >
Đang hiển thị 1-11 trong 11 bình luận
Xyberviri  [nhà phát triển] 14 Thg06, 2022 @ 10:52am 
Report of Cars not having full charge of batter on spawn.
Noir 14 Thg06, 2022 @ 11:05am 
Add
local battery = car:getPartById("Battery") if battery then battery:getInventoryItem():setUsedDelta(1); end
at the end of Commands.spawnVehicle(player, args) function, that will fix it :steamhappy:
Lần sửa cuối bởi Noir; 14 Thg06, 2022 @ 11:08am
Xyberviri  [nhà phát triển] 14 Thg06, 2022 @ 5:58pm 
Thanks for the assist mate, i have added this as a option to the library with it hard coded setting for the time being on pink slips to set this at 1.

Im going to move this down to the pinkslip so that its setting is accessing as moddata on the inventory item.
hello there,
first of all thanks for cool mod

i use this mod well and i cant convert car to pinkslip anymore on my server
so i tried to test in sp, mp

i only activate mods in sp
mod option, cheat mod, car wanna, filibust cars, korean translate mods

and still have same problem cant convert car to pinkslip.
here is my error logs (same error log sp and mp)

can you tell me what can i do for fix it...?

i tired to test in 41.77 and 41.78 version.





TACK TRACE
-----------------------------------------
Callframe at: format
function: confirmationDialog -- file: CWTitleVehicleUI.lua line # 79 | MOD: CarWanna
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla

ERROR: General , 1666864520560> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: incomplete option to 'format' at KahluaUtil.fail line:82.
ERROR: General , 1666864520560> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: incomplete option to 'format'
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:70)
at se.krka.kahlua.stdlib.StringLib.format(StringLib.java:153)
at se.krka.kahlua.stdlib.StringLib.call(StringLib.java:124)
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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIManager.update(UIManager.java:809)
at zombie.GameWindow.logic(GameWindow.java:261)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:764)
at zombie.GameWindow.run_ez(GameWindow.java:680)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1666864520561> -----------------------------------------
Xyberviri  [nhà phát triển] 27 Thg10, 2022 @ 9:13pm 
thank you very much, im happy this helps, lets try to fix that issue for you

So line 79 of that file is attempting to get `IGUI_CW_Confirm` and replace the %s in it with the name of the vehicle from `IGUI_VehicleNameVEHICLEID`

Im guessing maybe IGUI_CW_Confirm was translated?

if that is the case make sure the %s remains so it can convert the text.

if it wasnt' translated try adding this to
IGUI_CW_Confirm = "Convert %s into a PinkSlip?"

if you didn't do the changes then let me know some of the mods that ill see if can replicate the issue.
Lần sửa cuối bởi Xyberviri; 27 Thg10, 2022 @ 9:14pm
Nguyên văn bởi Xyberviri:
thank you very much, im happy this helps, lets try to fix that issue for you

So line 79 of that file is attempting to get `IGUI_CW_Confirm` and replace the %s in it with the name of the vehicle from `IGUI_VehicleNameVEHICLEID`

Im guessing maybe IGUI_CW_Confirm was translated?

if that is the case make sure the %s remains so it can convert the text.

if it wasnt' translated try adding this to
IGUI_CW_Confirm = "Convert %s into a PinkSlip?"

if you didn't do the changes then let me know some of the mods that ill see if can replicate the issue.

oh, i just check your asnwer and it work!! thanks man, i use korean translate by my self and i wrote just % not %s.. i change to % -> %s. and its work !! thanks very much, have a good day!!
Xyberviri  [nhà phát triển] 4 Thg11, 2022 @ 9:19pm 
Awesome im happy that worked, if you can post the translations i can go ahead and just add the translations to the mod, Ill spend a little time this week and add some templates for anything i might be missing.

These are the translations that override the default english names of the items and the recipe name.

Items_{CODE} = {
DisplayName_AutoForm = "TC 96-182: Vehicle Registration Form",
DisplayName_AutoTitle = "PinkSlip: Vehicle",
}

Recipe_{CODE} = {
Recipe_Claim_Vehicle = "Claim Vehicle",
}
Lần sửa cuối bởi Xyberviri; 4 Thg11, 2022 @ 9:22pm
Nguyên văn bởi Xyberviri:
Awesome im happy that worked, if you can post the translations i can go ahead and just add the translations to the mod, Ill spend a little time this week and add some templates for anything i might be missing.

These are the translations that override the default english names of the items and the recipe name.

Items_{CODE} = {
DisplayName_AutoForm = "TC 96-182: Vehicle Registration Form",
DisplayName_AutoTitle = "PinkSlip: Vehicle",
}

Recipe_{CODE} = {
Recipe_Claim_Vehicle = "Claim Vehicle",
}

THANKS!!
not perfect korean translate but here we are


Items_{CODE} = {
DisplayName_AutoForm = "TC 96-182: 차량 등록 기기",
DisplayName_AutoTitle = "핑크 슬립: 차량",
}

Recipe_{CODE} = {
Recipe_Claim_Vehicle = "차량 불러오기",
}


must have to save as UTF-16, if you save as translate.txt...
Lần sửa cuối bởi <c=ffdc143c>카이; 5 Thg11, 2022 @ 4:20am
WhiskeyNights 9 Thg07, 2023 @ 11:47pm 
Errors when creating a PinkSlip for Fleetwood Bounder. Seems to work, but found this in console.txt

at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1688971331353> 80,584,129> -----------------------------------------
STACK TRACE
-----------------------------------------
function: perform -- file: CWCreateVehicleTitle.lua line # 171 | MOD: CarWanna

LOG : General , 1688971331355> 80,584,131> bugged action, cleared queue CWCreateVehicleTitle
Xyberviri  [nhà phát triển] 20 Thg07, 2023 @ 1:59pm 
That appears to be a issue with UdderlyVehicleRespawn, you can disable Udderly Respawn Support in the sandbox options to prevent that from happening until i can get around to fixing it.
Lần sửa cuối bởi Xyberviri; 20 Thg07, 2023 @ 1:59pm
Grumpy 14 Thg12, 2023 @ 6:34pm 
Stack trace error as soon as the server loads

LOG : General , 1702597125364> 162,484,612> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: getVehicle
function: OnInitGlobalModData -- file: cw_DistributionSettings.lua line # 129 | MOD: CarWanna

ERROR: General , 1702597125364> 162,484,613> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor15.invoke.
ERROR: General , 1702597125364> 162,484,613> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor15.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.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
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:92)
at zombie.world.moddata.GlobalModData.init(GlobalModData.java:53)
at zombie.iso.IsoWorld.init(IsoWorld.java:2438)
at zombie.network.GameServer.main(GameServer.java:702)
Caused by: java.lang.NullPointerException: Cannot invoke "String.trim()" because "<parameter1>" is null
at zombie.scripting.ScriptManager.getModule(ScriptManager.java:210)
at zombie.scripting.ScriptManager.getModule(ScriptManager.java:205)
at zombie.scripting.ScriptManager.getVehicle(ScriptManager.java:342)
... 18 more
ERROR: General , 1702597125364> 162,484,616> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and , was not found. at KahluaUtil.fail line:82.
ERROR: General , 1702597125364> 162,484,616> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __concat not defined for operands: null and , was not found.
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:92)
at zombie.world.moddata.GlobalModData.init(GlobalModData.java:53)
at zombie.iso.IsoWorld.init(IsoWorld.java:2438)
at zombie.network.GameServer.main(GameServer.java:702)
LOG : General , 1702597125364> 162,484,618> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnInitGlobalModData -- file: cw_DistributionSettings.lua line # 144 | MOD: CarWanna
< >
Đang hiển thị 1-11 trong 11 bình luận
Mỗi trang: 1530 50