Programmer in need of help! How do I Query Halo

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
[users]Nitro





Posts: 13
Joined: Wed Feb 25, 2004 2:19 pm

Programmer in need of help! How do I Query Halo

Post by [users]Nitro »

I am a vb.net 2003 programmer. I would like to know how to programmatically query a halo server to get the current map, players, stats, etc. I am totally clueless on how to do this, can someone please give me a small tutorial or send me in the right direction?
kaptainkommie




Wordewatician 500

Posts: 732
Joined: Wed Nov 26, 2003 11:59 pm
Location: Raleigh, NC, USA

Post by kaptainkommie »

Wait till I release the source code to HSQT [later this week] and then you could steal the info from there. Or you could go check out the source of one of the many PHP query scripts.
[users]Nitro





Posts: 13
Joined: Wed Feb 25, 2004 2:19 pm

Post by [users]Nitro »

Sounds cool man, thanks
kaptainkommie




Wordewatician 500

Posts: 732
Joined: Wed Nov 26, 2003 11:59 pm
Location: Raleigh, NC, USA

Post by kaptainkommie »

I have released the source to version 0.75b4 of my Halo server browser. You can get it from here:

http://www.halomods.com/forums/viewtopic.php?t=5651

It should be pretty obvious what functions are used for querying the server and parsing the response. They are all contained in net.cpp and halo.cpp.
Post Reply