1) COMMON : MESSAGE OGS MODERATORS
2) COMMON : GENERATE THE APIKEY
- 3A1) Download and install nodejs and npm
- 3A2) Install gtp2ogs.js with npm
- 3A3) Recommended : Upgrade gtp2ogs.js from old branch to “devel” branch (latest)
- 3A4) Optional : Edit the gtp2ogs.js file (for example show winrate on OGS)
- 3A5) Run gtp2ogs.js (beta)
- 3A6) Run gtp2ogs.js (official)
- 3B1a) Preparations
- 3B1b) Download and install nodejs
- 3B2) Install gtp2ogs.js
- 3B3) Recommended : Upgrade gtp2ogs from old branch to devel (latest) branch
- 3B4) Optional : Edit the gtp2ogs.js file (for example show winrate on OGS)
- 3B5) Run gtp2ogs.js (beta)
- 3B6) Run gtp2ogs.js (official)
3B3) Optional : Upgrade gtp2ogs from old branch to devel (latest) branch
UPDATE FEBRUARY 2019 : the old gtp2ogs.js has been split into many modules, to upgrade your gtp2ogs to devel, you now need to upgrade all the gtp2ogs files (gtp2ogs.js, bot.js, config.js, etc...). But the process to upgrade your branch is the same : just copy all gtp2ogs files now, instead of only gtp2ogs.js in the past
(This step is not an obligation, but it is highly recommended and only takes a few minutes)
Npm (node package manager) installs an old branch of gtp2ogs
I recommend to use rather the devel branch (latest with new features, improvements, and fixes)
To do that, download from the gtp2ogs github the “devel” branch in a zip archive here
Then extract the zip archive, copy all files in the archive from downloaded path, to path where gtp2ogs was installed in node_modules, and overwrite old files (you can make a backup of gtp2ogs.js first and rename it gtp2ogs.js-backup if you want)