Commit Graph

38153 Commits

Author SHA1 Message Date
Cerveciento
00a6f6f705 DB/Locale/esES Texts missing in quests (Part 12)
Closes #25221

(cherry picked from commit b0734f81bd)
2022-01-26 18:58:55 +01:00
offl
1503c84d3a DB/SAI: Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts
(cherry picked from commit 6ca6a54083)
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 a4ab8116c3)
2022-01-26 18:57:57 +01:00
offl
bb64f441f7 DB/Creature: Change respawn time of Lordaeron Footsoldier to correct
(cherry picked from commit 6779a92cba)
2022-01-26 18:57:24 +01:00
Jinnaix
169b0296e1 Scripts/BlackwingLair: Suppression Device Room (PR #25199)
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
(cherry picked from commit de56ed8736)
2022-01-26 18:51:07 +01:00
jackpoz
35755ba343 Core/Misc: Fix Windows 32 bits build
Close #25789

(cherry picked from commit 1cafd4ef74)
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 dd34651f4d)
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 c5e1b49e8c)
2022-01-26 18:47:16 +01:00
Shauren
259bbf1e04 Core/CrashHandler: NULL -> nullptr
(cherry picked from commit 68fdfcaa50)
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 39c5e03b74)
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 83ed35fe62)
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 764f22fc91)
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 98b1b20d6b)
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 23886881b4)
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 a677c6c55d)
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 cec2731848)
2022-01-26 18:38:55 +01:00
jackpoz
a706c60828 Core/Misc: Code cleanup
(cherry picked from commit 3c28573d02)
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 db9072a183)
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 02a018ea13)
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 2910d0fb24)
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 <shauren.trinity@gmail.com>

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

Co-authored-by: Shauren <shauren.trinity@gmail.com>

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

Co-authored-by: Shauren <shauren.trinity@gmail.com>

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

* Code cleanup

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit bd5e832a64)
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 44a3aad0af)
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 53effff9b2)
2022-01-26 15:44:11 +01:00
offl
8cea5f1a13 DB/Texts: Add BroadcastTextId to Glutton's texts
(cherry picked from commit 1076d5f6f4)
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 039836e33c)
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 e9652e0814)
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 6ad6d9e670)
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 174ac95800)
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 9bf57958e3)
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 0dd4b685df)
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 7b8b999516)
2022-01-26 14:36:42 +01:00
Shauren
41fe9a84d4 Build: Enable /permissive- flag on msvc
(cherry picked from commit c8fed48b16)
2022-01-26 14:20:47 +01:00
Shauren
58d199db48 Core/Misc: Fix compile errors found with msvc /permissive-
(cherry picked from commit b3db50a3b4)
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 df8d50c06a)
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 8ad6bd8a9b)
2022-01-26 14:07:00 +01:00
Giacomo Pozzoni
864d775280 Core/Misc: Fix static analysis issues (#25194)
(cherry picked from commit 07fd84b679)
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 bc6137d08c)
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 7595b5ed40)
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 7f2874a7ac)
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 a2f661ea34

(cherry picked from commit c227f66595)
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 a2f661ea34)
2022-01-26 13:22:03 +01:00
offl
12a0a1b476 DB/Creature: Remove static spawns of Angered Arakkoa Protector
(cherry picked from commit 18c8bbafec)
2022-01-26 13:19:14 +01:00
offl
32111694b7 The Soul Cannon of Reth'hedron
Closes #4763

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

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

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

(cherry picked from commit f72479dcb3)
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 2ed215a8e0)
2022-01-26 00:23:01 +01:00
offl
bfecd12da8 DB/Creature: Fix IC intro texts and TextRange
Closes #25165

(cherry picked from commit fafe10ea87)
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 ee05744bfe)
2022-01-26 00:22:04 +01:00
Cerveciento
6d59c7019c DB/Locale/esES Texts missing in various quest
Closes #25161

(cherry picked from commit bdcd2392d0)
2022-01-26 00:21:15 +01:00