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

[ANY] survival_equip crash fix (V1.0, 2019-09-01)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kidfearless
Junior Member
Join Date: Jun 2017
Plugin ID:
6701
Plugin Version:
v1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Blocks usage of survival_equip.
    Old 09-01-2019 , 18:27   [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #1

    Came back from a game of danger zone and found that my survival_equip bind crashes the server. I don't know if anyone else has this issue, but if you do here's a small plugin to block the command.
    Attached Files
    File Type: sp Get Plugin or Get Source (dz_fix.sp - 3094 views - 472 Bytes)
    kidfearless is offline
    N1ckles
    New Member
    Join Date: Apr 2015
    Location: Denmark
    Old 09-01-2019 , 19:37   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #2

    Great find and awesome plugin!

    I'm not sure it is a good idea to have the exploit so easily available as it is in this post. Would it be worthwhile to remove the explanation and replace with something more vague? Valve Time™ might leave us with this issue for a while, so it might be in everyone's best interest to try not to spread how to crash a majority of servers. Although I'm not personally sure I'd install an unexplained fix, haha.
    N1ckles is offline
    Effeff
    AlliedModders Donor
    Join Date: Jan 2019
    Location: discord: ff#0533
    Old 09-01-2019 , 23:49   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #3

    Thanks for this, saved me a headache after someone joined my server and said they're crashing it.
    Effeff is offline
    PorcusorulMagic
    Member
    Join Date: Dec 2018
    Location: Romania
    Old 09-02-2019 , 09:36   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #4

    It works , thank you! But can you do if someone try to use the command in server to kick him?
    __________________
    Steam - https://steamcommunity.com/id/porcusorulmagic
    Discord - PorcusorulMagic#4908
    PorcusorulMagic is offline
    Mathiaas
    Senior Member
    Join Date: Aug 2014
    Location: Sweden ♥
    Old 09-02-2019 , 10:21   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #5

    Quote:
    Originally Posted by PorcusorulMagic View Post
    It works , thank you! But can you do if someone try to use the command in server to kick him?
    Attached Files
    File Type: sp Get Plugin or Get Source (dz_fix.sp - 817 views - 514 Bytes)
    Mathiaas is offline
    UntitledMcC
    Member
    Join Date: Sep 2016
    Old 09-02-2019 , 10:41   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #6

    Does it log who does the command?

    I'd prefer to ban the people doing it!
    UntitledMcC is offline
    iskenderkebab33
    Senior Member
    Join Date: Jun 2018
    Old 09-02-2019 , 11:22   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #7

    Quote:
    Originally Posted by UntitledMcC View Post
    Does it log who does the command?

    I'd prefer to ban the people doing it!
    PHP Code:
    #include <sourcemod>

    public Plugin myinfo =
    {
        
    name "Survival Equip Fix",
        
    author "KiD Fearless",
        
    description "blocks the survival_equip command to prevent server crashes",
        
    version "1.0",
        
    url "https://steamcommunity.com/id/kidfearless/"
    }

    public 
    void OnPluginStart()
    {
        
    AddCommandListener(Command_SurvivalEquip"survival_equip");
    }

    public 
    Action Command_SurvivalEquip(int client, const char[] commandint argc)
    {
        
    char name[32];
        
    GetClientName(clientnamesizeof(name));
        
    PrintToServer("%s tried to crash the server."name);
        return 
    Plugin_Stop;

    iskenderkebab33 is offline
    Mathiaas
    Senior Member
    Join Date: Aug 2014
    Location: Sweden ♥
    Old 09-02-2019 , 21:06   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #8

    Quote:
    Originally Posted by UntitledMcC View Post
    Does it log who does the command?

    I'd prefer to ban the people doing it!
    Could always ban them directly by the plugin. Either by the normal ban command or include Sourcebans and ban them using the natives that it provides.
    Mathiaas is offline
    AntraX1992
    BANNED
    Join Date: Oct 2016
    Location: https://t.me/pump_upp
    Old 09-05-2019 , 08:37   Re: [ANY] survival_equip crash fix (V1.0, 2019-09-01)
    Reply With Quote #9

    thanks you so much ! you save my server <3. I was worry about peoples wont come back
    AntraX1992 is offline
    Send a message via ICQ to AntraX1992 Send a message via AIM to AntraX1992 Send a message via Yahoo to AntraX1992
    Reply



    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 18:18.


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