mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Update build checks for mangosd/realmd.
This commit is contained in:
parent
0a01d2bc6e
commit
d81c9175d8
8 changed files with 37 additions and 12 deletions
|
|
@ -888,6 +888,7 @@ void World::SetInitialWorldSettings()
|
|||
!MapManager::ExistMapAndVMap(530,10349.6f,-6357.29f) || !MapManager::ExistMapAndVMap(530,-3961.64f,-13931.2f) ) )
|
||||
{
|
||||
sLog.outError("Correct *.map files not found in path '%smaps' or *.vmap/*vmdir files in '%svmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.",m_dataPath.c_str(),m_dataPath.c_str());
|
||||
Log::WaitBeforeContinueIfNeed();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
@ -895,7 +896,10 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString();
|
||||
sLog.outString("Loading MaNGOS strings...");
|
||||
if (!sObjectMgr.LoadMangosStrings())
|
||||
{
|
||||
Log::WaitBeforeContinueIfNeed();
|
||||
exit(1); // Error message displayed in function already
|
||||
}
|
||||
|
||||
///- Update the realm entry in the database with the realm type from the config file
|
||||
//No SQL injection as values are treated as integers
|
||||
|
|
@ -1222,7 +1226,10 @@ void World::SetInitialWorldSettings()
|
|||
|
||||
sLog.outString( "Initializing Scripts..." );
|
||||
if(!LoadScriptingModule())
|
||||
exit(1);
|
||||
{
|
||||
Log::WaitBeforeContinueIfNeed();
|
||||
exit(1); // Error message displayed in function already
|
||||
}
|
||||
|
||||
///- Initialize game time and timers
|
||||
sLog.outString( "DEBUG:: Initialize game time and timers" );
|
||||
|
|
@ -1334,6 +1341,7 @@ void World::DetectDBCLang()
|
|||
if(default_locale >= MAX_LOCALE)
|
||||
{
|
||||
sLog.outError("Unable to determine your DBC Locale! (corrupt DBC?)");
|
||||
Log::WaitBeforeContinueIfNeed();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue