[求助] PsychoStats 问题求救
我PsychoStats版本是1.9的英文版(1.9.1版也试了),server.cfg中mp_logfile 1 和log on都加了。logs目录日志也有了,stats.cfg也改过了,“playerid name” 也改了。执行stats.pl,index.html文件也有,但就是生成了,但只是说分析了几个日志(多少M)等等,就是没有其他信息。点通所有相关的精华贴我都翻过了,真有点头大了。有高手能点拨一下吗?帮我估计一下是何原因?谢谢了。附我的stats.cfg
PsychoStats main config file.
#
# NOTE: This file is not case sensitive & whitespace does not matter,
# unless noted. Set your tab size to "8" in your editor, if this
# file does not format correctly on your system.
#
# location of logs directory(s). 'logpath' can have more then
# one directory listed. PsychoStats will parse through each directory
# for the number of days specified and read all logs found into one
# stats page. Note the "{", "}" are required, and each directory name
# must be on its own line. The directories are loaded in the order given.
LogPath = {
e:\cs1.5HLServer\cstrike\logs
}
# Destination HTML directory. This will usually be a path in your
# webserver root somewhere.
HtmlPath = c:\wwwroot\stats
# Define what type of server you're running. Changing this affects how
# weapon and map images are loaded. The word here is prefixed to all
# images, ie: cstrike_mp5navy.gif for a CS weapon.
# known valid options: cstrike, dod
modType = cstrike
# Control the layout of the generated HTML pages. The word value given
# should be a directory name under the 'themes' directory. Make sure
# you're using a theme that is compatable with the MOD you're using.
HTMLtheme = cstrikehtml19
# 'picspath' is where your thumbnail pictures are located for the
# map names. These should be full pathnames, NOT URLs.
# The 'dlpath' directory marks the location of where you store your
# maps for download. If you don't provide maps for download, you don't
# need to worry about it.
PicsPath = c:\wwwroot\stats\images\mappics
DLPath = e:\cs1.5HLServer\cstrike\maps
# If a theme has a 'copy' option it will copy any files listed for it
# to the HTMLPATH if it does not already exist. Setting this option to
# 1 will force the files to be copied even if the file already exists
# in the HTMLPATH directory. If you're having problems with images not
# coping correctly, make sure this is set to 1.
ForceThemeCopy = 1
# Ignore log files that were not closed properly? A log file that wasn't
# 'closed' properly means that either the server crashed during the
# writting of the log file, or the log file is the most recent active
# log. PsychoStats will still gather correct information from 'unclosed'
# log files and there is really no reason to ignore them, So the
# default for this is "0". This is provided for completeness only.
ClosedLogsOnly = 0
# Enable or Disable STATSME (v2.1) DAMAGE support. All other STATSME
# statistics are always gathered if present in the logs, regardless of this
# setting. CSTRIKE servers that use mp_logdetail 1,2 or 3 will end up with
# inaccurate damage stats if this is enabled. All other servers that do not
# report damage should enable this option. Note, its recommended using this
# option instead of having mp_detail enabled. Since this uses a LOT less
# space in the logs and the same amount of detail is collected.
EnableSTATSMEdmg = 0
# Config file locations.
awardfile = awards.cfg # setup award values and rules
clansfile = clans.cfg # Clans personalization file
clantagfile = clantags.cfg # setup clantag strings
denyfile = deny.cfg # deny players from ranking
denyclanfile = denyclan.cfg # deny players from ranking in CLANS
ignorefile = ignorelines.cfg # ignore lines from log files
permitfile = permit.cfg # define players that will always rank
playersfile = players.cfg # define players personal information
rolenamefile = rolenames.cfg # define character roles/classes
weaponfile = weapons.cfg # define weapon names and weights
# server info.
serverName = #3-Ares CS1.5 Server
serverIP = 202.102.44.250:27018
serverDomain = http://www.aresun.com/stats/
# info on server admin/owner. leave anything blank to be anonymous.
# You can also edit the index file(s) for the theme and just remove
# these variables if you do not want them shown.
adminAlias = =Ares=.S
adminEMail =
# enable/disable reporting verbosity
ReportErrors = 1 # If enabled, NON-fatal errors will be logged
ReportCrashes = 0 # If enabled, server crashes (detected from logs) will be logged.
# Note, ReportErrors must be 1 for this to report anything.
# control how player stats are reported.
RegisteredOnly = 0 # Only rank players that are registered?
BaseSkill = 1000# Base skill for all players. Do not set this too low (<500)
MaxDays = 14 # number of days of logs to scan.
MaxPlayers = 150 # MAX# of players shown in Ranking list.
MinConnected = 2 # min# of players that must be connected in order
# for stats to start gathering from a log file.
MinSkill = 500 # Skill rank needed.
MinKills = 10 # min# of kills needed to appear in list
MinDeaths = 1 # min# of deaths needed to appear in list
MinKDR = 0.10 # min Kill:Death ratio needed to appear in list
MinTime = 10m # min game time needed to rank. format: "1d1h1m"
# where d=day,h=hour,m=minutes.
MinRounds = 0 # min# of rounds played needed to rank (not valid in DOD)
UseAliases = 1 # Toggle the use of player aliases
RemovePlayers = 1 # 1 = Remove players that have ZERO kills + deaths.
# This is useful to save memory and to get rid of
# all those useless names.
AutoBanDeny = 1 # toggle auto denying for players that have been BANNED
MaxKickDeny = 5 # total times plr was kicked before they are denied
MaxCheatDeny = 2 # total times plr cheats before they are denied
# set to 0 to disable
DeleteOldPlayers = 1 # Deletes all old Player HTML files before new files are
# created. This stops player pages from building up in the
# HTMLPATH (only useful when PlayerHTMLtype is not RANK)
DeleteOldClans = 1 # Deletes all old Clan files, same as above.
DeleteOldWeapons = 1 # Deletes all old weapon files.
DeleteOldAwards= 1 # Deletes all old award files.
DeleteOldMaps = 1 # Deletes all old detailed map files. # How to create player and clan files.
# RANK= use rank
# NAME= use name
# WONID = usr plr wonid (playerHTMLtype only)
# MIME= encode name with base64 (recommended)
PlayerHTMLtype = MIME
ClanHTMLtype = MIME
# PlayerID: How players are tracked and recorded.
# NAME = use player names as the unique ID for each player. (case sensitive)
# LCNAME = use player names (case in-sensitive)
# WONID= use player WONIDs ...
PlayerID = NAME
# Create Clan HTML stat pages. PsychoStats can try and figure out what
# clans have connected to the server and groups all the members in each
# clan together.This has side-effects since PsychoStats can't be 100%
# accurate as to what is a clan (it does a pretty good job, however).
# But with the settings below and the help from the clantags file you can
# help tweak what a clan is defined as.
CreateClans = 1 # 1 = Create clan stats. 0 = don't.
MinClanMembers = 3 # Min # of members needed to pass as a 'clan'.
MinClanKills = 50 # Min # of combined kills needed to pass.
MinClanSkill = 500 # Min avg skill needed for the clan to pass.
MinClanKdr = 0.0 # Min Kill Ratio needed for the clan to pass.
MinClanRank = 0 # Min avg rank needed for the clan to pass.
MinClanMemberKills = 1 # Min kills needed for member to be included in clan
MinClanMemberDeaths = 1 # Min deaths ...
# Enable clan debugging. This should always be disabled unless you're having a
# clantag or clanmember problem (like a 'valid' clan never appears in the
# clan listing). This will cause PS to output the reason why a clan was denied
# from the clan listings. So on large servers, this will OUTPUT A LOT of info.
# All info is LOGGED, so you can simply view the stats.log after you update to
# view the results.
ClanDebug = 0
# Create detailed map stat pages. PsychoStats will create detailed pages
# for each map, showing the top players in many different views of the
# map. Such as most kills, hostage rescues, or bombings, etc.
# This requires some extra processing time and you can toggle this
# option on or off. Toggling this off does not effect the creation of
# the standard 'maps.html' file.
CreateMapPages = 1
MapAwardMax = 10 # Maximum # of players to list for each detailed
# map player listing
# Maps that should NOT be included in stats. Partial words can be used to
# exclude all maps that match. e.g.: using "es_" would exclude all "ES" type maps.
# format: one line, each mapname or partial word is seperated by a space.
# e.g.: ExcludeMaps = cs_speedball de_suckmap as_
ExcludeMaps = unknownmap
# default map used when the current map is unknown. This is only needed
# if you use the command 'log on' in your server.cfg, instead of the
# 'autoexec.cfg'.Its recommended you use the autoexec.cfg for the
# 'log on'. If the server.cfg is used, then the HLDS engine will not
# report the first map loaded, and thus this option will need to be set
# to the map you use to start the server.
DefaultMap= unknownmap
AwardMax = 25 # Max number of players to list in "top10" weapon/award pages.
# Toggle the display of some 'sensitive' plr info:
ShowPlayerAliases = 1 # Player Aliases are visible
ShowPlayerWONIDs = 0 # Player WONIDs are visible
ShowPlayerIPs = 0 # Player IPs are visible
# Map variables that specify what type of map images to use, and where
# your maps are available for download (used mainly in maps.html)
maplinkurl = /maps/ # relative URL path to map DOWNLOADS (zip files usually)
maplinkext = zip # file extension for downloads (do not use a dot)
mapthumbnailurl = images/mappics/ # relative URL path to mappics.
mapthumbnailsize = 160x120 # image size
mapthumbnailext = gif # image type (do not use a dot)
weaponimgurl = images/ # relative URL path to weapon images
## FTP SECTION -----------------
## ** NOTE: The FTP feature is still BETA and may not work for everyone!
# If you need to have your stats uploaded to a website after a stats update,
# fill out this section with the values required for your FTP server (website).
# The host, user, and pass must all be specified in order for an FTP transfer
# attempt to be made by PsychoStats.
# Sub-directories are not supported. Only files within the HTMLPATH will be uploaded.
FTPhost = # FTP hostname, ie: ftp.mydomain.com
FTPusername = # username to connect with
FTPpassword = # password to connect with
FTPdir = # path to where the files should be uploaded to
FTPautodelete = 0 # If enabled each remote file will be deleted before
# uploading the newer file
FTPfiles = *.* # wildcard filenames to upload. Multiple
# wildcards should be seperated by a comma (,)
# ie: *.html, *.css, *.gif
FTPport = 21 # FTP port to use. you'll probably never change this
FTPpassive = 1 # If FTP doesn't work for you try setting this to 0
FTPverbose = 0 # 1 if you want to see whats happening during
# the FTP transfer. Note, this is extremely verbose!
# But is useful for troubleshooting FTP problems 其他文件我都保持原样没做改动。
本来是要做中文版的,因为这个问题,所以我就先做个英文版的。但问题还是一样,index.html中什么都没有,除了最下面的“花了多少时间分析了几个日志(多少M)等” 你的服务器是否装了STATME统计插件,或用AMX是统计功能是否打开,默认状态是关闭的,所以,没有统计资料。
。。
如果服务器用了AMX0。93插件,需使用OP 打开STATME的统计功能,默认状态是全部关闭的,故你实际没有统计的资料。如何打开STATME ,论坛上有。 倒!一定要启用statme?
看过好几个帖子都是不一定要的。我statme是没起。
stats.cfg中“EnableSTATSMEdmg = 0”
再嗦一句:真的一定要statme吗?(或AMX中的stat?)
非常感谢上面的朋友的回答。 我已经启用statsme2.6.4了,log里也有它的信息了,但index.html中还是没有统计数据。我晕~
急!帮我分析分析啊!谢谢啦~ 这个跟log的多少还有关系啊?
我现在log大约是两天的量,有statsme的log才几个小时。
有关系吗?
看了PsychoStats 老家一个帖子,一老外说也有这问题,后来他是弄了很多日志,并设MaxDays = 19,然后就说好了。
faint~
怎么大家都是在网吧上网么?工作时间没人在线?
帮帮忙回回贴吧~ 上述问题已经解决。
在此,我要狂感谢coolzsb和上面回我帖子的朋友。也谢谢进来看我帖子的朋友。
解决方法:DefaultMap = de_dust2
都怨我没有仔细看一下英语原文。呵呵~
页:
[1]