搜索
查看: 2310|回复: 5

PS排行榜stateme问题

[复制链接]
发表于 2006-1-26 12:13:42 | 显示全部楼层 |阅读模式 来自 中国–陕西–汉中–南郑区
PS2.3+stateme2.8.3没有装amxx/amx(因为 双核Xeon双CPU amxx永远都有问题- -官方论坛也没有什么解释)
HitBox具体该如何设置。
是不是因为是stateme中文版的关系
下面是stateme.cfg

  1. // ---------------------------------------------------------------------------
  2. // StatsMe 2.8.3 Configuration File [16 June, 2004]
  3. // ---------------------------------------------------------------------------
  4. // This file is part of StatsMe (See README for more information).
  5. // Copyright 2002 - 2004 UnitedAdmins (www.unitedadmins.com)
  6. // Project originally created by OLO (http://olo.counter-strike.pl)
  7. // ---------------------------------------------------------------------------
  8. // Please read the manual and the forums carefully before altering this file!
  9. // The Manual is located at http://docs.unitedadmins.com/statsme/
  10. // The Forum can be found at http://forums.unitedadmins.com/
  11. // ---------------------------------------------------------------------------

  12. // Display the StatsMe MOTD. make your custom MOTD changes in that file.
  13. // If you don't want an MOTD, comment this out

  14. // Define Addon Standards Log Format (for compatibility with PsychoStats etc.)
  15. // 1 - old method (without [STATSME] tag)
  16. // 2 - new Method (with [STATSME] tag)
  17. // 3 - both methods (two lines, one with, one without tag)
  18. sm_addonlogformat 2

  19. //////////////////////////////////////////////////////////////////////////////////
  20. //                                                                                  //
  21. //                        CHANGE THIS PART!! VERY IMPORTANT!!!                        //
  22. //                                                                                //
  23. //////////////////////////////////////////////////////////////////////////////////
  24. // Set password for StatsMe Menu (no password disables menu)
  25. sm_menupassword "r3wt" // To display public menu type as player in the console: statsme_menu r3wt
  26. /////////////////////////////////////////////////////////////////////////////////
  27. /////////////////////////////////////////////////////////////////////////////////

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

  31. // Time when the Ranking will be updated
  32. // 2 - On every new round
  33. // 1 - On Player disconnect
  34. // 0 - On Server shutdown
  35. sm_rankupdate 2

  36. // Set time in hours after which top10 will be reset
  37. // 0 - Never Reset
  38. sm_resetrank 10

  39. // Allow for logging bots to top10
  40. sm_rankbots 1

  41. // Log format for end map weapon stats (make sure you have "log on" in your server.cfg)
  42. // To disable this logging set sm_logformat to ""
  43. sm_logformat "(武器 \'{p.a.name}\') (射击 \'{p.a.shots}\') (击中 \'{p.a.hits}\') (杀敌 \'{p.a.kills}\') (爆头 \'{p.a.hs}\') (tks \'{p.a.tks}\') (伤害 \'{p.a.damage}\') (死亡 \'{p.a.deaths}\')"
  44. //sm_logformat ""

  45. // Detailed log format for weapon stats
  46. // To disable this logging set sm_logformat2 to ""
  47. sm_logformat2 "(武器 \'{p.a.name}\') (头部 \'{p.a.head}\') (胸部 \'{p.a.chest}\') (腹部 \'{p.a.stomach}\') (左臂 \'{p.a.leftarm}\') (右臂 \'{p.a.rightarm}\') (左腿 \'{p.a.leftleg}\') (右腿 \'{p.a.rightleg}\')"
  48. //sm_logformat2 ""

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

  54. // Playing time
  55. // To disable this logging set sm_timelogformat to ""
  56. sm_timelogformat "(现在时间: \'{p.time}\')"
  57. //sm_timelogformat ""

  58. // Player stats format (when called by /statsme)
  59. sm_playerstats "杀敌: {p.gm.kills}\n死亡: {p.gm.deaths}\n生存率: {p.gm.eff}%%\n精确率: {p.gm.acc}%%\n"

  60. // Weapon stats format (when called by /statsme)
  61. sm_weaponstats "{p.a.name} 射击: {p.a.shots} 击中: {p.a.hits} 杀敌: {p.a.kills} 爆头: {p.a.hs} 伤害: {p.a.damage} 生存率: {p.a.eff}%% 命中率: {p.a.acc}%%"

  62. // Format of top10
  63. sm_ranktitle "Top 10"

  64. // Steam Format - comment for CS 1.5 and other non-steam mods
  65. //sm_rankhead "<tr align=center><td>#<td width=350 align=left>Nick (Points)<td>杀敌<td>死亡<td>击中<td>爆头<td>命中率</tr>"
  66. //sm_rankbody "<tr align=center><td>{rk.id}.<td align=left>{rk.name} ({rk.points})<td>{rk.kills}<td>{rk.deaths}<td>{rk.hits}<td>{rk.hs}<td>{rk.acc}</tr>"

  67. // Uncomment the following and comment the above for retro-style (non-HTML) Top10 ( CS1.5 and other non-steam support)
  68. sm_rankhead "#  nick                       kills/deaths   hits/shots/hs   eff.%%   acc%%"
  69. sm_rankbody "{rk.id}.  {rk.name}{rk.txt} {rk.kills}/{rk.deaths}   {rk.hits}/{rk.shots}/{rk.hs}   {rk.eff}    {rk.acc}"

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

  73. // Design options for the HTML motd
  74. // Background color
  75. sm_htmlbgcolor "#000000"
  76. // Text color
  77. sm_htmlfgcolor "#FFB000"
  78. // Link color
  79. sm_htmlacolor "#FFFFFF"
  80. // Font ( in html style syntax )
  81. sm_htmlfont "Verdana,Tahoma"

  82. // Change to 0 for no HTML Content in SM Motd's ( for CS non-Steam support )
  83. sm_htmlvgui2 1

  84. // Setinfo for disabling StatsMe client side
  85. // example : setinfo "_statsme" "0"
  86. // would disable statsme announcements for that player
  87. sm_switchinfo "_statsme"

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

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

  92. // check if we have to remove statsme, smstats and top10 commands
  93. sm_do "sm_rankcmd {sm_mode&c?top10:\'\'};sm_statsmecmd {sm_mode&b?statsme:\'\'};sm_statscmd {sm_mode&b?smstats:\'\'}"

  94. // Positions for StatsMe Menu (most of them are in scriptfiles)
  95. // Usage: sm_menu < description > < server command >
  96. sm_menu "All Announcements\y\R{C.sm_enabled?ON:OFF}" "sm_enabled {C.sm_enabled?0:1}"
  97. sm_menu "\y-----" " "
  98. sm_menu "Intermission stats\y\R{sm_mode&a?ON:OFF}" "sm_mode {sm_mode&a?remove:set} a"
  99. sm_menu "/statsme and /smstats\y\R{sm_mode&b?ON:OFF}" "sm_statsmecmd {sm_mode&b?\'\':statsme};sm_statscmd {sm_mode&b?\'\':smstats};sm_mode {sm_mode&b?remove:set} b"
  100. sm_menu "Top10 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top10};sm_mode {sm_mode&c?remove:set} c"
  101. //sm_menu "-----" " "
  102. //sm_menu "mp_tkpunish\y\R{C.mp_tkpunish}" "mp_tkpunish {C.mp_tkpunish?0:1}"
  103. //sm_menu "mp_friendlyfire\y\R{C.mp_friendlyfire}" "mp_friendlyfire {C.mp_friendlyfire?0:1}"
  104. //sm_menu "mp_autoteambalance\y\R{C.mp_autoteambalance}" "mp_autoteambalance {C.mp_autoteambalance?0:1}"


  105. // sm_alias < alias > < command > < flags >
  106. // flags: a - console command, b - say command, c - don't show said alias
  107. sm_alias "/score" "sm_tell2 #{p.uid} \'游戏成绩:   {t2gm.name} {t2gm.score} / {t2gm.eff} / {t2gm.acc}   --   {t1gm.name} {t1gm.score} / {t1gm.eff} / {t1gm.acc}\' 3" "b"
  108. sm_alias "/report" "sm_clexec2 #{p.uid} \'say_team 武器: {p.w.name?$:#} 弹药: {p.w.clip}/{p.w.ammo} 生命: {p.health} 护甲: {p.armor} 金钱: {p.money}\' 3" "bc"
  109. sm_alias "/timeleft" "sm_tell2 * \'{剩余时间\:  $:* 没有时间限制 *}\' 3" "b"
  110. sm_alias "/currentmap" "sm_tell2 * \'当前地图:   {currentmap}\' 3" "b"
  111. sm_alias "/me" "sm_tell2 #{p.uid} \'* 最后成绩: {p.a.hits?$:#} 击中 >>{p.a.head? 头部\: $}{p.a.chest? 胸部\: $}{p.a.stomach? 腹部\: $}{p.a.leftleg? 左腿\: $}{p.a.rightleg? 右腿\: $}{p.a.leftarm? 左臂\: $}{p.a.rightarm? 右臂\: $}\' 3" "b"
  112. sm_alias "/ff" "sm_tell2 * \'友军伤害:   {C.mp_friendlyfire?ON:OFF}\' 3" "b"
  113. 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"
  114. sm_alias "/top10" "{sm_mode&c?:#}sm_clexec2 #{p.uid} {C.sm_rankcmd}" "b"

  115. // /top15 added for backwards compatability.. still only prints out top10

  116. sm_alias "/top15" "{sm_mode&c?:#}sm_clexec2 #{p.uid} {C.sm_rankcmd}" "b"
  117. sm_alias "/statsme" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statsmecmd}" "b"
  118. sm_alias "/smstats" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statscmd}" "b"
  119. sm_alias "/rank" "sm_tell2 #{p.uid} \'* 你的排名是第{p.rk.id},共有{ranknum}个玩家,杀敌{p.rk.kills}个, 击中{p.rk.hits}次,存活率: {p.rk.acc}%,命中率: {p.rk.eff}% \' 3" "b"

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

  122. exec addons/statsme/scripts/avlist.cfg
  123. exec addons/statsme/scripts/bombc.cfg
  124. exec addons/statsme/scripts/endround.cfg
  125. exec addons/statsme/scripts/firstblood.cfg
  126. exec addons/statsme/scripts/gresuc.cfg
  127. exec addons/statsme/scripts/headshot.cfg
  128. exec addons/statsme/scripts/kill.cfg
  129. exec addons/statsme/scripts/knifekill.cfg
  130. exec addons/statsme/scripts/lastman.cfg
  131. exec addons/statsme/scripts/playername.cfg
  132. exec addons/statsme/scripts/roundcount.cfg
  133. exec addons/statsme/scripts/specinfo.cfg

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

  137. // Scramble the Password if its still default
  138. // You should not change this line !!
  139. sm_do "{C.sm_menupassword=r3wt?sm_menupassword {R.9}{R.9}{R.9}{R.9}{R.9}{R.9}{R.9}{R.9}}"


  140. sm_log Configuration for StatsMe 2.8.3 loaded.
