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

Autobuy Fixed1.3 (Fix ServerShutdown Bugs)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
201724
Member
Join Date: May 2011
Old 12-31-2011 , 14:16   Autobuy Fixed1.3 (Fix ServerShutdown Bugs)
Reply With Quote #1

fixed one engine overflow bugs use autobuy hlds shutdown!!
fix the bug is very easy...
We do not respond only to download ah = =
Demo Script:
Copy to your autobuy.txt
Code:
// This list of "buy aliases" is used by the AutoBuy system.
// The system begins with the first alias in the list, and attempts to purchase it.
// If a primary weapon is successfully purchased, all later primary weapon aliases are skipped.
// Similarly, secondary weapon buy alias are skipped once a seconary weapon has been purchased.
// You can customize this file to reflect your weapon and equipment preferences and priorities.
//
// The console command for autobuy is "autobuy"
//
// The available buy aliases and their names as shown on the buy menu are:
// (Many weapons have more than one buy alias)
//
// galil - IDF Defender
// defender - IDF Defender
// ak47  - CV-47
// cv47  - CV-47
// scout - Schmidt Scout
// sg552 - Krieg 552
// krieg552 - Krieg 552
// awp  - Magnum Sniper Rifle
// magnum - Magnum Sniper Rifle
// g3sg1 - D3/AU1
// d3au1 - D3/AU1
// famas - Clarion 5.56
// clarion - Clarion 5.56
// m4a1  - Maverick M4A1 Carbine
// aug  - Bullpup
// bullpup - Bullpup
// sg550 - Krieg 550 Commando
// krieg550 - Krieg 550 Commando
// glock - 9x19mm Sidearm
// 9x19mm - 9x19mm Sidearm
// usp  - KM .45 Tactical
// km45  - KM .45 Tactical
// p228  - 228 Compact
// 228compact - 228 Compact
// deagle - Night Hawk .50C
// nighthawk - Night Hawk .50C
// elites - .40 Dual Elites
// fn57  - ES Five-Seven
// fiveseven - ES Five-Seven
// m3  - Leone 12 Gauge Super
// 12gauge - Leone 12 Gauge Super
// xm1014 - Leone YG1265 Auto Shotgun
// autoshotgun - Leone YG1265 Auto Shotgun
// mac10 - Ingram MAC-10
// tmp  - Schmidt Machine Pistol
// mp  - Schmidt Machine Pistol
// mp5  - KM Sub-Machine Gun
// smg  - KM Sub-Machine Gun
// ump45 - KM UMP45
// p90  - ES C90
// c90  - ES C90
// m249  - M249
// primammo - Primary Ammo
// secammo - Secondary Ammo
// vest  - Kevlar
// vesthelm - Kevlar+Helmet
// flash - Flashbang
// hegren - HE Grenade
// sgren - Smoke Grenade
// nvgs  - Nightvision
// defuser - Defusal Kit
// shield - Tactical Shield
deagle
m4a1
ak47
famas
galil
p90
mp5
primammo
secammo
defuser
vesthelm
vest
hegren
flash
flash
sgren
//server bugs...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
the plugin fixed this bug~~

Old Version server is shutdown , new version fixed

thanks PomanoB / UFPS.Team
Attached Files
File Type: sma Get Plugin or Get Source (fixautobuy.sma - 5394 views - 923 Bytes)

Last edited by 201724; 01-12-2012 at 10:37. Reason: no disable autobuy
201724 is offline
Send a message via MSN to 201724
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 #2

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 #3

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
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-04-2012 , 10:46   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #4

It has already been fixed in the hlbeta. Still waiting valve to propagate the CS changes on the stable version like they do for the Dedicated Server changes.
__________________
Arkshine is offline
RelaxMazteR
Member
Join Date: Jul 2009
Location: Sweden
Old 01-06-2012 , 16:52   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
It has already been fixed in the hlbeta. Still waiting valve to propagate the CS changes on the stable version like they do for the Dedicated Server changes.
With hlbeta the sound is bugged I hope they release a new update soon.

Code:
Requesting tempdecal.wad from server
 Error: server failed to transmit file 'customization'
This msg is spammed to client console. I think it could be "Fix AutoBuy Bug" who cause it. Arkshine have you any idea?
RelaxMazteR is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-06-2012 , 16:55   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #6

Make sure you use the latest version.
__________________
Arkshine is offline
RelaxMazteR
Member
Join Date: Jul 2009
Location: Sweden
Old 01-06-2012 , 17:12   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #7

Quote:
Originally Posted by Arkshine View Post
Make sure you use the latest version.
I has the latest stable version. I will not test hlbeta again. It was a huge bugg.

Sry if i'm off topic but have you any idea why I get this errors? The server kick players. I don't even know what the message says. So it is difficult to diagnose.
Code:
Error: server failed to transmit file 'AY&SYX'
Host_Error: UserMsg: Not Present on Client 2
RelaxMazteR is offline
Moody92
Veteran Member
Join Date: May 2011
Location: Oman
Old 01-07-2012 , 06:06   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #8

I guess this problem for NON-Steamers
Moody92 is offline
S0m3Th1nG_AwFul
Member
Join Date: Sep 2011
Location: is not known.
Old 01-07-2012 , 06:26   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
It has already been fixed in the hlbeta. Still waiting valve to propagate the CS changes on the stable version like they do for the Dedicated Server changes.
Seems they did it for CStrike only. But when I checked this bug for CZero - server is still overflowing and crashing

P.S. I used this string for downloading server:
D:\HLDSCZERO\HLDSTOOL\HldsUpdateTool.exe -beta hlbeta -command update -game czero -verify_all -retry -dir D:\testServ2
May be I was wrong somewhere?


Last edited by S0m3Th1nG_AwFul; 01-07-2012 at 06:27.
S0m3Th1nG_AwFul is offline
RelaxMazteR
Member
Join Date: Jul 2009
Location: Sweden
Old 01-07-2012 , 10:52   Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
Reply With Quote #10

Quote:
Originally Posted by Moody92 View Post
I guess this problem for NON-Steamers
Nope
RelaxMazteR is offline
Old 01-17-2012, 04:44
reko_o
This message has been deleted by xPaw. Reason: Flooding "thanks" posts
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 02:24.


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