Page 1 of 2
Create Halo 3 Stats Generator?
Posted: Sat Nov 24, 2007 4:56 pm
by Black Aye
Can anyone pinpoint me to a guide on how to make a h3 stats sig generator. that grabs your rank and emblem?
Or just giving the base files (.php) would be nice also!
Thanks.
Posted: Sat Nov 24, 2007 6:48 pm
by CabooseJr
You'll have to understand how to use the RSS Feed.
(k, Tural pointed me wrong)
Posted: Sat Nov 24, 2007 6:50 pm
by Black Aye
I do.

Posted: Sat Nov 24, 2007 6:58 pm
by Tural
Actually, the RSS has nothing to do with what you're looking for.
Posted: Sat Nov 24, 2007 7:04 pm
by Black Aye
Well then this -
Can anyone pinpoint me to a guide on how to make a h3 stats sig generator. that grabs your rank and emblem?
Or just giving the base files (.php) would be nice also!
Thanks.
Posted: Sat Nov 24, 2007 7:10 pm
by Tural
There isn't a guide.
Posted: Sat Nov 24, 2007 7:13 pm
by CabooseJr
I thought the RSS Feed was so you could get the most recent data?
Posted: Sat Nov 24, 2007 7:14 pm
by Tural
There's only one RSS feed, and it is for most recent game played. It has nothing to do with any other statistics. It tells you the latest map that player was on.
Posted: Sat Nov 24, 2007 7:20 pm
by CabooseJr
Ahh, now I understand. +1zing for Tural.
Posted: Sun Nov 25, 2007 5:33 pm
by northy
All the sites boasting stat generators have been given special access to the data by bungie (from the sites ive seen anyways).
Write to bungie or something if you want access to their resources.
Posted: Sun Nov 25, 2007 5:34 pm
by Tural
Anthony was not granted any special access. It is all done completely from the page you can publicly access on Bungie.net.
Posted: Mon Nov 26, 2007 9:11 pm
by c4st
You can periodically scrape Bungie's public RSS feeds and html pages using PHP[5]'s SimpleXML class and/or regular expressions. Once you have your nice mash up of the data you need you can then output it using the php GD library provided by most host. Make sure to cache your final image so your not making unnecessary request to Bungie's server.
Posted: Mon Nov 26, 2007 9:13 pm
by Anthony
too bad their rss feeds only have the recent games

Posted: Mon Nov 26, 2007 9:18 pm
by c4st
Anthony wrote:too bad their rss feeds only have the recent games

Yea but thats the reason for the expression matching in the html source =p
Posted: Wed Nov 28, 2007 2:42 pm
by Tural
I could supply a PHP script to get the information from the Bungie.net service record. However, I don't know how to do the image generation.
On second thought, I'll help as well, but I don't intend to supply a full source for it.
Posted: Wed Nov 28, 2007 3:17 pm
by Anthony
Im not going to supply anything, if you have a specific question ask it.
It sounds like you just want everything handed to you, sounds like Tural is willing to do that for ya though

Posted: Sun Dec 09, 2007 12:47 pm
by HALOECLIPSE
i would really also like a tutorial on how to do this, it would be very nice
thanks
Posted: Sun Dec 09, 2007 12:57 pm
by Tural
We don't have any intention of giving a tutorial. It isn't a project for just anyone to jump into. If you have PHP knowledge, you should be capable of working with this sort of thing. If there is a specific question, we can help.
Posted: Sun Dec 09, 2007 6:54 pm
by -Legendary-
You can use a graber script, (I forgot what's its actually called) But it reads the script of the page, (Using PHP) and displays it on an image. But to make it be an image, I think you would have to use Javascript.
Posted: Sun Dec 09, 2007 7:00 pm
by Tural
No. The PHP GD library functions are far superior to any code Javascript could even begin to handle.