Commit Graph

40786 Commits

Author SHA1 Message Date
Shauren
9c8109edd7 New year 2023-01-01 00:31:54 +01:00
Shauren
989f84c5f2 Build: Enable C++20 2023-01-01 00:26:53 +01:00
Shauren
0a1b40241a Build: Update required compilers to current debian stable and VS 2022
GCC: 10
Clang: 11
MSVC: 2022
2023-01-01 00:26:53 +01:00
Shauren
ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren
fa361a40c8 Core/Spells: Fixed crashes with spells cast by gameobject that summon creatures
Closes #28640
2022-12-31 19:29:52 +01:00
Shauren
704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren
2c044ea9f5 Core/Scenarios: Replace assert with null check
Closes #28639
2022-12-31 16:57:59 +01:00
Shauren
dc07faf8f4 Core/Maps: Implemented WMOAreaTable -1 grouipid fallback 2022-12-31 12:56:42 +01:00
Shauren
1fe89a3701 Core/Players: Implement saving edit mode account data 2022-12-31 12:56:20 +01:00
Shauren
55091ff4bc Core/Players: Fixed crashes when accessing ActivePlayerData::PvpInfo
Closes #28638
2022-12-31 11:53:12 +01:00
Odyssey
23cb9592fc DB/Spawns: Populate Algeth'ar Academy
Closes #28636
2022-12-31 01:09:02 +01:00
Naddley
e2d51ddc5f DB/AzureSpan: Added some more spawns 2022-12-31 01:07:04 +01:00
Shauren
bb9907f019 Core/Players: Fixed trait config validation
Closes #28601
2022-12-30 22:54:13 +01:00
Shauren
9a96d32350 Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes) 2022-12-30 21:50:16 +01:00
ModoX
78f8acb409 DB/Quests: Added some massparsed data from 9.0.2 - 9.1.5 2022-12-30 19:51:14 +01:00
Meji
8d83c78618 Core/Movement: Don't compute orientation for vertical splines (#28556) 2022-12-30 18:00:05 +01:00
Seyden
24d21301a6 Core/Objects: ignore database visibility conditions for personal clones (#28548) 2022-12-30 17:57:58 +01:00
Meji
f291ca9796 Core/SAI: Improved SMART_ACTION_JUMP_TO_POS to mirror behavior similar to SMART_ACTION_MOVE_TO_POS (#28547)
*  Support for targets other than positions
*  Added param3 Gravity, to use MoveJumpWithGravity (priority over SpeedZ)
*  Added param4 UseDefaultGravity (priority over Gravity): 19.29110527038574
*  Added param5 PointId, useful for linking the jump to the event SMART_EVENT_MOVEMENTINFORM (Type: 16)
*  Added param6 ContactDistance
*  If the target is different from a position, target params for coords allow to add offsets
2022-12-30 17:48:33 +01:00
Aqua Deus
09591fbdb0 Core/SAI: Add action param 7 (#28519)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-30 16:32:37 +01:00
Shauren
bde93b25d2 Core/Gossip: Integrate banker guid checks into shared gossip interaction data 2022-12-30 14:08:01 +01:00
Shauren
7c4c5ba549 Core/Misc: Clean up WorldSession includes a bit 2022-12-30 14:00:20 +01:00
Shauren
cf525beefd Core/Chat: Fixed chat channel name validation
* Removed it entirely for builtin channels (unused)
* Use utf8 character count to determine length instead of number of bytes

Closes #28635
2022-12-30 13:59:46 +01:00
Seyden
c5bd2ceda4 Core/Auras: Fixed iterator invalidation crash in Unit::CalcHealAbsorb (#28515) 2022-12-30 12:52:22 +01:00
ModoX
6c82d7a421 DB/Player: Added class level stats for warlock 2022-12-30 01:39:51 +01:00
Teleqraph
dbed48becc Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY (#28517)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-30 01:38:41 +01:00
Teleqraph
6515319b75 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY (#28511)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-30 01:16:29 +01:00
ModoX
6ce6665992 Core/Vmaps: Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#28632)
Closes #28326

Co-authored-by: Gosha <284210+Lordron@users.noreply.github.com>
2022-12-30 00:02:40 +01:00
Aqua Deus
659e45ad15 DB/OhnaranPlains: Added Suspicious Permafrost spawns
+ handle Phase
Closes #28631
2022-12-29 23:47:19 +01:00
Aqua Deus
02f112bae9 DB/Valdrakken: Added Chefs Hoard gob
+ handle Phase
Closes #28630
2022-12-29 23:44:47 +01:00
Naddley
9400448aa4 DB/AzureSpan: Added spawns for Brackenhide Outskirts 2022-12-29 23:42:57 +01:00
Shauren
14c48272fb Core/Spells: Added missing changes for ade34a7f48 2022-12-29 20:25:01 +01:00
Shauren
ade34a7f48 Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS 2022-12-29 16:57:35 +01:00
ModoX
a840bb9f5a DB/Quests: Added some massparsed quest data of 10.0.2 2022-12-29 16:17:04 +01:00
Meji
a2f656b3d6 DB/Orgrimmar: Added Winter Veil presents 2022-12-29 02:56:12 +01:00
Meji
4e1bf44d34 DB/EversongWoods: Added Winter Veil spawns 2022-12-29 02:55:37 +01:00
Meji
36b7d72f2b DB/SilvermoonCity: Added Winter Veil spawns 2022-12-29 02:54:54 +01:00
Meji
3d2acf7ca5 DB/TirisfalGlades: Added Winter Veil spawns 2022-12-29 02:54:10 +01:00
Meji
bed46b13f9 DB/Undercity: Added Winter Veil spawns 2022-12-29 02:53:47 +01:00
Meji
24a2768e85 DB/Mulgore: Added Winter Veil spawns 2022-12-29 02:53:02 +01:00
Meji
b6c461ee50 DB/ThunderBluff: Added Winter Veil spawns 2022-12-29 02:52:41 +01:00
Meji
d236ab9761 DB/Durotar: Added Winter Veil spawns 2022-12-29 02:51:57 +01:00
Meji
f8d9179470 DB/Orgrimmar: Added Winter Veil spawns 2022-12-29 02:51:16 +01:00
Shauren
c7e89d3576 Core/Gossip: Move setting ActionMenuID and ActionPoiID directly into GossipMenu::AddMenuItem and remove GossipMenu::AddGossipMenuItemData 2022-12-28 15:17:21 +01:00
Meji
5d8d847223 DB/Ironforge: Added Winter Veil presents 2022-12-27 19:30:47 +01:00
Seyden
61c51b76c0 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier (#28500)
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-27 16:39:05 +01:00
ModoX
8e6842b8b6 DB/Player: Added missing class stats for dh 69-70
* lvl 50 rogue
* lvl 51 mage
* lvl 45 monk
2022-12-27 16:03:09 +01:00
ModoX
f548c4016c DB/Hotfixes: Added some tact keys 2022-12-27 00:36:31 +01:00
Seyden
9ab0679781 Core/Objects: Implement FindNearestCreatureWithOptions helper function (#28488)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-26 20:13:13 +01:00
Shauren
49cef90ddb Core/DataStores: More constexpr in DB2 metadata 2022-12-26 14:18:19 +01:00
Naddley
37b2eb5a6f DB/AzureSpan: Added some more spawns 2022-12-26 02:16:23 +01:00