Project Zomboid

Project Zomboid

Server Tweaker
 此主题已被置顶,因此可能具有重要性
outdead  [开发者] 2023 年 3 月 24 日 下午 4:54
Bug Reporting
If you think that you have found a bug, write in this thread under what conditions is it reproduced.
< >
正在显示第 1 - 15 条,共 31 条留言
Woodland 2023 年 3 月 26 日 下午 2:49 
Possible bug: After installing the mod, the server option "AnnounceDeath" seems to not be displaying player deaths in /all chat. I am able to see the message in Admin chat though.

I'll start up a private server here in a bit to test and see if it's a possible bug or user error on my end and will update this shortly.
outdead  [开发者] 2023 年 3 月 26 日 下午 7:15 
I checked this issue on my server and can't reproduce - it works for me. Need more details, maybe some modes conflict. But I have no idea how - AnnounceDeath event runs on Java side. Did you install mods, that doing something with chat?
最后由 outdead 编辑于; 2023 年 3 月 26 日 下午 7:17
Woodland 2023 年 3 月 26 日 下午 7:27 
引用自 outdead
I checked this issue on my server and can't reproduce - it works for me. Need more details, maybe some modes conflict. But I have no idea how - AnnounceDeath event runs on Java side. Did you install mods, that doing something with chat?

Sorry I wasn't able to update earlier, I'll try and test more either tonight or in the morning. I'm going to chalk it up to user error for now but I'll let you know if I find out anything. If you want me to delete these messages let me know.
Woodland 2023 年 3 月 27 日 下午 9:37 
引用自 outdead
I checked this issue on my server and can't reproduce - it works for me. Need more details, maybe some modes conflict. But I have no idea how - AnnounceDeath event runs on Java side. Did you install mods, that doing something with chat?

I have tried to reproduce the issue on a private server and I can not seem to do it. Must have been user error on my part, apologies. You can delete these messages if you want.
DaNeo 2023 年 4 月 11 日 上午 11:21 
I have this on fresh installed Server v 41.78.16
LOG : General , 1681237146870> 2.271.430.618> ----------------------------------------- STACK TRACE ----------------------------------------- Callframe at: canBeSafehouse function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1454 | Vanilla function: createMenu -- file: TweakWorldObjectContextMenu.lua line # 16 | MOD: Server Tweaker function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla ERROR: General , 1681237146870> 2.271.430.618> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method). ERROR: General , 1681237146870> 2.271.430.618> DebugLogStream.printException> Stack trace: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.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:173) at zombie.ui.UIManager.update(UIManager.java:938) 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) Caused by: java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.iterator()" because "<parameter1>" is null at zombie.network.GameClient.copyTable(GameClient.java:1668) at zombie.network.GameClient.getServerSpawnRegions(GameClient.java:1680) at zombie.iso.areas.SafeHouse.canBeSafehouse(SafeHouse.java:297) ... 23 more

cannot create safehouses, rightclicking in houses
最后由 DaNeo 编辑于; 2023 年 4 月 11 日 上午 11:22
outdead  [开发者] 2023 年 4 月 11 日 上午 11:44 
Hi!
1. What OS?
2. Do you have another mods?
3. Did you try to remove my mod?
4. This error occurred on every building?
5. Attach pleas all stack trace log.
DaNeo 2023 年 4 月 11 日 下午 12:12 
Hey,

1. Server is Linux Debian 11, Client is Windows 10 Pro 21H2
2-3 Yes i have other mods and tried to disable them
4. I tested sofar only on non commercial buildings
5. The console.txt does not give more stacktrace informations and the DebugLog does not contain any Stacktrace see below
[11-04-23 20:18:56.466] LOG : General , 1681237136466> 2.271.420.214> ----------------------------------------- STACK TRACE ----------------------------------------- Callframe at: canBeSafehouse function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1454 | Vanilla function: createMenu -- file: TweakWorldObjectContextMenu.lua line # 16 | MOD: Server Tweaker function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla.
outdead  [开发者] 2023 年 4 月 11 日 下午 12:21 
There is cropped log in attachments
引用自 DaNeo
at zombie.network.GameClient.getServerSpawnRegions(GameClient.java:1680)
at zombie.iso.areas.SafeHouse.canBeSafehouse(SafeHouse.java:297)
... 23 more
Send me this 23 missed lines please
DaNeo 2023 年 4 月 11 日 下午 12:26 
this is the complete log from console.txt it standing there for me too

Screenshot of Logfile[i.gyazo.com]

Ingame[i.gyazo.com]
cause the safehouse button on the client menu is missing for me too
最后由 DaNeo 编辑于; 2023 年 4 月 11 日 下午 12:29
outdead  [开发者] 2023 年 4 月 11 日 下午 1:00 
Oh, I see. Scroll down and copy those 23 lines that are hidden on your screenshot.
I cant reproduce this bug on my server. maybe this is a conflict with your mods, or even this is the bug from one of them.
DaNeo 2023 年 4 月 11 日 下午 1:23 
i corrected it by removing the tweaker for the first.

The log file was at end of file....
Zomboid does not give me the 23 missing lines of stacktrace cause it get cutted and written into the logfile.
DaNeo 2023 年 4 月 11 日 下午 2:14 
Your mod works, I found the problem, it was not a mod compatibility problem but a vanilla problem that I had overlooked. an empty spawn region which returned null was the problem, there must be at least 1 entry persisting even if you set a fixed spawn point which was my fault.

This caused the problem and even more, iam sorry for your time
最后由 DaNeo 编辑于; 2023 年 4 月 11 日 下午 2:14
outdead  [开发者] 2023 年 4 月 11 日 下午 2:58 
I'm glad you were able to fix the problem. Perhaps a bug report should also be made to the developers of the game, the problem seems to be significant.
outdead  [开发者] 2023 年 5 月 1 日 上午 9:00 
Hi! This is strange. It looks like vanilla file `ISAdminPowerUI.lua` in not loaded. Is this on a singleplayer game?
最后由 outdead 编辑于; 2023 年 5 月 1 日 上午 9:00
Sai 2023 年 5 月 2 日 上午 11:08 
Hello, I've got the same issue! It's on a dedicated server :)

Log below, just in case:

`attempted index: addOption of non-table: null function: TweakISAdminPowerUI.lua -- file: TweakISAdminPowerUI.lua line # 9 | MOD: Server Tweaker java.lang.RuntimeException: attempted index: addOption of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) 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.pcall(KahluaThread.java:1782) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117) at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564) at zombie.Lua.LuaManager.RunLua(LuaManager.java:510) at zombie.Lua.LuaManager.RunLua(LuaManager.java:496) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:392) at zombie.GameWindow.init(GameWindow.java:1206) at zombie.GameWindow.mainThreadInit(GameWindow.java:576) at zombie.GameWindow.mainThread(GameWindow.java:489) at java.base/java.lang.Thread.run(Unknown Source) `
< >
正在显示第 1 - 15 条,共 31 条留言
每页显示数: 1530 50