liyang4234154 发表于 2006-3-25 12:23:52

【求助】服务器排名插件怎么设置?

正如主体   CS的个人排名系统插件是怎么设置的?   

就是每个CS玩家都能看到的 就是:top15rank

现在我设置不好的就是rank 这个命令不能跟 top15 一样的现实出来。

(top15图形显示rank 就是在屏幕下方显示)

zhangsheng 发表于 2006-3-25 15:48:46

回复: 【求助】服务器排名插件怎么设置?

如果是CS1.5的话请关闭Statsme的/rank字显示方式.打开AMX0.9.5的stats.amx插件.还要查看AMX文件里面是否有stats.ini文件本打开看看有没有/rank有的话.就说明有方框/rank了.Statsme到了2.7.1以后就没有/hp功能了.只有AMX0.9.5有不过BUG太多!
如果是CS1.6请关闭statsx.amxx插件,因为它把方框/rank改为/rankstats了.所以玩家都不知道.如果想用方框的/rank建议换stats.amxx :rolleyes::spiderman:boss:

liyang4234154 发表于 2006-3-26 18:55:29

回复: 【求助】服务器排名插件怎么设置?

多谢楼上的哥们儿指点!我先看看先。

liyang4234154 发表于 2006-3-28 19:04:13

回复: 【求助】服务器排名插件怎么设置?

请问哥哥我这样设置对么?


statsme.cfg 文件设置

exec addons/statsme/motd.cfg
// Define Addon Standards Log Format (for compatibility with PsychoStats etc.)
// 1 - old method (without tag)
// 2 - new Method (with tag)
// 3 - both methods (two lines, one with, one without tag)
sm_addonlogformat 2

//////////////////////////////////////////////////////////////////////////////////
//                   //
//   CHANGE THIS PART!! VERY IMPORTANT!!!   //
//          //
//////////////////////////////////////////////////////////////////////////////////
// Set password for StatsMe Menu (no password disables menu)
sm_menupassword "root" // To display public menu type as player in the console: statsme_menu root
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////

// Rank by AUTHID
// If you play with bots, or on a LAN Server you should *not* enabled Rank by AUTHID
sm_storebyauth 0

// Time when the Ranking will be updated
// 2 - On every new round
// 1 - On Player disconnect
// 0 - On Server shutdown
sm_rankupdate 2

// Set time in hours after which top15 will be reset
sm_resetrank 144

// Allow for logging bots to top15
sm_rankbots 1

// Log format for end map weapon stats (make sure you have "log on" in your server.cfg)
// To disable this logging set sm_logformat to ""
sm_logformat "(weapon \'{p.a.name}\') (shots \'{p.a.shots}\') (hits \'{p.a.hits}\') (kills \'{p.a.kills}\') (headshots \'{p.a.hs}\') (tks \'{p.a.tks}\') (damage \'{p.a.damage}\') (deaths \'{p.a.deaths}\')"
//sm_logformat ""

// Detailed log format for weapon stats
// To disable this logging set sm_logformat2 to ""
sm_logformat2 "(weapon \'{p.a.name}\') (head \'{p.a.head}\') (chest \'{p.a.chest}\') (stomach \'{p.a.stomach}\') (leftarm \'{p.a.leftarm}\') (rightarm \'{p.a.rightarm}\') (leftleg \'{p.a.leftleg}\') (rightleg \'{p.a.rightleg}\')"
//sm_logformat2 ""

// Latency log
// To disable this logging set sm_latlogformat to ""
sm_latlogformat "(ping \'{p.ping}\')"
//sm_latlogformat ""
sm_latlogfreq 20 // sec.

// Playing time
// To disable this logging set sm_timelogformat to ""
sm_timelogformat "(time \'{p.time}\')"
//sm_timelogformat ""

// Player stats format (when called by /statsme)
sm_playerstats "Killed enemies: {p.gm.kills}\nDeaths: {p.gm.deaths}\nEfficiency: {p.gm.eff}%%\nAccuracy: {p.gm.acc}%%\n"

// Weapon stats format (when called by /statsme)
sm_weaponstats "{p.a.name} shots: {p.a.shots} hits: {p.a.hits} kills: {p.a.kills} hs: {p.a.hs} damage: {p.a.damage} eff.: {p.a.eff}%% acc.: {p.a.acc}%%"

// Format of top15
sm_ranktitle "Top 15"
sm_rankhead "#nick                     kills/deaths   hits/shots/hs.   eff.%%   acc.%%"
sm_rankbody "{rk.id}.{rk.name}{rk.txt} {rk.kills}/{rk.deaths}   {rk.hits}/{rk.shots}/{rk.hs}   {rk.eff}    {rk.acc}"

sm_rankscore "{{rk.kills}-{rk.deaths}}" // by diff. between kills and deaths
//sm_rankscore "{rk.kills}" // by kills
//sm_rankscore "" // for default formula

// Set teams which score should be available
sm_score "TERRORIST" "CT"

// Usage: sm_mode[ mod id ] < set | remove > < bits > [ * | #uid | team ]
sm_mode set abc // enable itermission stats, statsme, stats and top15

