Project Zomboid

Project Zomboid

item GPS
ABee 2024 年 5 月 1 日 上午 2:55
Error when turn on the GPS
`function: setLifeTime -- file: GPS_functionUI.lua line # 183 | MOD: itemGPS function: functionGPS -- file: GPS_functionUI.lua line # 155 | MOD: itemGPS function: functionGPS -- file: Hook_ISMiniMapOuter_NoFog.lua line # 7 | MOD: itemGPS function: update -- file: GPS_functionUI.lua line # 91 | MOD: itemGPS java.lang.RuntimeException: __add not defined for operands in setLifeTime at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676) 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:1827) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) at zombie.ui.UIElement.update(UIElement.java:1589) at zombie.worldMap.UIWorldMap.update(UIWorldMap.java:439) at zombie.ui.UIElement.update(UIElement.java:1606) at zombie.ui.UIManager.update(UIManager.java:1042) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) `

I get this error when i turn on the GPS and sometime the gps ui doesnt appear and leave thhe minimap with the coordinate text
< >
正在显示第 1 - 13 条,共 13 条留言
AuD  [开发者] 2024 年 5 月 1 日 上午 3:49 
tell me precisely, is this a new/fresh game with this mod?
is this an old game that has this mod?
you haven't played in a long time? (since the last updates several weeks ago)

ty
ABee 2024 年 5 月 1 日 上午 4:15 
sorry for the incomplete information. I just tried to install this mod on my server with the condition that it has been running for 30 days in game time. I use it with admin user. Previously I had a problem, namely the GPS didn't appear. This is because I use the "Players on Map" mod. After I deleted the mod, GPS appeared but the GPS function didn't work properly and I got a lot of spam errors when opening the GPS which had an impact on game performance. When I closed the GPS, the game went smoothly again
ABee 2024 年 5 月 1 日 上午 5:02 
After I restarted my server, I tried to activate GPS using the admin user and the previous error did not appear. but I got a new issue. The attached error appeared when I activated GPS.

`java.lang.IllegalArgumentException at jdk.internal.reflect.GeneratedMethodAccessor146.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.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:97) 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:1827) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) at zombie.ui.UIElement.render(UIElement.java:1515) at zombie.ui.UIElement.render(UIElement.java:1527) at zombie.worldMap.UIWorldMap.render(UIWorldMap.java:239) at zombie.ui.UIElement.render(UIElement.java:1527) at zombie.ui.UIManager.render(UIManager.java:446) at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1183) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.gameStates.IngameState.renderframeui(IngameState.java:1172) at zombie.gameStates.IngameState.renderInternal(IngameState.java:1324) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.gameStates.IngameState.render(IngameState.java:1271) at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.GameWindow.renderInternal(GameWindow.java:340) at zombie.GameWindow.frameStep(GameWindow.java:774) at zombie.GameWindow.run_ez(GameWindow.java:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) `

`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@33e82f41 function: drawText -- file: ISUIElement.lua line # 916 | Vanilla function: prerender -- file: ISLabel.lua line # 59 | Vanilla java.lang.IllegalArgumentException at jdk.internal.reflect.GeneratedMethodAccessor146.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.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:97) 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:1827) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) at zombie.ui.UIElement.render(UIElement.java:1515) at zombie.ui.UIElement.render(UIElement.java:1527) at zombie.worldMap.UIWorldMap.render(UIWorldMap.java:239) at zombie.ui.UIElement.render(UIElement.java:1527) at zombie.ui.UIManager.render(UIManager.java:446) at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1183) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.gameStates.IngameState.renderframeui(IngameState.java:1172) at zombie.gameStates.IngameState.renderInternal(IngameState.java:1324) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.gameStates.IngameState.render(IngameState.java:1271) at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.GameWindow.renderInternal(GameWindow.java:340) at zombie.GameWindow.frameStep(GameWindow.java:774) at zombie.GameWindow.run_ez(GameWindow.java:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) `
最后由 ABee 编辑于; 2024 年 5 月 3 日 上午 6:04
AuD  [开发者] 2024 年 5 月 3 日 上午 12:27 
I repaired the possible error line 183 to gps_functionUI, if you still have problems, and your server has a lot of mods, probably this comes from an incompatibility, if you find your problem, it is resolved, or that you find the mod incompatible, could you keep me informed here, thank you.
ABee 2024 年 5 月 4 日 上午 2:33 
I still get the error message on client console when i try to turn on the GPS with admin user.

