Giter VIP home page Giter VIP logo

cs2-rcon-tool-v2's Introduction

1

📡Counter-Strike 2 RCON tool Windows NET

This software is a RCON (Remote CONsole) tool that allows you to control and manage multiple local and/or remote Counter-Strike 2 game servers at same time using the TCP/IP-based Source RCON protocol.

In the past, a lot of RCON tools were published, maybe the most popular was HLSW but currently the project is abandoned and no updates are released. Some clones like Source Admin Tool tried to take over but most of them are outdated and doesn't support Counter-Strike 2 at 100%.

Seeing the lack of updated and functional tools to manage my own game servers i decided to code a new one by myself. I made a few intents to implement the Source RCON protocol and i've coded a library that is published in GitHub but finally i decided to use a ripped and lightweigh version of another already built library made by an author called Untodesu because mine is buggy and needs a more deep testing.

The Source RCON protocol

The Source RCON Protocol is a TCP/IP-based network communication protocol which allows to remotely send console commands to any Source-based game server. The most common use of the RCON protocol is to allow server owners to manage their game servers without direct access to the machine where the game server is running on.

In order for commands to be accepted, the connection between client and server must first be authenticated using the server's RCON password, which can be set up using a special console variable.

You can view more details of how the Source RCON protocol works in Valve's website:

Counter-Strike 2 RCON tool Main features

  • Visual servers list
  • GeoIP-based servers country flags
  • GeoIP-based players country flags
  • Manage workshop maps
  • Retrieve map group from server
  • Source RCON protocol data query from servers
  • Steam web API data query from servers
  • Retrieve server players list via RCON commands
  • Kick/Ban players by Name, Ip or ID
  • Quick server actions (add bots, change map, restart game...)
  • Send console commands and show the server's response
  • Autofilling console commands dropdown list
  • Send and receive chat messages
  • Edit/Save predefined broadcast messages
  • Auto send messages every X seconds
  • Scheduled commands (daily at specified time or every x minutes)
  • Open the game and join a server
  • Launch the game with -insecure parameter
  • Shutdown remote server
  • Application log

Installation & usage

Why source code is not published?

Some people have asked me why I publish this tool on Github if it is not open source, this is my answer:

Github allows me to have a free website where I can publish updates easily, can receive users feedback and messages and in addition, people can easily find this software if they search for this kind of tools in any search engine.

Finally, coding a tool like this costs many hours of effort and research which I have invested for free. If you want to see how this program works, you can use any free and open source .NET decompiler and see it yourself, but if you want to develop a tool like this, you will have to code it yourself. At the moment I do not intend to publish the source code so, please: STOP BOTHERING ME.

Screenshots of the tool GUI

2 3 4 5 6 7

Other CS2 admin tools

aaaa

To easly manage my own game servers i also published a tool that allows you to install, update, start and stop the servers with just one click.

You can publish your comments, ask for new features or send your feedback on Reddit:

cs2-rcon-tool-v2's People

Contributors

fpaezf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tangocash thomysr

cs2-rcon-tool-v2's Issues

Executable

Am I being stupid where is the actual executable??

Error connecting to CS2 servers

Using RCON data fetching, the basic server details are loading, but when selecting a given server, the tool hangs a bit and then gets the error: "Error connecting to server". I've set the proper IP, port, and RCON password in the tool.

Using the A2S UDP data fetching mode, I get the error "...connection attempt failed because the connected party did not properly respond after a perio...".

I prefer to use the RCON method so I can admin the players, etc.

I'm running multiple CS2 servers on different ports, running on Win10Pro, and the firewall is disabled on the server system. On the remote system where the tool is running, I have the tool allowed through the Windows firewall. All IPs are on the same subnet.

I get the same errors when running the tool on the server system itself too.
All servers are up-to-date.

Crashing

After adding server the program crashes or even if the server is added and i try to refresh it crashes

Ban greyed out

For some reason ban for 1 hour and per is greyed out.
everything else is fine
bug

Virus alert on Windows Defender for v0.8a

Trojan:Win32/Phonzy.B!ml

Warning level: Serious
Status: Active
Date: 7.12.2023 20:08
Category: Trojan Horse
Details: This program is dangerous and executes commands from the attacker.

