Commit Graph
37010 Commits
Author SHA1 Message Date
Keader b7503b6c76 Fix nopch build
(cherry picked from commit 1886507e7f91249a335978e2fa1a859e93d56ffa)
2021-12-18 21:16:51 +01:00
Keader 2d0d0a3e58 Scripts/Gundrak: Fixed Puncture when Gal'darah die
(cherry picked from commit 130a3859ecdcb0ad9eba180641b2e4ffbca83613)
2021-12-18 21:16:40 +01:00
Keader 7c2665bdca Scripts/Gundrak: Added a missing entry in Gal Darah Stampede Charge script
Noob Keader, Shame !

(cherry picked from commit 61ad87d1069a1ed44f7ae50f3c0646102b3ccb9a)
2021-12-18 21:15:40 +01:00
Sorikoff 374db51bae Scripts/Spells: Code style adjustments for druid scripts (#23725)
(cherry picked from commit 63bbf4a4bee03a3ca5e73eafcef4976c76d86f5d)
2021-12-18 21:14:53 +01:00
Sorikoff 568e60ef51 Scripts/Spells: Port druid scripts to new script registration syntax (2 of 3) (#23696)
* Scripts/Spells: Port Druid Scripts to New Script Registration

* Revert

* Revert 2

* Revert 3

* Revert 4

(cherry picked from commit 9a8a01925ae0a02f565fb317a2786e82b20cc298)
2021-12-18 21:11:58 +01:00
Shauren a995e5fda4 Tools/Misc: Document strange array access indexing
Closes #23723

(cherry picked from commit aa0d468e04311ace1e6e5117b4a339c50b636367)
2021-12-18 21:00:21 +01:00
jackpoz 6989141e71 Core/Misc: Fix linux build
(cherry picked from commit c4cce31a13b2e98538f015ecf289856c73f13037)
2021-12-18 20:58:07 +01:00
jackpoz bea0e48531 Core/MMaps: Fix mobs evading when target is out of MMap meshes
Fix mobs evading when target is out of MMap meshes causes by an overzealous check added in c602220e02bed1ad76c9e60064eeec5fd97bfe80 when trying to fix an infinite loop in Recast.
If the target is outside of the MMap mesh (for example very close to a wall which is an un-walkable area with current TrinityCore settings and that might be changed in the future) Detour will not be able to find the height of the poly and getPolyHeight() will return DT_FAILURE | DT_INVALID_PARAM . Most of the time this is ok and can be ignored and it's still better than having the Unit evade.
Fix #23613

(cherry picked from commit 5a980226497605b18f1855fa39f340c10ee9dd53)
2021-12-18 20:57:57 +01:00
Shauren 8f3904f8fd Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
(cherry picked from commit 3a4216fd979eb2a7667b0861a770e9af4f242eab)
2021-12-18 20:57:38 +01:00
Killyana 6e4a578cb0 DB/Creature: Olrun the Battlecaller
Closes #23720

(cherry picked from commit 6e64cea69c94a74142b45aea53f589dcad57b5d8)
2021-12-18 20:45:13 +01:00
Keader 47659e219a Core/Spells: Fixed some issues with Drain Soul
Issue 1: Drain soul was always negative, but effect2 need be positive.
Issue 2: Drain soul was interrupted if someone in your group die. Caused by negative effects proccing in creature.
Issue 3: Since effect2 is positive, it was down-ranking in low level targets and should never happens (fixed before by ariel, transforming everything in negative in 2c8a6fb771a42169a1817149ab0a2a19912ebea7 but it's wrong)

(cherry picked from commit 43c08b176115505b76c027667047f9a5bfcc4e11)
2021-12-18 20:43:05 +01:00
Sorikoff 6cf301d4f6 Scripts/Spells: Port druid scripts to new script registration syntax (3 of 3) (#23714)
(cherry picked from commit f7793e78000389315d53b22fb4e117d512c5a4d6)
2021-12-18 20:42:13 +01:00
Keader 24281a5323 Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID (#23710)
Ty sirikfoll for all help :)

(cherry picked from commit 95284b23d1e48883fe738ecf5a12c4253566894e)
2021-12-18 20:32:42 +01:00
Treeston 97bf9278a8 Entities/Creature: Fix an edge case assertion failure with pets dying in specific situations while casting spells.
(cherry picked from commit 6590a0bfcefe7b8e5f87c82ba5ab4df2c72be418)
2021-12-18 20:31:57 +01:00
Aokromes fc7ea18039 Core/Spells: Survey Sinkholes will now have a bigger range to be able…
… to hit all trigger npcs

By Ovahlord

(cherry picked from commit 028db8432eb220de198123871741fd8c36c52ebe)
2021-12-18 20:31:45 +01:00
Treeston e0e1978b08 Entities/Player: ReacquireSpellFocusTarget is now private. It should've been private all along.
(cherry picked from commit 1c2b1cbba82fcd523ccd0cceafe532f35d71dcc1)
2021-12-18 20:29:29 +01:00
Treeston 4b588694ca Core/Creature: Fix an issue that sometimes prevented spellcast focus targets from being reacquired.
(cherry picked from commit fcce90508d899641494d7c281a0e08e411a0d5ab)
2021-12-18 20:29:05 +01:00
Shauren c5244d4e66 Core/Bnetserver: Added --update-databases-only console argument to bnetserver 2021-12-18 20:26:44 +01:00
Treeston 0b61c3b7b1 [3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)
- Proper management commands (.account 2fa)
- Secrets can now be encrypted (set TOTPTokenSecret in .conf)
- Secret now stored in binary
- Argon2 and AES primitives
- Base32/64 support

(cherry picked from commit 4211645834c467a03c60248e80818d3607be9ea7)
2021-12-18 20:24:50 +01:00
Keader 92e92e818b DB/Spells: Fixed Prayer of Mending proc with AOE Spells
Fix proc with spells like: Professor Putricide AOE Abomination damage, Sindragosa Frost Damage, Blood Queen Damage.

(cherry picked from commit 3d356b97d4cc4c7ec4c641487241eae6dcc0558e)
2021-12-18 19:19:42 +01:00
Treeston f434241305 Core/Channels: Fix a bug that would cause channel settings to disappear in certain settings. Fix a bug that would cause channels to not be saved on .server shutdown without delay. Closes #23699.
(cherry picked from commit 464b0b059b5ccb7db6d2f282937711032005b5c3)
2021-12-18 19:16:47 +01:00
Sorikoff 66f5275d26 Scripts/Spells: Runic Healing Injector (#23690)
* Scripts/Spells: Runic Healing Injector

* Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql

(cherry picked from commit 382f563571d39f9ec02a0df899dbdaaf1745af83)
2021-12-18 19:15:11 +01:00
Sorikoff 26f0c1182a Scripts/Spells: Port Part of Druid Scripts to New Script Registration (#23691)
(cherry picked from commit 996d4f7cc49041d57ab6152961dd645784b909a7)
2021-12-18 19:11:34 +01:00
Treeston 7704d8fc7a Scripts/Commands: Add .go boss, and do a usability pass over .go instance to match it.
(cherry picked from commit 57b36dfdc6b077cc4eba29406e3ded4dbf9f8ce6)
2021-12-18 16:13:24 +01:00
Treeston c7e7c52c1a Scripts/Commands: Cleanup some output from .go instance
(cherry picked from commit 4320a021e93423122745684e2689aa1a7028f8b4)
2021-12-18 16:00:20 +01:00
Killyana e6f3abcfa8 DB/Creature: Vanguard Tower Dummy
(cherry picked from commit f4ea3993cec2ee942420d760db8f46e95fdc5cfb)
2021-12-18 15:55:51 +01:00
Killyana 53bc592365 DB/Creature: Battlescarred Frostworg
(cherry picked from commit 195655dc8e77c46be8ac653f8487107dbb7d3c4f)
2021-12-18 15:54:44 +01:00
Killyana d60f5c3c65 DB/Creature: Frostworg and Son of Hodir
(cherry picked from commit f9db6cfe01f8f610186d241930f3318565adb1e7)
2021-12-18 15:53:41 +01:00
Killyana 83dee918ba DB/Quest: Polishing the Helm
(cherry picked from commit b2554c0944ec84b0a4da511b8826510c33ed0f2d)
2021-12-18 15:52:17 +01:00
Treeston dcf9854e6a coverity
(cherry picked from commit 268384d2af505964a422552f5684a502d6814194)
2021-12-18 15:49:44 +01:00
Treeston a8ceed265a typo fix in comment
(cherry picked from commit 4fcb322010edb6a80fa08e633ce331f80410f301)
2021-12-18 15:47:18 +01:00
Wyrserth b2d1240ca3 DB/Quest: fix more quest chaining in Icecrown. Thanks PolarCookie for the initial work.
Closes #22338.

(cherry picked from commit ca69f16c4593d09055104845cb101b5623671893)
2021-12-18 15:47:07 +01:00
Killyana c013571b76 DB/Creature: ELM General Purpose Bunny Hide Body (Phase I)
(cherry picked from commit 6869dbf1c1f61178d6e252576519931e77678d7d)
2021-12-18 15:46:34 +01:00
Killyana 5d5679bf15 DB/Creature: Proto-Drake Corpse, Dead Drakerider & Dead Warbear
(cherry picked from commit 1d69f04c02645915089730c9afd79ce371d37ed5)
2021-12-18 15:45:22 +01:00
Wyrserth 98d2659fbd DB/Quest: fix chaining for some Alliance Icecrown quests.
Closes #15992.

(cherry picked from commit 3f638484ab1eac26e34db54aac457291746795c6)
2021-12-18 15:43:36 +01:00
Killyana c0ec1e05e2 DB/Creature: Anub'ar Darter
(cherry picked from commit 31e607e2b783664c3e19fa921afab856bc47199a)
2021-12-18 15:42:11 +01:00
Killyana e80f803e3d DB/Misc: Spirit Healers in Death Knight starting area
Update Spirit Healers with the correct entry, position, auras and movements
Fix Olrun the Battlecaller waypoint high
Fix Val'kyr Battle-maiden movements

(cherry picked from commit 7392bd360f6dbc5258169fe15b87428576a6cd93)
2021-12-18 15:40:47 +01:00
ccrs 31bf529667 Core/Creature: 4a219ed codestyle followup, for real this time
(cherry picked from commit 30f4aabf64897f11f212ea67a3192206fe97f7b0)
2021-12-18 15:39:58 +01:00
Killyana fee0b64cca DB/Creature: Scarlet Lord Jesseriah McCree
(cherry picked from commit edd329612bc478907cb3c8f1246b69e249dc4a0e)
2021-12-18 15:38:04 +01:00
Sorikoff cd0fb6edbf Scripts/Blackrock Depths: Use DB Texts for Doom'rel (#23681)
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel

* Quick Fix

(cherry picked from commit 33807a065a24410cb3daf17cea6eb31af408c4e8)
2021-12-18 15:36:00 +01:00
Treeston 28942db431 Common/Util: Sorry about that unexpected downtime at 3AM last night, everyone. (We call them happy little features.)
(cherry picked from commit a4d5b24874e7f6f09efc69119785c7c9113870b4)
2021-12-18 15:33:44 +01:00
Killyana b2eadc9c8e DB/SAI: Add Explosive Rune ability to Dregmar Runebrand
(cherry picked from commit 0b972a8bf38a75cdb8213d5371a4cd5231180d73)
2021-12-18 15:33:35 +01:00
Killyana 400879af0e DB/Creature: Bristlepine Den Bunny
(cherry picked from commit e2004672ff4a5bcf15a0e04b933a8cdec5bdb5f6)
2021-12-18 15:32:52 +01:00
Killyana 2fed23f871 DB/Creature: Add missing spawns to Area 52
(cherry picked from commit 1bdda58d1f733b45bf2a9cf9d31f0daa2a7997cd)
2021-12-18 15:32:02 +01:00
Killyana 9df99fa512 DB/Quest: The Bones of Nozronn
Closes #12168

(cherry picked from commit afccb54a0ee03fd7dab3cf5381823cef27271c45)
2021-12-18 15:30:04 +01:00
Treeston 51fbda4223 Core/Pooling: Quest pooling rewrite: (PR#23627)
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests

(cherry picked from commit a5e73e41c0e813e674bb0a644e0052052435494e)
2021-12-18 15:28:45 +01:00
Giacomo Pozzoni 6d5086da17 Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle (#23646)
* Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle

* Get the root vehicle to set the phase to all accessories. Attempt to get the accessories to stay mounted on the vehicle.

* Fix the accessories to stay mounted on the vehicle

(cherry picked from commit 15e85f882fdb7b5d1d48302907e76c993ee4e923)
2021-12-18 14:08:25 +01:00
Treeston a90073dadd no idea what happened there (4a219ed follow-up)
(cherry picked from commit b159921099e3d10fbe282d9496b9ffb56f28f16d)
2021-12-18 11:37:33 +01:00
Treeston a18268156a Core/Chat: Always save channel info to database on shutdown if persistence is enabled.
(cherry picked from commit 2d74652b5bfb4455791ff872fac13fb0f6bcc02a)
2021-12-18 11:37:14 +01:00
Treeston 14c38a1c52 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff.
(cherry picked from commit 4a219eda07c353139608065f7d0a016094ee4ce0)
2021-12-18 11:36:50 +01:00