mykata 发表于 2009-4-29 01:06:21

关于 psrank 哪位兄弟能提供下

PsychoStats就是和 tiop15 结合的一个插件

现在最新版是多少了 哪位老鸟提供下

我下的这个太老了

colaawp 发表于 2009-6-26 05:40:17

貌似我有这个。。。。

LittleKu 发表于 2009-6-26 23:10:10

老东西还拿出来,还要钱!!我晕!!!!!

Desmond 发表于 2009-6-27 14:19:45

現在已經到了3.1

homework 发表于 2012-10-24 22:16:52

你输入的汉字少于5个,可能被视为灌水行为
PS Rank PsychoStats v3.0.4b (In-Game Stats)
(Old Version(2.0.1+): http://forums.alliedmods.net/showthread.php?p=4100)

/*
* PSRank for http://www.psychostats.com/ - By: DynAstY
* (currently for Counter-Strike and Day of Defeat)
*
* SAY COMMANDS:
*
* - /ranks // shows all stats
*
* - /top10 // shows all stats
*
* - /topclan // shows clan page
*
* - /mystats // shows your player's stats (name must match in game)
*
* - /search // does a search with string entered as player name
*
*
* Set amx_psrank_url in amxx.cfg to PsychoStats base web URL (trailing forward slash (/) needed)
* Example: amx_psrank_url "http://www.myclanweb.com/stats/"
*
*
*/

If you don't have at least PsychoStats 3.0.4b update now! http://www.psychostats.com/

1. Add AMXX file to AMXX plugins folder and add line in plugins.ini.
2. Set amx_psrank_url in AMXX.CFG.
3. Reload map and enjoy the new commands.



********************************************* *
Plugins Envoled (must be running csstats module also):

stats.amx
stats_logging.amx
miscstats.amx
psrank.amx

In game you need to type in console amx_statscfgmenu and turn off a few settings:

Stats at end of map OFF
Top15 at end of map OFF
Say /stats OFF
Say /top15 OFF
Say /rank OFF
Spec rank info OFF

I have found that Say /statsme ON is still pretty cool for your personal round stats.
********************************************* *
New Features!!
amx_psrank_steamid 0 (default, use Name)
amx_psrank_steamid 1 (use STEAMID)

I have edited some things. Now it works with Psychostats3.0.4b!/*
*PSRank for http://www.psychostats.com/ - By: DynAstY
*         (currently for Counter-Strike and Day of Defeat)
*
* SAY COMMANDS:
*
* - /ranks // shows all stats
*
* - /top10 // shows all stats
*
* - /topclan // shows clan page
*
* - /mystats // shows your player's stats (name must match in game)
*
* - /search // does a search with string entered as player name
*
*
* Set amx_psrank_url in amx.cfg to PsychoStats base web URL (trailing forward slash (/) needed)
* Example: amx_psrank_url "http://www.myclanweb.com/stats/"
*
*
*/


#include <amxmodx>

public plugin_init() {
        register_plugin("PSRank", "3.x", "From DynAstY - Edited by Kill4Free")
        register_clcmd("say", "HandleSay", 0, "N/A")
        register_cvar("amx_psrank_url", "http://www.google.com")
        register_cvar("amx_psrank_steamid", "0")
}

public client_putinserver(id) {
        if (!is_user_bot(id)) {
                new param
                param = id
                set_task(120.0, "showinfo", id, param, 1)
        }
        return PLUGIN_CONTINUE
}

public showinfo(param[]) {
        client_print(param, print_chat, " Say Commands: /mystats, /ranks, /topclan and /search ")
        return PLUGIN_CONTINUE
}

public HandleSay(id) {
        new sBaseURL
        get_cvar_string("amx_psrank_url",sBaseURL,255)
        new args
        read_argv(1, args, 256)
       
        // SAY /ranks or /top10
        if(containi(args, "/ranks")!=-1 || containi(args, "/top10")!=-1) {
                show_motd(id, sBaseURL, "")
                return PLUGIN_HANDLED
        }
       
        // SAY /mystats
        if(containi(args, "/mystats")!=-1) {        
                new gRankURL
                new search
                if (get_cvar_num("amx_psrank_steamid") == 0) {
               get_user_name(id, search, 32)
                } else {
               get_user_authid(id, search, 32)
                }
                format(gRankURL, 255,"%sindex.php?submit=1&sort=skill&order=desc&search=%s", sBaseURL, search)
                show_motd(id, gRankURL, "")
                return PLUGIN_HANDLED
        }
       
//        if(containi(args, "/skill")!=-1) {
               
               
//                return PLUGIN_HANDLED
//        }
        // SAY /search processing trailing argument
        if(containi(args, "/search")!=-1) {        
                new t1
                new t2
                parse(args,t1,32,t2,32)
                new gRankURL
                format(gRankURL, 255,"%sindex.php?submit=1&sort=skill&order=desc&search=%s", sBaseURL, t2)
                show_motd(id, gRankURL, "")
                return PLUGIN_HANDLED
        }
       
        //SAY /topclan
        if (containi(args, "/topclan")!=-1) {
                new gRankURL
                format(gRankURL, 255,"%sclans.php", sBaseURL)
                show_motd(id, gRankURL, "")
                return PLUGIN_HANDLED
            }
       
        return PLUGIN_CONTINUE
}

zzx767545521 发表于 2015-4-12 21:23:36

什么东西啊
页: [1]
查看完整版本: 关于 psrank 哪位兄弟能提供下