Auto Research

by canidae

Automates research. Toggle GUI with Shift+T (customizable).

Utilities
3 years ago
0.13 - 1.1
50.8K

b Another Bug in latest .17

5 years ago

I got an error message saying "the mod Auto Research caused a non-recoverable error". https://steamcommunity.com/sharedfiles/filedetails/?id=1709518311

5 years ago

seems i just had same one

5 years ago

Make that another. I just got it as well.

5 years ago

Have you updated AR to the latest version (5.0.2)?
This looks very much like the same error that happened with in version 5.0.1 when Factorio 0.17.26 was released, but version 5.0.2 fixed that error.

5 years ago
(updated 5 years ago)

i was in 502 when i got the error i backed up to 501 and no more problem
edit: i am also in factorio .17.12 not 26
hehehe i wanted more than stable but not the latest bugs :)

5 years ago

I have this same issue using AR 5.0.2 in Factorio .17.23. It seems to occur whenever a research is completed, queued or not.

5 years ago

For Factorio version 0.17.0 to 0.17.25 you need AR 5.0.1.
For Factorio version 0.17.26 and later you need version 5.0.2 of AR.

5 years ago

@canidae

I think you can include the both support with the following code :
in auto-research/control.lua (near the end of the startNextResearch function)

 if force.add_research then -- exists in factorio >= 0.17.26
    if next_research then
            force.add_research(next_research)
    end
 elseif not force.add_research -- does not exists in factorio <= 0.17.25
     force.current_research = next_research
 end

Regards,

5 years ago

Yeah, that would probably work, but I'm not very fond of such "hacks". Often those work-arounds are forgotten and just end up cluttering the code when they're no longer needed.
This really should be a temporary issue that only affects those who for some reason decides to run an old beta version.

4 years ago

Ok, I understand. Have fun!

4 years ago

There is another way ... You could have update your manifest "info.json"
- "dependencies": ["base >= 0.17.0"]
+ "dependencies": ["base >= 0.17.26"]
By this way the older game will not jump to this mod version ... but nevermind ;-)

4 years ago

Oh, that's a good point. Didn't even think of that. I'll try to remember that for the next time, but I'm guessing by now there's hardly any point trying to fix this mess up. Thanks for letting me know, though!

4 years ago

You're welcome ;-)

New response