Server Help

ASSS Custom Projects - <C> Flag Statistics

Hakaku - Sat Jun 26, 2010 8:31 pm
Post subject: <C> Flag Statistics
I am releasing the code to Devastation's Flag Statistics Module, which essentially provides a table listing everyone's statistics of the previous flag game. Feel free to expand and modify it to your own uses, and release any changes that could benefit others.

Example output:
Code: Show/Hide
  |-------------------------------------------------------------------------------|
  | Reward: 10371490                                          Game Time: 01:38:57 |
  |-------------------------------------------------------------------------------|
  | Player                   W    L    TK   FW   FL   G   FD  FT   SC  KP         |
  |-------------------------------------------------------------------------------|
  | Sani-wipe                22   31   0    14   15   9   12  1663 9   21228      |
  | Dominating               28   14   0    15   13   1   29  415  10  24904      |
  | Odyessey                 2    3    0    2    2    0   0   130  1   2218       |
  | aBLE.                    0    0    0    0    0    0   0   0    1   0          |
  |-------------------------------------------------------------------------------|

Cheese - Sun Jun 27, 2010 12:40 am
Post subject:
can you do a quick recap of
W L TK FW FL G FD FT SC KP
here, like what they mean?
Hakaku - Sun Jun 27, 2010 9:10 am
Post subject:
It's marked at the very top of the source:
Quote:
* W=kills, L=deaths, TK=teamkills, FW=flagkills, FL=flagdeaths,
* G=goals, FD=flagdrops, FT=flagtime, SC=shipchanges, KP=killpoints

Well, technically W=wins and L=losses, and the reward is the jackpot reward. There's also a bunch of other stats that could be added, just take a look at the source of /src/scoring/statscode.h
Hakaku - Thu Aug 16, 2012 5:44 pm
Post subject:
Here's an updated version for asss 1.5.0. For anyone downloading the old version for 1.4.4, note that there's missing the line "return MM_OK;" at the end of the MM_DETACH portion.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group