Project Zomboid

Project Zomboid

ScreecherZ
 This topic has been pinned, so it's probably important
Braven  [developer] 28 Sep, 2023 @ 2:30pm
Bug Reports
If you find any bugs, please do let me know here so that I can fix it asap!
Please keep in mind I might take some time to fix a bug.

How to file a report?
Be thorough. I need to know whether it happened in Singleplayer or Multiplayer, if you have any related mods installed, what you were doing, how, when, etc.

"I have 400 mods, some must be causing issues. Fix plz" doesn't help anybody.
If you suspect a mod incompatibility, find out which mod is causing the issue and discuss with whoever developed it.

In order to preserve my sanity and not waste anybody's time, Bug Reports that do not follow these guidelines will be ignored.

Stay Updated!
Remember to always read the release notes each update so you can keep up to date with the latest bug fixes! 💖
< >
Showing 1-6 of 6 comments
Nahuel_XYZ 5 Oct, 2023 @ 12:35pm 
hello, i have created a new server configuration with only the screecherz mod but when i try to initialize it, it loads a bit and then has a NormalTermination... i only have activated the betterFPS mod and it works fine with screecherz in singleplayer
Last edited by Nahuel_XYZ; 5 Oct, 2023 @ 12:44pm
Braven  [developer] 5 Oct, 2023 @ 1:52pm 
Originally posted by Nahuel_XYZ:
hello, i have created a new server configuration with only the screecherz mod but when i try to initialize it, it loads a bit and then has a NormalTermination... i only have activated the betterFPS mod and it works fine with screecherz in singleplayer
Not a bug report? That's an issue with your server or PZ itself.
Koningkrush 22 Nov, 2023 @ 3:20pm 
LOG

[22-11-23 17:56:31.589] LOG : General , 1700693791589> ERROR IntegerConfigOption.parse() "ScreecherZ.TickRate" string=""

SEVERE: Error found in LUA file: C:/Users/Username/Zomboid/Server/servertest_SandboxVars.lua
ERROR: General , 1700695595629> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: servertest_SandboxVars.lua:2809: '}' expected (to close '{' at line 2804) near `=` at LexState.lexerror line:278.
ERROR: General , 1700695595630> DebugLogStream.printException> Stack trace:
se.krka.kahlua.vm.KahluaException: servertest_SandboxVars.lua:2809: '}' expected (to close '{' at line 2804) near `=`
at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:278)
at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:289)
at org.luaj.kahluafork.compiler.LexState.check_match(LexState.java:715)
at org.luaj.kahluafork.compiler.LexState.constructor(LexState.java:962)
at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1202)
at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1303)
at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1321)
at org.luaj.kahluafork.compiler.LexState.recfield(LexState.java:913)
at org.luaj.kahluafork.compiler.LexState.constructor(LexState.java:949)
at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1202)
at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1303)
at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1321)
at org.luaj.kahluafork.compiler.LexState.explist1(LexState.java:1036)
at org.luaj.kahluafork.compiler.LexState.assignment(LexState.java:1403)
at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1696)
at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1779)
at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790)
at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:198)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:546)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.SandboxOptions.readLuaFile(SandboxOptions.java:1634)
at zombie.SandboxOptions.loadServerLuaFile(SandboxOptions.java:1491)
at zombie.network.ServerSettings.loadFiles(ServerSettings.java:55)
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.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.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIManager.update(UIManager.java:816)
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:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)


Sandbox LUA line 2804 is in the middle of the ScreecherZ section.

ScreecherZ = {
-- The chance in percentage that a sprinter will screech when hunting a Player. Minimum=1 Maximum=100 Default=100
ScreechChance = 100,
-- Determines the frequency that the mod's code will run.
-- Higher = Better performance but less reliability. Minimum=1 Maximum=36000 Default=15
TickRate = 20,
DayOnly = false,
NightOnly = false,
},


This consistently causes the ScreecherZ mod to trigger a NormalTermination on any multiplayer server I try to host.

The mod works fine on Singleplayer.
Last edited by Koningkrush; 22 Nov, 2023 @ 3:50pm
Koningkrush 22 Nov, 2023 @ 4:08pm 
No idea what happened, but I edited the sandbox file to turn the integer into a string of the default 15:

TickRate = "15",

Launching the server again switched it back from string to an integer again

TickRate = 15,

And now it's working fine.
Braven  [developer] 22 Nov, 2023 @ 4:20pm 
Originally posted by Koningkrush:
No idea what happened, but I edited the sandbox file to turn the integer into a string of the default 15:

TickRate = "15",

Launching the server again switched it back from string to an integer again

TickRate = 15,

And now it's working fine.
TickRate cannot be a string. It must be a number.
Señor Mondongo 10 Apr, 2024 @ 5:53pm 
I don't know if its a bug or it just isn't a feature but if my friend gets targeted by a runner he hears the sound and I don't and it also happens the other way around.
Anyways that's all and I love your mods Braven, have a nice day.
< >
Showing 1-6 of 6 comments
Per page: 1530 50