Raised This Month: $32 Target: $400
 8% 

N1G-TF2-RANK - TF2 Ranking with optional Webinterface


Post New Thread Reply   
 
Thread Tools Display Modes
Author
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
Plugin ID:
214
Plugin Version:
5.0
Plugin Category:
Statistical
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    TF2 Stats (Easy installation, needs only mysql for multiple server stats or Webinterface)
    Unapprover:
    Reason for Unapproving:
    Various errors reported, plugin spams sm log without manual sp edit. Author hasn't posted in months.
    Old 11-10-2007 , 20:01   N1G-TF2-RANK - TF2 Ranking with optional Webinterface
    Reply With Quote #1

    Plugin Name: N1G-TF2-RANK

    This is a Stats Plugin for TF2 with optional MYSQL and optional webinterface

    Servers Using this Plugin: http://www.game-monitor.com/search.p..._stats_version or ingame with the sv_tag n1grank

    If Somebody want to Contact the Author of this Plugin directly or want to get Plugin Update News on Steam join this Group: http://steamcommunity.com/groups/TF2STATS






    how2install it:

    without mysql and webinterface:
    1. Copy the *.smx file into your plugin's folder.
    2. Play

    with mysql: (needed for the webinterface)

    1. Enter the Database you would use into the source mod db config file
    PHP Code:
    "tf2stats"
        
    {
            
    "driver"            "mysql"
            "host"                "127.0.0.1"
            "database"            "tf2_stats"
            "user"                "tf2st_usr"
            "pass"                "dbpassword"
            
    //"timeout"            "0"
            
    "port"            "3306"
        

    Note: sourcemod needs a restart to read the new dbconfig

    2. Copy the *.smx file into your plugin's folder.
    3. Play

    Cvars:
    PHP Code:
    ////////////////  Settings /////////////////////

    // enable disabling of the Ranking after roundwin
    rank_disableafterroundwin "1"

    // enable / disable the Extendedlogging
    rank_extendetlogging "0"

    // "Defines the time until a entry in the Kill log gets removed in hours 0 = disabled"
    rank_extlogcleanuptime "72" 


    // How many clients are needed to start ranking
    rank_neededplayers "0"

    // Enable Automatic Removing Maps who wasn't played a specific time on every Roundend
    rank_removeoldmaps "1"

    // The time in days after a map get removed, min 1 day
    rank_removeoldmapsdays "14"

    // Enable Automatic Removing Player who haven't conected a specific time on every Roundend
    rank_removeoldplayers "1"

    // The time in days after a player get removed if he havn't connected, min 1 day
    rank_removeoldplayersdays "14"

    // Show Rank on connect, 0=disabled, 1=clientchat, 2=allchat, 3=panel, 4=panel + all chat
    rank_show "4"

    // Show Top 10 on Roundend
    rank_showrankonroundend "1"

    // Enable/Disable Webrank
    rank_webrank "0"

    // Webrank url like http://compactaim.de/tf2stats/
    rank_webrankurl "http://compactaim.de/tf2stats/"

    // Display points add message 0 = disabled, 1 = all, 2 = only who earned
    rank_pointmsg "2"

    //Play a sound if a player connects? 1= Yes 0 = No
    rank_connectsound "1" 

    //Set the Soundfile who get played if someone connects
    rank_connectsoundfile "buttons/blip1.wav"

    //show the rankchatcommands to every one 1 = yes 2= no
    rank_showchatcommands "1"

    //show rank to all players if someone type rank
    rank_showranktoall "1"

     
    //Set the Chattag
    rank_chattag "RANK"
    //////////////// Event points /////////////////////

    // Set the points the blocker get
    rank_blockcapturepoints "4"

    // Set the points the capturing team get
    rank_capturepoints "4"

    // Set the points the capturing team get
    rank_filecapturepoints "4"

    // Set the points the medic get if he overcharge someone
    rank_overchargepoints "1"

    rank_stealsandvichpoints "1"

    //////////////// Building destroy points /////////////////////

    rank_killdisppoints "2"
    rank_killsapperpoints "1"
    rank_killsentrypoints "3"
    rank_killteleinpoints "1"
    rank_killteleoutpoints "1"

    //////////////// Kill points /////////////////////

    // Set the points a player lose on Death
    rank_Scoutdiepoints "2"
    rank_Soldierdiepoints "2"
    rank_Pyrodiepoints "2"
    rank_Medicdiepoints "2"
    rank_Sniperdiepoints "2"
    rank_Spydiepoints "2"
    rank_Demomandiepoints "2"
    rank_Heavydiepoints "2"
    rank_Engineerdiepoints "2"

    // Set the points the medic assister get on a kill
    rank_killasimedicpoints "2"

    // Set the points the assister get on a kill
    rank_killasipoints "2"

    // Set the points the extingushing get
    rank_extingushingpoints "1"

    //////////////// Weapon kill points /////////////////////

    // Set the points the attacker get

    rank_axtinguisherpoints "4"
    rank_backburnerpoints "2"
    rank_batpoints "4"
    rank_bat_woodpoints "4"
    rank_blutsaugerpoints "2"
    rank_bonesawpoints "4"
    rank_bottlepoints "4"
    rank_clubpoints "4"
    rank_deflect_promodepoints "2"
    rank_deflect_rocketpoints "2"
    rank_deflect_stickypoints "2"
    rank_fireaxepoints "4"
    rank_fistspoints "4"
    rank_flamethrowerpoints "2"
    rank_flaregunpoints "3"
    rank_killingglovespoints "4"
    rank_knifepoints "2"
    rank_minigunpoints "1"
    rank_nataschapoints "1"
    rank_obj_sentrygunpoints "3"
    rank_pistolpoints "3"
    rank_revolverpoints "3"
    rank_scattergunpoints "2"
    rank_shotgunpoints "2"
    rank_shovelpoints "4"
    rank_smgpoints "3"
    rank_sniperriflepoints "1"
    rank_syringegun_medicpoints "2"
    rank_taunt_heavypoints "6"
    rank_taunt_pyropoints "6"
    rank_tf_projectile_pipe_remotepoints "2"
    rank_tf_projectile_pipepoints "2"
    rank_tf_projectile_rocketpoints "2"
    rank_ubersawpoints "4"
    rank_worldpoints "4"
    rank_wrenchpoints "4"
    rank_tf_projectile_arrowpoints "1"
    rank_taunt_spypoints "6"
    rank_ambassadorpoints "2"
    rank_taunt_sniperpoints "6" 
    rank_force_a_naturepoints "2"
    rank_sandmanpoints "3"
    rank_compound_bowpoints "2"
    rank_taunt_scoutpoints "6"
    rank_deflect_arrowpoints "6" 
    IngameUsage:

    Type into Ingame chat:
    "rank" to get your rank
    "top10" to get the top 10
    "players" to get a list of ingame players
    "webrank" to get your webrank
    "webtop" to get the webtop
    "session" to get informations about your session
    "hidepoints" to hide the points you get
    "unhidepoints" to show the points you get

    Webinterface Demos:
    http://compactaim.de/tf2stats/ <--demo


    Webinterface: version 5.5.0

    Webinterface Changes:
    PHP Code:
    *moved into the Zip file


    Plugin: version 5.0


    Plugin Changes:
    PHP Code:
    *moved into the Zip file
    Planed Features:


    Post feature requests and maybe i will add it

    Plugin update is possible without restarting the gameserver in 2 simple steps:

    1. replace the smx plugin file
    2. rcon command: sm plugins reload n1g-tf2-stats

    or get the Pluginmanager: http://forums.alliedmods.net/showthread.php?p=719212

    Announcement:
    Development is now splitet

    I (R_Hehl aka R5053) Code the Plugin
    and : Smokestormx Code / Design the Webinterface (Thank You )
    Attached Files
    File Type: cfg example-databases.cfg (678 Bytes, 2446 views)
    File Type: zip TF2-Stats-V4.8.zip (55.0 KB, 894 views)
    File Type: zip TF2-Stats-V4.9.zip (55.8 KB, 922 views)
    File Type: zip TF2-Stats-WebInterface-5.5.zip (635.3 KB, 2264 views)
    File Type: zip TF2-Stats-V5.0.zip (59.4 KB, 3105 views)
    __________________
    Visit HLPortal.de (this is not my Page)



    Last edited by r5053; 06-28-2009 at 08:03.
    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 11-11-2007 , 07:24   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #2

    hmmm.. so interesting...
    will look to this plugin closely.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-13-2007 , 14:32   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #3

    hm any idea what to implement into next version ?
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 11-14-2007 , 01:12   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #4

    can u show a working stats page?
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-14-2007 , 02:22   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #5

    you mean a script like hlstats for a website ?
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 11-14-2007 , 04:07   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #6

    yes =)
    u right...

    because now HLStatsX's webface haven't support of TF2.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-14-2007 , 07:26   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #7

    this evening i will look @ this and create a litle webinteface
    edit: I will do it tomorow evening
    __________________
    Visit HLPortal.de (this is not my Page)



    Last edited by r5053; 11-14-2007 at 16:10.
    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 11-15-2007 , 01:07   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #8

    Quote:
    Originally Posted by r5053 View Post
    this evening i will look @ this and create a litle webinteface
    edit: I will do it tomorow evening
    thanks! =)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-15-2007 , 16:26   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #9

    i'm sorry this evening 2 no time
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-18-2007 , 10:28   Re: Simple TF2 Stats on MYSQL
    Reply With Quote #10

    I woking on a complete redesign of the plugin supported with ideas and help on Testing by a Member of Krawall Gamin Network
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:29.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode