AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Autobuy Fixed1.3 (Fix ServerShutdown Bugs) (https://forums.alliedmods.net/showthread.php?t=175192)

201724 12-31-2011 14:16

Autobuy Fixed1.3 (Fix ServerShutdown Bugs)
 
1 Attachment(s)
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~~:grrr:

Old Version server is shutdown , new version fixed

thanks PomanoB / UFPS.Team

kwpd 01-03-2012 03:53

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Test Autobuy Fixed = server crash...
http://img841.**************/img841/2103/75605705.jpg


Autobuy FIX 100% segure :D
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 



201724 01-04-2012 09:51

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Quote:

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


Autobuy FIX 100% segure :D
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:)

Arkshine 01-04-2012 10:46

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
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.

RelaxMazteR 01-06-2012 16:52

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Quote:

Originally Posted by Arkshine (Post 1625221)
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?

Arkshine 01-06-2012 16:55

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Make sure you use the latest version.

RelaxMazteR 01-06-2012 17:12

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Quote:

Originally Posted by Arkshine (Post 1626908)
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


Moody92 01-07-2012 06:06

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
I guess this problem for NON-Steamers

S0m3Th1nG_AwFul 01-07-2012 06:26

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Quote:

Originally Posted by Arkshine (Post 1625221)
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 :down:

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?


RelaxMazteR 01-07-2012 10:52

Re: Autobuy Fixed (Fix Autobuy System Server Shutdown Bug,not Disable Autobuy)
 
Quote:

Originally Posted by Moody92 (Post 1627209)
I guess this problem for NON-Steamers

Nope


All times are GMT -4. The time now is 05:06.

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