Ich denke, dass dies auf jeden Fall auch hier hin gehört da doch viele Server teilweise noch was testen wollen oder sonstiges und den MapKey nicht gebrauchen können und ihn dann gerne deaktiviert hätten.
- Öffnet die worldmng.cpp
- Schaut nach folgendem:
Credits:
Alexsh (r*zone)
- Öffnet die worldmng.cpp
- Schaut nach folgendem:
und ersetzt es durch das:Quote:
// ¸Ê ÀÎÁõ ½ÇÆÐ Á¢¼ÓÀ» ²÷¾î¹ö·Á¾ß ÇÑ´Ù.
#if __VER >= 15
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
#else // __VER >= 15
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * MPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * MPU );
#endif // __VER >= 15
char szLandFile[MAX_PATH] = {0,};
if( pUser->GetWorld() )
{
strncpy( szLandFile, pUser->GetWorld()->m_szFileName, strlen( pUser->GetWorld()->m_szFileName ) - 4 );
}
Error( "Invalid Map Key - [User : %s, %07d], [Land : %s%02d-%02d]", pUser->GetName(), pUser->m_idPlayer, szLandFile, x, z );
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
if( ::GetLanguage() != LANG_GER )
{
g_DPSrvr.QueryDestroyPlayer( pUser->m_Snapshot.dpidCache, pUser->m_Snapshot.dpidUser, pUser->m_dwSerial, pUser->m_idPlayer );
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
}
#endif // __WORLDSERVER
#endif // __MAP_SECURITY
Nun compilen und schon habt ihr euren Spaß ohne MapKey.Quote:
#if __VER == 8
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * pUser->GetWorld()->m_iMPU );
#else // __VER == 8
int x = int( pUser->GetPos().x ) / ( MAP_SIZE * MPU );
int z = int( pUser->GetPos().z ) / ( MAP_SIZE * MPU );
#endif // __VER == 8
char szLandFile[MAX_PATH] = {0,};
if( pUser->GetWorld() )
{
strncpy( szLandFile, pUser->GetWorld()->m_szFileName, strlen( pUser->GetWorld()->m_szFileName ) - 4 );
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
if( ::GetLanguage() != LANG_GER )
{
}
// mulcom BEGIN100330 ¸Êº¯Á¶ È®ÀÎ µ¶ÀÏÀº Á¦¿Ü ½ÃÅ´
}
#endif // __WORLDSERVER
#endif // __MAP_SECURITY
Credits:
Alexsh (r*zone)