benediktmagnus / openrct2twitchserver Goto Github PK
View Code? Open in Web Editor NEWA Twitch integration server software for OpenRCT2.
License: MIT License
A Twitch integration server software for OpenRCT2.
License: MIT License
The referenced article to get a client ID is slightly outdated.
Twitch moved the registration of new apps to https://dev.twitch.tv/
When logging in with a Twitch account, one can create a new app and get a client ID for the new application.
I wonder if this will require me to get an OAuth token with that new app. My server starts and says that it is connected to the Twitch API, but the stream did not go live. Are additional steps required to get the server going?
In the README steps are missing to install the NPM and the projects dependencies before running the Node script.
To serve a wider audience the instructions should not imply that you know about Node and how its package system works.
Please add the following steps:
npm ci
. The program npm can be found in the folder of you Node.JS installation.When playing a campaign, one needs to check "Enable Twitch integration" in the save dropdown menu of the game for the world to be affected.
This step can easily be missed when starting with OpenRCT streaming. It should be explained or an article from OpenRCT about this should be referenced in the instructions.
The project tmi.js is known to have several security issues according to the NPM Security advisory. I have not taken the time to identify, if these are affecting the uses in OpenRCT2TwitchServer.
Ticket in the upstream repo: tmijs/tmi.js#311
To check your dependencies for vulnerabilities run npm audit
. If they have been fixed in their upstream packages, you can resolve them by running npm audit fix
. In this case, the issues have not been resolved in tmi.js.
**I am trying to start the server but i got the next error:
Can you maybe help me out?**
Starting Twitch integration server for OpenRCT2...
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'tmi.js'
Require stack:
OpenRCT2TwitchServer/package.json
Line 8 in 3aed001
When not specifying the version of a dependency, npm audit
will fail:
$ npm audit
npm ERR! code E400
npm ERR! 400 Bad Request - POST https://registry.npmjs.org/-/npm/v1/security/audits
As of 2018-Dec-31, the latest version of tmi.js is 1.2.1, which is also the version locked in package-lock.json
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.