RoC World Server Crash at start.

Status
Not open for further replies.
Joined
Nov 5, 2011
Messages
241
Reaction score
86
Hey guys,
Today i'm very sick and i can use my mind XD
so i just compiled the source using VS 2010 Ultimate (the relased source ...)
and everything works
tested neuz account...etc but when i come to start the world server, it just stop responding
and then "World Server has stopped working ...."
Any help?
 
Well as i see it's not vs 2010 problem, and i compilled it just by adding 1 line of code o.O
Why it isn't vs problem? because i compilled the same source using vs 2003 and i got the same problem, i debuged the world server and it found that it is a world read problem (back door?), anyway, i'm gona download the vs 2003 source and edit the world server ...
Btw: i dislabed all warning so i just have the errors to fix, everything works fine, no errors, no bugs , anything!
 
Debug in 2010 is really nice compared to 2003 that gets like "bugged" sometimes. So where are you getting the problem and which OS are you using?

I debugged using vs 2003, they are the same as i can see...

i got the problem here,
PHP:
	char szMsg[512] = "";
	for( list<CJurisdiction*>::iterator i = desc.m_lspJurisdiction.begin(); i != desc.m_lspJurisdiction.end(); ++i )
	{
		CJurisdiction* pJurisdiction = *i;
		
		LPWORLD lpWorld	= g_WorldMng.GetWorldStruct( pJurisdiction->m_dwWorldID );
		if( strlen( szMsg ) + strlen( lpWorld->m_szFileName ) < 512 )
		{
			strcat( szMsg, lpWorld->m_szFileName );
			strcat( szMsg, " " );
		}

		g_WorldMng.Add( pJurisdiction );
	}
	SetLogInfo( LOGTYPE_MAP, szMsg );
	g_WorldMng.ReadObject();

	WSASetEvent( m_hWait );
but more presice:
PHP:
LPWORLD lpWorld	= g_WorldMng.GetWorldStruct( pJurisdiction->m_dwWorldID );
 
Status
Not open for further replies.
Back