void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); TC_LOG_INFO("server.loading", "Loading C++ scripts"); FillSpellSummary(); AddScripts(); TC_LOG_INFO("server.loading", ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading C++ scripts"); FillSpellSummary(); AddScripts(); sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); sLog->outString("Loading C++ scripts"); FillSpellSummary(); AddScripts(); sLog->outString(">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); sLog->outString(); }
void ScriptMgr::Initialize() { LoadDatabase(); sLog.outString("Loading C++ scripts"); barGoLink bar(1); bar.step(); sLog.outString(); FillSpellSummary(); AddScripts(); sLog.outString(">> Loaded %u C++ scripts", GetScriptCount()); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); // Load TeleNPC2 - maybe not the best place to load it ... LoadNpcTele(); TC_LOG_INFO("server.loading", "Loading C++ scripts"); FillSpellSummary(); AddScripts(); TC_LOG_INFO("server.loading", ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); // Load TeleNPC2 - maybe not the best place to load it ... LoadNpcTele(); sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading C++ scripts"); FillSpellSummary(); AddScripts(); sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); sLog->outString("Loading C++ scripts"); FillSpellSummary(); AddScripts(); sLog->outString(">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); sLog->outString(); oldMSTime = getMSTime(); sLog->outString("Loading custom vendors"); sLog->outString(">> Loaded %u custom vendor catageory entries in %u ms", CustomVendorMgr.LoadVendors(), GetMSTimeDiffToNow(oldMSTime)); sLog->outString(); }
void ScriptMgr::Initialize() { uint32 oldMSTime = getMSTime(); LoadDatabase(); TC_LOG_INFO("server.loading", "Loading C++ scripts"); FillSpellSummary(); AddScripts(); #ifdef SCRIPTS for (std::string const& scriptName : UnusedScriptNames) { TC_LOG_ERROR("sql.sql", "ScriptName '%s' exists in database, but no core script found!", scriptName.c_str()); } #endif UnloadUnusedScripts(); TC_LOG_INFO("server.loading", ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime)); }