Здравствуйте, Tomas.

Вы писали 18 вересня 2010 р., 3:15:28:

> im geting random crashes each 10,30 since 2 days ago in lot of my 1.6 servers.

> CRASH: sáb sep 18 01:56:07 CEST 2010
> Start Line: ./hlds_i686 -game cstrike +maxplayers 32 +ip xxx +port
> 27015 +map de_dust -sport 27074  -debug -autoupdate -pidfile hlds.3535.pid
> #0  0xb576a12a in ?? ()
> No symbol table info available.
> End of crash report

> All of them same error and im starting to suspect its a exploit.
> All servers are updated. Anyone with same problem?

Yeah,  this  is  commom  problem  last week, there is a bug in autobuy
option, founded temporal workaround as amx plugin:

#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_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR )

register_clcmd( "cl_setautobuy", "cmd_check" )
register_clcmd( "cl_setrebuy", "cmd_check" )

get_time ( "autobuy_%Y%m.log", g_logfile, charsmax ( g_logfile ) )
}

public cmd_check( id )
{
static arg[512], args, i
args = read_argc( )

for( i = 1; i < args; ++i )
{
read_argv( i, arg, charsmax( arg ) )

if( is_cmd_long( arg, charsmax( arg ) ) )
{
log_autobuy( id )
return PLUGIN_HANDLED
}
}

return PLUGIN_CONTINUE
}

stock bool:is_cmd_long( string[], const len )
{
static cmd[512]

while( strlen( string ) )
{
strtok( string, cmd, charsmax( cmd ), string, len , ' ', 1 )

if( strlen( cmd ) > 31 ) return true
}

return false
}

stock log_autobuy( id )
{
static name[32], steamid[44], ip[16]
get_user_ip( id, ip, charsmax( ip ), 1 )
get_user_authid( id, steamid, charsmax( steamid ) )
get_user_name( id, name, charsmax( name ) )

log_to_file( g_logfile, "Autobuy bug use: %s [%s] <%s>", name, ip, steamid )
}


>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux




-- 
С уважением,
 px                          mailto:p...@i.kiev.ua


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to