Quick and dirty fix to it, use this as your control.lua
require "defines"
MAX_CONFIG_SIZE = 10
MAX_STORAGE_SIZE = 12
function glob_init()
global["entity-recipes"] = global["entity-recipes"] or {}
global["config"] = global["config"] or {}
global["config-tmp"] = global["config-tmp"] or ...
Search found 6 matches
- Mon Oct 19, 2015 3:03 pm
- Forum: Mods
- Topic: [MOD 0.16] Upgrade planner
- Replies: 329
- Views: 240435
- Mon Oct 19, 2015 10:59 am
- Forum: Mods
- Topic: [MOD 0.12.19] PersonalRoboportFix (0.3.2)
- Replies: 32
- Views: 45535
Re: [MOD 0.12.5] PersonalRoboportFix (0.3.0)
Yeah, on_load no longer gives access to game. so it's needing changing.
- Sat Oct 17, 2015 1:00 pm
- Forum: Mods
- Topic: [0.12.X] Longer Day/Night Cycles (DayNightExtender 1.1.0)
- Replies: 20
- Views: 36321
Re: [0.12.X] Longer Day/Night Cycles (DayNightExtender 1.1.0)
Not working as of 0.12.11 "game" is a nil value, tried fixing it to no avail. Something to do with game.freeze_day_time
ahh ok, turns out that it's because you use an on_load call and it has been changed to no longer give access to game
ahh ok, turns out that it's because you use an on_load call and it has been changed to no longer give access to game
- Sat Oct 17, 2015 12:43 pm
- Forum: Mods
- Topic: [MOD 0.12.11+] Blueprint String
- Replies: 131
- Views: 149244
Re: [MOD 0.12] Blueprint String
Had the same error, go into the control.lua and search for game.on_ and replace all with script.on_ should fix itItsTheKais wrote:Getting this error on world load, using 2.1.1 in Factorio 0.12.11:
Code: Select all
__blueprint-string__/control.lua:16: attempt to index global 'game' (a nil value)
- Fri Oct 09, 2015 4:35 pm
- Forum: Bob's mods
- Topic: [0.12.x][v0.12.10] Bob's Logistics mod
- Replies: 726
- Views: 378212
Re: [0.11.22/0.12.x][v0.12.7] Bob's Logistics mod
Yeah that would be a lot of inserters to add to the game but then again, there already are an absolute tonne of inserters that you've added >< Except of course if you're meaning in terms of workload then I totally understand.
- Thu Oct 08, 2015 12:03 pm
- Forum: Bob's mods
- Topic: [0.12.x][v0.12.10] Bob's Logistics mod
- Replies: 726
- Views: 378212
Re: [0.11.22/0.12.x][v0.12.7] Bob's Logistics mod
Any chance of getting some express smart inserters? 
