Project Zomboid

Project Zomboid

CarWanna
Xyberviri  [개발자] 2022년 6월 14일 오전 10시 52분
Bug Reports
Please submit any issues that occur in here.
< >
전체 댓글 11개 중 1~11개 표시 중
Xyberviri  [개발자] 2022년 6월 14일 오전 10시 52분 
Report of Cars not having full charge of batter on spawn.
Noir 2022년 6월 14일 오전 11시 05분 
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:
Noir 님이 마지막으로 수정; 2022년 6월 14일 오전 11시 08분
Xyberviri  [개발자] 2022년 6월 14일 오후 5시 58분 
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.
<c=ffdc143c>카이 2022년 10월 27일 오전 3시 02분 
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  [개발자] 2022년 10월 27일 오후 9시 13분 
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.
Xyberviri 님이 마지막으로 수정; 2022년 10월 27일 오후 9시 14분
<c=ffdc143c>카이 2022년 11월 4일 오전 12시 12분 
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  [개발자] 2022년 11월 4일 오후 9시 19분 
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",
}
Xyberviri 님이 마지막으로 수정; 2022년 11월 4일 오후 9시 22분
<c=ffdc143c>카이 2022년 11월 5일 오전 4시 20분 
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...
<c=ffdc143c>카이 님이 마지막으로 수정; 2022년 11월 5일 오전 4시 20분
WhiskeyNights 2023년 7월 9일 오후 11시 47분 
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  [개발자] 2023년 7월 20일 오후 1시 59분 
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.
Xyberviri 님이 마지막으로 수정; 2023년 7월 20일 오후 1시 59분
Grumpy 2023년 12월 14일 오후 6시 34분 
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
< >
전체 댓글 11개 중 1~11개 표시 중
페이지당 표시 개수: 1530 50