Auto Research

by canidae

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

Utilities
3 years ago
0.13 - 1.1
50.7K

g Broken in Version 0.17.26

5 years ago

LuaForce::current_research is read only.

5 years ago

I just got the same error message.

5 years ago

StackTrace of error:
The mod Auto Research caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-research::on_research_finished (ID 18)
LuaForce::current_research is read only.
stack traceback:
auto-research/control.lua:221: in function 'startNextResearch'
auto-research/control.lua:253: in function <auto-research/control.lua:224>
stack traceback:
[C]: in function 'newindex'
__auto-research
/control.lua:221: in function 'startNextResearch'
auto-research/control.lua:253: in function <auto-research/control.lua:224>

5 years ago

Same same!
The mod Auto Research caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-research::on_research_finished (ID 18)
LuaForce::current_research is read only.
stack traceback:
auto-research/control.lua:221: in function 'startNextResearch'
auto-research/control.lua:253: in function <auto-research/control.lua:224>
stack traceback:
[C]: in function 'newindex'
__auto-research
/control.lua:221: in function 'startNextResearch'
auto-research/control.lua:253: in function <auto-research/control.lua:224>

5 years ago
(updated 5 years ago)

Temporary workaround, edit control.lua and replace:

force.current_research = next_research

by this line:

if (next_research) then force.add_research (next_research) end

probably doesn't work well when the research queue is enabled, though, but works for me.

5 years ago

Cheers for the reports. I'll see if I can fix this when I'm home from work.

5 years ago
(updated 5 years ago)

Never mind, didn't see that Mod Author is on it.

5 years ago

It should be fixed now.
Ended up with the fix schmorp suggested, as the research queue is disabled when AR is enabled.

5 years ago

Thanks for the Update!

5 years ago

Update your game and mods, that error was fixed on latest update.

5 years ago

fscussel: Looks like you don't have the latest version of Factorio. Either upgrade Factorio to the latest version or downgrade Auto Research to 5.0.1.

New response