Raised This Month: $51 Target: $400
 12% 

Stats Display


Post New Thread Reply   
 
Thread Tools Display Modes
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 03-08-2007 , 18:46   Re: Stats Display
Reply With Quote #51

@timberwolf

My bad, will fix it once I get my computer back.

@wenlong_115

Thanks =p

@Tartooob

Can't. At least not at the moment, I am on my friend's laptop so, no CS or anything. =p I'll try to get one when I get my normal computer back.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 10-01-2007 , 16:33   Re: Stats Display
Reply With Quote #52

Quote:
Originally Posted by mrsir110 View Post
YES! I got it to work! i forgot to put it in the plugins.ini config. But the only thing i dont like about this plugin is it stays in the middle of the screen and doesn't fade away! Is it suppose to be like this or is something wrong? If it is if u can make it fade away after about 5-10 seconds that would be great!
Quote:
Originally Posted by F34RInc View Post
I have the same problem, the stats are being displayed right under my crosshair.
Quote:
Originally Posted by Kensai View Post
Hmm. Maybe your resolution is lower?
Quote:
Originally Posted by Kensai View Post
Hmm, well I've never had this problem but let me test a few things.

EDIT: I jsut tested this on my server with about 8 people. None of them had this problem so I have no idea. Try re downloading the source then recompile?
hud_centerid
if you have a hud_centerid 1 stats will display under crosshair. Plz fix it.

[sry for my english ]
__________________
Zuko is offline
Send a message via ICQ to Zuko
Xtender
New Member
Join Date: Dec 2007
Old 12-08-2007 , 02:37   Re: Stats Display
Reply With Quote #53

I had this problem a year ago. Now I upgraded and had it again. Spent whole night, and found, that there is on file, which makes it work (I copied it over the new installation from the backup) - for me it was cstrike/addons/amxmodx/configs/amxx.cfg. I tired to reproduce this bug several times and each time I had the newly installed amxx.cfg it wouldn' t work, but as soon as I copied over backup, csstats worked fine.

So maybe you find a solution for yourself as well:

THIS IS NOT WORKING:
Code:
// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2

// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
//                 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180

// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75

// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0

// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10

// How long voting session goes on
//
// Default value: 10
amx_vote_time 10

// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1

// Some ratios for voting success

// Default value: 0.40
amx_votekick_ratio 0.40

// Default value: 0.40
amx_voteban_ratio 0.40

// Default value: 0.40
amx_votemap_ratio 0.40

// Default value: 0.02
amx_vote_ratio 0.02

// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90

// Step for each extending
//
// Default value: 15
amx_extendmap_step 15

// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1

// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""

//
// Beginning of Counter-Strike package specific configurations.
//

// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 1

// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500

// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0

// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0

// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0
THIS IS WORKING:
Code:
// AMX Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
amx_default_access "zu"

// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 1

// Frequency in seconds and text of scrolling message
amx_scrollmsg "Welcome to Royce [LV] - it's in beta stage, so don't be surprised if something goes wrong..." 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
amx_freq_imessage 180

// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75

// Amount of reserved slots, amx_hideslots must be 1 to use this cvar (for more details see comments in plugin source)
amx_reservation 0

// If you set this to 1, you can hide slots on your server
amx_hideslots 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
amx_vote_delay 60

// How long voting session goes on
amx_vote_time 60

// Display who votes for what option
amx_vote_answers 1

// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.20

// Max. time to which map can be extended
amx_extendmap_max 20

// Step for each extending
amx_extendmap_step 15

// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
csstats_rank 0

// Max size of the stats file
csstats_maxsize 3500

// Duration of HUD-statistics
amx_statsx_duration 12.0

// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
amx_statsx_freeze 2.0

//If you set this to 0, clients cannot chose their language
amx_client_languages 1

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 1

// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
amx_mldebug ""

// statsdisplay
amx_display 1

// turn of botlogging
csstats_rankbots 1

