Page 1 of 1

Any list of pre and post 0.12.12 lines?

Posted: Thu Feb 04, 2016 10:17 pm
by Writer
Hi everyone,

I've been supporting Factorio since early development and just returned to playing it, but I can't seem to get some of my favourite mods to work with the newer versions of the game, since nobody has bothered to update them.
So I thought what I'd do is try to refurbish them, or at least attempt to make them compatible with newer versions of the game by retouching the control.lua.
I understand that some of the scripts have been changed, like game.on being replaced with script.on, for example, but I'm wondering if there's a full list of the changes made?
I checked through the last couple of patch notes, but can't seem to find what has been changed.

Or... does what I'm trying to accomplish even make sense? Is it possible to do this without a thousand bugs?

Edit: In particular I'm stuck on an error on starting a game saying "attempt to index field 'counts' (a nil value) right now. No matter where I look in the wiki, I can't find an equivalent for [n].count or global.counts in the old version of the mod.

Re: Any list of pre and post 0.12.12 lines?

Posted: Fri Feb 05, 2016 10:28 pm
by prg
The full list of changes should already be available in the changelogs. The game.on_ -> script.on_ thing happened in version 0.12.11 for example. If you need help with something specific you need to provide a bit more context. That error message is just telling us that counts is nil when it shouldn't be, but nfi why.