// check if we have to remove statsme, stats and top15 commands
sm_do "sm_rankcmd {sm_mode&c?top15:\'\'};sm_statsmecmd {sm_mode&b?statsme:\'\'};sm_statscmd {sm_mode&b?stats:\'\'}"

// Positions for StatsMe Menu (most of them are in scriptfiles)
// Usage: sm_menu < description > < server command >
sm_menu "Intermission stats\y\R{sm_mode&a?ON:OFF}" "sm_mode {sm_mode&a?remove:set} a"
sm_menu "/statsme and /stats\y\R{sm_mode&b?ON:OFF}" "sm_statsmecmd {sm_mode&b?\'\':statsme};sm_statscmd {sm_mode&b?\'\':stats};sm_mode {sm_mode&b?remove:set} b"
sm_menu "Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
//sm_menu "-----" " "
//sm_menu "mp_tkpunish\y\R{C.mp_tkpunish}" "mp_tkpunish {C.mp_tkpunish?0:1}"
//sm_menu "mp_friendlyfire\y\R{C.mp_friendlyfire}" "mp_friendlyfire {C.mp_friendlyfire?0:1}"
//sm_menu "mp_autoteambalance\y\R{C.mp_autoteambalance}" "mp_autoteambalance {C.mp_autoteambalance?0:1}"



// sm_alias < alias > < command > < flags >
// flags: a - console command, b - say command, c - don't show said alias
sm_alias "/score" "sm_tell2 #{p.uid} \'Game score:   {t2gm.name} {t2gm.score} / {t2gm.eff} / {t2gm.acc}   --   {t1gm.name} {t1gm.score} / {t1gm.eff} / {t1gm.acc}\' 3" "b"
sm_alias "/report" "sm_clexec2 #{p.uid} \'say_team weapon: {p.w.name?$:#} ammo: {p.w.clip}/{p.w.ammo} health: {p.health} armor: {p.armor} money: {p.money}\' 3" "bc"
sm_alias "/timeleft" "sm_tell2 * \'{timeleft?Time Remaining\:$:* No Time Limit *}\' 3" "b"
sm_alias "/currentmap" "sm_tell2 * \'Played map:   {currentmap}\' 3" "b"
sm_alias "/me" "sm_tell2 #{p.uid} \'* Last result: {p.a.hits?$:#} hit(s) >>{p.a.head? head\: $}{p.a.chest? chest\: $}{p.a.stomach? stomach\: $}{p.a.leftleg? leftleg\: $}{p.a.rightleg? rightleg\: $}{p.a.leftarm? leftarm\: $}{p.a.rightarm? rightarm\: $}\' 3" "b"
sm_alias "/ff" "sm_tell2 * \'Firendly fire:   {C.mp_friendlyfire?ON:OFF}\' 3" "b"
sm_alias "/switch" "sm_clexec2 #{p.uid} \'setinfo {C.sm_switchinfo} {p.I.{C.sm_switchinfo}?0:1}\';sm_tell2 #{p.uid} \'* You have {p.I.{C.sm_switchinfo}?disabled:enabled} statsme announcement\' 3" "b"
sm_alias "/top15" "{sm_mode&c?:#}sm_clexec2 #{p.uid} {C.sm_rankcmd}" "b"
sm_alias "/statsme" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statsmecmd}" "b"
sm_alias "/stats" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statscmd}" "b"
sm_alias "/rank" "sm_tell2 #{p.uid} \'* Your rank is {p.rk.id} of {ranknum} with {p.rk.kills} kills, {p.rk.hits} hits, {p.rk.acc} acc. and {p.rk.eff} eff.\' 3" "b"

// Load statsme scripts
// Don't comment these lines to disable scripts, use statsme_menu instead

exec addons/statsme/scripts/avlist.cfg
exec addons/statsme/scripts/bombc.cfg
exec addons/statsme/scripts/endround.cfg
exec addons/statsme/scripts/firstblood.cfg
exec addons/statsme/scripts/gresuc.cfg
exec addons/statsme/scripts/headshot.cfg
exec addons/statsme/scripts/kill.cfg
exec addons/statsme/scripts/knifekill.cfg
exec addons/statsme/scripts/lastman.cfg
exec addons/statsme/scripts/playername.cfg
exec addons/statsme/scripts/roundcount.cfg
exec addons/statsme/scripts/specinfo.cfg

// The Following line loads all scriptpacks, defined in scriptpacks.cfg
exec addons/statsme/scriptpacks.cfg
// ONLY add scriptpacks to this file. It makes life easier for the support team.


sm_log Configuration for StatsMe 2.7.1 loaded.


stats.ini 文件设置


;Generated by Stats Configuration Plugin. Do not modify!
;VariableDescription
ShowAttackers            ;Show Attackers
ShowVictims            ;Show Victims
ShowKiller               ;Show killer
EndPlayer                ;Stats at the end of map
EndTop15               ;Top15 at the end of map
KillerHpAp               ;Show killer hp&ap
SayHP                  ;Say /hp
SayTop15               ;Say /top15
SayRANK                  ;Say /rank
页: [1]
查看完整版本: 【求助】服务器排名插件怎么设置?