Sign in to follow this  
Followers 0
ChaosCookie

css server response

3 posts in this topic

#1 ·  Posted (edited)

Hey all!

Is there any way to find out, if I still get a response by a Counterstrike Server? (I just want to know if the server is online)

I tried it with the StatusReport-Function of Helge's Quake Udf (-> http://www.autoitscript.com/forum/index.ph...c=25259&hl=) but I always get a 0 back tho I know that the server is online...

$response = _Q3ServerStatus("<ip>",27018)
ConsoleWrite($response[0][0])

Somebody any help or hint?

Edited by ChaosCookie

Share this post


Link to post
Share on other sites



try a tcp connect to the ip and port and make a check if you can connect its running.

Share this post


Link to post
Share on other sites

Sub in your own IP/port for the server you're checking...

Bearing in mind of course that just being able to connect on that port doesn't ensure that the server is working properly...

$ServerIP = "8.6.75.102"
$ServerPort = "27015"

TCPStartup()
TCPConnect ($ServerIP, $ServerPort)
If @error Then
    MsgBox (0, "", "Not Connected")
Else
    MsgBox (0, "", "Connected")
EndIf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0