Commit Graph

39720 Commits

Author SHA1 Message Date
offl
4a21e54cc5 DB/Creature: Fix gold value for TBC raid bosses
Closes #19262

(cherry picked from commit 8ed3efd820)
2022-01-26 20:36:01 +01:00
Gildor
27c70ca728 Scripts/Naxxramas: Adjust Frogger event timer (#25214)
* Scripts/Naxxramas: Adjust Frogger event timer

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit 7035a9caf1)
2022-01-26 19:51:48 +01:00
Rothend
6f10847512 Script/Quest: fix (More) Torch Catching (#24907)
* Script/Quest: fix (More) Torch Catching.

Closes #24893

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit a375f15ae2)
2022-01-26 19:50:50 +01:00
Treeston
319ddd9bcd Core/Warden: Warden refactors (PR #25235)
(cherry picked from commit 6116e5b385)
2022-01-26 19:42:11 +01:00
offl
cf369301c4 DB/Locale: Add missing esMX quest locales
Copied from already added esES locales since they're almost always similar

(cherry picked from commit cce1ccdd5c)
2022-01-26 19:27:08 +01:00
Cerveciento
ac6e50f90e DB/Locale/esES+esMX Texts missing in quests (Part 15)
Closes #25234

(cherry picked from commit ca9ce8a70b)
2022-01-26 19:26:37 +01:00
dr-j
a7f4e50097 DB/Creature: Sindragosa's Fall Wyrm Reanimator/Frost Brood Spawn events
Closes #25231

(cherry picked from commit be8affa5be)
2022-01-26 19:26:09 +01:00
Cerveciento
70342659e5 DB/Locale/esES+esMX Texts missing in quests (Part 14)
Closes #25228

(cherry picked from commit b8f21d4540)
2022-01-26 19:24:46 +01:00
offl
7afcd3f4a2 DB/SAI: Rework support for corrupted & cleansed plants from Felwood
Closes #4960

(cherry picked from commit 2ff51396c0)
2022-01-26 19:24:12 +01:00
Giacomo Pozzoni
e11e1938b5 Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure) (#25226)
* Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure)

* Core/SAI: Retry casting after 500ms if a cast failed

Fixes #24914

(cherry picked from commit 63a6e1e048)
2022-01-26 19:21:10 +01:00
jackpoz
26894508ef Core/Misc: Code cleanup
(cherry picked from commit dd28cecda3)
2022-01-26 19:18:46 +01:00
offl
92f17bf40f DB/Texts: Add correct BroadcastTextId and comments to some creature texts
(cherry picked from commit 39f2d2d1cf)
2022-01-26 19:18:32 +01:00
offl
6fbef47eff DB/Texts: Add correct BroadcastTextId and comments to some creature texts, reoder some texts and add missing
(cherry picked from commit cf57ea2045)
2022-01-26 19:17:53 +01:00
jackpoz
b3f0d92b81 Scripts/Command: Fix .mmap loc always printing command usage
(cherry picked from commit 0eb49a3cc9)
2022-01-26 19:16:55 +01:00
offl
2350c20385 DB/Texts: Add BroadcastTextId to one of Molthor's texts & remove useless locales
(cherry picked from commit 08dd9ebf78)
2022-01-26 19:16:32 +01:00
Cerveciento
c4e2ae4603 DB/Locale/esES Texts missing in quests (Part 13)
Closes #25225

(cherry picked from commit 769d47c617)
2022-01-26 19:15:55 +01:00
jackpoz
d8cdbac670 Core/Warden: Fix Warden reporting false positive checks
Issue introduced in 210176fd91

(cherry picked from commit c04f53b886)
2022-01-26 19:15:22 +01:00
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