Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: keenan on February 12, 2005, 05:43 PM

Title: Check stats using HTML / php?
Post by: keenan on February 12, 2005, 05:43 PM
Sorry, but I had to ask. How would one go about doing this?
Title: Re: Check stats using HTML / php?
Post by: Kp on February 12, 2005, 05:46 PM
The same way you check them with any other language.  Connect to the server, send "/stats username product", parse the result, and display it.
Title: Re: Check stats using HTML / php?
Post by: Artanix on February 12, 2005, 08:21 PM
I've done this: http://dark-illusion.info/stats/stats.php

IM me on AIM at XSpunkleX for help.
Title: Re: Check stats using HTML / php?
Post by: keenan on February 13, 2005, 11:07 AM
Quote from: Kp on February 12, 2005, 05:46 PM
The same way you check them with any other language.  Connect to the server, send "/stats username product", parse the result, and display it.

I was actually more interested about how you connect, but thanks Artanix for the help.
Title: Re: Check stats using HTML / php?
Post by: QwertyMonster on February 13, 2005, 11:09 AM
Hmm, i was woundering that too, but then thought, just put coding in the website form? Actually no that wouldnt work =[
Title: Re: Check stats using HTML / php?
Post by: keenan on February 13, 2005, 01:33 PM
Now that I've had a go at this I realized it really isn't that hard. The only problem is that I keep getting like... Telnet banned or something. It works for a few times then I get connection refused errors, etc.

I'll figure this out though ;)