//#################### SWEAR ####################\\
sv_swearfilter     1         //- Turns the Whole Plugin On/Off
sv_filtersystem    0         //- Swear Filter System to use:
sv_punishsystem    2         //- Punishment System to use:
sv_censorsystem    2         //- Word Censoring System to use:
sv_renamesystem    2         //- Renaming System to use:
sv_whitelist       1         //- Whitelist System for GOOD words
sv_checknames      1         //- Player Name Filter
sv_swearhelp       0         //- Player Help System (say /swear)
sv_bantype         0         //- Player Ban Type to use:
sv_obeyimmunity    1         //- Obey AMX Admin Immunity Rules for Punishments
sv_menu_options    "abcdefg" //- The Punishments Allowed in Swear Menu (Possible Flags: "abcdefg")
sv_punish_single   "ae"      //- The Default Punishment for Single Mode (Possible Flags: "abcdefg")
sv_rename_custom   "Noob"    //- The Custom Name used for Renaming System
sv_censor_custom   "*"       //- The Custom Character used for Censoring System
sv_cash_loss       3000      //- Amount of Cash player will Lose
sv_gag_time        120       //- Number of Seconds player will be Gagged
sv_ban_time        360       //- Number of Minutes player will be Banned
sv_fire_time       15        //- Number of Seconds. player will be Set on Fire
sv_fire_dmg        5         //- Amount of Damage/Second player will lose from Fire
sv_slap_times      15        //- Number of Times player will be Slapped
sv_slap_dmg        5         //- Amount of Damage of each Slap

sv_downloadurl "http://85.254.217.242/uploads/cstrike/"

// These are used in cs_italy:
amx_newmusic ambience/Guit1.WAV newmusic/1.wav
amx_newmusic ambience/guit1.wav newmusic/1.wav
amx_newmusic ambience/Opera.wav newmusic/2.wav

// campmeter
badcamper_limit 30
badcamper_punish 22
badcamper_health 10
badcamper_debug 1
You might notice that there is some code for other pluging. However, now I have a fresh install, modified probably only users.ini, so here is my list of plugins and modules:
Code:
 Currently loaded modules:
{9:35:48 AM} name                    version     author               status     
{9:35:48 AM} Fun                     1.8.0.3660  AMX Mod X Dev Team   running    
{9:35:48 AM} CStrike                 1.8.0.3660  AMX Mod X Dev Team   running    
{9:35:48 AM} CSX                     1.8.0.3660  AMX Mod X Dev Team   running    
{9:35:48 AM} 3 modules

 Currently loaded plugins:
{9:36:33 AM}        name                    version     author            file             status   
{9:36:33 AM}  [  1] Admin Base              1.8.0.3660  AMXX Dev Team     admin.amxx       running  
{9:36:33 AM}  [  2] Admin Commands          1.8.0.3660  AMXX Dev Team     admincmd.amxx    running  
{9:36:33 AM}  [  3] Admin Help              1.8.0.3660  AMXX Dev Team     adminhelp.amxx   running  
{9:36:33 AM}  [  4] Slots Reservation       1.8.0.3660  AMXX Dev Team     adminslots.amxx  running  
{9:36:33 AM}  [  5] Multi-Lingual System    1.8.0.3660  AMXX Dev Team     multilingual.am  running  
{9:36:33 AM}  [  6] Menus Front-End         1.8.0.3660  AMXX Dev Team     menufront.amxx   running  
{9:36:33 AM}  [  7] Commands Menu           1.8.0.3660  AMXX Dev Team     cmdmenu.amxx     running  
{9:36:33 AM}  [  8] Players Menu            1.8.0.3660  AMXX Dev Team     plmenu.amxx      running  
{9:36:33 AM}  [  9] Maps Menu               1.8.0.3660  AMXX Dev Team     mapsmenu.amxx    running  
{9:36:33 AM}  [ 10] Admin Chat              1.8.0.3660  AMXX Dev Team     adminchat.amxx   running  
{9:36:33 AM}  [ 11] Anti Flood              1.8.0.3660  AMXX Dev Team     antiflood.amxx   running  
{9:36:33 AM}  [ 12] Scrolling Message       1.8.0.3660  AMXX Dev Team     scrollmsg.amxx   running  
{9:36:33 AM}  [ 13] Info. Messages          1.8.0.3660  AMXX Dev Team     imessage.amxx    running  
{9:36:33 AM}  [ 14] Admin Votes             1.8.0.3660  AMXX Dev Team     adminvote.amxx   running  
{9:36:33 AM} // Packet Received from 85.254.217.242:27015 with -1ms ping
{9:36:33 AM}  [ 15] NextMap                 1.8.0.3660  AMXX Dev Team     nextmap.amxx     running  
{9:36:33 AM}  [ 16] Nextmap Chooser         1.8.0.3660  AMXX Dev Team     mapchooser.amxx  running  
{9:36:33 AM}  [ 17] TimeLeft                1.8.0.3660  AMXX Dev Team     timeleft.amxx    running  
{9:36:33 AM}  [ 18] Pause Plugins           1.8.0.3660  AMXX Dev Team     pausecfg.amxx    running  
{9:36:33 AM}  [ 19] Stats Configuration     1.8.0.3660  AMXX Dev Team     statscfg.amxx    running  
{9:36:33 AM}  [ 20] StatsX                  1.8.0.3660  AMXX Dev Team     statsx.amxx      running  
{9:36:33 AM} 20 plugins, 20 running
Hope this helps...
Xtender is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 01-21-2008 , 01:01   Re: Stats Display
Reply With Quote #54

