Skip to content

Commit 1e7d521

Browse files
author
Github Actions
committed
Merge 3.3.5 to 3.3.5-solocraft
2 parents 7d41c65 + e9ddd94 commit 1e7d521

File tree

18 files changed

+584
-429
lines changed

18 files changed

+584
-429
lines changed

cmake/compiler/clang/settings.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ endif()
5858
if(WITH_COREDEBUG)
5959
target_compile_options(trinity-compile-option-interface
6060
INTERFACE
61-
-g3)
61+
-g3 -glldb)
6262

63-
message(STATUS "Clang: Debug-flags set (-g3)")
63+
message(STATUS "Clang: Debug-flags set (-g3 -glldb)")
6464
endif()
6565

6666
if(ASAN)

cmake/compiler/gcc/settings.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ endif()
4444
if(WITH_COREDEBUG)
4545
target_compile_options(trinity-compile-option-interface
4646
INTERFACE
47-
-g3)
47+
-ggdb3)
4848

49-
message(STATUS "GCC: Debug-flags set (-g3)")
49+
message(STATUS "GCC: Debug-flags set (-ggdb3)")
5050
endif()
5151

5252
if(ASAN)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
-- Morogrim
2+
UPDATE `creature_template` SET `speed_run` = 2.14286, `BaseAttackTime` = 1600 WHERE `entry` = 21213;
3+
UPDATE `creature_model_info` SET `BoundingRadius` = 6.315, `CombatReach` = 6 WHERE `DisplayID` = 20739;
4+
5+
UPDATE `creature_text` SET `Type` = 41 WHERE `CreatureID` = 21213 AND `GroupID` IN (5,7);
6+
7+
UPDATE `creature` SET `position_x` = 370.829, `position_y` = -723.939, `position_z` = -14.005, `orientation` = 2.93215 WHERE `id` = 21213;
8+
9+
-- Murlocs
10+
DELETE FROM `spell_target_position` WHERE `ID` IN (37766,37923,37925,37926,37927,39813,39814,39815,39816,39817,37772,37928,37929,37931,37932,39818,39819,39820,39821,39822);
11+
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
12+
(37766,0,548,266,-707,-2.91667,5.34071,0),
13+
(37925,0,548,260,-712,-2.91667,5.34071,0),
14+
(37927,0,548,254,-719,-2.91667,5.34071,0),
15+
(39814,0,548,260,-704,-2.91667,5.11381,0),
16+
(39816,0,548,253,-707,-2.91667,5.2709,0),
17+
(39817,0,548,250,-708,-2.91667,5.14872,0),
18+
19+
(37928,0,548,528,-699,-6.91667,3.9968,0),
20+
(37931,0,548,534,-706,-6.91667,3.9968,0),
21+
(39818,0,548,540,-700,-6.91667,4.32842,0),
22+
(39820,0,548,535,-695,-6.91667,4.01426,0),
23+
(39821,0,548,533,-691,-6.91667,4.31096,0),
24+
(39822,0,548,529,-691,-6.91667,4.31096,0);
25+
26+
UPDATE `creature_template` SET `speed_walk` = 1.6, `speed_run` = 1.42857 WHERE `entry` = 21920;
27+
28+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 21920 AND `source_type` = 0;
29+
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
30+
(21920,0,0,0,37,0,100,0,0,0,0,0,0,116,2,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Tidewalker Lurker - On AI Initialize - Set Corpse Delay"),
31+
(21920,0,1,0,0,0,100,0,5000,10000,5000,10000,0,11,41932,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Tidewalker Lurker - In Combat - Cast 'Carnivorous Bite'");
32+
33+
-- Watery Grave (first is sniffed, other copied from Water Globule spells)
34+
UPDATE `spell_target_position` SET `PositionX` = 334, `PositionY` = -728, `PositionZ` = -14, `Orientation` = 0, `VerifiedBuild` = 26365 WHERE `ID` = 37850;
35+
UPDATE `spell_target_position` SET `PositionX` = 366, `PositionY` = -736, `PositionZ` = -14, `Orientation` = 2.513274 WHERE `ID` = 38023;
36+
UPDATE `spell_target_position` SET `PositionX` = 366, `PositionY` = -709, `PositionZ` = -14, `Orientation` = 2.513274 WHERE `ID` = 38024;
37+
UPDATE `spell_target_position` SET `PositionX` = 372, `PositionY` = -690, `PositionZ` = -14, `Orientation` = 4.258604 WHERE `ID` = 38025;
38+
39+
-- Water Globule
40+
UPDATE `spell_target_position` SET `PositionX` = 334, `PositionY` = -728, `PositionZ` = -14, `Orientation` = 0, `VerifiedBuild` = 26365 WHERE `ID` = 37854;
41+
UPDATE `spell_target_position` SET `PositionX` = 366, `PositionY` = -736, `PositionZ` = -14, `Orientation` = 2.513274, `VerifiedBuild` = 26365 WHERE `ID` = 37858;
42+
UPDATE `spell_target_position` SET `PositionX` = 366, `PositionY` = -709, `PositionZ` = -14, `Orientation` = 2.513274, `VerifiedBuild` = 26365 WHERE `ID` = 37860;
43+
UPDATE `spell_target_position` SET `PositionX` = 372, `PositionY` = -690, `PositionZ` = -14, `Orientation` = 4.258604, `VerifiedBuild` = 26365 WHERE `ID` = 37861;
44+
45+
UPDATE `creature_template` SET `speed_walk` = 0.4, `speed_run` = 0.285714 WHERE `entry` = 21913;
46+
47+
-- Spell scripts
48+
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
49+
'spell_morogrim_tidewalker_watery_grave',
50+
'spell_morogrim_tidewalker_summon_water_globules');
51+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
52+
(38028, 'spell_morogrim_tidewalker_watery_grave'),
53+
(37866, 'spell_morogrim_tidewalker_summon_water_globules');
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--
2+
DELETE FROM `creature_text` WHERE `CreatureID` = 17308;
3+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
4+
(17308,0,0,"Achor she-ki! Feast, my pet! Eat your fill!",14,0,100,0,0,10277,17637,0,"omor SAY_SUMMON"),
5+
(17308,1,0,"A-kreesh!",14,0,100,0,0,10278,17636,0,"omor SAY_KNOCK"),
6+
(17308,2,0,"I will not be defeated!",14,0,100,0,0,10279,17633,0,"omor SAY_AGGRO_1"),
7+
(17308,2,1,"You dare stand against ME?",14,0,100,0,0,10280,17634,0,"omor SAY_AGGRO_2"),
8+
(17308,2,2,"Your insolence will be your death!",14,0,100,0,0,10281,17635,0,"omor SAY_AGGRO_3"),
9+
(17308,3,0,"Die, weakling!",14,0,100,0,0,10282,17631,0,"omor SAY_SLAY_1"),
10+
(17308,3,1,"I am victorious!",14,0,100,0,0,10283,17632,0,"omor SAY_SLAY_2"),
11+
(17308,4,0,"It is... not over.",14,0,100,0,0,10284,17630,0,"omor SAY_DEATH"),
12+
(17308,5,0,"%s grins malevolently.",16,0,100,0,0,0,14756,0,"omor EMOTE_SHIELD");
13+
14+
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
15+
'spell_omor_the_unscarred_orbital_strike_target',
16+
'spell_omor_the_unscarred_orbital_strike_whip');
17+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
18+
(35642, 'spell_omor_the_unscarred_orbital_strike_target'),
19+
(32185, 'spell_omor_the_unscarred_orbital_strike_whip');

