Jump to content

css server response


Recommended Posts

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
Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...