Hornwitser
0cdb5d0ce4
Fix crash in recount_cluster_research_progress
...
Check that the relevant research is present in the research mapping
before accessing it in recount_cluster_research_progress.
2019-10-12 17:07:08 +02:00
Hornwitser
075d54f708
Filter out lower levels when syncing research
...
Fix the next level of an infinite research getting updated with the
progress of the previous level from other nodes in the cluster by
filtering out infinite researches with a lower level than the local
level.
2019-10-12 17:07:08 +02:00
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
Hornwitser
3b1ed1a667
Rename research to tech
...
Use tech as the loop variable for researches as this is consistent with
the rest of the researchSync module.
2019-10-12 17:07:08 +02:00
Hornwitser
6a6274e85c
Fix incorrect property checks in researchSync
...
Fix naive checks for properties being set of the form obj[key] into the
proper form Object.hasOwnProperty.call(obj, key). The reason for this
is that if the key has a value of a built-in property like 'constructor'
then a check of the form obj[key] will always return true even if that
property hasn't been set on the object.
2019-10-12 17:07:07 +02:00
Hornwitser
6415784e8a
Remove outdated remoteMap
...
Remove the old and outdated remoteMap plugin. Also removes the
directory for linvodb in databases and the troubleshooting step related
to linvodb.
2019-08-07 16:03:51 +02:00
Hornwitser
fb28693dec
Disable remoteMap tests
...
Disable the tests for the old and outdated remoteMap plugin as it breaks
the whole testing harness due to the linvodb3 dependency being missing.
2019-08-07 15:23:25 +02:00
Godmave
0df1b8e1fd
Add tailing of files and move socketio connect after plugin load ( #191 )
...
#add tailing of files to prevent lost data between factorio and clusterio
#move socketio connect to the bottom after the plugins are loaded
to prevent plugins not getting the connection event
#add some more transfer compression in different places
2019-08-05 07:47:57 +02:00
Hornwitser
f76c84c3f1
Move node_modules/_app/ into lib/ as a package ( #190 )
...
Move the contents of node_modules/_app into lib/ as there shouldn't be
any content in node_modules. This directory is automatically managed
and pruned by npm.
Add lib/ as a local package in package.json, this allows scripts
everywhere to require it's content as "lib/path" instead of relying on
local paths. This shadows the StdLib Node.js Bindings package, but I
could care less.
Change all requires with lib as a local path and _app to use just lib.
2019-08-04 15:52:36 +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
Hornwitser
2714b09e5d
Fix wrong argument order
...
Fix compression not applying because the order of the callback and
options arguments were swapped in the call to Needle.get for the
request_cluster_data function.
2019-07-26 18:51:16 +02:00
Godmave
008ea139c6
#add compression
2019-07-25 23:22:46 +02:00
AreYouScared
ee6ab6ab72
Remove GPS pings in crosschat ( #172 )
...
* Remove GPS pings in crosschat
Cross-server gps pings are annoying, lets fix that
* Lets just do it the right way <3
Should be better
* Take 2
Let's try that again
2019-07-19 12:05:03 +02:00
TechnoStrife
2831c07000
Add logging to researchSync plugin
2019-07-17 23:21:57 +03:00
TechnoStrife
d48a824a69
Fix researchSync that it counts progress only from techs on same level
2019-07-17 00:31:15 +03:00
TechnoStrife
fec3cf5ddf
Fix for migation to new researchSync version
2019-07-15 22:49:39 +03: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
TechnoStrife
251ec696a3
Fixes && debugging
2019-07-15 18:29:53 +03:00
veladon
0a65946bf4
fix for /api/logstats
2019-07-15 13:47:53 +01:00
veladon
fea9fb28ca
Merge branch 'master' of https://github.com/veladon/factorioClusterio
2019-07-15 12:46:45 +01:00
veladon
e1b510b441
fix for stats exporter console errors
2019-07-15 12:46:38 +01:00
TechnoStrife
98c6795f8f
Make researchSync work for any research on any node
2019-07-15 00:46:21 +03:00
Arvids Godjuks
0b34f07954
Dump only enabled research ( #164 )
2019-07-14 17:48:20 +02: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
Daniel Vestøl
1f8ac50950
Better error message for statisticsExporter
2019-07-09 22:50:28 +02:00
veladon
3ae55cbd27
Updated defines.inventory.player_<x> to defines.inventory.character_<x> as per 0.17.35 change to rename character entity type from "player" to "character".
2019-05-13 20:41:15 +01:00
Daniel Vestøl
0c9ed582cc
Fixed scenario_loader
2019-04-22 13:45:09 +02:00
Daniel Vestøl
00dfae8bd1
Fixed another bug in scenarioLoader
2019-03-24 20:34:53 +01:00
Daniel Vestøl
8357fa23ce
Fixed bug in scenarioLoader
2019-03-24 20:14:47 +01:00
Daniel Vestøl
c15709ddc1
0.17 update: Fixed hotpatch and scenario_loader
2019-02-27 11:05:39 +01:00
joshricker
f9a9722215
Remove command length.
...
Remove command length for better compatible with large mod packs.
2019-02-18 03:26:11 -06:00
Daniel Vestøl
09f476ec40
Added support for 3625 Angels item icons
2019-01-31 14:34:02 +01:00
Daniel Vestøl
3b9dd6dcc8
Fixed bug with serverManagers web interface
2018-11-21 07:35:51 +01:00
Daniel Vestøl
ce13ad50e0
Fixed desync when viewing scenario code in hotpatch
2018-11-17 11:05:10 +01:00
Daniel Vestøl
18c486855d
Revamped scenario loader for cross platform compat
2018-11-15 21:37:42 +01:00
Daniel Vestøl
12a0ebf8d1
Scenario loading has big issues with paths, this is a bandaid
2018-11-14 22:17:09 +01:00
Daniel Vestøl
081d9a5bea
Made scenario loading less insanely spammy
2018-11-13 21:28:13 +01:00
Daniel Vestøl
1e868b4ff4
Changed hotpatch scenario dir for visibility, made scenario loading recursive
2018-11-13 21:24:42 +01:00
Daniel Vestøl
52d35ab955
Added new plugin for reporting production/kills/construction statistics to Prometheus
2018-10-23 11:10:59 +02:00
Daniel Vestøl
8766529e5b
Removed linvodb/leveldown dependency
2018-10-22 11:06:21 +02:00
Daniel Vestøl
2855268e34
Attempted fix for breaking /slaves/
2018-10-11 14:47:13 +02:00
Daniel Vestøl
94ac9ca624
Added scenario_loader plugin, updated hotpatch (new saves now gives the starting items)
2018-09-29 15:21:35 +02:00
Daniel Vestøl
e2566d2d1c
[big change] Added serverManager plugin
2018-09-27 14:35:41 +02:00
Daniel Vestøl
8a84f4087a
Bugfix and usability improvements
2018-09-23 09:17:07 +02:00
Daniel Vestøl
087ba8dabe
Improved docs, disabled remoteMap by default
2018-09-09 19:55:09 +02:00
Daniel Vestøl
9461978a6e
Reduced log spam
2018-07-30 13:30:03 +02:00
Daniel Vestøl
4fed43bad6
[big change] Moved core clusterio Lua mod functionality into its own plugin
2018-07-28 13:45:05 +02:00