randunel / node-srcds-rcon

Node.JS high-level wrapper for SRCDS's remote console (RCON) https://developer.valvesoftware.com/wiki/RCON
107 stars 18 forks source link

does this work with local csgo client? #25

Open cyberhck opened 3 years ago

cyberhck commented 3 years ago

I'm doing some aim practice now a days and I'd like to set some variables, get number of kills etc every once in a while, and later I want to save this data somewhere and track my progress.

I was wondering how to connect to my local instance, I wasn't able to figure this out. At the end, I want to start a map, I want to set mp_roundtime 10, mp_restartgame 1 and then in 10 mins, I want to query how many kills I did and save this somewhere, but when I try to connect to 127.0.0.1:27015, it throws connection refused, I made a mistake, how do we set this up?