复制代码
 楼主| 发表于 2006-1-27 09:10:45 | 显示全部楼层 来自 中国–陕西–汉中–南郑区

回复: PS排行榜stateme问题

根本没人理啊- -官方网站上也没有说- -
回复

使用道具 举报

发表于 2006-1-27 11:16:42 | 显示全部楼层 来自 中国–湖北–咸宁

回复: PS排行榜stateme问题

请问为什么motd.txt文件改好后进入游戏却看到的是乱码页面啊!!


请问为什么motd.txt文件改好后进入游戏却看到的是乱码页面啊!!




图片都可以正常访问,就是文字全成乱码了。郁闷啊!!!
回复

使用道具 举报

 楼主| 发表于 2006-1-27 22:01:42 | 显示全部楼层 来自 中国–陕西–汉中–南郑区

回复: PS排行榜stateme问题

你编码写的对吗“????
回复

使用道具 举报

发表于 2006-1-31 19:09:42 | 显示全部楼层 来自 中国–云南–昆明–官渡区

回复: PS排行榜stateme问题

Post by bogey
请问为什么motd.txt文件改好后进入游戏却看到的是乱码页面啊!!


请问为什么motd.txt文件改好后进入游戏却看到的是乱码页面啊!!




图片都可以正常访问,就是文字全成乱码了。郁闷啊!!!


1.6有中文的话保存方式为UTF-8
1.5是勿法显示中文的 :brick:
回复

使用道具 举报

发表于 2006-2-1 06:51:39 | 显示全部楼层 来自 中国–山西–运城

回复: PS排行榜stateme问题

回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表