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

strange error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-21-2008 , 21:33   strange error
Reply With Quote #1

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
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 07-21-2008 , 21:58   Re: strange error
Reply With Quote #2

Quote:
Originally Posted by SchlumPF* View Post
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.
danielkza is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-22-2008 , 09:26   Re: strange error
Reply With Quote #3

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;

__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
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 00:01.


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