Page 1 of 1

Programmer in need of help! How do I Query Halo

Posted: Wed Mar 03, 2004 8:52 am
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?

Posted: Wed Mar 03, 2004 10:37 am
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.

Posted: Wed Mar 03, 2004 12:08 pm
by [users]Nitro
Sounds cool man, thanks

Posted: Tue Mar 09, 2004 3:36 pm
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.