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

Crashing problem with srcds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Master53
Veteran Member
Join Date: Dec 2009
Old 03-16-2011 , 13:19   Crashing problem with srcds
Reply With Quote #1

my srcds test server crashs randomly sometimes and this always gets printed at the end of the console longs. how do i fix this or prevent it from crashing.

Code:
SoundPointerForIndex() Index too Large!
__________________
Master(d)



Master53 is offline
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 03-16-2011 , 14:09   Re: Crashing problem with srcds
Reply With Quote #2

Hello Master.

PHP Code:
//=========================================================
// SoundPointerForIndex - returns a pointer to the instance
// of CSound at index's position in the sound pool.
//=========================================================
CSound*    CSoundEnt::SoundPointerForIndexint iIndex )
{
    if ( !
g_pSoundEnt )
    {
        return 
NULL;
    }

    if ( 
iIndex > ( MAX_WORLD_SOUNDS_MP ) )
    {
        
Msg"SoundPointerForIndex() - Index too large!\n" );
        return 
NULL;
    }

    if ( 
iIndex )
    {
        
Msg"SoundPointerForIndex() - Index < 0!\n" );
        return 
NULL;
    }

    return &
g_pSoundEnt->m_SoundPooliIndex ];

I don't really know what wrong I never got this message before but maybe this helps you.
I guess there are to much world sounds.

Regards Benni.
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
Master53
Veteran Member
Join Date: Dec 2009
Old 03-16-2011 , 16:11   Re: Crashing problem with srcds
Reply With Quote #3

well for some reason this prints when the server crashes.
__________________
Master(d)



Master53 is offline
zaanterror
Junior Member
Join Date: Feb 2010
Old 04-16-2011 , 03:18   Re: Crashing problem with srcds
Reply With Quote #4

Mine give's this error:
IndexPointerForIndex() - Index < 0!
Client lost reserved sound!
and then it crashes...
SOLVED:
Rebuild the server.
Made sure all plugins were up to date.

Last edited by zaanterror; 04-17-2011 at 06:21.
zaanterror is offline
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 11:14.


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