Keader
9d3dd3db84
nopch fix
...
(cherry picked from commit 10f6e3818578410246750c6fce53d189ad05bee4)
2021-12-18 21:18:56 +01:00
Keader
f2e03dc9e5
Core/Scripts: Proper fix Gal'Darah Puncture remove
...
(cherry picked from commit cbc01f35b6b80c1069b2274a619c8f7a3ff730c7)
2021-12-18 21:18:44 +01:00
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
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
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
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
ccrs
31bf529667
Core/Creature: 4a219ed codestyle followup, for real this time
...
(cherry picked from commit 30f4aabf64897f11f212ea67a3192206fe97f7b0)
2021-12-18 15:39:58 +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
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
Treeston
82d62a3d4c
This is not the critical chat system bug fix you were looking for. No sir. (Oops.)
...
(cherry picked from commit 6a330214a112460f4e492135e76f1277328af406)
2021-12-18 11:27:02 +01:00
Treeston
87c2d247d9
Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers.
...
(cherry picked from commit 309851ea2442457c87f791bb44abfa89e04af1af)
2021-12-18 11:25:59 +01:00
aquadeus
da8d6b5180
Scripts/Spells: Fix Incanters Flow ( #27395 )
2021-12-18 11:24:10 +01:00
ccrs
44e9572a77
Core/Creature: add a const spell-focus-check method and remove a nasty const_cast from IsMovementPreventedByCasting()
...
closes #23670
maybe #22857 ?
(cherry picked from commit 8e88f4501d8e3b537e96fa56ad7dd25a61dff968)
2021-12-18 00:35:14 +01:00
ccrs
4db13853f7
Core/Unit: rename more things
...
Workaround prework till actual facing system rework arrives
(cherry picked from commit 3a4021be50d37c1c967db1ee73defa509264d5bc)
2021-12-18 00:34:15 +01:00
ccrs
a58881d6da
Core/Unit: rename more methods
...
Workaround prework till actual facing system rework arrives
(cherry picked from commit 85ad0befc51879627f865c86a6b415ca12401fe3)
2021-12-18 00:29:38 +01:00
ccrs
be4ed9152c
Core/Unit: rename IsFocusing method
...
Workaround prework till actual facing system rework arrives
(cherry picked from commit ec9f15a5fff7830bf2aebc517654784a6d54bb74)
2021-12-18 00:25:14 +01:00
Wyrserth
75114dd820
Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
...
Closes #16424 .
(cherry picked from commit 9da5e850f63fef2ae44739350a4771930e98cfda)
2021-12-18 00:11:44 +01:00
Wyrserth
2f2de26311
Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not. ( #23579 )
...
Fixes #23387 and #22818 .
(cherry picked from commit 0b87dffc3543c6953118d89b04a06fb19a1ab1dd)
2021-12-18 00:09:49 +01:00
Treeston
3db58c4d96
Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
...
(cherry picked from commit 1faa54fe8b2690507e4177a9a7373c0b24855291)
2021-12-18 00:03:55 +01:00
Sorikoff
1fd0ba816f
Scripts/Spells: Devour Humanoid ( #23660 )
...
(cherry picked from commit 0d53a0ba981a2471fcd951465f6be5d073fddd38)
2021-12-18 00:01:56 +01:00
Treeston
87786b1ebc
Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????
...
(cherry picked from commit c444cb17e10e118e704012e23c86e1b47f94031b)
2021-12-17 23:57:18 +01:00
Giacomo Pozzoni
92fc09b1b5
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"
(cherry picked from commit a0f8ce14e9a7aeceea035a733625cc695909a5bd)
2021-12-17 23:56:51 +01:00
Giacomo Pozzoni
e26b31509e
Core/Misc: Fix build warning
...
(cherry picked from commit 543fe77d2e9d8fb94d706513d15981f8a4527e32)
2021-12-17 23:23:30 +01:00
Treeston
8839fa3fe2
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.
...
(cherry picked from commit fedf1f557b2aa1cbb0f4bc722b24afb59cc30855)
2021-12-17 23:22:13 +01:00