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