搜索
查看: 9642|回复: 19

[AMXX 带源码] 【汉化】ZP webstats 排名系统(有源码的)

[复制链接]
发表于 2010-9-5 15:16:55 | 显示全部楼层 |阅读模式 来自 江苏苏州
本帖最后由 lovewap 于 2010-9-5 16:00 编辑

英文原版
  1. https://forums.alliedmods.net/showthread.php?t=109286
复制代码
这个插件支持自动保存弹药到数据库,管理员可以发弹药之类的, php+mysql, 汉化By 秋风

  1. 下载完,然后下载语言包
  2. zp_web_stats.txt 你们懂的
  3. Chinese.xml      修改web目录下的inc中config.php里面的语言设置的.xml
  4. ,
  5. web安装修改php.ini中的extension=php_xsl.dll,也就是去掉前面的 ;
复制代码
汉化不带任何广告,放心下载.
图片.....









一下是官方的介绍稍微翻译了下

  1. 1.Statistic Plugin for Zombie Plague 4.3
  2. Includes Ammo Bank //自带弹药银行
  3. Players Stats //玩家排名统计
  4. Weapon Stats  //武器统计
  5. Zombie Classes Stats //僵尸种类统计
  6. Maps Stats //地图统计
  7. Other //其他

  8. 2.Modules //需要开启的模组
  9. sqlx
  10. fakemeta
  11. hamasndwitch

  12. 3.Admin Commands //管理员命令
  13. zp_ammo <name|#userid|@Z|@H|@A> <count>  //zp_ammo [名字|@Z|@H@A]
  14. Give ammo to //发送到
  15. @Z - All zombie //所有僵尸
  16. @H - All human  //所有人类
  17. @A - All players //所有玩家

  18. 4.Client commands //客户端命令(玩家)
  19. say /hp
  20. Display information about you killer //显示杀你人的信息
  21. say /me
  22. Display you information (kills ,infect, damage, last hit) //显示你的统计 (击杀,感染数,伤害,最后击杀)
  23. say /rank [name|ip|steam_id]
  24. Display you/player rank //显示 你/玩家 的排名
  25. say /stats [name|ip|steam_id]
  26. say /rankstats [name|ip|steam_id]
  27. Display you/player detail stats //显示 你/玩家 的 排名细节
  28. say /top[number]
  29. Display 15 top players, ending with the specified value [number] //显示 top 15 玩家统计
  30. say /donate <target> <count>
  31. Present <count> ammo to <target> //发送弹药给其他玩家

  32. CVAR's 控制台参数

  33. zp_stats_host - Database host //数据库地址
  34. zp_stats_db - database //数据库名
  35. zp_stats_user - MySQL user //数据库用户名
  36. zp_stats_password - MySQL password //数据库密码

  37. zp_stats_allow_hp - Allow client command say /hp //是否允许客户端输入 /hp 命令
  38. zp_stats_allow_me - Allow client command say /me //是否允许客户端输入 /me 命令
  39. zp_stats_show_hit - If 1, display zombie hp when player hit //如果是1,那么玩家攻击僵尸时候会显示僵尸的剩余血量
  40. zp_stats_allow_donate - Allow client command say /donate //是否允许客户端 输入 /donate 发送弹药的命令

  41. zp_stats_max_inactive_day - Max inactive day to players in top //玩家是否进TOP的最大不活跃天数
  42. zp_stats_min_ammo - Min ammo to players in top //玩家进TOP的最小弹药袋
  43. zp_stats_min_online - Min online to players in top //玩家进TOP的最小在线时间       

  44. zp_stats_store_class - If 1, players zombie class save in database //如果1,玩家选择的僵尸种类将会保持到数据库
  45. zp_stats_store_ammo - If 1, players ammo save in database //如果1,那么玩家的弹药袋将会保存到数据库

  46. zp_stats_limit_ammo - Limits for maximum ammo, 0 - disable //限制最大弹药总数, 0 - 关闭

  47. zp_stats_show_adv - If 1, show info about client command's //如果1,那么显示玩家命令的信息
  48. zp_stats_adv_time - Time to show adv. //显示上面个的间隔时间(就是zp_stats_show_adv)

  49. zp_stats_show_best_players - Show the best players in round (default 1) //显示每局最佳玩家
  50. zp_stats_show_rank_on_round_start - Show rank(rank change) on round start (default 1) //每局开始时显示排名(排名变化)

  51. zp_stats_auth_type //按什么统计玩家(一般选3 都是no steam的=..=)
  52. 1 - Steam ID
  53. 2 - IP Address
  54. 3 - Nickname
  55. above - Steam ID/IP Adress
  56. default - 4

  57. zp_stats_ignore_nick - Tag, which does not take calculate statistics (default "[unreg]")  //标签,含有的不统计(默认 [unreg])

  58. Defines //定义
  59. Uncomment "//#define ZP_STATS_DEBUG" to detail log  //取消注释来debug调试

  60. Installation //安装
  61. Copy the 'web/zp_stats' directory to your website //复制 web/zp_stats 到你的网站目录
  62. Edit 'web/zp_stats/inc/config.php' //修改congif.php
  63. Use the file 'web/zp_stats.sql' to initialize the database //导入数据库

  64. Copy the 'addons' directory to your 'cstrike' folder //复制addons 到你的cstrike目录
  65. Add the plugin name to addons/amxmodx/configs/plugins-zplague.ini //添加插件到plugins-zplague.ini 务必在zombie_plague40.amxx的下面..
  66. Edit 'configs/zp_web_stats.cfg'

  67. You must install extension 'php5-xsl' //你必须安装php5的 xsl

  68. Debian:
  69. Code:
  70. aptitude install php5-xsl
  71. Version History
  72. 0.1.0 - First public release
  73. 0.2.0 - Global update, change plugin name
  74. 0.2.1 - Optimization
  75. 0.2.2 - Fixed small bag
  76. 0.2.3 - Fixed charset problem
  77. 0.2.4 - Added cvar "zp_stats_allow_donate"
  78. 0.2.5 - Fixed zp_class_store_ammo bug (thx MmikiM)

  79. Credits
  80. maslyak
  81. CHyCMyMpNk
  82. a.aqua
  83. crazyeffect - translate
  84. ramiax - Lithuanian language translation
  85. MmikiM - Polish translate

  86. Demonstration - http://www.klan-hub.ru/zp_stats/   //demo...
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
发表于 2010-9-5 15:20:57 | 显示全部楼层 来自 山西晋城
无图无真相.围观
回复

