Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The mod is currently incompatible with the Snake's modpack, I'm trying to fix it, I was able to fix the grid that was not being shown (the traditional inventory appeared) by just storing the old ISInventoryPane:refreshContainer(). But now every object that I moved throws this lua error:
LOG : General , 1685324291616> -----------------------------------------
STACK TRACE
-----------------------------------------
function: _getItemData -- file: TetrisItemData.lua line # 21 | MOD: Inventory Tetris
function: getItemSize -- file: TetrisItemData.lua line # 7 | MOD: Inventory Tetris
function: _renderGridItem -- file: ItemGridUI_rendering.lua line # 304 | MOD: Inventory Tetris
function: _renderGridStack -- file: ItemGridUI_rendering.lua line # 293 | MOD: Inventory Tetris
function: renderStackLoop -- file: ItemGridUI_rendering.lua line # 211 | MOD: Inventory Tetris
function: renderGridItems -- file: ItemGridUI_rendering.lua line # 186 | MOD: Inventory Tetris
function: render -- file: ItemGridUI_rendering.lua line # 133 | MOD: Inventory Tetris
ERROR: General , 1685324291627> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getFullType of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1685324291627> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getFullType of non-table: null
ANy idea? of course this does not appears when the mod is alone, just trying to make both compatible :)
LOG : General , 1685324110937> 35,956,506> EXITDEBUG: setGameSpeed 1
LOG : General , 1685324110937> 35,956,507> EXITDEBUG: setGameSpeed 3
LOG : General , 1685324110938> 35,956,507> EXITDEBUG: pauseSoundAndMusic 1
LOG : General , 1685324110938> 35,956,507> EXITDEBUG: pauseSoundAndMusic 2
LOG : General , 1685324110938> 35,956,507> EXITDEBUG: setShowPausedMessage 1
LOG : General , 1685324110938> 35,956,508> EXITDEBUG: setShowPausedMessage 2
LOG : General , 1685324110938> 35,956,508> EXITDEBUG: Core.quitToDesktop
LOG : General , 1685324110940> 35,956,510> -----------------------------------------
STACK TRACE
-----------------------------------------
function: Add -- file: ItemGrid.lua line # 785 | MOD: Inventory Tetris
ERROR: General , 1685324110941> 35,956,510> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in Add at KahluaUtil.fail line:82.
ERROR: General , 1685324110941> 35,956,510> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: Object tried to call nil in Add
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: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:92)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
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)
LOG : General , 1685324110942> 35,956,512> -----------------------------------------
STACK TRACE
infinity of this error
A: in multiplayer
B: You have a container that is not an item, and is not a world object.
Not entirely sure how that happened, but I'll see what I can do.
I'll take a look soon. Just gotta focus on the more basic reports and suggestions before I tackle something like Snake's
I was actually about to just say, "No, it's probably not gonna work" but then I realized you're one of the devs on Snake's, so I'm willing to give it a fair go in that case.
Just with this two lines:
local vanilla_refreshContainer = ISInventoryPane.refreshContainer
function ISInventoryPane:refreshContainer()
-- bla bla
-- bla bla
vanilla_refreshContainer(self)
end
- The grid shows all success and looks like it is working as expected (except for the error when moving objects)
- Tested a couple of the mechanics such as: change fishes states from alive to dead, make dry bear fur, make cheese and others and they all works good. Same again, when the state change that lua error appears.
LOG : General , 1685326431147> -----------------------------------------
STACK TRACE
-----------------------------------------
function: _getItemData -- file: TetrisItemData.lua line # 21 | MOD: Inventory Tetris
function: getItemSize -- file: TetrisItemData.lua line # 7 | MOD: Inventory Tetris
function: _renderGridItem -- file: ItemGridUI_rendering.lua line # 304 | MOD: Inventory Tetris
function: _renderGridStack -- file: ItemGridUI_rendering.lua line # 293 | MOD: Inventory Tetris
function: renderStackLoop -- file: ItemGridUI_rendering.lua line # 211 | MOD: Inventory Tetris
function: renderGridItems -- file: ItemGridUI_rendering.lua line # 186 | MOD: Inventory Tetris
function: render -- file: ItemGridUI_rendering.lua line # 133 | MOD: Inventory Tetris
ERROR: General , 1685326431147> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getFullType of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1685326431147> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getFullType of non-table: null
Always that one. Hope this helps to get this sorted out! Hope we can play with both mods soon :D btw awesome work!
Should be fixed now.
did you get this error after dieing and respawning?
function: canAddItem -- file: ItemContainerGrid.lua line # 145 | MOD: Inventory Tetris
function: quickMoveItemToContainer -- file: ItemGridUI_events.lua line # 293 | MOD: Inventory Tetris
function: quickMoveItems -- file: ItemGridUI_events.lua line # 274 | MOD: Inventory Tetris
function: handleClick -- file: ItemGridUI_events.lua line # 256 | MOD: Inventory Tetris
function: onMouseUp -- file: ItemGridUI_events.lua line # 53 | MOD: Inventory Tetris
ERROR: General , 1685332460901> 340,887,046> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getActualWeight of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1685332460901> 340,887,046> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getActualWeight of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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.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:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1685332460902> 340,887,047> -----------------------------------------
STACK TRACE
(open inglish xd )