Commit Graph
38152 Commits
Author SHA1 Message Date
offl 1503c84d3a DB/SAI: Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts
(cherry picked from commit 6ca6a540831a29ded8bd569e395ccdff0ab3e336)
2022-01-26 18:58:29 +01:00
offl f16608d986 DB/SAI: Change orientation to home position instead of calling evade to restore orientation
(cherry picked from commit a4ab8116c3f6ddc3b9d318ab95d548ab15994104)
2022-01-26 18:57:57 +01:00
offl bb64f441f7 DB/Creature: Change respawn time of Lordaeron Footsoldier to correct
(cherry picked from commit 6779a92cbae06d515097817890c7b35af15ffadf)
2022-01-26 18:57:24 +01:00
Jinnaix 169b0296e1 Scripts/BlackwingLair: Suppression Device Room (PR #25199)
Co-authored-by: offl <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
Co-authored-by: Treeston <[email protected]>
(cherry picked from commit de56ed87368104780ddfb2e9c082076c9c83d575)
2022-01-26 18:51:07 +01:00
jackpoz 35755ba343 Core/Misc: Fix Windows 32 bits build
Close #25789

(cherry picked from commit 1cafd4ef74350cb3656917e8e033a5e21dcce193)
2022-01-26 18:48:08 +01:00
Shauren fbcf269207 Core/CrashHandler: Skip logging stack trace of the thread writing the crash log, it was launched by windows with same context as crashing thread
(cherry picked from commit dd34651f4d42ca598b2f1b2ed32e27b4742f4be7)
2022-01-26 18:47:44 +01:00
Shauren cc0affa523 Core/CrashHandler: Remove logging function variation depending on crash reason and print directly to file, not to temporary buffer
(cherry picked from commit c5e1b49e8c02386a0e9edf682692dc6d46cc862f)
2022-01-26 18:47:16 +01:00
Shauren 259bbf1e04 Core/CrashHandler: NULL -> nullptr
(cherry picked from commit 68fdfcaa507d06ce8e823e7848f4c58ef1e62732)
2022-01-26 18:46:56 +01:00
Shauren 473f3db0ab Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed file being all red in editor
(cherry picked from commit 39c5e03b749d44df346b8f37aed3eb898526365a)
2022-01-26 18:46:43 +01:00
Shauren 7893ac94a0 Core/CrashHandler: Attempt to extract C++ exception object in uncaught exception hander
(cherry picked from commit 83ed35fe62c16f5697f253a9a44bba7dcb83e80d)
2022-01-26 18:43:31 +01:00
Ovah 2819951dce Core/Units: add new functionality for units to block or enable combat interactions (#25168)
* Core/Units: add new functionality for units to block or enable combat entirely via helper to reflect what CREATURE_DIFFICULTYFLAGS_IGNORE_COMBAT and client AI functions imply

* yeah...

* Nuke Creature::IsCombatDisallowed helper as its unused by now

* no combat extra flag may now be changed on transforms if the transformed entry does not have the flag

(cherry picked from commit 764f22fc9157ad184baa38995ee4e2d821299935)
2022-01-26 18:41:41 +01:00
Carbenium d6c998a1a8 Core/Updater: Fix detection of the mysql binary when a directory is given as path
This ensures that we never pass a directory path StartProcess which results in a crash.

Closes #25216

(cherry picked from commit 98b1b20d6beea5e2fdea7e404e8d880953d4b2fb)
2022-01-26 18:41:14 +01:00
dr-j cd392970e3 DB/Quest: Add outro event for 'Guided by Honor' (11289)
Closes #16855

(cherry picked from commit 23886881b4c527d1b4b5a3de4f95855a62142edf)
2022-01-26 18:40:33 +01:00
illfated 59e920d624 DB/Texts: Fix CompletionText for quest 'Proof of Deed'
Closes #25218

(cherry picked from commit a677c6c55d75db12a8c0c8622039a3dad5a9c9a9)
2022-01-26 18:39:51 +01:00
Cerveciento 443399cbb7 DB/Locale/esES Texts missing in quests (Part 11)
Closes #25217

(cherry picked from commit cec27318489e9c0212b70c8ddd4d80549f63d8e9)
2022-01-26 18:38:55 +01:00
jackpoz a706c60828 Core/Misc: Code cleanup
(cherry picked from commit 3c28573d02db98ae8d7a41e04b9715da0556836b)
2022-01-26 18:12:13 +01:00
Jinnaix adfb050551 Core/Unit: Creatures' minions now engage in combat if their controller is attacked (PR #25219)
Closes #24340

(cherry picked from commit db9072a183cd93014d708d67ae3a762fdbf5d095)
2022-01-26 18:10:57 +01:00
jackpoz 676d877296 Core/Battlegrounds: Fix error messages in Isle of Conquest
Fixes #24032

(cherry picked from commit 02a018ea1394452896ecdd87c98df5fc8655046d)
2022-01-26 16:36:37 +01:00
jackpoz b3545479bf Core/SAI: Fix creatures casting spells while moving with flag SMARTCAST_COMBAT_MOVE
Fixes #24019

(cherry picked from commit 2910d0fb2436d9865d792ef92cb415f831a0af93)
2022-01-26 16:23:15 +01:00
Giacomo Pozzoni ffd85f9139 Scripts/Comamnds: Improve ".debug objectcount" command (#25208)
* Scripts/Comamnds: Improve ".debug objectcount" command

Include the top 5 most common creatures in the map

* Use C++ features to copy data

* Fix build warnings

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <[email protected]>

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <[email protected]>

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <[email protected]>

* Move CreatureCountWorker out of function and use template for unhandled cases

* Code cleanup

Co-authored-by: Shauren <[email protected]>
(cherry picked from commit bd5e832a648aadf1d1be94f913ea00b67398f249)
2022-01-26 16:22:00 +01:00
Treeston 7603dacc64 Core/Authserver: Deprecation of sha_pass_hash (PR #25138)
see also #25157

(cherry picked from commit 44a3aad0af4bdd132b8761761dc83df2d7d6c601)
2022-01-26 16:21:43 +01:00
Elarose 4a6db9fb59 DB/Misc: Add missing Scarab Coffers and update loot templates
Closes #9638

(cherry picked from commit 53effff9b2ee6d9d1d24b293e8fc8e096f00febc)
2022-01-26 15:44:11 +01:00
offl 8cea5f1a13 DB/Texts: Add BroadcastTextId to Glutton's texts
(cherry picked from commit 1076d5f6f48cabcf7b028701dc51e80aaf41641d)
2022-01-26 14:46:42 +01:00
Cerveciento 98e2447ad4 DB/Locale/esES Texts missing in quests (Part 10)
Closes #25207

(cherry picked from commit 039836e33c7eacd91ece129a3b08019056a63ea6)
2022-01-26 14:45:44 +01:00
Cerveciento 05e9f90ea2 DB/Locale/esES Texts missing in quests (Part 9)
Closes #25201

(cherry picked from commit e9652e0814c0c4ef19cab45191e9abdcff7f3a74)
2022-01-26 14:44:58 +01:00
jackpoz a23215c73d Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER
(cherry picked from commit 6ad6d9e67069ef048c10afbdd52627b8c765a010)
2022-01-26 14:39:22 +01:00
Gildor 3780c05285 Scripts/Naxxramas: Frogger event improvements (#25202)
* Scripts/Naxxramas: Frogger event improvements
* Prevent Living Poison accumulation
* Now Living Poison cast Explode

* check for a nearby player

* move event to the frogger trigger's AI

* Initialize and removing unnecessary things

* applying suggestions

* remove unnecessary header

* Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql

(cherry picked from commit 174ac958009222aeef83520101a28963f8c63b0e)
2022-01-26 14:38:57 +01:00
Ovahlord 785b6f294f Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans
(cherry picked from commit 9bf57958e36721fa301f62c4a5c6bd88c58edc28)
2022-01-26 14:37:31 +01:00
Carbenium c302ace100 Scripts/AzjolNerub: Fix potential error in pound spell script
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target.

Ref #21856

(cherry picked from commit 0dd4b685df53d9b61a53aaf3a577c2a9ed8cdd47)
2022-01-26 14:37:05 +01:00
Treeston fa8ab6eb98 Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone
(cherry picked from commit 7b8b999516a824b0c417631a77f133eb47b8b2f4)
2022-01-26 14:36:42 +01:00
Shauren 41fe9a84d4 Build: Enable /permissive- flag on msvc
(cherry picked from commit c8fed48b161cfff5fa90d8bf4342ede88086ada4)
2022-01-26 14:20:47 +01:00
Shauren 58d199db48 Core/Misc: Fix compile errors found with msvc /permissive-
(cherry picked from commit b3db50a3b41b2db209327387f59afa1c40532773)
2022-01-26 14:20:13 +01:00
jackpoz e2fb15fd22 Core/Metric: Include Creatures and Gameobjects panels in the Performance Profiling dashboard
(cherry picked from commit df8d50c06a6776312d5bd912dd6a5273a190a1e4)
2022-01-26 14:07:16 +01:00
jackpoz 7ea19b675f Core/Metric: Require WITH_DETAILED_METRICS CMake flag for MMaps metric
(cherry picked from commit 8ad6bd8a9ba45ef22ed0275fd402da17666d8522)
2022-01-26 14:07:00 +01:00
Giacomo Pozzoni 864d775280 Core/Misc: Fix static analysis issues (#25194)
(cherry picked from commit 07fd84b679fd6958b7e669a96c78783875e1b949)
2022-01-26 14:06:40 +01:00
offl afcb13cd44 DB/Texts: Remove mismatches between texts in creature_text and texts in broadcast_text
(cherry picked from commit bc6137d08c08ef2fb29e871cf5659c4d1c5c41ab)
2022-01-26 13:42:20 +01:00
Cerveciento 9482a2f8c9 DB/Locale/esES Texts missing in various quests (Part 8)
Closes #25200

(cherry picked from commit 7595b5ed40a70d7a29f1dcf63b44a8f348eaf8f1)
2022-01-26 13:40:01 +01:00
Trond B. Krokli c324f954ce Scripts/Outland: Convert 'Captain Tyralius' to SAI (#25188)
Closes #24676

(cherry picked from commit 7f2874a7aceb13f5c8898acbeb7f5a296eb7d610)
2022-01-26 13:23:09 +01:00
offl 7c65cee78a DB/Creature: Run action list in Reth'hedron's script even in OOC to prevent potential script stuck
Ref a2f661ea34d4146b97ecb9e7dae18b0a7cee931e

(cherry picked from commit c227f66595b1af6e1de66277212360bf21c12efa)
2022-01-26 13:22:36 +01:00
ZenoX92 c3bcdfaaf3 DB/Quest: Add support for 'Subdue the Subduer' (11090)
Closes #6982

(cherry picked from commit a2f661ea34d4146b97ecb9e7dae18b0a7cee931e)
2022-01-26 13:22:03 +01:00
offl 12a0a1b476 DB/Creature: Remove static spawns of Angered Arakkoa Protector
(cherry picked from commit 18c8bbafec88cca065fe134e9e1debb9bb516dc1)
2022-01-26 13:19:14 +01:00
offl 32111694b7 The Soul Cannon of Reth'hedron
Closes #4763

(cherry picked from commit aeb993a7daa22935263f5bc19f4f7aabf716e1d3)
2022-01-26 13:18:46 +01:00
Cerveciento 81b5359233 DB/Locale/esES Texts missing in various quests
Closes #25197

(cherry picked from commit 10f49793f9a7cd67c7b8b203290d7ea5f1829795)
2022-01-26 13:17:13 +01:00
Cerveciento c5093ade07 DB/Locale/esES Texts missing in various quests
Closes #25173

(cherry picked from commit 587b8c30300acc9a6c1f117fb48777ad96485be6)
2022-01-26 00:23:55 +01:00
offl 7aadd8aaf3 DB/Creature: Shadowy Tormentor (26966)
Closes #25172

(cherry picked from commit f72479dcb39c616a1c2e9107e429b4ad8faba3b3)
2022-01-26 00:23:28 +01:00
Cerveciento ddda7bfabb DB/Locale/esES 'quest_greeting_locale' from various NPC
Closes #25170

(cherry picked from commit 2ed215a8e0fb67fb6df9c74246bd4d5d39178fd9)
2022-01-26 00:23:01 +01:00
offl bfecd12da8 DB/Creature: Fix IC intro texts and TextRange
Closes #25165

(cherry picked from commit fafe10ea87fe3c0ad2d3795142c1fbe217c08ab1)
2022-01-26 00:22:33 +01:00
Jinnaix 2dc8115b65 DB/Loot: Important Blackrock Documents should only be lootable from a gameobject
Closes #25162

(cherry picked from commit ee05744bfe8c51bef7ccf96572c55d57132280ee)
2022-01-26 00:22:04 +01:00
Cerveciento 6d59c7019c DB/Locale/esES Texts missing in various quest
Closes #25161

(cherry picked from commit bdcd2392d00ec769ff1812be8d53ef5b069f0e22)
2022-01-26 00:21:15 +01:00
Shauren 0d46fad573 DB/Creature: Remove loot from creatures with CREATURE_DIFFICULTYFLAGS_NO_LOOT 2022-01-26 00:20:35 +01:00