src/server/authserver/authserver.conf.dist

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# LogsDir
3737
# Description: Logs directory setting.
3838
# Important: LogsDir needs to be quoted, as the string might contain space characters.
39-
# Logs directory must exists, or log file creation will be disabled.
39+
# Logs directory must exist, or log file creation will be disabled.
4040
# Default: "" - (Log files will be stored in the current path)
4141

4242
LogsDir = ""
@@ -84,7 +84,8 @@ UseProcessors = 0
8484
#
8585
# ProcessPriority
8686
# Description: Process priority setting for Windows and Linux based systems.
87-
# Details: On Linux, a nice value of -15 is used. (requires superuser). On Windows, process is set to HIGH class.
87+
# Details: On Linux, a nice value of -15 is used (requires superuser).
88+
# On Windows, process is set to HIGH class.
8889
# Default: 0 - (Normal)
8990
# 1 - (High)
9091

@@ -160,7 +161,7 @@ SourceDirectory = ""
160161
# MySQLExecutable
161162
# Description: The path to your MySQL CLI binary.
162163
# If the path is left empty, built-in path from cmake is used.
163-
# Example: "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"
164+
# Example: "C:/Program Files/MySQL/MySQL Server 8.0/bin/mysql.exe"
164165
# "mysql.exe"
165166
# "/usr/bin/mysql"
166167
# Default: ""
@@ -208,7 +209,7 @@ LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
208209

