Project Zomboid

Project Zomboid

Paw Low Loot Patch Unbalanced
9ghtX 22 May, 2024 @ 9:49pm
[BUG] Error: PLLF_Distributions.lua:4: '=' expected near `table`
I'll just paste an error here:

ERROR: General , 1716435319557> 0> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: PLLF_Distributions.lua:4: '=' expected near `table` at LexState.lexerror line:278. ERROR: General , 1716435319557> 0> DebugLogStream.printException> Stack trace: se.krka.kahlua.vm.KahluaException: PLLF_Distributions.lua:4: '=' expected near `table` 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.error_expected(LexState.java:683) at org.luaj.kahluafork.compiler.LexState.check(LexState.java:696) at org.luaj.kahluafork.compiler.LexState.checknext(LexState.java:700) at org.luaj.kahluafork.compiler.LexState.assignment(LexState.java:1402) 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.Lua.LuaManager.LoadDirBase(LuaManager.java:342) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264) at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) at zombie.GameWindow.logic(GameWindow.java:298) 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)

I suppose there is some error in syntax of .lua file:

table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, "FlatCap") table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, 1.5) table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, "Gloves_Rogue") table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, 0.5) table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, "strapchest_Military") table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, 0.5) table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, "WetSuit") table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, 0.5) table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, "HATELA") table.insert(ProceduralDistributions.list.ArmyHangarOutfit.items, 0.3) table.insert(ProceduralDistributions.list.ArmyStorageElectronics.items, "HATELA") table.insert(ProceduralDistributions.list.ArmyStorageElectronics.items, 0.3) table.insert(ProceduralDistributions.list.ArmyStorageGuns.items, "HolsterPLL2M") table.insert(ProceduralDistributions.list.ArmyStorageGuns.items, 6) table.insert(ProceduralDistributions.list.ArmyStorageOutfit.items, "Hat_Altyn") table.insert(ProceduralDistributions.list.ArmyStorageOutfit.items, 0.6) table.insert(ProceduralDistributions.list.ArmyStorageOutfit.items, "WetSuit") table.insert(ProceduralDistributions.list.ArmyStorageOutfit.items, 0.5) ...