Hello guys,
Its me again for a new crash report about Colosseum system...
I don't know why, but sometimes my worldserver crashs for no reason while doing colosseum.
The only error i have while debugging is that line on Colosseum.cpp :
void CColosseumMng::Process()
{
try{
for( COLOSSEUMMATCH::iterator it = m_mapMatch.begin(); it != m_mapMatch.end(); it++ )
{
u_long idParty = it->first;
CColosseumMatch* pMatch = it->second;
if( !pMatch ) return;
if( pMatch == NULL )
continue;
CMover* pMover = prj.GetMover(pMatch->m_nMoverID); // THIS ONE
if( pMover )
{
if( pMatch->m_nNextStage < (int)g_tmCurrent )
pMatch->EndMatch( FALSE );
}
else
{
//Kontrollieren ob letze Stage erreicht wurde
if( pMatch->m_nNextStage < (int)g_tmCurrent )
{
if( pMatch->m_nStage == 0 )
{
for( int i = 0; i < (int)pMatch->m_vecPlayerID.size(); i++ )
{
CUser* pUser = pMatch->GetUser( pMatch->m_vecPlayerID.at(i) );
if( IsValidObj( pUser ) && pMatch->m_bWaitTime )
pUser->SendColosseumStart(0);
}
}
if( pMatch->m_nStage >= byMaxLowStage )
pMatch->EndMatch( TRUE );
else
{
pMatch->m_bWaitTime = FALSE;
pMatch->m_nStage++;
pMatch->CreateMover();
}
}
}
}
}
catch(...)
{
Error("Error on Line %d in %s",__LINE__,__FILE__);
}
}
If you could help me once more please :/ thanks alot