I understand that most issues with mods needs to be taken to the mod author, but due to my own attempts to fix the issue I've determined it's unlikely the mods are at fault. I could be wrong
Game loads all mods just fine, but when I try to generate a new game I get back an error that prevents world creation.
"mod name control.lua" attempt to index global 'game' (a nil value)
I've tried removing the first few mods I had installed that generated the issue but it just makes a new issue with another mod with the same error.
From what I can tell the game is interpreting any and all instances of the word 'game' as something that requires a value, and as most mods have instructions within control.lua to explain what certain functions do and how to edit the file for the users preference there's a lot of mentionings of the word 'game' without a value
Mods like Autofill, TreeCollision, YARM, DayNightExtender, and such other older mods are all coming back with this error
[STEAM] [0.12.24] Can't play with older mods at all
Re: [STEAM] [0.12.24] Can't play with older mods at all
This is due to a change that happened with Version 0.12.11
Check if your mods are all at their current version. From my personal experience I can tell you that Autofill and YARM work perfectly fine on 0.12.24.FactorioBot wrote:Warning: Most of the mods will be broken by this release, most of the problems can be solved by find and replace of "game.on_" to "script.on_" in the mod script files.
Re: [STEAM] [0.12.24] Can't play with older mods at all
Ah, that must be it. The mods it's coming up with an error haven't had a new release in a while since they change things that devs haven't messed around with in a while, or their support was dropped entirely but the mods still function.
I haven't played since like .09, so I missed that this would be an issue.
I'll doctor up the files with the fix you quoted, and if everything works I'll take the thread down if able.
I haven't played since like .09, so I missed that this would be an issue.
I'll doctor up the files with the fix you quoted, and if everything works I'll take the thread down if able.
Re: [STEAM] [0.12.24] Can't play with older mods at all
Confirmed, world generated.
Issue resolved
Issue resolved