Правила форума Гаранты форума
Размещение рекламы AMX-X компилятор

Здравствуйте, гость Вход | Регистрация

Наши новости:

14-дек
24-апр
10-апр
11-апр

> Правила форума

Этот раздел, как вы могли заметить по названию, предназначен для решения вопросов по поводу уже существующих модов и плагинов.
Пожалуйста, если у вас проблема с написанием плагина, не путайте этот раздел с разделом по скриптингу.
Для поиска плагинов и модов существует соответствующий раздел.

Название темы должно соответствовать содержанию. Темы с названием типа "Помогите", "Вопрос", "парни подскажите..." - будут удалены.
Все темы, не относящиеся к "Вопросам по модам и плагинам", будут удалены или перемещены в соответствующий раздел.

Правила оформления темы:
1. Помимо заголовка не забудьте верно сформулировать свой вопрос.
2. Выложите исходник (в тег кода + ) или ссылку на плагин который вызывает у вас вопросы.
3. Выложите лог с ошибками (если имеется) под спойлер

Проблемы со статистикой

, restmenu.amxx, statsx.amxx, miscstats.amxx, stats_logging.amxx
Статус пользователя grehem
сообщение 5.1.2011, 7:19
Сообщение #1
Стаж: 17 лет

Сообщений: 18
Благодарностей: 1
Полезность: 0

В чем собственно проблема: не ведётся статистика для CSDM сервера.

OS: Windows XP SP3 (поставил 3 дня назад)
HLDS: 48/1.1.2.6/4554
CSDM 2.1.2
PoDBOT V 3.0.21
Нужные плагины включены, папка перезаписуема
"plugins.ini"

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
;multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)


; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
amx_pausedchat.amxx ; chat during pause
vampire.amxx ; restore health after kill

Для перестраховки включил все модули
"modules.ini"


;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx

hamsandwich

"core.ini"

; Configuration file for AMX Mod X
amxx_logs addons/amxmodx/logs
amxx_configsdir addons/amxmodx/configs
amxx_datadir addons/amxmodx/data
amxx_modules addons/amxmodx/configs/modules.ini
amxx_plugins addons/amxmodx/configs/plugins.ini
amxx_pluginsdir addons/amxmodx/plugins
amxx_modulesdir addons/amxmodx/modules
amxx_vault addons/amxmodx/data/vault.ini
; It is important that "csstats" comes before "csstats_score"
csstats addons/amxmodx/data/csstats.dat
csstats_score addons/amxmodx/data/csstats.amxx


; Logging mode
; 0 - no logging
; 1 - one logfile / day
; 2 - one logfile / map
; 3 - HL Logs
amxx_logging 1

; Binary logging level
; add these up to get what you want
; these only work with bin logging binaries
; 1 - default
; 2 - log internal string sets/gets
; 4 - log internal formats
; 8 - log all native params
; 16 - log internal function calls (only in debug mode)
; 32 - log line number accesses (only in debug mode)
bin_logging 49

; Maximum binary log size, in megs
max_binlog_size 75

; Plugin optimization flags - add these up to get what you want
; lowering these may stop crashes on very old CPUs
; set 65536 to disable optimizer, NOT 0!
;-------------
; 1 - float arithmetic
; 2 - float comparisons
; 4 - float rounding
optimizer 7

"amxx.cfg"

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

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 30

// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1

// 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 "a 1200" "a 600" "a 300" "a 180" "a 60" "Acde 10"

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

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

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

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

// Some ratios for voting success

// Default value: 0.40
amx_votekick_ratio 0.40

// Default value: 0.40
amx_voteban_ratio 0.60

// Default value: 0.40
amx_votemap_ratio 0.50

// Default value: 0.02
amx_vote_ratio 0.02

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

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

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

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

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

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

"stats.ini"

;Generated by Stats Configuration Plugin. Do not modify!
;Variable Description
KillerChat ;Show Killer HP&AP
ShowAttackers ;Show Attackers
ShowVictims ;Show Victims
ShowKiller ;Show Killer
ShowTeamScore ;Show Team Score
ShowTotalStats ;Show Total Stats
ShowBestScore ;Show Best Score
ShowMostDisruptive ;Show Most Disruptive
ShowStats ;Show HUD-stats default
ShowDistHS ;Dist&HS in HUD lists
EndPlayer ;Stats at the end of map
EndTop15 ;Top15 at the end of map
SayHP ;Say /hp
SayStatsMe ;Say /statsme
SayRankStats ;Say /rankstats
SayMe ;Say /me
SayRank ;Say /rank
SayReport ;Say /report
SayScore ;Say /score
SayTop15 ;Say /top15
SayStatsAll ;Say /stats
SpecRankInfo ;Spec. Rank Info
MultiKill ;MultiKill
MultiKillSound ;MultiKillSound
BombPlanting ;Bomb Planting
BombDefusing ;Bomb Defusing
BombPlanted ;Bomb Planted
BombDefused ;Bomb Defuse Succ.
BombFailed ;Bomb Def. Failure
BombPickUp ;Bomb PickUp
BombDrop ;Bomb Drop
BombCountVoice ;Bomb Countdown Voice
BombCountDef ;Bomb Countdown (defuser)
BombReached ;Bomb Site Reached
ItalyBonusKill ;Italy Bonus Kill
LastMan ;Last Man
KnifeKill ;Knife Kill
KnifeKillSound ;Knife Kill Sound
GrenadeKill ;Grenade Kill
GrenadeSuicide ;Grenade Suicide
HeadShotKill ;HeadShot Kill
HeadShotKillSound ;HeadShot Kill Sound
RoundCounter ;Round Counter
RoundCounterSound ;Round Counter Sound
KillingStreak ;Killing Streak
KillingStreakSound ;Killing Streak Sound
EnemyRemaining ;Enemy Remaining
DoubleKill ;Double Kill
DoubleKillSound ;Double Kill Sound
PlayerName ;Player Name
FirstBloodSound ;First Blood Sound

