mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 08:28:57 +01:00
Core/DBUpdater: Improve message when base SQL file is missing
(cherry picked from commit844755aa07) GCC build fix (cherry picked from commita15985edc6)
This commit is contained in:
@@ -282,8 +282,10 @@ bool DBUpdater<T>::Populate(DatabaseWorkerPool<T>& pool)
|
||||
}
|
||||
case LOCATION_DOWNLOAD:
|
||||
{
|
||||
const char* filename = base.filename().generic_string().c_str();
|
||||
const char* 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 where your worldserver binary is located.", base.filename().generic_string().c_str());
|
||||
" uncompress it and place the file \"%s\" in the directory \"%s\".", filename, filename, workdir);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user