diff --git a/sql/updates/world/3.3.5/2018_02_21_01_world.sql b/sql/updates/world/4.3.4/2018_02_24_00_world_from_335_was_2018_02_21_01_world.sql similarity index 98% rename from sql/updates/world/3.3.5/2018_02_21_01_world.sql rename to sql/updates/world/4.3.4/2018_02_24_00_world_from_335_was_2018_02_21_01_world.sql index e29c989981..f2491b086b 100644 --- a/sql/updates/world/3.3.5/2018_02_21_01_world.sql +++ b/sql/updates/world/4.3.4/2018_02_24_00_world_from_335_was_2018_02_21_01_world.sql @@ -1,3 +1,4 @@ +/* -- DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN 52 AND 56; INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES @@ -6,3 +7,4 @@ INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES (54, "Culling of Stratholme - Undead - Gauntlet", 4), (55, "Culling of Stratholme - Undead", 4), (56, "Culling of Stratholme - Stratholme residents", 4); +*/ diff --git a/sql/updates/world/3.3.5/2018_02_23_00_world_335.sql b/sql/updates/world/4.3.4/2018_02_24_01_world_from_335_was_2018_02_23_00_world_335.sql similarity index 99% rename from sql/updates/world/3.3.5/2018_02_23_00_world_335.sql rename to sql/updates/world/4.3.4/2018_02_24_01_world_from_335_was_2018_02_23_00_world_335.sql index c8952e7cdb..970dacb8b2 100644 --- a/sql/updates/world/3.3.5/2018_02_23_00_world_335.sql +++ b/sql/updates/world/4.3.4/2018_02_24_01_world_from_335_was_2018_02_23_00_world_335.sql @@ -1,3 +1,4 @@ +/* -- Aggro text for Flight Masters DELETE FROM `creature_text` WHERE `CreatureID` IN (37915,31426,30271,29762,27344,26876,26877,26878,26879,26880,26881,26844,26845,26846,26847,26848,26850,26852,26853,26602,26566,25288,24366,24155,24061,24032,23859,23736,22936,22935,22485,21107,20762,20234,19558,19317,19181,18953,18942,18931,18937,18939,18809,18807,18808,18791,18788,18789,18785,17555,17554,16822,16587,16227,16192,16189,15178,15177,13177,12740,12636,12617,12616,12596,12578,12577,11901,11900,11899,11139,11138,10897,10378,8610,8609,8020,8019,7824,7823,4267,3841,3838,2995,4551,2389,2226,6726,6026,4317,4314,3615,3305,352,523,931,1571,2299,2409,2432,2835,2859,2941,4319,4321,4407,6706,1387,2861,3310,4312,2851,2858); INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES @@ -114,3 +115,4 @@ INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Lan (8019,0,0,"Sentinels, come to my defense!",14,2,100,0,0,0,4562,0,"Fyldren Moonfeather"); DELETE FROM `smart_scripts` WHERE `entryorguid`=16227 AND `source_type`=0 AND `id`=2; -- Bragok doesn't talk on aggro +*/ diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 6922be3688..0edaed763b 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -287,11 +287,11 @@ bool DBUpdater::Populate(DatabaseWorkerPool& pool) } case LOCATION_DOWNLOAD: { - const char* filename = base.filename().generic_string().c_str(); - const char* workdir = boost::filesystem::current_path().generic_string().c_str(); + std::string const filename = base.filename().generic_string(); + std::string const workdir = boost::filesystem::current_path().generic_string().c_str(); TC_LOG_ERROR("sql.updates", ">> File \"%s\" is missing, download it from \"https://t.me/trinitycorelegacy\"" \ " Mirror: \"https://github.com/TrinityCoreLegacy/TrinityCore/releases\"" \ - " uncompress it and place the file \"%s\" in the directory \"%s\".", filename, filename, workdir); + " uncompress it and place the file \"%s\" in the directory \"%s\".", filename.c_str(), filename.c_str(), workdir.c_str()); break; } }