does not work for me. no hud stats. amx_show 1 (amxx 1.
cs1.6 is offline
kobri
Senior Member
Join Date: Oct 2005
Location: Bulgaria
Old 10-30-2008 , 10:59   Re: Stats Display
Reply With Quote #55

http://forums.alliedmods.net/showthr...nstant+display

This is awesome idea, someone please make a working plugin!
__________________
Founder of the legendary OptiLAN, MANIA and SECTOR.BG Gaming Communities
Providing everyday fun for over 15000 Bulgarian players!

http://about.me/kobri
kobri is offline
Send a message via Skype™ to kobri
joe_ista
New Member
Join Date: Feb 2009
Old 02-16-2009 , 09:39   Re: Stats Display
Reply With Quote #56

Please help me,
how I remove this center message (see picture attachment). for the message
"The Kopral [K:2|D: 2|Hs: 2|KD Ratio: 1]


Thanks

[IMG]file:///D:/Dokumen/My%20Pictures/cs.gif[/IMG][IMG]file:///D:/Dokumen/My%20Pictures/cs.gif[/IMG]
Attached Thumbnails
Click image for larger version

Name:	cs.jpg
Views:	490
Size:	35.6 KB
ID:	37266  
joe_ista is offline
texas_pune
Junior Member
Join Date: Mar 2009
Old 03-26-2009 , 16:34   Re: Stats Display
Reply With Quote #57

may be this would help...

hud_centerid 0

place it in your amxx.cfg
texas_pune is offline
extreme1
New Member
Join Date: Jul 2009
Old 08-01-2009 , 21:30   Re: Stats Display
Reply With Quote #58

hi i need help on this i added the plugin and sma files to its correct places

stats_display.amxx in the plugins folder
stats_display.sma in the scripting folder
stats_display.amxx in the config>plugins.ini folder

but when i changed the map this is what it says

L 08/02/2009 - 11:273: [AMXX] Plugin "stats_display.amxx" failed to load: Plugin uses an unknown function (name "get_user_stats") - check your modules.ini.

can you help me? thanks
extreme1 is offline
BackStats
Senior Member
Join Date: Oct 2008
Old 11-12-2010 , 17:08   Re: Stats Display
Reply With Quote #59

there is a way to let it show in hud format text color?
BackStats is offline
TheVVS
New Member
Join Date: Jul 2011
Location: Germany
Old 07-03-2011 , 22:40   Re: Stats Display
Reply With Quote #60

Plugin produces some errors after mapchange:
L 07/04/2011 - 04:14:57: [AMXX] Run time error 11: divide
L 07/04/2011 - 04:14:57: [AMXX] [0] 4487.attach::ShowHUD (line 59)
L 07/04/2011 - 04:14:58: [AMXX] Displaying debug trace (plugin "stats_display.amxx")

Google showed me a solution for another plugin which had this error from post http://forums.alliedmods.net/showthread.php?t=154433

Quote:
It's dividing by 0 if player has 0 frags.
Check if player has 0 frags before dividing.
I found nothing in the SMA what could cause this error, but I´m not goog at this - Can you fix it?

Last edited by TheVVS; 07-04-2011 at 12:23.
TheVVS is offline
Reply



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:13.


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