Commit Graph
39957 Commits
Author SHA1 Message Date
Shauren 737d94d7ef Core/World: implement database support for default map and realm wide world states
Co-Authored-By: Shauren <[email protected]>
2022-06-25 22:48:27 +02:00
Naddley e708bd28d1 DB/Spawns: Added Khadgar Pre-Garrison spawn in Lunarfall / Shadowmoon Valley
Closes #28054
2022-06-25 01:11:06 +02:00
Shauren 5d27939667 Core/Conditions: Implemented conditions for spawn groups 2022-06-24 22:20:34 +02:00
Shauren e2cf6d68fc Core/SpawnGroups: Renamed GetSpawnGroupsForInstance and its argument to not cause confusion with instance ids (equivalent to instance save id, not map id) 2022-06-24 21:38:29 +02:00
Shauren bb8a8cbc47 Core/Players: Don't trigger quest objective and criteria updates for gold modifications before quest log and criteria progress are loaded 2022-06-24 21:37:06 +02:00
Shauren 33c3ea1013 Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2 2022-06-24 21:36:08 +02:00
Naddley 4ca8a1e95a DB/Spawns: Added spawns to Gul'var / Shadowmoon Valley
Closes #28052
2022-06-24 16:32:57 +02:00
Naddley 926b761648 DB/Spawns: Added initial spawns to Starfall Area in Shadowmoon Valley
Closes #28046
2022-06-24 14:56:49 +02:00
Shauren 2e479707e3 Build: Removed duplicate find_package(MySQL) call 2022-06-23 00:05:27 +02:00
Shauren 4dfb1f248f Core/Items: Fixed logic mistake in ItemTemplate::IsRangedWeapon 2022-06-22 23:51:22 +02:00
Shauren 80a5d475ee Core/Spells: Fixed crash in triggered spells with SPELL_ATTR2_RETAIN_ITEM_CAST
Closes #28047
2022-06-22 15:35:23 +02:00
Antonio Martín Berti bd401af091 Core/Conditions: Added CONDITION_SCENE_IN_PROGRESS, useful for cases where you need phase things when a scene is in progress. (#28011) 2022-06-21 23:26:07 +02:00
Shauren ae6b9e6c41 Build: Modernize mysql finding script 2022-06-20 22:43:22 +02:00
Shauren d85379faa6 Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher 2022-06-19 15:02:25 +02:00
Shauren 1043911410 Build: Cleanup proto & shared cmakelists 2022-06-18 16:02:50 +02:00
Shauren ffc23bd7ef Core: Updated allowed build to 9.2.5.44232 2022-06-18 11:59:23 +02:00
Shauren 091e71502c Build: Improve automatic finding of libraries on mac 2022-06-17 18:04:02 +02:00
Shauren 758580c076 Core/Crypto: Fixed openssl 3.0 compatibility for custom hmac_sha256 digest for RSA 2022-06-17 15:37:47 +02:00
Shauren 5859510b54 Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient 2022-06-17 15:20:55 +02:00
Shauren 61263bf74d Core/Spells: Corrected unit flag checked with SPELL_ATTR6_CAN_TARGET_UNTARGETABLE 2022-06-17 12:54:34 +02:00
Aqua Deus d5f5bbfa66 Scripts/Spells: Fix hunter talent Posthaste (#28019) 2022-06-16 17:45:23 +02:00
Смердокрыл 5517208b67 Core/Player: Distinguish between ranged and non-ranged weapons in GetWeaponForAttack (#27992) 2022-06-16 15:58:33 +02:00
Aqua Deus 756f928758 Scripts/Spells: Fix lifebloom final heal and update some druid spell scripts (#28028) 2022-06-16 15:47:22 +02:00
Aqua Deus 0c1d3e9fda Scripts/Icecrown Citadel: Fix spirit alarms activation (#28029) 2022-06-16 15:43:23 +02:00
Aqua DeusandShauren deea9b95a2 Core/Spells: Fix druid talent Warrior of Elune proc (#28026)
Co-authored-by: Shauren <[email protected]>
2022-06-16 15:40:20 +02:00
daMaex 71efb44dbd Core/Crypto: Fixed GenericHMAC::Finalize wth openssl 3.0
(cherry picked from commit 0b6f77a0062389ea0bc90427a56d2cc90eda6768)
2022-06-16 13:53:26 +02:00
Aqua Deus 16c70f2dd5 Scripts/Spells: Fix druid talent Lunar Inspiration (#28027) 2022-06-16 12:32:40 +02:00
Shauren 4a8bacc634 Core: Updated allowed build to 9.2.5.44127 2022-06-15 11:58:03 +02:00
Shauren daafe1c181 Remove double empty lines 2022-06-13 20:29:07 +02:00
Shauren cace414497 Core/Transports: Localized transport objects within each map
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-13 20:06:26 +02:00
Naddley 8f537b9686 DB/SAI: Added Vanguard Battlemage teleport gossip options (Stormwind/Orgrimmar portalroom)
Closes #27980
2022-06-11 14:58:14 +02:00
Shauren 94d829c84f Core/Pools: Implemented pooling for instances 2022-06-11 14:04:56 +02:00
Naddley 4e2b4ada0b DB/Spawns: Added Eventide Village spawns
Closes #27997
2022-06-11 02:15:12 +02:00
ModoX 03ca6a86bb DB/Spawns: Added some spawns for Draenei Boat Landing (Alliance Garrison Intro)
Closes #27987
2022-06-11 01:48:45 +02:00
offl 7d9d55ee87 Scripts/Quest: Migrate few quest spell scripts to zone files (#28015)
(cherry picked from commit b52e0ccbad718eb0b2d84f4a247c60f7934e8eb6)
2022-06-10 19:32:05 +02:00
offl fcc08ffb22 Scripts/Quest: Rework 'The Perfect Dissemblance' (12260) & 'A Fall From Grace' (12274) & Bombard the Ballistae (12232) & Without a Prayer (12254) (#28013)
Closes #26750

(cherry picked from commit ee9e4ac33e354f14f18efbbad8bf52e2e33e3003)
2022-06-10 19:28:04 +02:00
Kaytotes 2e0afa7bca Core/Units: Removed incorrect facing movement packet sent with every creature autoattack (#28006)
(cherry picked from commit eab6852b686ffaafa3aefb09b9c310c453db55aa)
2022-06-10 19:25:46 +02:00
Jinnaix 84996901cc Core/Spells: Correct flagging spell caster for pvp when healing/buffing friendly creatures - it should only happen if target is in combat (#27977)
(cherry picked from commit b155209ec40f867fc90d64eb207f3d3e7f633c2b)
2022-06-10 19:25:31 +02:00
offl ba89ca2444 DB/Creature: Add missing PvP flag to some creatures
(cherry picked from commit 222a0ba8ee68c83c8063f1b5eb4287a2c3a515cd)
2022-06-10 19:22:08 +02:00
offl 4a3182fc96 DB/SAI: Use OnSpellCast instead of OnSpellHitTarget in one case
(cherry picked from commit db72ba91678b95906d5528b6cb73490507c779eb)
2022-06-10 19:22:08 +02:00
offl 038ccf567e DB/SAI: Remove one of hacks to stop follow movement
(cherry picked from commit 07b895cd0aed737e852bc77aa92b0c4c5c5ee9c5)
2022-06-10 19:22:08 +02:00
offl 04b0596021 Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001)
(cherry picked from commit 861ec6a5b9a1e579e3cc3e415898fe7a2a28cf62)
2022-06-10 19:22:08 +02:00
Jinnaix 45bbbd5acd correctly apply npc pvp flags (#27974)
(cherry picked from commit 2237926cec890d12849b0c8af14ada6dd6c7e6aa)
2022-06-10 19:22:08 +02:00
Gildor bda1fac13f Scripts/Naxxramas: Fix achievement The Immortal / The Undying (#27937)
(cherry picked from commit ea41ef261e794aca6ee713b64235ba110f66cc49)
2022-06-10 19:22:06 +02:00
Riztazz 5417285a11 Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event (#27920)
* Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event

* Core/Scripts: Remove magic numbers in brd script, adjust codestyle to tc preference

* missing )

Closes #27919

(cherry picked from commit 0d8672732552b0474e22b077a2318fa87446f25f)
2022-06-10 19:08:05 +02:00
Shauren 312569970e Core/Achievements: Fixed optimization from 9b44ed9cda347bfda1078666b3779d985fc37b2b being ineffective for UpdateAchievementCriteria calls that don't have any related criteria
(cherry picked from commit a2a7bd9394dfeb084871eb0a49f2b217fcdfb017)
2022-06-10 19:05:31 +02:00
jackpoz 3bedbf6596 Core/PacketIO: Continue processing packets even if player is not in world
(cherry picked from commit aee4f0350ea5610b663cb07fb097f2fad256809e)
2022-06-10 16:58:19 +02:00
jackpoz ce4916ec79 Core/Metric: Sync default Metric.Interval value
Sync default Metric.Interval value in C++ with the value in worldserver.conf

(cherry picked from commit c83d00a645a310c48abd454b68402d366773c4d1)
2022-06-10 16:57:35 +02:00
Shauren daafde7518 Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
Closes #27772

(cherry picked from commit b73d031fe0d217b5189847ed38efc938c69b3c88)
2022-06-10 16:56:34 +02:00
stoneharry 1046a027f2 Core/Chat: Apply chat flood control to addon messages as well (#26908)
Co-authored-by: Shauren <[email protected]>
(cherry picked from commit 5384fc194f9061bbac314abb66a9bac88aaaf760)
2022-06-10 16:56:23 +02:00