diff options
author | DDuarte <dnpd.dd@gmail.com> | 2017-04-18 21:20:46 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2017-04-18 21:20:46 +0100 |
commit | 844755aa07b4a7f9f2f0c49f351a817198c9a56a (patch) | |
tree | 05934375074ff5d6d73a70805f533fbb27110dfc /src | |
parent | a39cec29a375906ed46b75cdbff14f67876b105a (diff) |
Core/DBUpdater: Improve message when base SQL file is missing
Diffstat (limited to 'src')
-rw-r--r-- | src/server/database/Updater/DBUpdater.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index ee2b8ce1989..2c26c3d960c 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -319,8 +319,10 @@ bool DBUpdater<T>::Populate(DatabaseWorkerPool<T>& pool) } case LOCATION_DOWNLOAD: { + std::string filename = base.filename().generic_string().c_str(); + std::string workdir = boost::filesystem::current_path().generic_string().c_str(); TC_LOG_ERROR("sql.updates", ">> File \"%s\" is missing, download it from \"https://github.com/TrinityCore/TrinityCore/releases\"" \ - " uncompress it and place the file TDB_full_world_(a_variable_name).sql in your worldserver directory.", base.filename().generic_string().c_str()); + " uncompress it and place the file \"%s\" in the directory \"%s\".", filename, filename, workdir); break; } } |