SRCDS Steam group


serving multiple games remotely
#1
Hello,
I am planning on setting up a source server but am having difficulty thinking of a way it will work because . . .
  • I only want to run one server at a time
  • I want to use my server to run several different games
  • I will not always be able to directly access my server
Despite these conflicting conditions I have an idea Big Grin but it will only work under one condition which brings me to my question . . .
CAN YOU MAKE SRCDS RETURN A CUSTOMIZED ERROR CODE?

here is my pseudocode bat file
Code:
:GAME1
START /wait hldsupdate for game1
START /wait server for game1
IF errorlevel is one of my custom errorlevels GOTO SELECT
GOTO GAME1
[insert one of these for each game]
...
:SELECT
IF ERRORLEVEL customerrorlevel1 GOTO GAME1
IF ERRORLEVEL customerrorlevel2 GOTO GAME2
etc. etc.
the idea is that i could trigger one of these errorcodes in rcon and cause it to quit the server and start a new server in a new game. Is this possible?
Reply
#2
Well first of all, I don't think you can create an error by typing something in RCon, second I don't think a batch file can read an error at all, so it wouldn't know even IF there's an error, let alone know which error it is.

I think it's way easier to just set up remote desktop? Then you can always access it and start/run whatever you like at every possible time of the day.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
You can probably make windows automatically kill a game server and start another one up. But it would be ugly Toungue
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#4
If you are not going to be able to physically access the machine, can you get to it over the internet?

There are tools like RDP or even LogmeIn or Teamviewer that might let you connect to the desktop whenever you like.
Reply
#5
yea seems like i'll have to do it some other way. I could write a BAT that iterates through servers for each game but that would be a pain in the ass and is kind of stupid. Would windows remote access along with hamachi be a good idea?
Thanks for the responses btwSmile
Reply
#6
Hamachi is just a VPN service, and I don't find it very useful. I would recommend using RDP and LogMeIn as backup. LogMeIn is fairly easy to setup, and can be accessed from a web browser.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)