Raised This Month: $12 Target: $400
 3% 

[CS:S/CS:GO] Deathrun Manager (CS 1.6 port)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Plugin ID:
1744
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Manages teams and players in deathrun servers
    Old 06-18-2010 , 07:29   [CS:S/CS:GO] Deathrun Manager (CS 1.6 port)
    Reply With Quote #1

    SUMMARY

    I saw the Deathrun Manager plugin made by xPaw for CS 1.6/CZ servers, but thought it would be a cool idea if the same plugin could be done for CS:S/CS:GO.

    I know there is another plugin named "Deathrun Manager" for CS:S, but it does something completely different to what this one does.

    This plugin will:
    - Swap a dead terrorist to CT at the end of the round
    - Swap a random CT to T
    - Block all radio commands to stop spam, since they aren't really needed on DR maps
    - Block the "kill" command so players can't suicide to avoid death
    - Block fall damage for terrorists (as long as the fall damage is not over 99 HP)
    - Block sprays to stop cheating

    Credits:
    - Everyone who tried to/did help me out of this thread.
    - xPaw for the original idea of Deathrun Manager
    - People who helped with translations:- FrozenHaxor (Polish), Chanz (German), SparkyCode (Spanish), Prechan (French)

    Requirements:
    SourceMod v1.2.X or greater with sdktools.ext + cstrike.ext (eg: this will only work on CS:S/CS:GO)

    Cvars:
    - deathrun_manager_version = 1.1 (can not be changed)

    - deathrun_enabled - Enables/disables the entire plugin (default 1)

    - deathrun_swapteam - This controls the swapping players feature of the plugin. It will swap one dead T to CT and one CT to T at the end of the round (randomly picked). (default 1)

    - deathrun_block_radio - This enables/disables the use of radio commands can be disabled to stop radio spam (default 1)

    - deathrun_block_suicide - Prevents players being able to use the kill command. A lot of players type kill in console to avoid being killed by an enemy at the end of a map. (default 1)

    - deathrun_fall_damage - Blocks fall damage FOR TERRORISTS ONLY. As long as the fall damage will not kill them, they will be set to 100 HP.

    - deathrun_limit_terror - Any value greater than 0 will limit the amount of players on the terrorist team... eg: "deathrun_limit_terror 1" will limit the terrorist team to one terrorist.

    - deathrun_block_sprays - Blocks the use of sprays on the server to prevent cheating. eg: telling where traps have been placed, spraying the windows so Ts can not tell when to activate traps

    Check deathrun_manager.cfg under /cfg/sourcemod to configure these cvars! The file will appear after the plugin has first run.

    Installation:
    - Place deathrun_manager.smx in /addons/sourcemod/plugins
    - Place deathrun.phrases.txt in /addons/sourcemod/translations

    To Do:
    - Life/Point System

    Changelog:
    v0.1:
    - Initial release
    v0.2:
    - Added an option to limit terrorists
    - Added checking if map is a deathrun map (map prefix dr_ or deathrun_)
    v0.3:
    - Fixed checking if map is a deathrun map
    v0.4:
    - Fixed fall damage for Ts always being active if deathrun_fall_damage was set to 1 and the map was a non-deathrun map
    - Added support for maps with dtka_ prefix
    - Added the option to block sprays (deathrun_block_sprays)
    v1.0:
    - Changed RegConsoleCmd to AddCommandListener for radio commands
    - Made the version cvar not appear in the automatically generated .cfg file.
    v1.1:
    - Fixed terrorists not being moved to CT on round end.

    Please report any bugs you encounter here and I will fix them up. Please also post any suggestions you may have!

    If you have time please add translations!
    Attached Files
    File Type: sp Get Plugin or Get Source (deathrun_manager.sp - 7853 views - 7.6 KB)
    File Type: txt deathrun.phrases.txt (3.0 KB, 2464 views)
    __________________

    Last edited by bobbobagan; 01-18-2015 at 23:06. Reason: Added new translations
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 06-18-2010 , 15:45   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #2

    Feature request: Check if map prefix is dr_ or deathrun_. Otherwise unload plugin



    ---
    In the meantime, I created Polish translations for you ;)


    UTF-8
    Attached Files
    File Type: txt deathrun.phrases.txt (802 Bytes, 1136 views)
    __________________

    Last edited by FrozenHaxor; 06-19-2010 at 13:22. Reason: Added translations.
    FrozenHaxor is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 06-21-2010 , 11:38   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #3

    Excellent, thanks. I will add your request to the next version
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 06-22-2010 , 09:19   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #4

    If anyone wants the map prefix check for dr_ or deathrun_ map names, here it is.

    Code I added:
    Code:
    public OnMapStart(){
        
        new String:currentMap[64];
        GetCurrentMap(currentMap,sizeof(currentMap));
        
        if((StrContains(currentMap,"deathrun_",false) != 0) && (StrContains(currentMap,"dr_",false) != 0)){
            
            SetConVarInt(deathrun_enabled,0);
        }
        else {
            
            SetConVarInt(deathrun_enabled,1);
        }
    }
    Download:
    Attached Files
    File Type: sp Get Plugin or Get Source (deathrun_manager.sp - 2013 views - 5.5 KB)
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz is offline
    selax
    AlliedModders Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 06-22-2010 , 12:18   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #5

    xPaw is not first create deathrun manager.
    I played on deathrun server in 2006-2007 years.

    +You realy think this?
    Quote:
    I know there is another plugin named "Deathrun Manager" for CS:S, but it does something completely different to what this one does.

    Last edited by selax; 06-22-2010 at 12:24.
    selax is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 06-22-2010 , 12:53   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #6

    I don't think he was claiming that xPaw was the first, he merely stated that he ported his original (released) script to CS:S. And after reviewing both of your code, the plug-ins are quite different so his statement is justified. Troll attempt failed.
    __________________

    Last edited by thetwistedpanda; 06-22-2010 at 12:55.
    thetwistedpanda is offline
    selax
    AlliedModders Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 06-22-2010 , 13:38   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #7

    This is no troll. I know that plugins different. In this post i posted other idea, but i bad know english and can't fully post a post.
    selax is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 06-22-2010 , 14:02   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #8

    SelaX I know you have a DR manager as well, and I am not trying to put up some kind of "competition" by posting this plugin... You may have posted these ideas in another post, but TBH I haven't even read your posts (apart from the first post to make sure I wasn't posting a similar version of your plugin). You have posted mostly in russian anyway, which I can not read

    Anyway, I feel my plugin does something different to what yours does, I may be wrong (I have never used your plugin)... but looking at the code and the cvars/cmds available to it, it looks very different to mine.

    Hopefully you can understand my ramblings
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    selax
    AlliedModders Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 06-22-2010 , 14:49   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #9

    i post ramblings too
    selax is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 06-22-2010 , 15:12   Re: [CS:S] Deathrun Manager (CS 1.6 port)
    Reply With Quote #10

    Updated to v0.2, see the changelog for more info ;)
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    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 03:53.


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