SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SRCDS Guardian 2.1 C++ Version Open Source!
#1
SRCDS GUARDIAN 2.1 C++ Version

Hello all!

As you might know the original SRCDS Guardian in the console as a batch script created by Mooga.

But I believed I could do it in a console application in C++. So I started to write abit and I finally just had it working today. Smile

It supports all games. As you simply copy the Guardian.exe into the same folder where your srcds.exe is located. And then the application will create a batch script for you. In that batch script there's a standard command as this one:

Code:
srcds.exe -console -game cstrike -tickrate 100 +map de_dust2

To create a server for another game, just change the parameters to the right stuff. As for an example, I did this with a Team Fortress 2 server.

Code:
srcds.exe -console -game tf -tickrate 33 +map cp_well

The srcds.exe infront of it all is necessary. And if you want to run it for an OrangeBox game, you will have to move it into that folder where the srcds.exe is for OrangeBox games.

This program is free and it is best of all open source. However! It's released under a licens. You may compile this yourself, but making it your "own" and changing the authors name is not acceptable, legal and mostly just WRONG!

I hope all people get a good tryout with this program! I will look forward to good and bad comments or just a new idea for improvements.

- realchamp.

Screenshots
[Image: guardian1.jpg]

[Image: Guardian2.jpg]



This attachment contains Guardian.exe and Guardian.cpp. Have fun!

.zip   Guardian.zip (Size: 11.13 KB / Downloads: 110)


Credits
  • realchamp
    - Creator.
  • Mooga
    - The guy who gave me the inspiration to create this!


Release updates!
  • None yet.
Reply
#2
Doesn't work for me. Just gives me an error message when opening the exe file.
Reply
#3
Do you run on Windows XP?
Reply
#4
it's cool,thanks for share.
Reply
#5
So what does it do? just replace the bat script?
Reply
#6
(11-01-2009, 07:18 AM)Nisd Wrote:  So what does it do? just replace the bat script?

Yeah basicly.
Reply
#7
If you should make it really useful, make it read the server address from the console, and then query the server once and a while to make sure it is responding.
Reply
#8
(11-02-2009, 06:33 PM)Nisd Wrote:  If you should make it really useful, make it read the server address from the console, and then query the server once and a while to make sure it is responding.

It would be an option. (in the future)
I am not into C++ that much more, I totally forgot how to code it.
I do believe sockets could make it.
Reply
#9
How to query: http://developer.valvesoftware.com/wiki/Server_Queries#Implementations
Smile

Any ways, i almost made this in .net, even tho you had to specify Ip and port too
Reply
#10
Yeah I got the queries in PHP, though this might become a feature implentation for this.
Reply
#11
1 year celebri ftw Big Grin
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)