Login |  Register |  FAQ
   
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

Tracking Battle Results

 Post subject: Tracking Battle Results
PostPosted: Tue Nov 01, 2011 5:41 pm 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
I played around a while ago making a battle results tracker, a bit like the Epic UK one. I figured I'd get it up in case anyone thought it was worthwhile having.

NOTE: this post has been updated as the tracker has evolved.

It is not feature-complete, but it is a fairly complex application that aims to track a fair amount of detail. It will show:
- Race vs race army list statistics down to the list version (e.g. how well do Space Marines do against Chaos lists, or how well does the NetEA Biel-Tan list do)
- Player win/loss/draw rankings
- Player win/loss/draw rankings for a given race
- Each player's win/loss/draw rankings with the races they have played
- A table of game records (e.g. for a tournament, race vs race, individual players etc)
- Individual game summaries

You enter data using a form, the easiest way is to paste in lists from ArmyForge, this will automatically populate some of the other fields. In general it tries to fill in as much information as it can infer. For example if you check the relevant victory conditions it will automatically check the "win" box if applicable.

Some of the limitations incude:
1. It doesn't track points, only win/loss/draw and individual victory conditions
2. It expects you to fill in most fields, e.g. the list you used (this is so a basic search can be supported)
3. You must enter your email address (this is so people can delete games)

Anyway, here is a test version you can play around in and fill with crap:
http://www.redsilico.com/armystatsdev/
Start adding games if you want to see how the stats work... and post back here or PM me with the inevitable bugs!

If you want to use it "properly", here's a clean version:
http://www.redsilico.com/armystats/

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Last edited by Kyrt on Thu Jun 04, 2015 3:59 pm, edited 4 times in total.

Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Tue Nov 01, 2011 10:16 pm 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
Hena wrote:
That is interesting. I wonder how you've stored the information for lists? It is a text field or are the formations separated? Could you for example do formation usage comparisons? For example how many percent of winning list used formation X.

The original idea, before I just started doing random things with it, was that you could eventually search for a formation/unit and get stats that way, but of course it isn't implemented. The plain text list is just stored as a whole, but it can be fairly easily parsed for display. This is just the quickest way (I haven't spent a huge amount of time on it, since I was just messing around and have no idea if it is useful).

It might work OK stored as it is for a search, but something else like a drop down list of formations would need the formations to be stored independently (not hard). But actually another question is whether unit/formation names are normalised between lists in Adam's utility. I've not done much investigation but if, for example, some lists use Jet Bike and others use Jetbike, it will make a difference.

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Tue Nov 01, 2011 10:17 pm 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
I've added a basic text search limiter on the race stats page to illustrate what I mean.

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Wed Nov 02, 2011 11:51 am 
Brood Brother
Brood Brother
User avatar

Joined: Mon Aug 11, 2003 7:27 pm
Posts: 5588
Location: Bristol
Good idea.

OT but sort of related - does anyone know where the battle reporting thread is? I've had a look and tried a search, but I can't find it. I played my first EA since early this year yesterday and was going to add it.


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Wed Nov 02, 2011 12:24 pm 
Purestrain
Purestrain
User avatar

Joined: Thu Nov 17, 2005 8:16 pm
Posts: 4682
Location: Wheaton, IL
Looks like it never got restickied after the migration in April. Done now. Find it here:
viewtopic.php?f=84&t=14090

_________________
SG

Ghost's Paint Blog, where everything goes that isn't something else.


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Wed Nov 02, 2011 9:27 pm 
Purestrain
Purestrain
User avatar

Joined: Mon Jul 28, 2003 10:43 pm
Posts: 7925
Location: New Zealand
Nice idea Kyrt, thanks.

_________________
http://hordesofthings.blogspot.co.nz/


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Wed Oct 15, 2014 2:45 am 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
I know this is old but since it was mentioned in another thread, I thought I would update this to match the current status.

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Wed Oct 15, 2014 12:09 pm 
Brood Brother
Brood Brother
User avatar

Joined: Thu May 02, 2013 3:12 pm
Posts: 864
Nice work there :)

_________________
@MephistonAG for all sorts of twitter madness


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 1:31 pm 
Brood Brother
Brood Brother
User avatar

Joined: Fri Jun 08, 2007 7:30 am
Posts: 1486
Location: Örebro, Sweden
I get the following error message when I try to check the site.

Quote:
Software error:

bad army: XatKVuHadBpyMEEHPjL at race.cgi line 37.
For help, please send mail to the webmaster (webmaster@redsilico.yumblycrumbly.co.uk), giving this error message and the time and date of the error.


Might be that I'm at work will try it at home tonight as well.


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 1:32 pm 
Brood Brother
Brood Brother
User avatar

Joined: Thu May 02, 2013 3:12 pm
Posts: 864
Me too now, it was working yesterday! And no I didn't add data and break it :P

_________________
@MephistonAG for all sorts of twitter madness


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 1:46 pm 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
Interesting, somebody probably added an army it doesn't like/know about, I'll take a look.

Thanks!

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 1:54 pm 
Brood Brother
Brood Brother

Joined: Mon Jul 11, 2011 8:32 pm
Posts: 810
Location: Copenhagen, Denmark
Ah; the old army 'drop table armies'? ..

_________________
Let there be code.


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 2:28 pm 
Brood Brother
Brood Brother

Joined: Tue Feb 22, 2011 11:43 pm
Posts: 2556
Location: UK
Hehe perhaps (it won't work), but something is wrong as it shouldn't actually care any more if it doesn't recognise the army.

Previously I had it validating the input and tied to army forge lists but I changed my mind as that's too restrictive, I decided to remove most of the barriers and instead just make it try as hard as it can to normalise the bits it can (eg so biel tan is the same as biel-tan). Apparently in spending hours wrestling with character encoding issues to get special characters like in ulthwe working I missed something.

_________________
Kyrt's Battle Result Tracker (forum post is here)
Kyrt's trade list


Top
 Profile Send private message  
 
 Post subject: Re: Tracking Battle Results
PostPosted: Thu Oct 16, 2014 8:04 pm 
Brood Brother
Brood Brother
User avatar

Joined: Fri Jun 08, 2007 7:30 am
Posts: 1486
Location: Örebro, Sweden
It's sort of working now that I'm at home if it's any help Kyrt. I still get an error message though see attached picture.


Attachments:
Skärmdump 2014-10-16 21.06.14.png
Skärmdump 2014-10-16 21.06.14.png [ 126.98 KiB | Viewed 13001 times ]
Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB ® Forum Software © phpBB Group
CoDFaction Style by Daniel St. Jules of Gamexe.net