mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
+14
-9
@@ -392,16 +392,21 @@ int main(int argc, char** argv) {
|
||||
|
||||
EQ::SayLinkEngine::LoadCachedSaylinks();
|
||||
|
||||
LogInfo("Loading bot commands");
|
||||
int botretval = bot_command_init();
|
||||
if (botretval < 0)
|
||||
LogError("Bot command loading failed");
|
||||
else
|
||||
LogInfo("[{}] bot commands loaded", botretval);
|
||||
if (RuleB(Bots, Enabled) && database.DoesTableExist("bot_command_settings")) {
|
||||
LogInfo("Loading bot commands");
|
||||
int botretval = bot_command_init();
|
||||
if (botretval < 0) {
|
||||
LogError("Bot command loading failed");
|
||||
}
|
||||
else {
|
||||
LogInfo("[{}] bot commands loaded", botretval);
|
||||
}
|
||||
|
||||
LogInfo("Loading bot spell casting chances");
|
||||
if (!database.botdb.LoadBotSpellCastingChances())
|
||||
LogError("Bot spell casting chances loading failed");
|
||||
LogInfo("Loading bot spell casting chances");
|
||||
if (!database.botdb.LoadBotSpellCastingChances()) {
|
||||
LogError("Bot spell casting chances loading failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* NPC Scale Manager
|
||||
|
||||
Reference in New Issue
Block a user