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

Anti-Crash (autobuy) & fullupdate blocker with logging


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-05-2011 , 15:00   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #21

CS only i think.

Quote:
Counter-Strike 1.6 Update Released
Product Update - Valve 19 May 2009
Updates to Counter-Strike 1.6 have been released. The updates will be applied automatically when your Steam client is restarted. The specific changes include:

Counter-Strike 1.6
Rolled back recent silent walking exploit fixes as we investigate less impactful ways of preventing the bug
Adjusted bomb bounding box to prevent silent plant exploit
Fix to eliminate or significantly reduce "flashbugs"
Fixed status icons (buy zone, bomb zone, etc) disappearing when starting a recording, or issuing a fullupdate
Prevent creating aliases using the same name as existing cvars
Rate limit fullupdate and some other commands to prevent spamming
Fixed an issue with grenades where they could go into an area and bounce infinitely, causing the server to choke and or crash
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-05-2011 at 15:03.
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-05-2011 , 15:31   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #22

Oh ok, so it was in a client-side fix. I didn't find anything for DOD.
__________________
fysiks is offline
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 08-06-2011 , 06:34   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #23

PHP Code:
claudiuhksgime me a code
if i must edit my plugin
__________________
sorry my bad english...
alonelive is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-07-2011 , 15:56   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #24

PHP Code:
#include <amxmodx> 

public plugin_init( ) 

    
register_plugin"Anti AutoBuy"AMXX_VERSION_STR"SmileY" 

    
register_clcmd"cl_setautobuy""cmd_check" 
    
register_clcmd"cl_setrebuy""cmd_check" 


public 
cmd_checkid 

    static 
arg[512], args
    args 
read_argc( ) 

    for( 
1args; ++
    { 
        
read_argviargcharsmaxarg ) ) 

        if( 
is_cmd_longargcharsmaxarg ) ) ) 
        {
            new 
SteamID[32]
            
get_user_authid(id,SteamID,31)
            
server_cmd("kick #%d ^"Banido permanentemente^"",get_user_userid(id))
            
server_cmd("amx_addban ^"%s^" 0 ^"Tentativa de derrubar o servidor.^"",SteamID)
            return 
PLUGIN_HANDLED 
        

    } 

    return 
PLUGIN_CONTINUE 


stock bool:is_cmd_longstring[], const len 

    static 
cmd[512

    while( 
strlen( string ) ) 
    { 
        
strtokstringcmdcharsmaxcmd ), stringlen ' '

        if( 
strlencmd ) > 31 ) return true 
    


    return 
false 


This is launched before your post in submissions.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
mohsen9010
Senior Member
Join Date: Jun 2011
Location: Iran
Old 08-30-2011 , 15:25   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #25

change [ru] to [en] & [en] to [ru] in your text
Code:
 
[ru]
FUWARN = [Anti-Crash] %s! A 'fullupdate' command is NOT ALLOWED on this server! (WARN: %i/%i)
FUBAN = [Anti-Crash] %s got a permanent ban. Reason: Attempted server crash.
ABNA = [Anti-Crash] Autobuy in not allowed!
ABNA2 = [Anti-Crash] Check your CONFIG (cstrike/config.cfg)!
[en]
FUWARN = [Anti-Crash] %s! Вы будуте забанены за команду fullupdate! (пред.: %i из %i)
FUBAN = [Anti-Crash] %s забанен навечно за попытки вывести сервер из строя.
ABNA = [Anti-Crash] Автозакупка оружия на сервере запрещена!  
ABNA2 = [Anti-Crash] Проверьте Ваш КОНФИГ (cstrike/config.cfg)!
__________________
Iman in Allah

Last edited by mohsen9010; 08-30-2011 at 16:53.
mohsen9010 is offline
Send a message via Yahoo to mohsen9010 Send a message via Skype™ to mohsen9010
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2011 , 15:38   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #26

Quote:
Originally Posted by ^SmileY View Post
PHP Code:
#include <amxmodx> 

public plugin_init( ) 

    
register_plugin"Anti AutoBuy"AMXX_VERSION_STR"SmileY" 

    
register_clcmd"cl_setautobuy""cmd_check" 
    
register_clcmd"cl_setrebuy""cmd_check" 


public 
cmd_checkid 

    static 
arg[512], args
    args 
read_argc( ) 

    for( 
1args; ++
    { 
        
read_argviargcharsmaxarg ) ) 

        if( 
is_cmd_longargcharsmaxarg ) ) ) 
        {
            new 
SteamID[32]
            
get_user_authid(id,SteamID,31)
            
server_cmd("kick #%d ^"Banido permanentemente^"",get_user_userid(id))
            
server_cmd("amx_addban ^"%s^" 0 ^"Tentativa de derrubar o servidor.^"",SteamID)
            return 
PLUGIN_HANDLED 
        

    } 

    return 
PLUGIN_CONTINUE 


stock bool:is_cmd_longstring[], const len 

    static 
cmd[512

    while( 
strlen( string ) ) 
    { 
        
strtokstringcmdcharsmaxcmd ), stringlen ' '

        if( 
strlencmd ) > 31 ) return true 
    


    return 
false 


This is launched before your post in submissions.
You are not author of this plugin, you just put your nickname in there.
__________________
xPaw is offline
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 08-31-2011 , 11:12   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #27

Quote:
You are not author of this plugin, you just put your nickname in there.
What are you talking about?
__________________
sorry my bad english...
alonelive is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-31-2011 , 13:26   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #28

Quote:
Originally Posted by alonelive View Post
What are you talking about?
You don't see the post i quoted?
__________________
xPaw is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 08-31-2011 , 14:37   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #29

i think this one is better
http://www.datenkrieger.eu/AutoBuyFix_v14.sma
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-31-2011 , 14:56   Re: Anti-Crash (autobuy) & fullupdate blocker with logging
Reply With Quote #30

Quote:
Originally Posted by OvidiuS View Post
Actually, it's not, because the motd_* commands don't work in Steam CS anymore.
Also, it doesn't fix the fullupdate crash for games other than CS.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
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 07:56.


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