Error Loading server list file. Conversion from string "Err" to type 'Integer' is not valid.

Hello,

I've been trying to use the CS2-RCON-Tool-V2 and encountered an error that consistently appears. I thought it would be best to report this issue to help improve the tool.

Issue Description:

Error: Error Loading server list file. Conversion from string "Err" to type 'Integer' is not valid.
Steps to Reproduce: Setup the location for the cs2.exe binary. This message pops up everytime I launch the tool.
Expected Behavior: No error message
Actual Behavior: The message appears, then the application crashes and ask if I would like to continue. When I press continue, the same error message comes back.
Environment: Windows 10, dedicated server running on a docker container (the rcon password is correctly set up and the server can be connected to)

I hope this information helps
in diagnosing and resolving the issue. I appreciate the effort put into developing this tool and look forward to using it without this error.

Thank you for your hard work and dedication to this project.

Best regards,
stillnocake

image

2 Local cs2 server?

Hey...
I have created two CS2 servers on my computer and would like to manage them using your tool. However, I have no idea how to display them in the tool or what settings I need to configure. Can you provide a step-by-step guide? Should the server already be running, or can I start it through the tool? So many questions...

GameServer++ crashing after first server saved

When I try to save my server to the "Manage servers" list, the tool crashes immediately after saving the adress, name and password.
All informations provided to the tool are correct.

I already deleted the old files:
Schedule.xml
Servers.xml
Settings.xml

Screenshot:
image
If you wonder it says "Not responding" on german

Do you need further informations or something else to work with?

No connection possible - port 28015

Connection to CS2 server is not working.
I can add the server, but then the tool gets stuck at "reading hostname data".
Old RCON Tool works perfectly.
Maybe the issue appears due to the fact that I'm not using the standard port 27015, but 28015?
Feel free to contact me to get the credentials.

Unable to create new server

When trying to create a server , even if i do updates and make batch files the server cannot be started and or does not exist.

Pls remove autoriderect to git when closing "New update" window

image
Its super annoying, pls remove this auto link open to git. I would suggest add additional button like "Go to git" or something like that but every time when i open the application i cant just skip it and it redirect to git anyway - press X on window or OK >_<

Can't send hostname with special chars

There's a known bug in Rcon.dll where if the hostname command is sent and it's value contains UTF8 special characters, the application will crash. I've asked to the original author for a fix but i get no response and also i've tried to fix by myself but i can't because i don't know C# at that level.

Meanwhile, the hostname command value will be converted to ASCII before be sent to the server so:

★ [ESP/EU] | BLACKBØX | FY-AIM | CUSTOM MAPS

will be shown as

??? [ESP/EU] | BLACKB??X | FY-AIM | CUSTOM MAPS

Here's the original Rcon.dll library source code: https://github.com/untodesu/rcon-dotnet

Any help is appreciated!

Error: Host not reachable!

Hello,

This version works better than the previous one. Unfortunately, I still have the problem that the error "Error: Host not reachable!" appears. How can I fix this? The servers are running on my local computer.

Screenshot 2023-12-11 232042

Would be great if you could help me. Thank you

Unable to connect to server

Any idea why it fails to connect to the server? Everything seems to work fine for me and my friends, but the software cannot connect to my server.

Im a noice in this, but I think everything is alright from my servers perspective

image

Am I missing something?

image

The tool version in 1.1b is 1.0b ?

Hello again,
I think that you may have forgotten to increase the version value because versionn 1.0b is displayed and I get the 'OOPSIE' sound even thought the version has been upgraded.
image

Delete this post if I'm incorrect.

Thank you !

Please add a Linux version?

Are you familiar with programming in linux, because making a port to linux would really be a help for me.

Although it's your program and you can do what you want with it, would it be possible to make my own linux port?

Feature request ( not an issue! )

image

Would be fantastic if in the "Scheduled Tasks" could be a manuel "fire" option.

That way, we could easy fire of a command string to set the server for whatever we need, I often use this in RCON when testing settings etc.

mp_maxrounds 2; mp_warmuptime 5; mp_halftime_duration 1; mp_buytime 30; mp_roundtime 1; mp_maxmoney 64000; mp_startmoney 32000; mp_restartgame 5; say "LIVE!!"

Would be super nice for some function where we could run these custom commands someway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.