shobhit-pathak / cs2-rcon-panel Goto Github PK
View Code? Open in Web Editor NEWA simple web panel to control CS2 servers using RCON
License: MIT License
A simple web panel to control CS2 servers using RCON
License: MIT License
After finishing the round, the winning team was able to choose the team that will play? Or it would just be a knife round and then the match starts normally, everyone on the same team?
Hello.
I really like this project, but I'm missing the feature of creating new users and giving them permission to different servers. Would that be something that's possible to implement?
Love the idea of this web panel, was hoping you could look at implementing Deathmatch to the Gamemodes. Great work!
I'm not sure that UDP logging will be made available in the new server.
I would suggest to switch to http logging. Since you are already using express in this, it should not pose a big problem .
Basically it just needs a POST endpoint.
Just did that in my own project (https://github.com/Taraman17/nodejs-cs2-api/blob/master/modules/logreceive.js)
Good evening,
I tried to install the script with Pterodactyl. Installation and login work without problems, but the created container can not connect to the game server:
All servers in DB: [
{
id: 1,
serverIP: '193.142.41.162',
serverPort: 26505,
rconPassword: 'hidden'
}
]
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Connection issue detected, reconnecting to the server: 1
starting disconnect 1
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Unable to establish connection to the server id: 1, cannot execute command: hostname
TypeError: Cannot read properties of undefined (reading 'trim')
at /home/container/routes/server.js:83:65
at processTicksAndRejections (node:internal/process/task_queues:95:5)
But the game server is online and the rcon_password works. Someone got an idea?
Server Crashes when you type in a wrong rcon. Output got generated in loops and Pannel would be banned by console. Also the heartbeat Timer can be set to 10-15 secs. It doesnt need to be every second
Hi Shobhit,
While testing your panel docker container keeps crashing/exiting after creating a match.
Below are the docker compose logs.
/usr/src/app/node_modules/rcon-srcds/dist/rcon.js:127
cs2-rcon-panel-cs2rcon-1 | reject(Error('Unable to write to socket'));
cs2-rcon-panel-cs2rcon-1 | ^
cs2-rcon-panel-cs2rcon-1 |
cs2-rcon-panel-cs2rcon-1 | Error: Unable to write to socket
cs2-rcon-panel-cs2rcon-1 | at /usr/src/app/node_modules/rcon-srcds/dist/rcon.js:127:24
cs2-rcon-panel-cs2rcon-1 | at new Promise ()
cs2-rcon-panel-cs2rcon-1 | at RCON.execute (/usr/src/app/node_modules/rcon-srcds/dist/rcon.js:120:16)
cs2-rcon-panel-cs2rcon-1 | at Interface. (/usr/src/app/routes/game.js:246:35)
cs2-rcon-panel-cs2rcon-1 | at Interface.emit (node:events:517:28)
cs2-rcon-panel-cs2rcon-1 | at [_onLine] [as _onLine] (node:internal/readline/interface:423:12)
cs2-rcon-panel-cs2rcon-1 | at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:617:22)
cs2-rcon-panel-cs2rcon-1 | at ReadStream.ondata (node:internal/readline/interface:250:23)
cs2-rcon-panel-cs2rcon-1 | at ReadStream.emit (node:events:517:28)
cs2-rcon-panel-cs2rcon-1 | at addChunk (node:internal/streams/readable:335:12)
Hey there,
First of all I would like to thank you for an amazing job u have done so far.
Everything works like a charm for me and we are using your panel with a big pleasure.
I would like to ask you if it's possible to add 2 options:
Waiting for hearing from you.
Cheers! ;)
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.