"server.cfg"

hostname "CSDM training"
rcon_password "******"

sv_region 3

sv_downloadurl "***************************"

allow_spectators 0

decalfrequency 15

ex_interp 0.01

mp_timelimit 25
mp_autokick 0
mp_autoteambalance 0
mp_c4timer 35
mp_flashlight 1
mp_footsteps 1
mp_freezetime 6
mp_friendlyfire 1
mp_hostagepenalty 0
mp_limitteams 0
mp_tkpunish 0
mp_roundtime 1.75
mp_forcechasecam 2
mp_startmoney 800
mp_falldamage 1

log on
sv_logbans 1
sv_log_onefile 0
sv_logecho 1
sv_logfile 1
mp_logdetail 3
mp_logmessages 1
mp_logecho 1
mp_logfile 1

sv_aim 0
sv_cheats 0
sv_maxspeed 320
sv_proxies 1
sv_allowupload 1
sv_allowdownload 1
sv_voiceenable 0
sv_maxrate 10000
sv_minrate 10000
sv_unlag 1
sv_lan 0

pausable 1

sys_ticrate 50000

amx_vampire_hp 25
amx_vampire_hp_hs 50
amx_vampire_max_hp 100

setmaster add 188.40.40.201
setmaster add 213.239.209.221
setmaster add 68.142.72.250
setmaster add 69.28.140.246
setmaster add 69.28.140.247
setmaster add 69.28.151.162
setmaster add 69.28.151.178
setmaster add 72.165.61.189
setmaster add 72.165.61.190
setmaster add 68.142.64.164
setmaster add 68.142.64.165
setmaster add 68.142.91.34
setmaster add 68.142.91.35
setmaster add 68.142.91.36
setmaster add 68.142.116.178
setmaster add 68.142.116.179
setmaster add 69.28.145.170
setmaster add 69.28.145.171
setmaster add 69.28.145.172
setmaster add 69.28.156.250
setmaster add 72.165.61.185
setmaster add 72.165.61.186
setmaster add 72.165.61.187
setmaster add 72.165.61.188
setmaster add 208.111.133.84
setmaster add 208.111.133.85
setmaster add 208.111.158.52
setmaster add 208.111.158.53
setmaster add 208.111.171.82
setmaster add 208.111.171.83


Перерыл весь форум, всё что нашёл перепробовал. Просьба: нестоит отфутболивать фразами "юзай поиск/гугл", пишу потому-что ничего не нашёл
В прикреплении скрины проблемы.

Отредактировал: grehem, - 5.1.2011, 7:26
Прикрепленные файлы:
Прикрепленное изображение Прикрепленное изображение
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   Цитировать сообщение
Статус пользователя Yes I Do Not
сообщение 5.1.2011, 10:50
Сообщение #2


Стаж: 15 лет

Сообщений: 260
Благодарностей: 68
Полезность: 220

В amxx.cfg поставь
// Записывать ботов в статистику 1/0 - да/нет
csstats_rankbots 1
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 2 раз
   + Цитировать сообщение
Статус пользователя NickLesNick
сообщение 5.1.2011, 10:56
Сообщение #3


Стаж: 16 лет

Сообщений: 355
Благодарностей: 153
Полезность: 680

Цитата
csstats_maxsize 70000

Насколько я помню, предел этого значения равен 9000.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 1 раз
   + Цитировать сообщение
Статус пользователя grehem
сообщение 5.1.2011, 12:32
Сообщение #4
Стаж: 17 лет

Сообщений: 18
Благодарностей: 1
Полезность: 0

Цитата
В amxx.cfg поставь
// Записывать ботов в статистику 1/0 - да/нет
csstats_rankbots 1

спасибо, помогло, хотя я и не ожидал.
как я понял без csstats_rankbots 1, АМХ вообще не считает ботов за игроков)
Спасибо что откликнулись, по +!
Тему можно офф.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя STR@TEG
сообщение 5.1.2011, 17:12
Сообщение #5
Стаж: 16 лет

Сообщений: 4186
Благодарностей: 1763
Полезность: 837

Цитата(NickLesNick @ 5.1.2011, 11:56) *
Насколько я помню, предел этого значения равен 9000.
Это не так.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
dr-ef
сообщение 10.1.2011, 14:30
Сообщение #6
Стаж: 15 лет

Сообщений: 943
Благодарностей: 305
Полезность: 325

Цитата(MicroSD @ 5.1.2011, 10:50) *
В amxx.cfg поставь
// Записывать ботов в статистику 1/0 - да/нет
csstats_rankbots 1

Помогло
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Тема закрытаНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: