Raised This Month: $100 Target: $400
 25% 

StatsX 0.9.8b (CS 1.6)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   SniperBeamer (61)
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 03-30-2004 , 04:15   StatsX 0.9.8b (CS 1.6)
#1

This plugin is included with AMX Mod X 0.20. You only need to download this if you use AMX Mod X 0.16. This plugin is also locked for replies, do not post bug reports or questions as it's a finished product. -- BAILOPAN

This AMX-plugin for CS 1.6 will display game stats as HUD and chat messages.

Example of stats are: killing stats, most damage, best score,
accuracy, efficiency, attackers list, victims list, team scores.

IMPORTANT!
- Please read the source code header before installing or next post!
- Stats configuration, "amx_statscfgmenu", must be executed after install as the options are different from the default "stats" plugin.

Modlog: (last change)
----------------------------
2004-03-29
- Updated for AMX Mod X 0.16.
- Changed the code to support non-zero initializing Small compilers.
- Removed support for 79 char limit HUD-message.
Attached Files
File Type: sma Get Plugin or Get Source (statsx.sma - 88315 views - 64.6 KB)
XAD is offline
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 03-30-2004 , 04:15  
#2

And for you who dont want to read the code...

Description:
------------
This AMX-plugin will display game stats as HUD and chat messages.

Example of stats are: killing stats, most damage, best score,
accuracy, efficiency, attackers list, victims list, team scores.

All effeciency stats are calculated per game, not per round.
The accuracy stats are calculated per round, except for "/score"
which is per game.

Plugin support players switching teams and awarded players
disconnecting from server before round end. It also supports
game restart, ie all stats are resetted.

Plugin also support players switching of the stats announcements
on the HUD. The setting is a client parameter and therefore
saved between playing sessions.

Known bugs (reported):
-----------------------
Code:
  None.
Fixed bugs:
-----------------------
Code:
  None.
============================================= ==

Requirements/Limitations:
-------------------------
Code:
  - AMX Mod X v0.16: Tested.
  - Replaces "stats.amx" by OLO.
  - Requires the AMX Mod X module "csstats_amx".
  - You are recommended to not run any other death or 
    end-round plugins.
  - If HUD-statistics are activated it is recommended that 
    other HUD-messages are deactivated as these otherwise 
    will disrupt HUD-statistics, such as PTB's. This is a
    HalfLife-engine limitation.
  - It is not recommended to use "mp_freezetime" less than
    1.0 sec.
Installation:
-------------
Code:
  - Copy the StatsX file "statsx.amx" to the AMX plugins 
    folder.
  - In the AMX Mod X plugin configuration file ("plugins.ini"),
    replace the line "stats.amx" with "statsx.amx".
  - Add StatsX cvar to the server or AMX Mod X configuration file.
    If menu configuration will not be used then also add 
    the "amx_statscfg" commands to one of the configuration
    files.
  - Restart server. Normally changing map is sufficient but
    restarting the server is the "safe" procedure.
  - If menu configuration is used then reconfigure the 
    stats settings using the "amx_statscfgmenu" command.
============================================= ==

Server Config:
--------------
Code:
  Duration of HUD-statistics. (Default 12 sec.)
    amx_statsx_duration < time in seconds >

  HUD-statistics display limit relative round freeze end.
  Negative time will clear the HUD-statstics before the
  round freeze time has ended. (Default -2 sec.)
    amx_statsx_freeze < time in seconds >

  When activating this plugin the Stats Settings Plugin,
  "statscfg", should also be activated. 
  Activating the Stats Settings Plugin allows configuration
  to be done either with client GUI menus or in server
  configuration files.
    amx_statscfg < "on" or "off" > < option >

    StatsX options:
      "KillerChat"     - show killer stats in the chat section
      "ShowAttackers"  - show attackers on HUD (deactivated)
      "ShowVictims"    - show victims on HUD (deactivated)
      "ShowKiller"     - show killer on HUD
      "ShowTeamScore"  - shows team score at round end (deactivated)
      "ShowTotalStats" - shows round total stats (deactivated)
      "ShowBestScore"  - shows rounds best scored player
      "ShowMostDisruptive" 
                       - shows rounds most disruptive player
      "EndPlayer"      - display player stats MOTD at map end
      "EndTop15"       - display top15 MOTD at the end of map
      "SayHP"          - allow for say /hp
      "SayStatsMe"     - allow for say /statsme
      "SayRankStats"   - allow for say /rankstats
      "SayMe"          - allow for say /me
      "SayRank"        - allow for say /rank
      "SayReport"      - allow for say /report
      "SayScore"       - allow for say /score
      "SayTop15"       - allow for say /top15
      "SayStatsAll"    - allow for say /stats
      "SayMiscFunc"    - allow for say /timeleft, /thetime, 
                         /currentmap, /ff
      "ShowStats"      - client HUD-stats switched on by default
      "ShowDistHS"     - show distance and HS in attackers and
                         victims HUD lists
      "SpecRankInfo"   - displays rank info when spectating

  Stats plugin options (flags) to define what to display to
  the clients. 
  NOTE! To deactivate all options set flags to " " 
  (one quoted space).
    amx_statsx_mode < flags >
        "a" - delay (0.01s) HUD stats on HUD reset

Client Commands:
----------------
Code:
  Display info about your killer in the chat section.
    say /hp

  Display info about your stats, on the current map, 
  in a MOTD window.
    say /statsme

  Display your rank stats, in a MOTD window.
    say /rankstats

  Display your current round hit-stats in the chat section.
    say /me

  Display your rank in the chat section.
    say /rank

  Display the game score and stats in the chat section.
    say /score
    
  Display players current weapon status, as a say team command.
    say /report
    
  Display the 15 highest ranked players in a MOTD window.
    say /top15

  Display all players stats and rank in a MOTD window. The
  displayed player is selection from a menu.
    say /stats

  Display time left on the map, as a say command.
    say /timeleft
  
  Display the current time, as a say command.
    say /thetime
  
  Display the current map, as a say command.
    say /currentmap
    
  Display the current status on friendly fire flag, 
  as a say command.
    say /ff
    
  Switch on or off all HUD-stats announcements ("_amxstatsx").
    say /switch
============================================= ==

Tips:
-----
Code:
  NOTE! All statistics collection is done by the module
    "csstats_amx" and questions or issues should be directed
    to the module author.

  - To reset the player statistics in AMX Mod X 0.16, enter 
    "csstats_reset 1" in the server consol. At the next 
    mapchange the stats will be reset and the cvar 
    "csstats_reset" will be set back to "0". If you put
    this command in the server.cfg the stats will be reset
    at every mapchange.
  - In AMX Mod X 0.16 statistics are by default only saved if the
    difference between kills and deaths are greater than 0.
Comments:
---------
Code:
  This code is based on/parts taken from OLO's stats v0.8.
  - Added "endround" and some other functionality from
    StatsMe 2.7 source code and config files. 
  - This plugin has been updated with new functionality
    added to "stats" (by OLO), v0.8 to v0.9.6. 
  - New functions and configuration flags have been added.
  - Original "/rank" is changed to "/rankstats".
  - Attackers/victims is displayed before next round end.
  - Last shot and kill included in all stats.
  - Changed HUD number on killer stats to "2" to make 
    round end stats work with PTB.
  - All statistics collection is done by the module
    "csstats_mm" and questions or issues should be directed
    to the module author.

  Money is not supported in "say /report" (requires fun-module).
/X
XAD is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-30-2004 , 09:28  
#3

Thanks XAD

This will be a great addition to my server ;)
__________________

BigBaller is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-30-2004 , 12:33  
#4

I must say, the server has been running flawlessly for a few hours now, I believe you have nothing on this plugin to fix, I cant seem to find any bugs and everything is working correctly. Good job bro.
__________________

BigBaller is offline
Knuckle$
Member
Join Date: Mar 2004
Location: Mid-West
Old 03-30-2004 , 13:46  
#5

Is there any reason for me to use this over the last version on amxmod?
__________________
Dr_Knuckle$
Knuckle$ is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-30-2004 , 14:39  
#6

Quote:
Originally Posted by Knuckle$
Is there any reason for me to use this over the last version on amxmod?
The fact that this version is made for AMXX ??
__________________

BigBaller is offline
Blind Man
Junior Member
Join Date: Mar 2004
Location: Grid 42, Sector C255
Old 03-30-2004 , 15:49  
#7

work for czero???
__________________
I like cheese
Windows Xp
Steam
Blind Man is offline
Send a message via MSN to Blind Man
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 03-30-2004 , 15:52  
#8

Quote:
Originally Posted by Blind Man
work for czero???
Not sure as I don't have access to a CZ server... you tell me (I think it will work)...

/X
XAD is offline
marpou
New Member
Join Date: Mar 2004
Location: .se
Old 03-30-2004 , 17:42  
#9

Great ! I really love to se a WON version since amxx dosent work with /rank /top15 and so on.

/Marpou
marpou is offline
Knuckle$
Member
Join Date: Mar 2004
Location: Mid-West
Old 03-30-2004 , 18:01  
#10

I was only asking because the old statsx works great if you compile it with amxX. I just recompiled my version for 0.9.8 amx and it works fine.
__________________
Dr_Knuckle$
Knuckle$ is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode