Raised This Month: $ Target: $400
 0% 

Autobuy Fixed1.3 (Fix ServerShutdown Bugs)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 01-03-2012 , 03:53   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #1

Test Autobuy Fixed = server crash...
http://img841.**************/img841/2103/75605705.jpg


Autobuy FIX 100% segure
PHP Code:
#include <amxmodx> 

#define PLUGIN_NAME       "Fix AutoBuy Bug" 
#define PLUGIN_VERSION    "1.1" 
#define PLUGIN_AUTHOR     "PomanoB / UFPS.Team"

new g_logfile[64

public 
plugin_init( ) 

    
register_pluginPLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR 

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

    
get_time "autobuy_%Y%m.log"g_logfilecharsmax g_logfile ) ) 


public 
cmd_checkid 

    static 
arg[512], args
    args 
read_argc( ) 

    for( 
1args; ++
    { 
        
read_argviargcharsmaxarg ) ) 

        if( 
is_cmd_longargcharsmaxarg ) ) ) 
        { 
            
log_autobuyid 
            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 


stock log_autobuyid 

    static 
name[32], steamid[44], ip[16
    
get_user_ipidipcharsmaxip ), 
    
get_user_authididsteamidcharsmaxsteamid ) ) 
    
get_user_nameidnamecharsmaxname ) ) 

    
log_to_fileg_logfile"Autobuy bug use: %s [%s] <%s>"nameipsteamid 

__________________
kwpd is offline
201724
Member
Join Date: May 2011
Old 01-04-2012 , 09:51   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #2

Quote:
Originally Posted by kwpd View Post
Test Autobuy Fixed = server crash...
http://img841.**************/img841/2103/75605705.jpg


Autobuy FIX 100% segure
PHP Code:
#include <amxmodx> 
 
#define PLUGIN_NAME       "Fix AutoBuy Bug" 
#define PLUGIN_VERSION    "1.1" 
#define PLUGIN_AUTHOR     "PomanoB / UFPS.Team"
 
new g_logfile[64
 
public 
plugin_init( ) 

    
register_pluginPLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR 
 
    
register_clcmd"cl_setautobuy""cmd_check" 
    
register_clcmd"cl_setrebuy""cmd_check" 
 
    
get_time "autobuy_%Y%m.log"g_logfilecharsmax g_logfile ) ) 

 
public 
cmd_checkid 

    static 
arg[512], args
    args 
read_argc( ) 
 
    for( 
1args; ++
    { 
        
read_argviargcharsmaxarg ) ) 
 
        if( 
is_cmd_longargcharsmaxarg ) ) ) 
        { 
            
log_autobuyid 
            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 

 
stock log_autobuyid 

    static 
name[32], steamid[44], ip[16
    
get_user_ipidipcharsmaxip ), 
    
get_user_authididsteamidcharsmaxsteamid ) ) 
    
get_user_nameidnamecharsmaxname ) ) 
 
    
log_to_fileg_logfile"Autobuy bug use: %s [%s] <%s>"nameipsteamid 

thanks
201724 is offline
Send a message via MSN to 201724
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-22-2012 , 13:58   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #3

Quote:
Originally Posted by kwpd View Post
Test Autobuy Fixed = server crash...
http://img841.**************/img841/2103/75605705.jpg
Unapproved.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 20:11.


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