Online Replay Analyzer

Everything about mods can be found here.

Moderator: Morax

Online Replay Analyzer

Postby PattogoTehen » 24 Mar 2014, 19:58

Online Replay Analyzer
http://fafafaf.bitbucket.org/

Features:
- parses FAF replays
- generates action distribution chart
- apm chart
- exports chat
- displays match options

How to use:
1) choose a fafreplay file
or
2) drop the file on the web page

Sample (large file):
Spoiler: show
Image
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Re: Online Replay Analyzer

Postby ghostronin » 24 Mar 2014, 20:16

Awesome stuff Pattogo! Works great! Guess I need to increase my apm relative to these people that keep beating me;)
ghostronin
Crusader
 
Posts: 31
Joined: 26 Jul 2013, 18:26
Has liked: 8 times
Been liked: 0 time
FAF User Name: ghostronin

Re: Online Replay Analyzer

Postby nine2 » 25 Mar 2014, 01:15

That's cool, I have been thinking about it would be nice to make a build order analyzer where you have
- stats on number of factories, engies, tanks, reclaim, mass income, energy income
- figures at 1min, 2 min, 3min, 4min, 5min

That way you could measure which build orders are more effective (ie: who has more tanks).

I hadn't thought of it until now but that could turn uber, if this was integrated into FAF, we could gather the statistics when the replay is submitted, and allow the replays to be searched by stats obtained by the tool. For example, show me every replay on Canis River ordered by Number of Tanks Produced at 3 min. If you were the type of person who watches lots of replays to find good build orders for specific maps, surely that would make it much easier.

Anyway, this is cool, I'm going to check out the code
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Online Replay Analyzer

Postby nine2 » 25 Mar 2014, 01:17

May I ask how you figured out how to parse the replay file format?
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Online Replay Analyzer

Postby Ze_PilOt » 25 Mar 2014, 12:00

It was described by a GPG dev a while ago in the GPG forums.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Online Replay Analyzer

Postby PattogoTehen » 25 Mar 2014, 19:10

you can read about the format in those topics:
http://forums.gaspowered.com/viewtopic.php?t=5860
http://forums.gaspowered.com/viewtopic.php?t=1873

you cant tell how much tanks a player have at min 10, you can only tell how much he queued up.
if you want to know why, read this: http://www.altdevblogaday.com/2011/07/0 ... f-desyncs/
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Re: Online Replay Analyzer

Postby nine2 » 26 Mar 2014, 04:36

Thanks guys
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Online Replay Analyzer

Postby Sheeo » 10 Apr 2014, 13:34

PattogoTehen wrote:you cant tell how much tanks a player have at min 10, you can only tell how much he queued up.
if you want to know why, read this: http://www.altdevblogaday.com/2011/07/0 ... f-desyncs/


Why would synchronicity and determinism of the engine disallow computing the amount of built tanks from a factory given the command stream?

It would be quite some work to excavate all the relevant formulas from the lua code and replicate the simulation, but I don't see why it can't be done.

Desyncs would mean that different players have different states yeah, but you could see that from the commandstream.

As for the latency regarding which beat a command is executed in, I assume that replays contain the agreed-upon command to be executed in the agreed-upon beat -- otherwise replays would differ significantly depending on which player it came from.
Support FAF on patreon: https://www.patreon.com/faf?ty=h

Peek at our continued development on github: https://github.com/FAForever
Sheeo
Councillor - Administrative
 
Posts: 1038
Joined: 17 Dec 2013, 18:57
Has liked: 109 times
Been liked: 233 times
FAF User Name: Sheeo

Re: Online Replay Analyzer

Postby nine2 » 20 Apr 2014, 02:45

For my idea, you dont need to replicate the sim, you just make a mod that reports the info that I want. Then you simply have to play each of the million replays at +10 and collect the results.
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Online Replay Analyzer

Postby SC-Account » 28 Apr 2014, 14:40

partytime wrote:For my idea, you dont need to replicate the sim, you just make a mod that reports the info that I want. Then you simply have to play each of the million replays at +10 and collect the results.

Yes and only 38 years later you can enjoy the results...
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest