diff options
Diffstat (limited to 'src/server/game/Scripting/ScriptReloadMgr.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptReloadMgr.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/game/Scripting/ScriptReloadMgr.cpp b/src/server/game/Scripting/ScriptReloadMgr.cpp index b2c8e47a54c..2f3d6126a9d 100644 --- a/src/server/game/Scripting/ScriptReloadMgr.cpp +++ b/src/server/game/Scripting/ScriptReloadMgr.cpp @@ -117,7 +117,7 @@ public: if (!success) { - TC_LOG_ERROR("scripts.hotswap", "Failed to close the shared library \"%s\".", + TC_LOG_ERROR("scripts.hotswap", "Failed to unload (syscall) the shared library \"%s\".", _path.generic_string().c_str()); return; @@ -893,8 +893,10 @@ private: if (!ref->second.unique()) { TC_LOG_INFO("scripts.hotswap", - "Script module %s is still used by %lu scripts. " - "Will lazy unload the module once all scripts stopped using it.", + "Script module %s is still used by %lu spell, aura or instance scripts. " + "Will lazy unload the module once all scripts stopped using it, " + "to use the latest version of an edited script unbind yourself from " + "the instance or re-cast the spell.", ref->second->GetScriptModule(), ref->second.use_count() - 1); } |