Sn0opy Posted May 30, 2006 Share Posted May 30, 2006 Hi,im not really goot at autoit (and englisch ) but i do my best. ok, today i got the idea to make a server query tool for half-life to get playerinfos etc.i used the normal tcp chat from the help file and changed the tcp-commands to udp-commands. so i got the base to send and recieve commands/text from the server.now my problem: when i send the hex code of the challenge code (got it from here) i dont get any infos or text or anything else back. so i don't know whether my command arrived or not.could someone help me anyway pls? Link to comment Share on other sites More sharing options...
nfwu Posted May 31, 2006 Share Posted May 31, 2006 Please post your code listing. (Preferably attached) #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 File is attached and here's again the list with commands you have to send to the server:http://developer.valvesoftware.com/wiki/So..._Server_Querieshl_status_.au3 Link to comment Share on other sites More sharing options...
The Kandie Man Posted May 31, 2006 Share Posted May 31, 2006 (edited) Yes, i am looking at it. Do you know where i can find the IP address of the Valve game query servers? Edit: Found some here, but not sure which one to use. I think i will use the source one for now. Edited May 31, 2006 by The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Helge Posted May 31, 2006 Share Posted May 31, 2006 (edited) Take a look inside your config, where you'll probably find the hostnames,which you just pass on to TCPNameToIP which will return the ip-address.Actually I'm just guessing, but that's how it is in Quake 3 at least, and I'mpretty certain it's done that way in Half-Life as well.(Is the forum slow today or something ?)Edit : baaaaaah. Edited May 31, 2006 by Helge Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 Yes, i am looking at it. Do you know where i can find the IP address of the Valve game query servers?Edit: Found some here, but not sure which one to use. I think i will use the source one for now.Sorry, now im a little bit confused Could you explain me what you mean? Link to comment Share on other sites More sharing options...
Helge Posted May 31, 2006 Share Posted May 31, 2006 Sorry, now im a little bit confused Could you explain me what you mean?A master-server is the server you get the list of game-servers from.For example when you want to play online, you check out theserver-browser, and the information you get there is from thesemaster-servers.No what our candy loving friend of ours want to do, is to get theIPs to these servers. You get it now Sn0opy ? Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 Why i need a master-server ip? I just want to read out informations from one specific Half-Life server, e.g. how many players or frags of a player etc. Link to comment Share on other sites More sharing options...
Helge Posted May 31, 2006 Share Posted May 31, 2006 Why i need a master-server ip? I just want to read out informations from one specific Half-Life server, e.g. how many players or frags of a player etc.We didn't say you needed it, unless you're The Kandie Man too that is..Anyway, I remember some time ago another guy who made exactly whatyou want but I can't find the topic at the moment... Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 Hmm, normaly the server should replay me when I send the auth code, or is anything wrong with ma script? Link to comment Share on other sites More sharing options...
arcker Posted May 31, 2006 Share Posted May 31, 2006 (edited) hi guy i would like the same tool i've started to do my research, but it's hard i know how tcp works, but UDP less if you want, we can do this project together my goal : i lead some big LAN's party, and i would like a simple tool to admin several servers i've taken a look at the quake.au3 of Helge, but now i try to adapt for CS 1.6 for now, no answer from the server... c u Edited May 31, 2006 by arcker -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list] Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 (edited) Hope UDP isn't really different to TCP, but i know you can't use TCP, because it's used for p2p. You can use TCP for a server tool too but i've got a router and then I even have to forward the server's port (damn i hate englisch ...) //edit: one question, where are you from? because it would be easyer if you speak the same language^^ Edited May 31, 2006 by Sn0opy Link to comment Share on other sites More sharing options...
arcker Posted May 31, 2006 Share Posted May 31, 2006 (edited) i'm french so, i've started to adapt an ircclient and my ftpclient (not finished) to udp support but always nothing... if you have a new script with something that works, please post it c u ! what i have to know : port of the rcon ? (not the same of the game server i think) problem with upd : we don't know if we are connected or not, or i've not understood... Edited May 31, 2006 by arcker -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list] Link to comment Share on other sites More sharing options...
Sn0opy Posted May 31, 2006 Author Share Posted May 31, 2006 (edited) problem with upd : we don't know if we are connected or not, or i've not understood...Yep, that's the problem. To read informations of a server i just need it's ip, not more.//edit: ok, one tip: you can't send "FF FF FF FF 57" to the server w/out converting it. The convertet string should be: ÿÿÿÿW but when I send this string to the server i won't get any answer too Edited May 31, 2006 by Sn0opy Link to comment Share on other sites More sharing options...
arcker Posted June 1, 2006 Share Posted June 1, 2006 mmmmm yes, no answer too maybe you can send me a valid ip, and a valid rcon port i will try with my GUI cu -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list] Link to comment Share on other sites More sharing options...
Sn0opy Posted June 1, 2006 Author Share Posted June 1, 2006 here's a list with a lot of servershttp://gametiger.com/search?server=public&game=all 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