Modded Game Crash, Any help?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
SaltySnacks
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu May 18, 2017 6:43 am
Contact:

Modded Game Crash, Any help?

Post 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
Last edited by SaltySnacks on Thu May 18, 2017 9:52 am, edited 1 time in total.

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Modded Game Crash, Any help?

Post by Nexela »

Uninstall or toggle off Overmods

SaltySnacks
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu May 18, 2017 6:43 am
Contact:

Re: Modded Game Crash, Any help?

Post 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...

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Modded Game Crash, Any help?

Post 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.
quick links: log file | graphical issues | wiki

SaltySnacks
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu May 18, 2017 6:43 am
Contact:

Re: Modded Game Crash, Any help?

Post 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?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Modded Game Crash, Any help?

Post 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.
quick links: log file | graphical issues | wiki

SaltySnacks
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu May 18, 2017 6:43 am
Contact:

Re: Modded Game Crash, Any help?

Post 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!

Post Reply

Return to “Technical Help”