Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
<C> Flag Statistics

 
Post new topic   Reply to topic Printable version
 View previous topic  <C> Fake Player Platform: Alpha ... Post :: Post Open Source Modular Client  View next topic  
Author Message
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Sat Jun 26, 2010 8:31 pm    Post subject: <C> Flag Statistics Reply to topic Reply with quote

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          |
  |-------------------------------------------------------------------------------|




flagstats.c - 6.97 KB
File downloaded or viewed 102 time(s)


Last edited by Hakaku on Sun Jun 27, 2010 9:25 am, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List Send email
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1011
Offline

PostPosted: Sun Jun 27, 2010 12:40 am    Post subject: Reply to topic Reply with quote

can you do a quick recap of
W L TK FW FL G FD FT SC KP
here, like what they mean?
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Sun Jun 27, 2010 9:10 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Thu Aug 16, 2012 5:44 pm    Post subject: Reply to topic Reply with quote

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.



Flagstats module for asss 1.5.0

flagstats.c - 7.09 KB
File downloaded or viewed 39 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 94 page(s) served in previous 5 minutes.

phpBB Created this page in 0.094106 seconds : 31 queries executed (32.9%): GZIP compression disabled