Jump to content

[41.78.1][Dedicated MP] Can't cook any evolved recipe


Lomion

Recommended Posts

When cooking pot is full of water there are only one option to cook soup if there are some ingredients in nearby containers/inventory.

Gives the following error:

[22-10-22 08:50:19.522] DEBUG: Multiplayer , 1666417819522> 59а697а338> ItemTransactionManager.receiveOnClient> 2 [ 778442160 : -1 => -1 ].
[22-10-22 08:50:37.380] LOG  : General     , 1666417837380> 59а715а197> -------------------------------------------------------------
attempted index: getType of non-table: null.
[22-10-22 08:50:37.381] LOG  : General     , 1666417837381> 59а715а197> -----------------------------------------
STACK TRACE
-----------------------------------------
function: doEvorecipeMenu -- file: ISInventoryPaneContextMenu.lua line # 3578 | Vanilla
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 290 | Vanilla
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1444 | Vanilla.
[22-10-22 08:50:37.381] ERROR: General     , 1666417837381> 59а715а198> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getType of non-table: null at KahluaThread.tableget line:1689..
[22-10-22 08:50:37.382] ERROR: General     , 1666417837382> 59а715а198> DebugLogStream.printException> Stack trace:.
[22-10-22 08:50:37.384] LOG  : General     , 1666417837384> 59а715а200> -----------------------------------------
STACK TRACE
-----------------------------------------
function: doEvorecipeMenu -- file: ISInventoryPaneContextMenu.lua line # 3578 | Vanilla
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 290 | Vanilla
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1444 | Vanilla.

 

Tried to figure out which ingredients but it's quite hard. Some are safe but when other safe ingredients are nearby error occurs again. Dried beans/peas give error for sure. One of the dried vegetables was fine until i had peanut butter. Tried cooking from containers/inventory/floor with no difference.

 

The most bizarre thing is that there is no such error in singleplayer. Tried verifying server files/redownloading mods and even disabling all mods, result is the same.

 

Edit: Same occurs with frying pan, roasting pan and cooking pot/saucepan with rice or pasta. Maybe even most evolved recipes...

Edited by Lomion
Link to comment
Share on other sites

Line 2578 of the file mentioned is:
 

if SandboxVars.EnablePoisoning == 3 and evoItem:getType() == "Bleach" then


It looks to me that the code needs to account for circumstances where evoItem is nil (as evoItem is set to nil on line 3572).

Something like the following should fix it.
 

if evoItem and SandboxVars.EnablePoisoning == 3 and evoItem:getType() == "Bleach" then

 

Link to comment
Share on other sites

40 minutes ago, Hugo Qwerty said:

Line 2578 of the file mentioned is:
 

if SandboxVars.EnablePoisoning == 3 and evoItem:getType() == "Bleach" then


It looks to me that the code needs to account for circumstances where evoItem is nil (as evoItem is set to nil on line 3572).

Something like the following should fix it.
 

if evoItem and SandboxVars.EnablePoisoning == 3 and evoItem:getType() == "Bleach" then

 

Yep. Worked like a charm. I wasn't able even to cook eat a damn salad until i fill it with ingredients to the max. Edited server and client files and all good. Now i understand why i didn't have that issue in single player.

That's why you don't deploy on fridays, TIS! =P

Link to comment
Share on other sites

  • Lomion changed the title to [41.78.1][Dedicated MP] Can't cook any evolved recipe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...