--\ /---
___ \\//
\_____________ |
/__ \ \
___ // \_\_
/ /\/ /\| \
| / | | \ |
\___/ \___/
nodejs synchronization script for screeps.com game
-
create scripts folder(or change location in script)
-
run
-
copy output code to browser console or use extensions like chrome cjs
-
click SYNC MENU in top menu
-
click enable sync in new left menu
- existing modules be overwrited!
- sync all
*.js
files inscripts
(or own folder if scripts does not exists) folder excludesync\d*\.js
- using WoSign certificate and my 127.0.0.1 aliased name to supress mixed content security exception
var port = 9090; // port
var host = 'localhost.doomcalc.com'; // A 127.0.0.1
var watchDir = 'scripts'; // dir with your scripts
var includeRegexp = /\.js$/; // only *.js
var excludeRegexp = /^sync\d*\.js$/; // exclude same name(sync.js)
var replaceRegexp = /\..+$/; // strip extensions from modules names
var showDebug = true;
OS | result | comment |
---|---|---|
linux | pass | |
windows | planned | |
mac |
- command to console from script
- memory switches in panel
- test control(move, simple commands) standalone creep by mouse if supported in ai memory switch (add interface to set targets in memory)
- debug game overlay in browser (controlled from memory)