Raised This Month: $ Target: $400
 0% 

Autobuy exploit fixer


Post New Thread Reply   
 
Thread Tools Display Modes
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 09-05-2012 , 14:30   Re: Autobuy exploit fixer
Reply With Quote #11

This works fine https://forums.alliedmods.net/showpo...84&postcount=5
guipatinador is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-05-2012 , 15:47   Re: Autobuy exploit fixer
Reply With Quote #12

I was talking about the exploit. Haven't even looked at your code.
But there are plugins that already to this.
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-05-2012 , 16:15   Re: Autobuy exploit fixer
Reply With Quote #13

Quote:
Originally Posted by Owyn View Post
here we go again, Aug 28 2012 ( 5758 ) is the latest one available even with beta key and it still fixes nothing
There is a beta, on Linux at least.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-05-2012 , 16:35   Re: Autobuy exploit fixer
Reply With Quote #14

Linux isn't everything ;-) And even if there is, does it really fix it? Arkshine was talking about it being fixed in clients only in some time in future, nothing was said about servers no matter win or nix. If it is so I can make an edit to the first post that on Linux it is not needed if you insist.
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.

Last edited by Owyn; 09-05-2012 at 16:44.
Owyn is offline
Send a message via ICQ to Owyn
SPT1
Senior Member
Join Date: Aug 2012
Old 09-06-2012 , 06:09   Re: Autobuy exploit fixer
Reply With Quote #15

this works...i use this
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 

__________________
AMXMODX

Last edited by SPT1; 09-06-2012 at 06:10.
SPT1 is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-06-2012 , 09:53   Re: Autobuy exploit fixer
Reply With Quote #16

Quote:
Originally Posted by SPT1 View Post
this works...i use this
Spoiler
That's way too simple....often times you can buy a full buy package and it'll be longer than 32 chars. You need to mitigate specifically for the exploit.
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
SPT1
Senior Member
Join Date: Aug 2012
Old 09-06-2012 , 13:06   Re: Autobuy exploit fixer
Reply With Quote #17

so which one i will use?
__________________
AMXMODX
SPT1 is offline
mabaclu
Senior Member
Join Date: Jun 2010
Location: Portugal
Old 09-06-2012 , 20:39   Re: Autobuy exploit fixer
Reply With Quote #18

Beta works for me, it updates cs dedicated servers and fixes that exploit. Dont know why it doesnt work with you.
__________________
mabaclu is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-07-2012 , 02:37   Re: Autobuy exploit fixer
Reply With Quote #19

Quote:
Originally Posted by mabaclu View Post
Beta works for me, it updates cs dedicated servers and fixes that exploit. Dont know why it doesnt work with you.
Windows? Linux? Type "version" into server console and write here your output
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
mabaclu
Senior Member
Join Date: Jun 2010
Location: Portugal
Old 09-07-2012 , 08:09   Re: Autobuy exploit fixer
Reply With Quote #20

Linux 5787.
The version doesn't matter as long as you have "-beta hlbeta" in your update command.
__________________

Last edited by mabaclu; 09-07-2012 at 08:09.
mabaclu is offline
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 20:11.


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