使用道具 举报

发表于 2010-9-5 15:22:45 | 显示全部楼层 来自 浙江杭州
:lol强势插入前3
回复

使用道具 举报

 楼主| 发表于 2010-9-5 15:28:20 | 显示全部楼层 来自 江苏苏州
加图了 =..= 你们太猥琐了
回复

使用道具 举报

发表于 2010-9-5 15:28:59 | 显示全部楼层 来自 吉林长春
请问你用什么保存数据的
回复

使用道具 举报

 楼主| 发表于 2010-9-5 15:35:16 | 显示全部楼层 来自 江苏苏州
5# landyhmm
mysql
回复

使用道具 举报

发表于 2010-9-5 16:03:44 | 显示全部楼层 来自 浙江杭州
再次插入  果然很:lol
回复

使用道具 举报

发表于 2010-9-5 17:15:25 | 显示全部楼层 来自 香港
无图无真相.围观
回复

使用道具 举报

发表于 2010-9-5 18:19:19 | 显示全部楼层 来自 山西晋城
个人认为 保存弹药包 ...僵尸会死的很惨
回复

使用道具 举报

发表于 2010-9-8 17:35:50 | 显示全部楼层 来自 江西萍乡
以前我也汉化了这个插件,不过我用着有问题,个人成绩数据不能更新,读取地图数据还是能更新
回复

使用道具 举报

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

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