SRCDS Steam group


Developing server manager for SRCDS
#1
Hi there everyone, as my self education in VB.Net, I'm going to be making my own server manager for SRCDS. Basically what I'm going to have it do is be an AIO for updating, installing, running, and rebooting source servers with SRCDS. What I'd like to know is if through my program, it can listen for things from srcds like if the server is up, or if it's not responding? Thanks in advanced.

[Image: steve-ballmer.jpg]
Reply
#2
-- Moved Thread --

Yes that is possible.
Reply
#3
So how exactly would I access it in vb.net?
Reply
#4
Doing a socket to the server ip. If it answers on the socket, you simply know it's working.

If not, obviously it's not working.
Reply
#5
realchamp Wrote:Doing a socket to the server ip. If it answers on the socket, you simply know it's working.

If not, obviously it's not working.

Ok. So would I have to constantly open the socket? How would the program know when the server is fully started, and it can create the socket?
Reply
#6
Create a socket to the server "Hello are you there" - if it goes through, the server is working.

There are some PHP script which does this already. I will post their links later.
Reply
#7
realchamp Wrote:Create a socket to the server "Hello are you there" - if it goes through, the server is working.

There are some PHP script which does this already. I will post their links later.

Well, I don't really know if you can integrate php scripts with VB.Net... but like I was saying, how can you have the program tell when the servers actually, fully started, so it can open the connection?
Reply
#8
Is it a remote server?? Or local?

What I do is run a script on my server that checks every so often to see if srcds.exe is running, if not, it will open it up again and log an error that it crashed at the specific time it found out. I also have it message me.
Reply
#9
over_kill Wrote:Is it a remote server?? Or local?

What I do is run a script on my server that checks every so often to see if srcds.exe is running, if not, it will open it up again and log an error that it crashed at the specific time it found out. I also have it message me.

It would be local, but then that would depend on the person who'd be using my program. Also, another reason I'm making this is because no one's scripts or w/e actually check to see if the server is receiving connections. What happens 75% of the time in Garry's Mod is an error will pop up, but srcds.exe will not close. Thus, the restarter hasn't realized that it actually crashed. And no, -nocrashdialoge does not work.
Reply
#10
tgp1994 Wrote:
over_kill Wrote:Is it a remote server?? Or local?

What I do is run a script on my server that checks every so often to see if srcds.exe is running, if not, it will open it up again and log an error that it crashed at the specific time it found out. I also have it message me.

It would be local, but then that would depend on the person who'd be using my program. Also, another reason I'm making this is because no one's scripts or w/e actually check to see if the server is receiving connections. What happens 75% of the time in Garry's Mod is an error will pop up, but srcds.exe will not close. Thus, the restarter hasn't realized that it actually crashed. And no, -nocrashdialoge does not work.

Ok, I got a little question for everyone here. Do you guys have a list of CLAs for SRCDS and what they do?
Reply
#11
CLAs?
Reply
#12
realchamp Wrote:CLAs?

Command Line Arguments, like -game garrysmod
Reply
#13
Ahh.

Have a look here.

http://forums.srcds.com/viewtopic/8338
http://forums.srcds.com/viewtopic/7553
Reply
#14
realchamp Wrote:Ahh.

Have a look here.

http://forums.srcds.com/viewtopic/8338
http://forums.srcds.com/viewtopic/7553

Thanks! So can you tell me what the difference is between l4d_full and left4dead?

EDIT: Also, would I need to download orangebox if I was going to get something like garrysmod?
Reply
#15
For GarrysMod you'll need an OrangeBox game(DoD:S or TF2) or a Source engine game(CS:S).


Just use left4dead, I don't think the l4d_full is supported anymore. Or I actually don't know the difference.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)