Page 1 of 1
not a bug, but a suggestion for a new endgame graph
Posted: 08 Jan 2007, 16:21
by hunterw
i think this graph would be very interesting:
damage dealt divided by metal spent
Posted: 08 Jan 2007, 18:06
by LordMatt
The player with the most metal produced (without tonnes of excess of course) and the most commands per minute probably played the best overall game. That doesn't mean that another player might have turned the game on a single strategic or tactical move, however.
Posted: 08 Jan 2007, 19:38
by Iklash222
Click to enhance one selected player would be nice, some colors just blurs together (or so similar it makes it hard to tell them apart from each other)
Posted: 09 Jan 2007, 01:57
by mehere101
Mine just flicker... Actually, this happens with quite a few lines that spring draw ... To the bug machine!
Posted: 09 Jan 2007, 21:14
by bamb
The production graphs by ally factions.
Ie ally team 1 vs ally team 2, not the individual players.
Should be easy as it's just plus and minus. Colors of the ally teams could be from a set order ie, red blue black white yellow green...
It'd be nice to see metal and E production for whole ally teams when spectating too, but that probably requires a bit more...
Posted: 09 Jan 2007, 22:40
by LordMatt
Moved to feature requests. I must not have been paying attention the first time I read this.
Posted: 10 Jan 2007, 08:20
by RaiFox
I'd like for a feature to export endgame data so I can view it while looking for/readying for another game.
Posted: 10 Jan 2007, 21:03
by hunterw
bamb wrote:The production graphs by ally factions.
Ie ally team 1 vs ally team 2, not the individual players.
Should be easy as it's just plus and minus. Colors of the ally teams could be from a set order ie, red blue black white yellow green...
omg this too pls
Posted: 28 Apr 2007, 07:01
by Ishach
Posted: 28 Apr 2007, 13:10
by NOiZE
RaiFox wrote:I'd like for a feature to export endgame data so I can view it while looking for/readying for another game.
+1
also i would like a endgame table like OTA had
And we need somekind of points system just for the fun of it.
Posted: 28 Apr 2007, 13:34
by trepan
I've exported the team statistics information to lua. That means
that you can make up and display whatever kind of combined
parameters you want. The information is only available at the
end of the game (although I may modify it so that spectators
can view it at any time).
Posted: 29 Apr 2007, 00:39
by Neddie
trepan wrote:I've exported the team statistics information to lua. That means
that you can make up and display whatever kind of combined
parameters you want. The information is only available at the
end of the game (although I may modify it so that spectators
can view it at any time).
Sweet. You are, once again, a hero to the masses.
Posted: 29 Apr 2007, 07:33
by hunterw
sweeeeeeeeeeeeeeeeeeeeeeeeeeet
ok so lua time

Posted: 29 Apr 2007, 07:51
by trepan
I added the "endgraph [0|1]" action in the commit after the one that added the
Spring.GetTeamStatsHistory() call. You'll want to use it to disabled the default
stats display UI. You can use the "quit" action to replace the default UI's Exit
button (it will quit immediately instead fo bringing up the quit menu when the
game is over).
A team's stats are available under the following conditions:
1. Game Over -- stats are accessible for all teams
2. Allied Teams -- stats can be accessed for allied teams at any time
3. Spectating -- stats are accessible for all teams, unless /specview 0 is enabled,
in which stats are only available for teams allied with the team currently being
spectated.
P.S. The "endgraph" action can be used before the game is over.
Posted: 29 Apr 2007, 08:01
by trepan
Oh ya, here's the call definition
Spring.GetTeamStatsHistory(teamID [, startRecord [, endRecord ] ])
If startRecord and endRecord are omitted, the number of records is returned.
If only startRecord is passed, then only one record is returned.
If both startRecord and endRecord are passed, then all records between
the start and end records are returned (inclusive).
The return stats tables are as follows:
Code: Select all
statsRecord = {
{ frame = number frame },
{ metalUsed = number metalUsed },
{ metalProduced = number metalProduced },
{ metalExcess = number metalExcess },
{ metalReceived = number metalReceived },
{ metalSent = number metalSent },
{ energyUsed = number energyUsed },
{ energyProduced = number energyProduced },
{ energyExcess = number energyExcess },
{ energyReceived = number energyReceived },
{ energySent = number energySent },
{ damageDealt = number damageDealt },
{ damageReceived = number damageReceived },
{ unitsProduced = number unitsProduced },
{ unitsDied = number unitsDied },
{ unitsReceived = number unitsReceived },
{ unitsSent = number unitsSent },
{ unitsCaptured = number unitsCaptured },
{ unitsOutCaptured = number unitsOutCaptured },
{ unitsKilled = number unitsKilled }
}
statsTable = {
[1] = statsRecord1,
[2] = statsRecord2,
[3] = statsRecord3,
...
[N] = statsRecordN,
n = N
}
Posted: 15 Jun 2007, 07:53
by Neddie
I did bring it up before...
Posted: 15 Jun 2007, 09:23
by CaptainMaim
Can you also make the LUA so that it'll allow you to select a player and follow his graph with a numeric X Y (Time, Unit Value) output?