Commit Graph

25672 Commits

Author SHA1 Message Date
ModoX
0146eefee4 Core/Quests: Fill QuestPackageID field in SendQuestGiverQuestDetails (#27016) 2021-10-03 16:26:51 +02:00
Meji
5c287929b2 Core/Gossip: Update GossipOptionIcon enum (#26906) 2021-10-03 16:24:07 +02:00
Shauren
3af9be830d Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes 2021-10-03 14:58:35 +02:00
ModoX
a0c4a3071c Core/Auras: Implemented new aura type 487 (SPELL_AURA_COSMETIC_MOUNTED) (#26988) 2021-10-02 21:59:22 +02:00
Shauren
d54edfeb8b Core/Players: Implemented selecting Exile's Reach during character creation 2021-10-02 21:45:04 +02:00
Shauren
2bf8110032 Core/Players: Do not show zone on character list before first login 2021-10-02 21:46:58 +02:00
Shauren
696be301d3 Core/Players: Save homebind location on creation instead of delaying it to first login 2021-10-02 21:38:21 +02:00
Shauren
11762273c6 Core/Players: Store player creation timestamp and type (normal/npe) 2021-10-02 21:28:11 +02:00
Shauren
1440586be8 Core/Players: Fixed value saved in characters.lastLoginBuild 2021-10-02 20:01:29 +02:00
Shauren
2d7af28e9f Core/Transports: Store information about continent transports 2021-10-02 19:59:56 +02:00
Shauren
f6f2de76c7 Core/Commands: Remove the option to teleport to "startzone" with .unstuck command 2021-10-02 19:57:37 +02:00
Shauren
46004d4fca Core/Players: Relocate players to their homebind location instead of starting zone when login at saved location fails 2021-10-02 18:43:09 +02:00
sueastward
32ad07f7f8 Core/Scripts: Fix repeated script validation when spell has multiple scripts attached (#26949) 2021-10-01 23:29:41 +02:00
Shauren
a098137b59 Core/Commands: Lookup spell command fixes
* Crashfix
* Will now look at spell effects other than EFFECT_0 to find learned spell
2021-10-01 22:30:39 +02:00
Shauren
3bf6698116 Core/Misc: Fix appleclang 12 warnings 2021-10-01 11:18:29 +02:00
Ovah
753d5a5d5f Core/Player: fix periodic eating and drinking emotes (#21280)
Closes: #12567
(cherry picked from commit 0dcc318e37)
2021-09-29 22:27:11 +02:00
Meji
de4eaa0de9 Core/BattlePets: Misc fixes (#26964)
* Define BattlePetSpeciesFlags enum class.
* Define BattlePetDbFlags enum class.
* Added check to prevent the pet from being caged if its species has flag BattlePetSpeciesFlags::NotTradable.
* Added check to prevent the pet from being caged if it's in battle pet slots.
* Added check to prevent the pet from being caged if its health is below maximum health.
* Only add pet if the species has flag BattlePetSpeciesFlags::WellKnown.
* Added function to check flag BattlePetSpeciesFlags::LegacyAccountUnique to avoid learning copies of unique pets.
* Implemented CMSG_BATTLE_PET_CLEAR_FANFARE.
2021-09-29 22:26:25 +02:00
sirikfoll
f507737ecf Scripts/TheSlavePens: Boss Ahune fixes and updates
Fixes some visual problems
Fixes encounter start
Updated codestyle

Closes #22071

(cherry picked from commit 35ba5aa138)
2021-09-29 21:01:25 +02:00
Gildor
b3f3dbc663 TheSlavePens/Ahune: Fix crash (#22070)
Closes: #22069
(cherry picked from commit eb6e240fd1)
2021-09-29 20:55:23 +02:00
ZenoX92
ecf2a0ef9f DB/Quest: Escaping the Tomb
Closes #22033

(cherry picked from commit 5f69a8de70)
2021-09-29 16:05:49 +02:00
Shauren
75909f9232 Core/Bnet: Updated protobuf messages and services 2021-09-29 10:32:04 +02:00
ccrs
6d9e544c20 Core/Movement: shield ChaseMovementGenerator against a potential crash
Since GenericMovementGenerator can be built with any MOTION_TYPE

(cherry picked from commit 98fd8d4c74)
2021-09-29 00:01:23 +02:00
ccrs
4487933bd0 Core/Movement: adjust deactivation/reset logic inside GenericMovementGenerator
Deactivated GMGenerators will now Initialize if they never did.
Mimiron's script needs still some movement love.

closes #22037

(cherry picked from commit 24a9598e2c)
2021-09-29 00:00:57 +02:00
ccrs
30583be025 Core/Movement: prevent double initialization calls if the generator was deactivated before being initialized
ref #22037

(cherry picked from commit 825c5f5ec4)
2021-09-29 00:00:26 +02:00
Андрей
4c6e89942f Core/Spells: Make some spells negative (#21696)
Closes #21634

(cherry picked from commit 5fa783bd34)
2021-09-28 20:58:14 +02:00
Keader
1d00e4eccb Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2
(I forgot the clones, ty Gildor)

(cherry picked from commit 3102a6c903)
2021-09-28 15:32:32 +02:00
Keader
a046ef8604 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand
(cherry picked from commit 8a312046b2)
2021-09-28 15:32:00 +02:00
Keader
d4be86d835 Kill a whitespace
(cherry picked from commit ee7c0c16f1)
2021-09-28 15:31:34 +02:00
DanVS
71e27f540d Core/Spells: Reset Mangle cooldown in Berserk (#22000)
(cherry picked from commit 3bd9337d9f)
2021-09-28 15:26:42 +02:00
Keader
4aaf3d67a3 Scripts/Pit of Saron: Fixed Ick not updading victim
Closes #22001

(cherry picked from commit 6cf8bd5ae7)
2021-09-28 00:15:42 +02:00
ccrs
426f9f2f92 Core/Movement: MotionMaster reimplementation (#21888)
Internal structure and handling changes, nothing behavioural (or thats the intention at least).

(cherry picked from commit 982643cd96)
2021-09-28 00:15:13 +02:00
Maxwelllmj
bd91674e66 Scripts/Karazhan: make Barnes properly start the Opera Event (#21970)
Close: #21881
(cherry picked from commit 4fe5a167d2)
2021-09-26 23:23:26 +02:00
Keader
b91398fd28 Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight
It's needed for cataclysm+

(cherry picked from commit 65bad41144)
2021-09-26 23:04:18 +02:00
Gooyeth
2757235956 Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963)
(cherry picked from commit 5871c36750)
2021-09-26 21:36:48 +02:00
Treeston
5f0f530c08 re-enable CreatureAI::MovementInform for Chase/FollowMovementGenerator - didn't realize any AI used this
(cherry picked from commit 56a056a8a5)
2021-09-26 21:17:40 +02:00
jackpoz
289be4d97c Core/Misc: Fix FreezeDetector triggered on startup
Fix FreezeDetector triggering the assert on startup if scripts took more than a few seconds to initialize.

(cherry picked from commit 7b7dc1b508)
2021-09-26 20:51:09 +02:00
jackpoz
376defd085 Scripts/Icecrown Citadel: Fix "intended" crash
Change an assert (that can happen easily using ".npc add") to a sanity check

(cherry picked from commit 953640d563)
2021-09-26 16:21:33 +02:00
jackpoz
330881518a Core/Quest: Fix crash caused by disabled quests
Fix crash happening when a disabled quest was added and rewarded (through a GM command). Disabled quests are not validated on startup and they can reference invalid spells.

(cherry picked from commit 5f6af8c6cb)
2021-09-26 16:21:11 +02:00
ccrs
ab740026b3 Core/Movement: crashfix workaround
untested
ref #18471

(cherry picked from commit 76667e45a9)
2021-09-26 16:16:16 +02:00
jackpoz
3f659ce5ff Core/Thread: Fix crash added in fd33b1cd02
Fix crash caused by dereferencing uninitialized field.

(cherry picked from commit 623bc6483a)
2021-09-26 16:15:52 +02:00
Treeston
9f06cb63d2 Core/Threat: My dictionary informs me that "fixtate" is not, in fact, a word. Corrected to "fixate".
fd33b1c follow-up

(cherry picked from commit 1d27f83bda)
2021-09-26 16:13:15 +02:00
Shauren
58043c8d90 Core/Movement: Removed unneccessary z position adjustment
Closes #21872

(cherry picked from commit d9a2177e9c)
2021-09-26 16:12:52 +02:00
Treeston
16eb5032ad Core/Threat: Re-add fixtate system. I am being told Netherspite needs it.
(cherry picked from commit fd33b1cd02)
2021-09-26 16:12:33 +02:00
Treeston
c926e2fc94 1b7ec4b follow-up
(cherry picked from commit 7fe59c95d8)
2021-09-26 16:11:59 +02:00
Treeston
4634cfaa9f Core/Threat: Fix taunt behavior in some edge cases
(cherry picked from commit 1b7ec4bc84)
2021-09-26 16:07:40 +02:00
Treeston
f1ac141f25 Core/Unit: UNIT_FLAG renames
[UNIT_FLAG_PLAYER_CONTROLLED -> UNIT_FLAG_POSSESSED]
[UNIT_FLAG_PVP_ATTACKABLE -> UNIT_FLAG_PLAYER_CONTROLLED]
Signed off by: Shauren, Warlockbugs.

(cherry picked from commit 081eab3cf5)
2021-09-26 16:07:09 +02:00
Jorge Turrado Ferrero
a9b97939a8 Scripts/Ulduar: Fixed Vehicles when flame leviathan die(#21897)
(cherry picked from commit f13de80834)
2021-09-26 15:49:18 +02:00
Keader
962833d86f Core/Handlers: Fixed Equipament Manager (for real this time)
(cherry picked from commit 26a444719b)
2021-09-26 15:47:34 +02:00
Gooyeth
80d4bde77a Core/Player: Skip the cinematic of the first login if the character is teleported before. (#21776)
(cherry picked from commit 8cec3ffe43)
2021-09-26 15:45:44 +02:00
Keader
d8e57b1ddc Core/Handlers: Fixed a Equipament Manager typo
(cherry picked from commit 5a22467912)
2021-09-26 15:43:00 +02:00