W.I.P. Easy fileshare access

http://www.armorwatcher.tk/haloarmor.php?page=fileshare

Here’s something I’ve been working on, it might help some people out.

Feedback is appreciated.

This is actually pretty neat! Easy to use and looks cool. I also enjoyed the monitor floating in the background =)

Ah finally, this will make it much easier to get peoples stuff off their fileshare.

I guess I just got tired of the filesharing system that keeps messing up, showing the 4 categories for some people, and never showing the maps in the fileshares for other people. It’s also good practice for me :stuck_out_tongue:

> This is actually pretty neat! Easy to use and looks cool. I also enjoyed the monitor floating in the background =)

Thanks man, I made that monitor myself. If you’re in chrome, you can kill it, too :stuck_out_tongue:

Both http://www.armorwatcher.tk and http://www.armorwatcher.tk/haloarmor.php?page=fileshare appear to be down.

> Both http://www.armorwatcher.tk and http://www.armorwatcher.tk/haloarmor.php?page=fileshare appear to be down.

That’s the problem with a free host, it’s not very consistent.
I’m also too stubborn to put ads on the site to help pay for paid hosting, so yeah…
Anyways, they should be up in a few minutes again, or else it’s another DDOS :frowning:

What host do you use for your site?

> Ah finally, this will make it much easier to get peoples stuff off their fileshare.

Yeah, I agree.
Editing the url manually every single time to get there has started to annoy me a bit.

> What host do you use for your site?

I use Dreamhost shared hosting. PHP5, Perl, Python, Ruby on Rails etc. but be prepared to pay for it.

Site looks up now and you’ve done a good job pulling the armor URL.

Without having to worry about authenticating, you can also access a players Service Record.

Maybe you could generate your own image and add the players emblem or some statistics to it too! Food for thought.

> > What host do you use for your site?
>
> I use Dreamhost shared hosting. PHP5, Perl, Python, Ruby on Rails etc. but be prepared to pay for it.
>
> Site looks up now and you’ve done a good job pulling the armor URL.
>
> Without having to worry about authenticating, you can also access a players Service Record.
>
> Maybe you could generate your own image and add the players emblem or some statistics to it too! Food for thought.

Thanks man!

Thanks for the link to the XML file, that should help out when I want to add some stats to a little project I’d like to call Armor Watcher Mobile (Meant for smartphones). I have been working on that site from scratch for… 2 or 3 days now.

Btw, dreamhost.com is giving me 502 errors atm :confused:

EDIT:
I just got some php code to retrieve an emblem url by gamertag :smiley:

EDIT 2: It now actually displays the emblem as an image :smiley:

> Thanks man!
>
> Thanks for the link to the XML file, that should help out when I want to add some stats to a little project I’d like to call Armor Watcher Mobile (Meant for smartphones). I have been working on that site from scratch for… 2 or 3 days now.
>
> Btw, dreamhost.com is giving me 502 errors atm :confused:
>
> EDIT:
> I just got some php code to retrieve an emblem by gamertag :smiley:

Good stuff!

You can request the size of the emblem to be anywhere from 1 to 128.

The emblem will always be a square and the length/width is set to this ‘size’.

So {size}=128 will give you a 128x128 pixel emblem.

I find dealing with XML painful compared to JSON so here is a PHP snippet so that you can get a JSON response rather than XML.

I knew about the size variable, but I thought it only went up to 120 with the Halo 4 emblems so I might change that later on.

And as for dealing with the XML, for the emblems it hasn’t been a problem since I basically just load the xml into a php as a giant string, then split it so I get the part I want. It’s basically the same thing I did for my screenshot extractor, but that required some hex conversion, too.

Thanks for the JSON converter though, that might come in handy later once I can bother myself to learn how JSON works.

Oh, and btw…

EDIT:
I honestly don’t get why they spent so much time making Vanity if you can just do it the easy way.

> I knew about the size variable, but I thought it only went up to 120 with the Halo 4 emblems so I might change that later on.
>
> And as for dealing with the XML, for the emblems it hasn’t been a problem since I basically just load the xml into a php as a giant string, then split it so I get the part I want. It’s basically the same thing I did for my screenshot extractor, but that required some hex conversion, too.
>
> Thanks for the JSON converter though, that might come in handy later once I can bother myself to learn how JSON works.
>
> Oh, and btw…
>
> EDIT:
> I honestly don’t get why they spent so much time making Vanity if you can just do it the easy way.

Another way to get the emblem without having to use the players service record is the following URL:

www.halowaypoint.com/en-us/halo4/playeremblem?gamertag=AssaultCommand&size=128

www.halowaypoint.com/en-us/halo4/playeremblem?gamertag=Furiousn00b&size=128

This is the URL the forums use to pull the emblem (for the avatar picture). I suspect it goes back to the service record anyway :stuck_out_tongue:

The service record still contains a number of cools stats. CSR etc.

You can’t embed that link as an image unless you use the full url:
https://forums.halowaypoint.com/Handlers/CloudRelay.ashx?id=%2F%2Fwww.halowaypoint.com%2Fen-us%2Fhalo4%2Fplayeremblem%3Fgamertag%3DFuriousn00b%26size%3D80

I feel so stupid for not trying that first :confused:

Ah well, my way works as well :confused: