Hands of Justice
What we have played => Warhammer Online => Topic started by: Rubino on October 31, 2008, 11:57:33 AM
-
Never noticed this before but if you wanna see what's happening without running the client - a handy Battlefield Map!
http://www.wardb.com/battlefield.aspx#39:8
-
I had a go at building a web-app that would pull all the battlefield map together, so you didnt have to click on each one..
However the Wardb developer used a load of JS functions and stuff.. I kind of got it working but it wasn't pretty!
I'll go back to it this weekend..
I've got my own hosting, so i'll shove it on there.
I'll update this thread, when done :)
-
sounds good - now all we need is a widget that sumarises things. Doable?
-
Well the Javascript solution does output the table on the right hand side of the battleground map.
Potentially that can be extracted and could form the basis of a Widget ..
-
Here's your widget - widget (http://uk.youtube.com/watch?v=tCGfPyrFTyI&feature=related)
-
Here is a buggy version!
http://amagad.co.uk/battlegrounds.php4 (http://amagad.co.uk/battlegrounds.php4)
Did this last night, when I get back today i'll sort it by Tier, try and fix the locations of BO's and make it a lot more pretty :)
Ta,
Envicta
-
/me is lost for words
-
http://amagad.co.uk/battlegrounds.php4 (http://amagad.co.uk/battlegrounds.php4)
Ok i've messed about with it and i've got it sorted by TIER.
I've reduced the map size to make it clearer to read.
The BO's are still slightly buggy and its a bitch to fix..
I'll keep working on it!
Any suggestions or chances, please shout :)
-
Very cool! :o
Only dont understand why scenarios are there too?
-
I have no idea why Scenario maps appear..
I'm taking a pure copy of everything that WARDB.com throws out..
Edit: I've removed them
-
This is impressive piece of intelligence gathering :)
-
This is epic - seriously.
I like how its sorted now.
I take it that it grabs data from WARDB, which is based on people using the wardb profiler to upload on loggoffs/crashes etc and no doubt has a time between refreshes?
Either way, again amazing work :)
I can always host this if you need the space - most likely on the handsofjustice.co.uk section of my package :)
-
Ta,
It rips off the JavaScript libraries off the WARDB site, but its got some unusual bugs.. I've noticed some zones disappearing randomly!
I think WARDB is completely dynamic, so it'll take account of any chances the second they are updated via Curse-client, however you need to refresh page to see this change.
I want to go further now, I'm going to develop another version of this App which will write store the statistics to a database, polled every 5 minutes or so..
This will give us an idea of trends in when Keeps are captured, which are popular, which arent..
It'll also give us an indication of any weekly schedules that Destruction guilds might be employing right now..
As far as hosting, I pay for the hosting as part of my Web-development company, so if anything.. I can take on any hosting tasks that you're currently paying for if you wish!
Ta,
Envicta.
-
Superb, I'd like to see the guts of that. Not that I understand JS and PHP, but I'd get the drift I'm sure. Really really good, nice work.
-
And for my next trick ...
Like my new signature?
Its a dynamically created JPEG, based on statistics from WARDB :)
I made it the same length as the other signatures :)
More tricks to come!!
Addition: Left-side shows split between Order/Destro, based on BO=1 point & Keep=3 points and doing percentage total.
Envicta
-
Oooo - looking good.
Move over each zone for a breakdown per race?
-
Nice job (= what it spits out is a bit depressing though )=
-
I've made another little gimmick, this one is for the Forum or Homepage if Beo is happy with it..
http://www.amagad.co.uk/marq.php (http://www.amagad.co.uk/marq.php)
Beo: In order to add this code you'll need to add the following code
<?php
$url = "http://www.amagad.co.uk/marq.php?squig=".rand(0,10000);
$fp = fopen( $url, 'r' );
$result = "";
while( !feof( $fp ) ) {
$buffer = trim( fgets( $fp, 4096 ) );
$result .= $buffer;
}
echo $result;
?>
The squig is just a random value that gets around browser-caching :)
Any problems just shout :)
-
Nice.
A little sauced - and still in the land of inactive sub (Not even an automated response to my ticket yet) - so I'll look at adding that tomorrow :)
-
Ok I've had a go at the Battleground statistics Db, but its proving to be very buggy!
The core issue is that WARDB is inconsistant and sometimes does not display all of the Battleground zones, or misses out some objectives.
When I looked through the JS-source, its all prefixed with WOW stuff and has lots of WoW-references, so I imagine they pretty much "Copy/Pasted" it from wowhead.com and "bodged" it to work.
Anyhow...
http://www.amagad.co.uk/bgstats.php (http://www.amagad.co.uk/bgstats.php)
Red = Destruction controlled
Blue = Order controlled
Pink = Destruction owned but under attack by Order
Light Blue = Order owned but under attack from Destruction
Purple = Unknown due to bug
Grey = Neutral (not owned by either side)
I'm going to keep working on this, as i'm not 100% confident on its accuracy..
Once i've got it working, I welcome anyone to do some kind of "summary" based on results :)
PS. Its got 2 pixels for every 5 minutes.
Envicta.
-
This looks amasing to me :) I don't understand a single word of the technical mumbo jumbo in this thread, but I do like what I see in the outputs :)
Great work, Envicta!
-
this code you'll need to add the following code
<?php
$url = "http://www.amagad.co.uk/marq.php?squig=".rand(0,10000);
Just a suggestion, but instead of rand(x), why don't you use a substring of date in the form YYMMDDHHmm - this way the value gets cached for a minute. You could do the same but make the MM values 00,15,30,45 and have the checks at 15m intervals. Might make the hits on your server fewer if you're worried about it.
-
The server is a swedish 100Mbit, so it'll be fine :)
In the end its to stop the Browser from caching the result of the link, which you think it should do, since the result is different!
Also, the Battleground DB is far too buggy (and broken!) and I really can't see any useful statistics coming off it, due to the inconsistent nature of the WARDB.com site, so therefore i'm going to turn it off and remove it.
I'll keep a backup incase WARDB ever fixes the problems (which is doubtful as they did a straight copy/paste from WoWhead.com)
-
seems to not be working at the mo
heres what im getting
Warning: simplexml_load_file() [function.simplexml-load-file]: (null)bg.xml:88494: error: (null) <objective id="2035" name="Druchii Barracks: Merchant\s Gift" status="90" /> in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 5
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 5
Warning: simplexml_load_file() [function.simplexml-load-file]: bg.xml:88495: parser error : out of memory error in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 5
Warning: simplexml_load_file() [function.simplexml-load-file]: <objective id="2036" name="Hatred\s Way" status="104" /> in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 5
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 5
Warning: Invalid argument supplied for foreach() in /homepages/4/d216384808/htdocs/amagad/bgstats.php on line 15
was just going to have a quick look before asking if you could make it look "nicer" big blocks of colour and me eyes dont go so well, maybe space it out a bit more, apart from that critique its nice to see the info in an easy manner.
-
Aye it would seem the XML functionality in PHP has a memory limit and i've exceeded it!
I'm going to can it for now :)
But feel free to give suggestions/feedback for
http://www.amagad.co.uk/battlegrounds.php4 (http://www.amagad.co.uk/battlegrounds.php4)
and the Signature under my name :)
Envicta.
-
Is it possible to sort the maps on that page by realm?
So Empire-Chaos would look like:
[tic][the maw][...][...][...][...][Praag][Reikswald][Altdorf] without the dwarf and elf maps in between.
-
It would good to see the groupings by Race - ie DE/HE - as zone control at lower tiers contributes to the tiers above.
It would help us co-ordinate tier battles to aid switching higher tiers - something we should start planning.