AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   strange error (https://forums.alliedmods.net/showthread.php?t=74605)

SchlumPF* 07-21-2008 21:33

strange error
 
im working currently on a plugin which was just working perfekt. but when i changed a simple function for easier displaying of hudmessages to change the channel and x + y position my server began to crash. i splitted the plugin in 8 parts and when i disable 4 of them (nomather which) my server wont crash. when i enable all plugin my server crashes and i on precaching resources with this error message in the console:
Code:

host 'i wont' (11001)
the only thing i do is a kvd check in precache which worked awesome before i amde that hudmessage cahnge :S
does anyone know that error? couldnt found it in google and this forum :(

danielkza 07-21-2008 21:58

Re: strange error
 
Quote:

Originally Posted by SchlumPF* (Post 656385)
im working currently on a plugin which was just working perfekt. but when i changed a simple function for easier displaying of hudmessages to change the channel and x + y position my server began to crash. i splitted the plugin in 8 parts and when i disable 4 of them (nomather which) my server wont crash. when i enable all plugin my server crashes and i on precaching resources with this error message in the console:
Code:

host 'i wont' (11001)
the only thing i do is a kvd check in precache which worked awesome before i amde that hudmessage cahnge :S
does anyone know that error? couldnt found it in google and this forum :(

Post at least part of your code, it's impossible to find out what's wrong without it.

SchlumPF* 07-22-2008 09:26

Re: strange error
 
The function i changed
PHP Code:

stock hud_printplrchannelFloat:xFloat:y, const message[], { FloatSqlResult}:... )
{
    static 
max_players;
    
    if( !
max_players )
        
max_players get_maxplayers( );
    
    static 
msg[192];
    
vformatmsgsizeof msg 1message);
    
    if( 
plr <= max_players && plr )    
    {
        
set_hudmessage255450xy06.02.20.00.0channel );
        
show_hudmessageplrmsg );
    }
    else if( !
plr )
    {
        
set_hudmessage255450xy06.05.00.00.0channel );
        
show_hudmessage0msg );
    }

    return 
1;




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

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