Commit Graph

14148 Commits

Author SHA1 Message Date
Treeston
2d74652b5b Core/Chat: Always save channel info to database on shutdown if persistence is enabled. 2019-08-04 02:19:34 +02:00
Treeston
4a219eda07 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff. 2019-08-04 01:26:20 +02:00
Treeston
6a330214a1 This is not the critical chat system bug fix you were looking for. No sir. (Oops.) 2019-08-04 01:21:06 +02:00
Treeston
309851ea24 Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers. 2019-08-03 23:53:10 +02:00
ccrs
8e88f4501d Core/Creature: add a const spell-focus-check method and remove a nasty const_cast from IsMovementPreventedByCasting()
closes #23670
maybe #22857 ?
2019-08-03 18:12:53 +02:00
ccrs
3a4021be50 Core/Unit: rename more things
Workaround prework till actual facing system rework arrives
2019-08-03 18:04:00 +02:00
ccrs
85ad0befc5 Core/Unit: rename more methods
Workaround prework till actual facing system rework arrives
2019-08-03 17:53:22 +02:00
ccrs
ec9f15a5ff Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
2019-08-03 17:45:06 +02:00
Wyrserth
9da5e850f6 Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.
2019-08-03 09:39:48 +02:00
Wyrserth
0b87dffc35 Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not. (#23579)
Fixes #23387 and #22818.
2019-08-03 09:29:56 +02:00
Treeston
1faa54fe8b Core/SmartAI: SmartAI creatures no longer process health-based hooks after death. 2019-08-02 21:27:23 +02:00
Sorikoff
0d53a0ba98 Scripts/Spells: Devour Humanoid (#23660) 2019-08-02 18:34:09 +02:00
Treeston
c444cb17e1 Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor???? 2019-08-02 18:06:57 +02:00
Giacomo Pozzoni
a0f8ce14e9 3.3.5 Don't allow to summon dead hunter pets (#23271)
* Core/Player: Add support to SMSG_PET_TAME_FAILURE

* Core/Pet: Don't summon dead pets when using "Call pet"
2019-08-02 16:09:02 +02:00
Giacomo Pozzoni
543fe77d2e Core/Misc: Fix build warning 2019-08-02 08:08:11 +02:00
Treeston
fedf1f557b Core/Chat: Custom channel preservation rewrite. Channel data is now loaded at startup, and written to the DB periodically, instead of both things happening in real time. 2019-08-01 23:42:14 +02:00
Keader
22c5419bf2 Core/Spells: Split ProcFlags of PROC_HIT_INTERRUPT
Followup: 3ffe570b21
2019-08-01 15:17:20 -03:00
Treeston
1a5c832559 nopch 2019-08-01 19:27:53 +02:00
Treeston
3d4bebd8d9 Scripts/FollowerAI: Some cleanup:
- FollowerAI properly resumes follow after evading.
- Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing
- FollowerAI properly assists in combat.
- FollowerAI properly despawns if quest is abandoned.
- FollowerAI now supports dynamic respawning for escort NPCs.
2019-08-01 18:32:26 +02:00
Keader
3ffe570b21 Core/Spells: Fixed PROC_HIT_INTERRUPT not triggering by PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS
Spells like Pummel (PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS) need trigger PROC_HIT_INTERRUPT
2019-08-01 11:16:03 -03:00
Ovah
d629bad7a1 Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed (#23216)
* Core/Spells: do not allow root auras to bypass the root movement template state when getting removed

* yeah....
2019-08-01 15:40:07 +02:00
ForesterDev
7614cab633 Core/Movement: Remove PLAYER_FLAGS_IS_OUT_OF_BOUNDS flag if player manages to move back in bounds (pretty much gms only) (#23664)
(cherry picked from commit fcb50c5e65)
2019-08-01 12:45:38 +02:00
Giacomo Pozzoni
2803269e8c Core/Misc: Fix build warning 2019-08-01 09:02:51 +02:00
Treeston
0b722e23cf Entities/Unit: fix an unrelated check from doing nothing because somebody didn't understand how type-casting works 2019-08-01 01:27:10 +02:00
Treeston
a8b1b9a3c6 Entities/Unit: Add a missing underflow check to prevent really really low damage from underflowing when paired with flat damage modifiers. Closes #23655. 2019-08-01 01:27:10 +02:00
Shauren
6f7ab81725 Core/AuctionHouse: Fixed auction deposit calculation
Closes #23656
2019-08-01 00:17:06 +02:00
jackpoz
d9ae19d974 Core/GameEvent: Fix OnGameEvent() hook not being called on Creature/GameObject spawned by the event itself
Hook broken since it was added in 1b2c413933
2019-07-31 21:09:35 +02:00
Shauren
713dd276a7 Core/PacketIO: Fixed structure of SMSG_AUCTION_COMMAND_RESULT 2019-07-31 20:33:47 +02:00
Giacomo Pozzoni
c3619f42a5 Core/PetAI: Change an assert to a TC_LOG_ERROR 2019-07-31 16:15:01 +02:00
Treeston
7fa990edc6 Scripts/ICC: Prevent Professor Putricide from displaying weird behavior during the Rotface/Festergut encounters as a result of his boss boundary 2019-07-31 16:02:29 +02:00
ForesterDev
1506af08ad Core/RBAC: Fix changing security level (#23662)
(cherry picked from commit 0bae7d6918)
2019-07-31 14:19:10 +02:00
Treeston
9c603ea87f Core/Combat: Properly unset engagement flag on death. 2019-07-31 13:17:32 +02:00
Treeston
5378fc4500 Core/Misc: Add even more RBAC/Language values I need for #23633. 2019-07-31 03:20:12 +02:00
Treeston
cb690fc705 Core/Misc: Add RBAC/Language values I need for #23633. 2019-07-31 00:16:00 +02:00
Giacomo Pozzoni
22f258edcc Core/SAI: Attempt to fix a crash 2019-07-30 16:33:24 +02:00
Treeston
b2b7ae8898 Contrib/Misc: There, build fix. 19d71fb follow-up. 2019-07-30 12:04:26 +02:00
Treeston
19d71fb206 Contrib/Misc: Allow enumutils_describe.py to better deal with commented-out enum lines 2019-07-30 11:42:08 +02:00
Treeston
00b10c6b34 missing include e813200 follow-up 2019-07-29 21:47:12 +02:00
Treeston
e813200e5e Core/Misc: Kick a Totem error log upstairs one stack frame to give it access to various debug info and make Aokromes happy. 2019-07-29 21:37:15 +02:00
Giacomo Pozzoni
30a4aca266 Scripts/Blood Furnace: Fix infinite loop in Broggok encounter
Fix infinite loop in Broggok encounter caused by https://github.com/TrinityCore/TrinityCore/pull/23300
2019-07-29 08:22:58 +02:00
Treeston
163f44c1b0 Core/AI: No longer do strange things when told to enter evade mode while there's no need to do so, typically by terrible legacy code. 2019-07-29 00:14:10 +02:00
Treeston
55ec3bd73f Core/Threat: Properly update offline states even if all threat references are offline. Closes #23639. 2019-07-28 22:24:34 +02:00
Treeston
c3dd67dfbb Core/AI: PetAI now properly signals engagement state. Closes #23640. 2019-07-28 22:05:50 +02:00
jackpoz
9b292f4369 Core/Spells: Fix infinite loop
Fix an infinite loop caused by a mix of item 25498 and liquid damage
2019-07-28 17:13:48 +02:00
Shauren
73c1d666fa Core/Entities: Fixed crash happening when deleting a creature/gameobject on respawn timer from db
Closes #23590
2019-07-26 19:55:02 +02:00
Wyrserth
2cb1e7b18d Script/CullingOfStratholme: add out-of-combat texts to Postmaster Malown and fix Arthas' attack animation when he kills the two civilians for the RP event. 2019-07-25 16:21:48 +02:00
Gildor
75a5192c31 Spells/Priest: Fix Power Infusion, shouldn't stack with Arcane Power (Mage) (#23619)
* Spells/Priest: Fix Power Infusion, shouldn't stack with Arcane Power (Mage)

* delete unnecessary comments

* make @Aokromes happy ;)

* update group_id

* Rename 9999_99_99_99_world_335.sql to 2019_07_25_00_world_335.sql
2019-07-25 14:44:56 +02:00
Gildor
6d2cd7f687 Core/Arenas: Remove doors in RL, NA and BE when arena has begun (#23606) 2019-07-25 12:55:42 +02:00
ForesterDev
0c317498a5 Scripts/Defines: cleanup some magic numbers in factions (#23631) 2019-07-25 12:54:49 +02:00
ForesterDev
b9756de7e5 Core/PacketIO: Updated SMSG_OVERRIDE_LIGHT (#23635)
* Core/PacketIO: Updated SMSG_OVERRIDE_LIGHT

(cherry picked from commit 4c94108ba9)

# Conflicts:
#	src/server/game/Maps/Map.cpp
#	src/server/game/Server/Packets/MiscPackets.cpp
#	src/server/game/Server/Packets/MiscPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
2019-07-25 11:08:31 +02:00