Forged Alliance Forever Forged Alliance Forever Forums 2016-08-05T14:49:00+02:00 /feed.php?f=42&t=12827 2016-08-05T14:49:00+02:00 2016-08-05T14:49:00+02:00 /viewtopic.php?t=12827&p=132224#p132224 <![CDATA[Re: Logarithmic Score Graphs]]>
So at every tick Find out who is "topdog" and divide everyone else mass on that. That would make top dog 1. and everyone else at a percentage.

Statistics: Posted by Androish — 05 Aug 2016, 14:49


]]>
2016-08-05T14:28:39+02:00 2016-08-05T14:28:39+02:00 /viewtopic.php?t=12827&p=132220#p132220 <![CDATA[Re: Logarithmic Score Graphs]]> So you would have an extra graph for first 10min, 20,30,45,60 or something.


The main downside i see with your mod is that you can't have multiple representations.
Standard, 4th root, 5th root are mutually exclusive.

It would probably be easy to make extra tabs? (unless this is unmoddable code?)
So you get

Standard - Chart - Standard Graph - 4th root graph - 5th root graph - Dual
or
Standard - Chart - Full Graph - 10min graph -20min graph - ... - Dual


Or what would be even better could be the possibilty to chose the interval you want. So you can set it for example from 10min to 20min.
Combine that with the standard graph and a root graph (also give choice of root (maybe with root 4 as standard)).
This could give you a lot of ways to examine the outcome of a match.
This way you could zoom in to specific intervals and see how you did during different parts of the game. If you were able to keep up/catch up/get a lead.


I just had a moment of creativity, so to be clear: these are mere suggestions.

PS: you can pm me, if you're planning on improving it and want some help. It looks like an interesting project. (some lua exp, no modding exp)

Statistics: Posted by KeyBlue — 05 Aug 2016, 14:28


]]>
2016-08-05T13:59:27+02:00 2016-08-05T13:59:27+02:00 /viewtopic.php?t=12827&p=132219#p132219 <![CDATA[Re: Logarithmic Score Graphs]]> Statistics: Posted by nine2 — 05 Aug 2016, 13:59


]]>
2016-08-05T08:17:54+02:00 2016-08-05T08:17:54+02:00 /viewtopic.php?t=12827&p=132211#p132211 <![CDATA[Re: Logarithmic Score Graphs]]>
Normal Scoreboard:
Image

4th Root:
Image

5th Root:
Image


I couldn't really decide between using the 4th or 5th roots for this, so I decided to make a mod for each of them. I have put them both in this post. Obviously, they conflict with each other.

Statistics: Posted by everywhere116 — 05 Aug 2016, 08:17


]]>
2016-08-01T20:38:26+02:00 2016-08-01T20:38:26+02:00 /viewtopic.php?t=12827&p=131964#p131964 <![CDATA[Re: Logarithmic Score Graphs]]> Statistics: Posted by Mot — 01 Aug 2016, 20:38


]]>
2016-07-29T20:46:32+02:00 2016-07-29T20:46:32+02:00 /viewtopic.php?t=12827&p=131697#p131697 <![CDATA[Re: Logarithmic Score Graphs]]>
Code:
-- prepare the data, calculate the ya=start y position and the yb=end position of the ligne for each player for this periode
         for index, dat in player do
            if periode==1 then val=0 else val=return_value(periode-1,dat.index,path) end
            ya=parent.Top() +y2 - val*factor
            local val=return_value(periode,dat.index,path)
            yb=parent.Top() +y2  - val*factor

            -- put all the data in this table
            line[dat.index]={grp=grp,ya=ya,yb=yb,y=ya,  -- note: y is the current position for this graph; the x is commun to all graph
               color=dat.color,index=dat.index,
               y_factor=(yb-ya)/dist*size} -- important: the factor of deplacement for the bitmap
         end


ya and yb are the values of y at the beginning of each periode and the end of each periode respectively. If a math.log fuction was placed around each of the equations defining ya and yb that should make the graph logarithmic. So for ya the equation would be ya=math.log(parent.Top() +y2 - val*factor ), and the yb equation would be yb=math.log(parent.Top() +y2 - val*factor).

The only problem with this is that A) Changing it like this and at this step would also change how every single other graph is represented as well, some of which I would want represented with a linear graph the way they are now and B) It won't change the maximum height of the graph, which I haven't figured out how to do yet. Or even where it is defined. Hopefully someone more experienced with this can look it over and help, this is my first time messing with the programming of the game.

Statistics: Posted by everywhere116 — 29 Jul 2016, 20:46


]]>
2016-07-29T20:34:37+02:00 2016-07-29T20:34:37+02:00 /viewtopic.php?t=12827&p=131694#p131694 <![CDATA[Re: Logarithmic Score Graphs]]>

Statistics: Posted by Morax — 29 Jul 2016, 20:34


]]>
2016-07-28T13:21:30+02:00 2016-07-28T13:21:30+02:00 /viewtopic.php?t=12827&p=131552#p131552 <![CDATA[Re: Logarithmic Score Graphs]]> https://github.com/FAForever/fa/blob/de ... tstats.lua

A single lua file with code that need a makeover. Anyone should be able to do this, it's a very trivial thing to do, only needs time / motivation and almost no skill except some basic programming knowledge.

Statistics: Posted by Crotalus — 28 Jul 2016, 13:21


]]>
2016-07-28T04:17:37+02:00 2016-07-28T04:17:37+02:00 /viewtopic.php?t=12827&p=131523#p131523 <![CDATA[Re: Logarithmic Score Graphs]]> Statistics: Posted by Androish — 28 Jul 2016, 04:17


]]>
2016-07-28T03:49:12+02:00 2016-07-28T03:49:12+02:00 /viewtopic.php?t=12827&p=131518#p131518 <![CDATA[Re: Logarithmic Score Graphs]]> Statistics: Posted by nine2 — 28 Jul 2016, 03:49


]]>
2016-07-28T00:24:29+02:00 2016-07-28T00:24:29+02:00 /viewtopic.php?t=12827&p=131496#p131496 <![CDATA[Logarithmic Score Graphs]]>
Is there a way to change the end-of-game score graphs from a linear scale to a logarithmic scale? The point of the graph is to see how each player has done in the game so far compared to the other players at any point in the game. However, the score for each player increases exponentially, not linearly, so if the game goes long enough that players are racking up 300k points or more then the graph becomes so compressed that you can't tell each player's scoreline apart from everyone else's at the beginning of the game where the differences in player score my be a couple hundred or a couple thousand points. All of the lines just merge together into one blob at the beginning and the only useful information is to determine who ran away with score in the game at the end, and can't see who contributed the most early on. The colored background showing the ratio of each player's score relative to time helps, but it can be hard to see who has more when the players are close in score. It also isn't ordered.

I believe this can be fixed by changing the score screen from a linear graph to a logarithmic graph, where each successive unit of height represents a ten-fold increase in score. This type of graph would still show how each player's score increased over time but would also better show how each player's score relates to every other player's score at the beginning of the match as well,where the differences are much smaller.

I realize that many people here don't even look at that screen, but I think it can be a small thing to do to improve the experience for people who do, such as myself.

Statistics: Posted by everywhere116 — 28 Jul 2016, 00:24


]]>