[<=0.15.9] Still getting mining researches lost

This subforum contains all the issues which we already resolved.
Post Reply
apriori
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

[<=0.15.9] Still getting mining researches lost

Post by apriori »

No matter how many mining effectivity researches are finished, when I load a game I can start it only from "2-..." level. Maybe some mod resets technologies, but I'm sure reset_technologies() shouldn't make researches lost. Such a behavior is mentioned only for the mining effectivity.
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13249
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [<=0.15.9] Still getting mining researches lost

Post by Rseding91 »

Please upload your mods.

When I run reset_technologies() it preserves the mining research progress just as it should.
If you want to get ahold of me I'm almost always on Discord.

apriori
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Re: [<=0.15.9] Still getting mining researches lost

Post by apriori »

Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13249
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [<=0.15.9] Still getting mining researches lost

Post by Rseding91 »

It looks like a 2 part problem:

1. The "Loaders" mod is doing event registration wrong and is running code every time the game is loaded - just delete control.lua from it and it will fix that.

2. The "reset_technology_effects" method is not handling infinite-style research correctly.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13249
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [<=0.15.9] Still getting mining researches lost

Post by Rseding91 »

I've fixed the technology effects reset method for the next version of 0.15 but the loaders mod is still not MP or replay safe.
If you want to get ahold of me I'm almost always on Discord.

apriori
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Re: [<=0.15.9] Still getting mining researches lost

Post by apriori »

Thanks a lot! Removed control.lua. Now waiting for the next update! :)
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.

Post Reply

Return to “Resolved Problems and Bugs”