Commit Graph
37472 Commits
Author SHA1 Message Date
Gildor e67e0ff9fb Scripts/Naxxramas: Fix Heigan Eruption spell (#24470)
(cherry picked from commit 6c7c2c6cd279813333e0b1cc1f60b22a04f368dd)
2022-01-01 19:17:54 +01:00
Ovah a3d28efcfa Core/Movement: various improvements for creature knockbacks
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data
* calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all)

(cherry picked from commit cfd63c350f5b01fd699903b17162b2f5167b1386)
2022-01-01 19:17:05 +01:00
Killyana 92ab79bd9a DB/Creature: Add some missing spawns
(cherry picked from commit b69c5560dc3d8e8f2b957773d9d91bf5b6d21e89)
2022-01-01 19:15:28 +01:00
Killyana 8ee91389bf DB/Spawn: Spawn phase 4 in "The Bombardment" area
(cherry picked from commit 7b48580296cddc6c64c7fcb0dae2a1e23d6ec833)
2022-01-01 17:56:39 +01:00
Alan Deutscher 68e1dc8adb Core/Players: Improve trade exchange calculations (#24435)
* Add some comments to Player::CanStoreItems to help me wrap my head around how the method works.

* Experimental fix for incoming trade-stack problem.

* Only add to stacks that aren't already full.

* Use remaining_count instead of static 1.

* Remove debug logging from exploration.

* More uses of remaining_count for consistency.

* Correct space count check

* Correct overflow problem.

* Remove redundant check, handled in existing for statement.

* Store Item pointers in order to be able to merge in multiple incoming stacks.

* Build fix - was continually working locally, but failing in CI.

* Break build in order to keep PR focused on Player.cpp changes.

* Adjust phrasing of how arrays are initialized.

* Fix phrasing of comments to avoid sounding like a ToDo item

* In the spirit of b649273d5f, rephrase an old comment to be a statement rather than a question.

(cherry picked from commit e11a13c755fcc7912d54bd4732795e1d992aab0c)
2022-01-01 16:29:06 +01:00
dr-j d6931f392e DB: Remove wrong spawns related to "Kickin’ Nass and taking manes"
Closes #24464

(cherry picked from commit 4bf5bec50904999efd5bb860e3cfbb8263a911de)
2022-01-01 16:21:20 +01:00
Killyana 9f25add1c7 DB/Quest: Investigate the Blue Recluse & Investigate the Alchemist Shop
Closes #24024

(cherry picked from commit 1a1489d73e9b69b5c5465b2963080500fe050fa6)
2022-01-01 16:20:37 +01:00
Keader 6957dd9bd6 Scripts/Ulduar: Little improvements in Auriaya
* Removed DespawnAtEvade
* Fix Feral Defender Damage

(cherry picked from commit 77dd751499a92eb06b66eadd00bbc71da07e62be)
2022-01-01 15:54:52 +01:00
Rushor 4665a2bc40 DB/SAI: Servant of the Throne & Ancient Skeletal Soldier
Closes #24401

(cherry picked from commit d2d296574137b5a6c1216f6a631c8587c6b1b43f)
2022-01-01 15:54:04 +01:00
Rushor 14a4fb99fe DB/Creature: Val'kyr Protector & Val'kyr Guardian
Closes #24398

(cherry picked from commit 13a429ab2610c016503044f2abec7828d881226b)
2022-01-01 15:53:36 +01:00
Killyana 8a26afd548 DB/Spell: Lok'lira's Bargain
ref #24408

(cherry picked from commit 36ba94c007a20f5ab7c961b2e8b1ddde1372662c)
2022-01-01 15:53:10 +01:00
dr-j 3704243f9b DB/Quest: Vereth the Cunning quest chaining
Closes #24452

(cherry picked from commit 80803039c2cb5f418d2563d23154140f331b9b1d)
2022-01-01 15:52:18 +01:00
Keader 0484c0a337 Scripts/Trial of Crusader: Fixed issue with Snobold Vassal and some achiev criteria resets
* Fixed snobold behavior when gormok dies
* Fixed UPPER_BACK_PAIN Archiev reset
* Fixed THREE_SIXTY_PAIN_SPIKE Archiev reset

(cherry picked from commit 78dff46bf25a6e7e1f68c227278d7ff6f768cf9a)
2022-01-01 15:51:21 +01:00
Gildor a477e85ae3 Scripts/Quest: The Exorcism of Colonel Jules (#24459)
* Remove Anchorite Barada gossip when event start

(cherry picked from commit 8a5b02be0a678ff4a9c589e3da05e96103f819fc)
2022-01-01 15:51:07 +01:00
dr-j 68d2263863 DB/GameObject: Brazier of Madness
Closes #24427

(cherry picked from commit c1c1929e062603a9561952c5da54e8450e9f5ad6)
2022-01-01 15:30:37 +01:00
ForesterDev e73735fa61 Core/PacketIO: updated SMSG_DURABILITY_DAMAGE_DEATH (#24442)
- use RATE_DURABILITY_LOSS_ON_DEATH for death from falling
- add note, that RATE_DURABILITY_LOSS_ON_DEATH doesn't change log message

(cherry picked from commit a1831e0c1e)

Co-authored-by: MitchesD <[email protected]>
(cherry picked from commit e1a8ebc064a2e30b4f1d0d129f034ff64368bedc)
2022-01-01 15:25:11 +01:00
Killyana aeb250d597 DB/Creature: Arcanist Torseldori & Bloodmage
Closes #24449

(cherry picked from commit 400e2913179e0ff47518558f89b687161031967a)
2022-01-01 15:14:08 +01:00
Killyana f01d07c315 DB/Quest: Mystery of the Infinite & Mystery of the Infinite, Redux
Closes #16988

(cherry picked from commit 3621b1fd34f86ec06088f06fe38a7b1207b14e9a)
2022-01-01 15:13:30 +01:00
Killyana da46ffd94c DB/Gameobject: Remove wrong script from Tirisfal Pumpkin
(cherry picked from commit f9d117737998a6bdf560b02e9ca3f4a5ce4bfa2a)
2022-01-01 15:11:46 +01:00
Killyana dcea677b01 DB/Creature: Sartharion Twilight Egg
(cherry picked from commit daecf90ac454a44d28c9f9f3a328a29d32558080)
2022-01-01 15:10:40 +01:00
Killyana aeb949f589 DB/Quest: Battle at Valhalas: Fallen Heroes
Spawn positions fix and linked aggro

(cherry picked from commit 608d23fb1e2f2eaa1c3b155f8da4aa7fd02dbe8b)
2022-01-01 15:09:08 +01:00
Killyana 1c8e81c9f8 DB/Quest: Battle at Valhalas: The Return of Sigrid Iceborn
Closes #22578

(cherry picked from commit 83c222826bdc214e211f1a1572bc91396f9c5426)
2022-01-01 15:08:37 +01:00
Killyana 3f6820a6ac DB/Quest: Improve Devout Bodyguard behavior related to the quest A Fall From Grace
(cherry picked from commit d57b42f2c89d4c40be20bc5d3b309b3a31d31e41)
2022-01-01 15:08:06 +01:00
Killyana 4dae63d16a DB/Creature: Fel Orc Neophyte
Add immune to pc/npc for cosmetic spawns to avoid accident aggro

(cherry picked from commit 2aa32d3beb3340370be71020bf99110c5bb7a484)
2022-01-01 15:05:39 +01:00
Gildor 60e66621da Core/Gameobjects: Improve stealth detection (#24417)
* Core/Gameobjects: Improve stealth detection

* fix warning: private field 'i_funit' is not used

* Code cleanup

* add comment

Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit 862097a63351e957fd4aa6cb82fe7d9edf4d3926)
2022-01-01 15:05:01 +01:00
Sven 2aa5f4e1b2 Improvements to Pyroguard Emberseer (UBRS) script (#24405)
* UBRS: Improve Pyroguard Emberseer script

* Remove whitespaces

* More whitespaces removed

* Addressing change requests
Removed cast from constructor
Removing unused member field

* That should be the last white spaces

* Forgot to remove the declaration

* Update boss_pyroguard_emberseer.cpp

* Add break to For loop

* War on white spaces

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit c3037c35639a547fca6be02ad1a0a2ed4c1c5fe9)
2022-01-01 14:52:43 +01:00
Killyana baa848c992 DB/Quest: Danger! Explosives!
Closes #22490

(cherry picked from commit 5ec303724e46c1ce6981d8bbe12d09428367c808)
2022-01-01 14:47:26 +01:00
ForesterDev 931ca1e546 Core/PacketIO: updated SMSG_FEATURE_SYSTEM_STATUS (#24403)
* Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS

(cherry picked from commit 231207970b)

* Define complaint status values and replace magic numbers

* Add missing header

Co-authored-by: joschiwald <[email protected]>
(cherry picked from commit bfd73e7f47ec670308f72cbd0dbc42ef80cd7e92)
2022-01-01 14:43:20 +01:00
Sorikoff 26ae6df032 Scripts/Pets: Mojo (#24431)
* Mojo

* Update

* Rename 9999_99_99_99_world.sql to 2020_04_11_01_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 194691f7c3992fbea13227a190007f05451d742a)
2022-01-01 14:38:52 +01:00
jackpoz 7eff81f9db Core/Pools: Fix crash on startup
(cherry picked from commit 9cde3ffd1404e784406f385061f4df0f6b429b61)
2022-01-01 14:34:20 +01:00
Killyana e4bcb65fcf DB/SAI: Replace the action 70 by 41 to despawn gobs
Years ago the action 70 was used to despawn/respawn gobs but it's no longer the case , it must only be used to respawn gobs with negative respawntime

(cherry picked from commit 428528774e0ee8da623ed7234f9251d808634fa2)
2022-01-01 14:30:56 +01:00
Giacomo Pozzoni 97c1d01cbb Core/Pooling: Remove respawn times from the database when despawning a pool (#24422)
* Core/Pooling: Remove respawn times from the database when despawning a pool

Remove respawn times from the database when despawning a pool. This is needed when a Game Event ends but there are still some respawn times saved in the database.

* Remove respawn time of active pool objects even if they are not spawned

(cherry picked from commit 4f33fd3932d362466ee017111895bf14fcc79c88)
2022-01-01 14:02:00 +01:00
Killyana 281e695c56 Creature: Gorkun Ironskull & Martin Victus in The Pit of Saron
Still some events are missing in this instance

(cherry picked from commit d0f9ace67970f51bd1e9fb153a0844555f2b1ca2)
2022-01-01 13:48:05 +01:00
Aokromes 9d70595957 Misc: Deprecate mysql 5.6
(cherry picked from commit 0fa366cbda66b10584075286db348f0e5e6e8a32)
2022-01-01 13:29:04 +01:00
Shauren 2f17038373 Scripts/Eye of Eternity: Fixed The Focusing Iris not respawning on wipe
Closes #22948

(cherry picked from commit f57b1e27d062286553b8dd3199ce118eb99ac270)
2022-01-01 13:28:41 +01:00
Shauren ba69c91f4b Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
Closes #24423

(cherry picked from commit 18b36734f6ac235dbb7a37ba46d1c8d09d8171ab)
2022-01-01 13:28:04 +01:00
Killyana a020c4ad7c DB/SAI: Har'koa
(cherry picked from commit 81a09eb03ebd9f8bc2cf4f9db3232ab06bbad348)
2022-01-01 13:09:55 +01:00
Killyana dbcac4f282 DB/Creature: Ahn'kahar Watcher
(cherry picked from commit 2d72439b068093e6226ce74ca83747d85ab0327b)
2022-01-01 13:09:25 +01:00
Killyana 22697db18b DB/Quest: Add a missing text for the quest Rescuing Evanor and fix a gob flag
Reduce 25724 respawntime to 1min

(cherry picked from commit 8fe2e66f2f0b0dc5a80c3c510ccb1304f36d2708)
2022-01-01 13:08:08 +01:00
dr-j dcb868e44f DB/SAI: Improvements for Writhing Mound event
(cherry picked from commit aafe303fc499ca8f35fd89fb429f02616bcffc73)
2022-01-01 13:07:22 +01:00
Giacomo Pozzoni a947ee1912 Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects (#24416)
* Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects

* Include new Coalesce(..) template by @Shauren

(cherry picked from commit 90b00288c24dfefccb338bd33b025cf85e82076d)
2022-01-01 13:06:27 +01:00
dr-j c0c867e6e5 DB/Quest: Hard to Swallow
Closes #23915

(cherry picked from commit 64246306678c12024f401c2c1934a8b452057452)
2022-01-01 12:59:09 +01:00
jackpoz 68d947d42f Core/Log: Log all character kicks to "network.kick" category
(cherry picked from commit 31018c36527755166d8a297ac9e6c98a66f014ae)
2022-01-01 12:56:24 +01:00
jackpoz dbb0f399fa Core/NetworkIO: Adjust more packet throttling values
Thanks @Nefertumm at https://github.com/azerothcore/azerothcore-wotlk/commit/f5e38a7f5797dc04b2fd5a6710aabd9780751339 for the heads-up

(cherry picked from commit 68fcd592f8c164d1720fda147d37960362194306)
2022-01-01 12:44:07 +01:00
jackpoz 33e495983b Core/Movement: Add safety check to avoid C++ undefined behaviour
(cherry picked from commit 67f28adaf738ebf1377d06adac2fa30033928dd6)
2022-01-01 12:42:31 +01:00
Ovah d18d2b84f2 Core/Objects: cache current liquid status of objects when updating position data and use it to replace unnecessary vmap lookups (#24399)
* dropped unneeded IsUnderwater override for players since the default position data update considers collision height already so we don't have to rely on that tempfix anymore. This actually fixes breathing bars showing up depending on your characters size (gnomes get their breathing bar earlier, taurens later etc)

(cherry picked from commit bea850fb73c6c3b3cc4e51bd3a42d178947882a5)
2022-01-01 12:42:17 +01:00
Aokromes fa1eb9f36f Misc: Update (C) year
happy new year
2022-01-01 09:08:49 +01:00
Shauren 9f76071108 Core/Misc: Remove whitespace at the end of lines 2022-01-01 01:25:04 +01:00
kvolk2git 285e3a1ed2 Core/DBUpdater: Fixed db auto updater for mysql 8 when ssl connections are enabled (#27298)
(cherry picked from commit 57617e215b2f45ba1636e0002714792326c3e57c)
2022-01-01 01:11:58 +01:00
Shauren 3b4a2a0a94 Core/DBLayer: Fix compilation with mysql 8
(cherry picked from commit 579d41acc5ca3af9900b546dc3e910a595cee066)
2022-01-01 01:10:25 +01:00