To repoduce this error, I try it to local hosted with only this mod enable.
This is my sandbox setting:
  1. All The GPS Have the world map
  2. Access Map = 2
  3. Position Marker = 1
  4. Zoom where player without GPS
  5. Inaccuracy player radius = 350
  6. Removes Fog from minimap
  7. Isometric minimap view
  8. Easy waypoint visual
  9. Find GPS Better Condition
  10. Lifetime 300
  11. Random Lifetime
  12. All the sandbox option bellow this is unchanged

Then i try to turn on the GPS and i got spam error bellow on my client console.txt that slightly affect my performance.


LOG : General , 1714810062199> 1.012.466.440> ----------------------------------------- STACK TRACE ----------------------------------------- function: setLifeTime -- file: GPS_functionUI.lua line # 183 | MOD: itemGPS function: functionGPS -- file: GPS_functionUI.lua line # 155 | MOD: itemGPS function: functionGPS -- file: Hook_ISMiniMapOuter_NoFog.lua line # 7 | MOD: itemGPS function: update -- file: GPS_functionUI.lua line # 91 | MOD: itemGPS LOG : General , 1714810062300> 1.012.466.540> ----------------------------------------- STACK TRACE ----------------------------------------- function: setLifeTime -- file: GPS_functionUI.lua line # 183 | MOD: itemGPS function: functionGPS -- file: GPS_functionUI.lua line # 155 | MOD: itemGPS function: functionGPS -- file: Hook_ISMiniMapOuter_NoFog.lua line # 7 | MOD: itemGPS function: update -- file: GPS_functionUI.lua line # 91 | MOD: itemGPS ERROR: General , 1714810062300> 1.012.466.541> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in setLifeTime at KahluaUtil.fail line:82. ERROR: General , 1714810062300> 1.012.466.541> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: Object tried to call nil in setLifeTime at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:973) 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:1827) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) at zombie.ui.UIElement.update(UIElement.java:1589) at zombie.worldMap.UIWorldMap.update(UIWorldMap.java:439) at zombie.ui.UIElement.update(UIElement.java:1606) at zombie.ui.UIManager.update(UIManager.java:1042) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)

I also attach my console.txt bellow
https://1drv.ms/t/s!Ap0ryQKC7Uvl45F2zVZLKDT-PuONIg?e=Mybe1N
最后由 ABee 编辑于; 2024 年 5 月 4 日 上午 2:35
AuD  [开发者] 2024 年 5 月 4 日 上午 3:03 
please, share me your collection of mods insttalled on your server, ty
AuD  [开发者] 2024 年 5 月 4 日 上午 3:12 
yes it's complicated, you have very a lot of mods... at the moment I don't understand why you get this error, it's illogical.
AuD  [开发者] 2024 年 5 月 4 日 上午 3:15 
do you get this error all the time? on all GPS? or from time to time? everyone (player) has this error?
AuD  [开发者] 2024 年 5 月 4 日 上午 3:54 
I don't know if you've done this, but you can try uninstalling the mod and then reinstalling it fresh.

are you sp or mp?

if you solve this, keep me informed ;)
ABee 2024 年 5 月 4 日 上午 4:10 
I already try it. im playing on my own dedicated server and fresh wipe then redownloading all the mods.
CevaConCe 2024 年 5 月 10 日 上午 10:09 
Can u find the incompatible mod?
AuD  [开发者] 2024 年 5 月 11 日 下午 9:07 
**HOTFIX: error line 183 is solved
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50