diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index f783bfff9..6e24230f3 100755 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -7742,9 +7742,9 @@ const char* ObjectMgr::GetMangosString(int32 entry, int locale_idx) const else if (entry > 0) sLog.outErrorDb("Entry %i not found in `mangos_string` table.", entry); else if (entry > MAX_CREATURE_AI_TEXT_STRING_ID) - sLog.outErrorDb("Entry %i not found in `creature_ai_texts` table.", entry); + sLog.outErrorEventAI("Entry %i not found in `creature_ai_texts` table.", entry); else - sLog.outErrorDb("Mangos string entry %i not found in DB.", entry); + sLog.outErrorScriptLib("String entry %i not found in Database.", entry); return ""; } diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index 67b5faffb..3f5e725e1 100755 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -121,6 +121,7 @@ typedef UNORDERED_MAP < uint32/*(mapid,spawnMode) pair*/, CellObjectGuidsMap > M #define MAX_DB_SCRIPT_STRING_ID 2000010000 #define MIN_CREATURE_AI_TEXT_STRING_ID (-1) // 'creature_ai_texts' #define MAX_CREATURE_AI_TEXT_STRING_ID (-1000000) +// Anything below MAX_CREATURE_AI_TEXT_STRING_ID is handled by the external script lib static_assert(MAX_DB_SCRIPT_STRING_ID < ACE_INT32_MAX, "Must scope with int32 range"); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 19ece0790..ea5de9b63 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12588" + #define REVISION_NR "12589" #endif // __REVISION_NR_H__