209210
#
210211
# LoginDatabase.WorkerThreads
211-
# Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
212+
# Description: The number of worker threads spawned to handle asynchronous (delayed) MySQL
212213
# statements. Each worker thread is mirrored with its own connection to the
213214
# MySQL server and their own thread on the MySQL server.
214215
# Default: 1
@@ -217,7 +218,7 @@ LoginDatabase.WorkerThreads = 1
217218

218219
#
219220
# LoginDatabase.SynchThreads
220-
# Description: The amount of MySQL connections spawned to handle.
221+
# Description: The number of MySQL connections spawned to handle.
221222
# Default: 1 - (LoginDatabase.WorkerThreads)
222223

223224
LoginDatabase.SynchThreads = 1
@@ -293,7 +294,7 @@ Updates.AllowRehash = 1
293294

294295
#
295296
# Updates.CleanDeadRefMaxCount
296-
# Description: Cleans dead/ orphaned references that occur if an update was removed or renamed and edited in one step.
297+
# Description: Cleans dead/orphaned references that occur if an update was removed or renamed and edited in one step.
297298
# It only starts the clean up if the count of the missing updates is below or equal the Updates.CleanDeadRefMaxCount value.
298299
# This way prevents erasing of the update history due to wrong source directory state (maybe wrong branch or bad revision).
299300
# Disable this if you want to know if the database is in a possible "dirty state".

src/server/game/AI/CoreAI/PetAI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ void PetAI::HandleReturnMovement()
363363

364364
// Prevent activating movement when under control of spells
365365
// such as "Eyes of the Beast"
366-
if (me->IsCharmed())
366+
if (me->isPossessed())
367367
return;
368368

369369
if (!me->GetCharmInfo())

src/server/game/Entities/Unit/Unit.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11582,6 +11582,7 @@ bool Unit::SetCharmedBy(Unit* charmer, CharmType type, AuraApplication const* au
1158211582

1158311583
// Set charmed
1158411584
charmer->SetCharm(this, true);
11585+
m_combatManager.RevalidateCombat();
1158511586

1158611587
if (Player* player = ToPlayer())
1158711588
{

src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void HomeMovementGenerator<Creature>::SetTargetLocation(Creature* owner)
7373
*/
7474

7575
owner->UpdateAllowedPositionZ(destination.m_positionX, destination.m_positionY, destination.m_positionZ);
76-
init.MoveTo(PositionToVector3(destination));
76+
init.MoveTo(PositionToVector3(destination), true, true);
7777
init.SetFacing(destination.GetOrientation());
7878
init.SetWalk(false);
7979
init.Launch();

src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ struct boss_nefarian : public BossAI
436436
_phase3 = false;
437437
_despawn = false;
438438
_despawnTimer = 30000;
439+
_sayLowHealth = false;
439440
}
440441

441442
void Reset() override
@@ -502,8 +503,11 @@ struct boss_nefarian : public BossAI
502503
Talk(SAY_RAISE_SKELETONS);
503504
}
504505

505-
if (me->HealthBelowPctDamaged(5, damage))
506+
if (!_sayLowHealth && me->HealthBelowPctDamaged(5, damage))
507+
{
508+
_sayLowHealth = true;
506509
Talk(SAY_XHEALTH);
510+
}
507511
}
508512

509513
void UpdateAI(uint32 diff) override
@@ -617,6 +621,7 @@ struct boss_nefarian : public BossAI
617621
bool _despawn;
618622
uint32 _despawnTimer;
619623
bool _phase3;
624+
bool _sayLowHealth;
620625
};
621626

622627
void AddSC_boss_nefarian()

0 commit comments

Comments
 (0)