Halflife Servers

a_jam_sandwich

Junior Contributor
Joined
Dec 10, 2002
Messages
367
Location
Uk
Freaky?

Im making a class for get info from halflife servers using a udp socket. the strange thing is I have sent the command to the server format of

ÿÿÿÿinfo

The problem is converting this into bytes to send over the net causes a strange problem I would expect the first byte to be the number 255 except is not its 63 sending the packet works but im in an endless loop waiting for a response.

If I change the first 4 bytes to 255 manually there isn't a problem and I get a response.

Any ideas as im baffeled or being stupid

Andy
 
For anyone who is intrested on geting you game server details and player on the web I thought you might like the class ive been working on.

I included a demo project that places the details in a textbox for now.

Supports

Halflife
All quake3 games (inc call of duty, enemy teritory, jedi knight 2 ...)
UT2004 demo
More to come....

All the source is included have fun fun fun

Andy :D
 

Attachments

Last edited by a moderator:
Back
Top