Jump to content

HL server status tool


Recommended Posts

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

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 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

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'm

pretty certain it's done that way in Half-Life as well.

(Is the forum slow today or something ?)

Edit : baaaaaah.

Edited by Helge
Link to comment
Share on other sites

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

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 the

server-browser, and the information you get there is from these

master-servers.

No what our candy loving friend of ours want to do, is to get the

IPs to these servers. You get it now Sn0opy ? :)

Link to comment
Share on other sites

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 what

you want but I can't find the topic at the moment...

Link to comment
Share on other sites

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 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

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 by Sn0opy
Link to comment
Share on other sites

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 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

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 by Sn0opy
Link to comment
Share on other sites

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

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...