12 Commits
Author SHA1 Message Date
Hornwitser 62f3a99feb Set progress when completing infinite researches
Set the progress for the next level of an infinite research when
unlocking it via a script.  This is necessary when the research is
actively being researched  as Factorio will carry over the progress for
the current level into the next one when set via a script.

It's possible for the new progress to be non-zero if the next level was
on the research queue.
2019-10-12 17:07:08 +02:00
Sander Homan 042230dc2c Fix notifying about the same research being finished
This is just a bandaid to fix a symptom. The underlying cause is still there, but at least it shouldn't spam the players anymore.
2019-07-29 20:31:42 +02:00
TechnoStrife 93c210f0c7 Merge branch 'master' into spread_researching
# Conflicts:
#	sharedPlugins/researchSync/dumpResearch.lua
#	sharedPlugins/researchSync/index.js
2019-07-15 22:14:09 +03:00
psihius 71870daaba Made so mass tech sync does not make sounds or messages, only notifies at the end 2019-07-14 15:00:55 +02:00
psihius b666a909ab Formatting and logging adjustments 2019-07-14 01:32:34 +02:00
psihius 0afe35b67c Updated research sync to handle infinite science and hopefully stop it from apply same research in a loop annoying everyone 2019-07-14 01:25:48 +02:00
TechnoStrife fa4c10dce2 Code refactor 2019-07-12 18:52:47 +03:00
psihius 03511fc240 Hardened NaN checks, added file read delay for research-sync so factorio has time to finish writing to the file 2018-04-19 23:33:09 +03:00
psihius ed9b4bbafa Changed research sync to work with /api/slaves so the instance can ignore it's own research tree and enhanced research enabling with proper messages and sound alert, added checks so we don't flip values that haven't changed 2018-04-19 18:29:05 +03:00
psihius 0edb4caff9 Typo fix 2018-04-17 14:26:09 +03:00
psihius c7cd922541 Updated research dump and enabling with a fix for infinite-research 2018-04-17 13:57:36 +03:00
Danielv123 c8f2a67845 researchSync: Tried to avoid errors when research doesn't exist 2018-04-12 07:49:40 +02:00