Commit Graph

609 Commits

Author SHA1 Message Date
Shauren a2f06ff596 Core/Maps: Fixed manual spawn groups being automatically spawned by conditions
(cherry picked from commit acf750cbff)
2024-05-28 17:02:53 +02:00
Jeremy d0d5d309bb Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground

(cherry picked from commit be11f42a16)
2024-03-28 20:38:55 +01:00
Shauren 67577f8043 Core/Scripts: Removed script calls from constructors and destructors
(cherry picked from commit 783f9c0ea3)
2024-03-25 20:22:48 +01:00
Shauren 9072664038 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
(cherry picked from commit 9402c66e84)
2024-03-25 20:22:13 +01:00
Shauren 9a0414c79e Core/Objects: Implemented vignettes
(cherry picked from commit fccf6fb72b)
2024-03-25 20:12:21 +01:00
Shauren 45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren f26a93a8c1 Core/Maps: Cleaned up incorrect error log 2023-12-29 20:41:25 +01:00
Jeremy fb64d7fe8e Core/Maps: Properly set initial spawn group state for groups that have conditions (#29509) 2023-12-29 14:02:37 +01:00
Shauren 75a306e422 Core/Instances: Prevent sending PendingRaidLock in instances that don't have a InstanceScript
Closes #29470
2023-11-28 16:24:38 +01:00
Jeremy e72bde5236 Core/BattlegroundMap: Load all cells when created & mark all creatures as active (#29410) 2023-11-14 18:40:39 +01:00
Teleqraph 9eceff2bc2 Core/Map: Implement several difficulty getters (#29370)
Co-authored-by: ModoX <moardox@gmail.com>
2023-10-22 11:24:48 +02:00
Shauren a3702cc526 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 20:21:32 +02:00
Shauren da0ba86694 Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map 2023-10-16 11:57:24 +02:00
funjoker 17c69368a3 Dep/Boost: Drop windows boost hacks (#29358) 2023-10-13 21:10:01 +02:00
Shauren 1e29c0066e Core/Instances: Removed deprecated field from InstanceScript 2023-09-19 00:18:50 +02:00
Shauren 150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +02:00
Shauren f4297aa3c6 Core/Misc: Add missing virtual destructors 2023-08-22 12:38:55 +02:00
Shauren 86725ed926 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:08:10 +02:00
Shauren 0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Teleqraph 5fddf06daa Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942) 2023-05-06 17:58:40 +02:00
Shauren 2569dc8cfe Core/Instances: Fixed not being able to reenter instances that have no encounters completed
Closes #28737
2023-03-21 12:07:54 +01:00
Meji 97d413c9b4 Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met (#28778) 2023-01-29 19:50:34 +01:00
DeadMouse deac3476b0 Core/Misc Fixed build with boost 1.74 (#28679) 2023-01-09 10:27:16 +01:00
Shauren d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren 92ed5e8af1 Core/Misc: Include cleanup, 2023 edition 2023-01-07 22:38:21 +01:00
Shauren e8e330addd Core/Misc: Remove boost::heap::fibonacci_heap from header files 2023-01-06 16:54:16 +01:00
Shauren d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren 704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren c3e1ff90a5 Core/Maps: Changed functions checking if map can be entered to use TransferAbortReason directly instead of intermediate Map::EnterState enum 2022-10-08 19:11:34 +02:00
Shauren 8c3c07cdf4 Core/Maps: Ensure one of InstanceScript::Create or InstanceScript::Load is called on map creation 2022-10-06 18:34:42 +02:00
Shauren 4667db37f3 Core/Maps: Implemented MapFlags2::IgnoreInstanceFarmLimit 2022-10-04 00:19:38 +02:00
Shauren 20357af88e Core/Instances: Add instance reset events at lock expiration 2022-10-04 00:19:38 +02:00
Shauren ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren 4cbaaa3435 Core/Instances: Save instance entrance based on completed encounters 2022-10-04 00:19:38 +02:00
Shauren ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 2022-10-04 00:19:38 +02:00
Shauren 76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren 9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren a131542855 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it) 2022-10-04 00:19:38 +02:00
Shauren 17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Shauren 769591c99e Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions 2022-10-02 18:51:37 +02:00
Shauren c1eb91c1c1 Core/WorldStates: Add generic worldstates for team in instance 2022-07-24 20:11:24 +02:00
Shauren fbe0b8efeb Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-07-24 18:56:40 +02:00
Shauren 16a06346ae Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-07-23 19:13:33 +02:00
Shauren 073a036d84 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-07-19 23:18:19 +02:00
Shauren 775be0682a Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects 2022-07-18 22:45:03 +02:00
Shauren c42e52f171 Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions 2022-07-18 20:21:58 +02:00
Shauren db79e29121 Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change 2022-07-09 00:50:29 +02:00
Shauren de26cafbbe Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE 2022-07-07 23:07:20 +02:00
Shauren 70eacebad5 Core/WorldStates: Add area requirements to world states 2022-06-26 21:27:17 +02:00