mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
parent
e8ca3f6942
commit
5c095ab87a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user