Chuckleberry-Finn / game-night

GNU Affero General Public License v3.0
4 stars 3 forks source link

Poker card duplication and side panel lagging #40

Closed IlyaMirzazhanov closed 6 months ago

IlyaMirzazhanov commented 7 months ago

Describe the bug I got pocker game, has drawn 7 of spade and acsidently clicked draw on it in side panel, everything started to lag

To Reproduce draw card to side panel and draw one from itself

Expected behavior it shouldn't allow to draw one from one.

Screenshots image

Console logs: Console logs are stored in your local files. OS:\Users\<username>\Zomboid\console.txt For single player (or connected players) the file is named console.txt, for hosts or servers the file will be named coop-console or server-console. Include any relevant logs - do not cut or edit the log to make it smaller.

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033538163> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033538163> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033538164> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033542084> ----------------------------------------- STACK TRACE

function: initialise -- file: gameNight - deckSearchUI.lua line # 447 | MOD: Game Night function: open -- file: gameNight - handUI.lua line # 45 | MOD: Game Night function: update -- file: gameNight - window.lua line # 73 | MOD: Game Night

ERROR: General , 1715033542085> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: sub not defined for operands in initialise at KahluaUtil.fail line:82. ERROR: General , 1715033542085> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: sub not defined for operands in initialise 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.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) LOG : General , 1715033542086> ----------------------------------------- STACK TRACE

function: initialise -- file: gameNight - deckSearchUI.lua line # 447 | MOD: Game Night function: open -- file: gameNight - handUI.lua line # 45 | MOD: Game Night function: update -- file: gameNight - window.lua line # 73 | MOD: Game Night

LOG : General , 1715033543760> [ScrapWeapons(new version)] Smash? LOG : General , 1715033543760> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033543761> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033543761> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033569534> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseDown -- file: gameNight - deckSearchUI.lua line # 267 | MOD: Game Night

ERROR: General , 1715033569535> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033569535> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseDown(UIElement.java:996) at zombie.ui.UIElement.onMouseDown(UIElement.java:959) at zombie.ui.UIManager.update(UIManager.java:755) 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) LOG : General , 1715033569536> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseDown -- file: gameNight - deckSearchUI.lua line # 267 | MOD: Game Night

LOG : General , 1715033637599> [ScrapWeapons(new version)] Smash? LOG : General , 1715033637599> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033637600> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033637600> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033652137> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

ERROR: General , 1715033652137> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033652137> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.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.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:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1715033652138> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

LOG : General , 1715033654007> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033654007> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033654007> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033654008> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033654597> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033654597> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033654597> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033654598> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033665907> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033665907> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033665907> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033665909> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033684188> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033684188> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033684188> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033684189> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033685008> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033685008> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033685008> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033685009> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033685700> [ScrapWeapons(new version)] Smash? LOG : General , 1715033685701> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033685701> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033685701> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033688998> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

ERROR: General , 1715033688998> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033688999> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.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.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:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1715033689000> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

LOG : General , 1715033689608> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseDown -- file: gameNight - deckSearchUI.lua line # 267 | MOD: Game Night

ERROR: General , 1715033689608> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033689608> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseDown(UIElement.java:996) at zombie.ui.UIElement.onMouseDown(UIElement.java:959) at zombie.ui.UIManager.update(UIManager.java:755) 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) LOG : General , 1715033689610> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseDown -- file: gameNight - deckSearchUI.lua line # 267 | MOD: Game Night

LOG : General , 1715033692408> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033692408> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033692408> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033692409> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033693408> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

ERROR: General , 1715033693408> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033693409> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1458) at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1416) at zombie.ui.UIManager.update(UIManager.java:910) 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) LOG : General , 1715033693410> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnRightMouseUp -- file: gameNight - deckSearchUI.lua line # 122 | MOD: Game Night

LOG : General , 1715033695608> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

ERROR: General , 1715033695608> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: add not defined for operands in getCardAtXY at KahluaUtil.fail line:82. ERROR: General , 1715033695609> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: add not defined for operands in getCardAtXY 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.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.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:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1715033695610> ----------------------------------------- STACK TRACE

function: getCardAtXY -- file: gameNight - deckSearchUI.lua line # 86 | MOD: Game Night function: cardOnMouseUp -- file: gameNight - deckSearchUI.lua line # 201 | MOD: Game Night

LOG : General , 1715033700128> ----------------------------------------- STACK TRACE

function: initialise -- file: gameNight - deckSearchUI.lua line # 447 | MOD: Game Night function: open -- file: gameNight - handUI.lua line # 45 | MOD: Game Night function: update -- file: gameNight - window.lua line # 73 | MOD: Game Night

ERROR: General , 1715033700129> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: sub not defined for operands in initialise at KahluaUtil.fail line:82. ERROR: General , 1715033700129> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: sub not defined for operands in initialise 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.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) LOG : General , 1715033700130> ----------------------------------------- STACK TRACE

function: initialise -- file: gameNight - deckSearchUI.lua line # 447 | MOD: Game Night function: open -- file: gameNight - handUI.lua line # 45 | MOD: Game Night function: update -- file: gameNight - window.lua line # 73 | MOD: Game Night

LOG : General , 1715033701411> [ScrapWeapons(new version)] Smash? LOG : General , 1715033701411> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033701411> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033701412> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033750842> [ScrapWeapons(new version)] Smash? LOG : General , 1715033750843> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033750843> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033750843> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033760633> [ScrapWeapons(new version)] Smash? LOG : General , 1715033760633> [ScrapWeapons(new version)] Smash with .. SalvagedSledgehammer? LOG : General , 1715033760633> [ScrapWeapons(new version)] Smash with .. GearMace? LOG : General , 1715033760634> [ScrapWeapons(new version)] No smash :< LOG : General , 1715033790523> ----------------------------------------- STACK TRACE

function: onMouseWheel -- file: gameNight - deckSearchUI.lua line # 75 | MOD: Game Night

ERROR: General , 1715033790524> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: lt not defined for operand at KahluaUtil.fail line:82. ERROR: General , 1715033790524> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: lt not defined for operand at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:900) 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:1899) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:97) at zombie.ui.UIElement.onMouseWheel(UIElement.java:1055) at zombie.ui.UIManager.update(UIManager.java:980) 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) LOG : General , 1715033790525> ----------------------------------------- STACK TRACE

Additional context Singleplayer

Chuckleberry-Finn commented 6 months ago

Probably fixed work prevention of drawing from held cards.