ChaosCookie Posted May 31, 2009 Share Posted May 31, 2009 (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 May 31, 2009 by ChaosCookie Link to comment Share on other sites More sharing options...
unixu Posted May 31, 2009 Share Posted May 31, 2009 try a tcp connect to the ip and port and make a check if you can connect its running. Link to comment Share on other sites More sharing options...
exodius Posted June 1, 2009 Share Posted June 1, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now