From 844755aa07b4a7f9f2f0c49f351a817198c9a56a Mon Sep 17 00:00:00 2001 From: DDuarte Date: Tue, 18 Apr 2017 21:20:46 +0100 Subject: Core/DBUpdater: Improve message when base SQL file is missing --- src/server/database/Updater/DBUpdater.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/server/database') 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::Populate(DatabaseWorkerPool& 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; } } -- cgit v1.2.3