Closed avi312singh closed 3 years ago
Hi there i have this starter code for my chivalry server...
var conn = new Rcon('79.98.25.135', 25010, 'myPassword'); conn.on('auth', function () { console.log("Authed!"); }).on('response', function (str) { console.log("Got response: " + str); }).on('end', function () { console.log("Socket closed!"); process.exit(); });
However doesn't seem to do anything or print anything in console.
Does this documentation - https://tornbannerjira.atlassian.net/wiki/spaces/CHIVCOM/pages/9175118/RCon+Protocol not match with this RCON pacakge?
Add conn.connect(); to the end of the file
conn.connect();
the new Rcon won't "auto connect" so you have to tell it to connect.
new Rcon
Hi there i have this starter code for my chivalry server...
However doesn't seem to do anything or print anything in console.
Does this documentation - https://tornbannerjira.atlassian.net/wiki/spaces/CHIVCOM/pages/9175118/RCon+Protocol not match with this RCON pacakge?