Page 1 of 1

Modded Game Crash, Any help?

Posted: Thu May 18, 2017 6:53 am
by SaltySnacks
Solved


I am 5:30 hours into a modded playthrough when this message pops up:


Error while running event on_tick (ID 0)
LuaItemStack doesn't contain key has_grid.
stack traceback:
__OverMods__/control.lua:64: in function <__OverMods__/control.lua:49>


Cannot play anymore as everytime i load in this message will pop up!
Obviously by looking at the crash notes, it has something to do with OverMods but i am an idiot and dont know how to deal with this, thanks :D .
Mods:
bobconfig
bobinserters
boblibrary
Factorissimo2
OverMods
bobenemies
bobores
bobvehicleequipment
bobtech
rso-mod
bobplates
bobassembly
bobelectronics
bobgreenhouse
boblogistics
bobmining
bobpower
bobrevamp
bobelectronics_gfxtweak
bobmodules
bobwarfare
bobwarfare

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 7:42 am
by Nexela
Uninstall or toggle off Overmods

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 8:20 am
by SaltySnacks
Nexela wrote:Uninstall or toggle off Overmods
Yea, i know i could do that but i was hoping if i could fix it without disabling anything...

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 9:40 am
by daniel34
Extract the OverMods file and open control.lua, the line 64 reads

Code: Select all

if armor.valid_for_read and armor.has_grid then
Replace it with

Code: Select all

if armor.valid_for_read and armor.grid ~= nil then
LuaItemStack.has_grid was removed in 0.14.0, I'm not sure why the mod author still updates the mod without testing it since it is clearly not working anymore.

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 9:44 am
by SaltySnacks
daniel34 wrote:Extract the OverMods file and open control.lua, the line 64 reads

Code: Select all

if armor.valid_for_read and armor.has_grid then
Replace it with

Code: Select all

if armor.valid_for_read and armor.grid ~= nil then
LuaItemStack.has_grid was removed in 0.14.0, I'm not sure why the mod author still updates the mod without testing it since it is clearly not working anymore.
I cannot edit this document through Notepad++, any idea why?

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 9:47 am
by daniel34
SaltySnacks wrote:I cannot edit this document through Notepad++, any idea why?
No idea why, Notepad++ is also what I'm using to edit mods. Did you make sure that you extracted the zip file and not just opened the control.lua directly from WinRAR/7-zip/whatever?
Using the right-click on the zip file "Extract here" option and then editing the control.lua file works for me.

Re: Modded Game Crash, Any help?

Posted: Thu May 18, 2017 9:51 am
by SaltySnacks
daniel34 wrote:
SaltySnacks wrote:I cannot edit this document through Notepad++, any idea why?
No idea why, Notepad++ is also what I'm using to edit mods. Did you make sure that you extracted the zip file and not just opened the control.lua directly from WinRAR/7-zip/whatever?
Using the right-click on the zip file "Extract here" option and then editing the control.lua file works for me.
Ah, that did the trick, thanks mate!