Shauren
90be8fafb3
Core/Misc: Use std::scoped_lock instead of unique_lock where possible (and old lock_guard)
2025-11-30 14:25:32 +01:00
Shauren
f4c0ede726
Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming
2025-07-11 17:51:49 +02:00
Jason Dove
c7f5696479
Core/Scenarios: Allow scripts to set instance scenario by id ( #31104 )
...
* add example at Stratholme service entrance
2025-07-09 00:26:37 +02:00
Jeremy
5b83fec88e
Scripts/Battlegrounds: Implement Deephaul Ravine ( #30393 )
2025-02-01 01:58:23 +01:00
Shauren
8127609764
Core/Maps: Link instance map to LfgDungeons
2024-10-05 11:56:02 +02:00
Razmataz
13a5d2d42d
Core/Maps: Decrement map unload timer by correct (accumulated) time diff ( #30197 )
2024-08-28 00:12:42 +02:00
Jeremy
be11f42a16
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
2024-03-28 19:29:22 +01:00
Shauren
679bf966d6
Core/Maps: Initialize instance faction using group leader (if available) instead of the first player entering the map
2024-03-26 21:53:07 +01:00
Shauren
783f9c0ea3
Core/Scripts: Removed script calls from constructors and destructors
2024-03-14 20:32:03 +01:00
Shauren
4779fa5048
Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
2024-03-13 18:51:29 +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
Jeremy
e72bde5236
Core/BattlegroundMap: Load all cells when created & mark all creatures as active ( #29410 )
2023-11-14 18:40:39 +01: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
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
ddd0c7b152
Core/Instances: Reimplement resetting instances from UI
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
SeraphimWoW
51166b2c5e
Core/Maps: Make sure login instance is added to i_maps ( #28156 )
2022-07-27 12:14:35 +02:00
Shauren
515c0a43ef
Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced sanctuary hack
2022-07-25 21:43:19 +02:00
Shauren
3f0266624d
Core/Maps: Fixed deadlock in battleground map creation
...
Closes #28154
2022-07-25 20:59:12 +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
67dc228497
Dynamic build fix
2022-07-23 21:28:59 +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
8466894d81
Core/Maps: Replace some Instanceable() checks with IsDungeon()
2022-07-20 18:55:40 +02:00
Shauren
b8e52fd90b
Core/Maps: Made instance_template no longer required to create and enter instance maps
2022-07-17 19:14:13 +02:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
Shauren
b3f1563140
Core/Maps: Add missing MapManager::_freeInstanceIds initialization in 665bab608c
2022-02-12 22:33:49 +01:00
Shauren
665bab608c
Core/Misc: Cleanup MapManager includes (boost::dynamic_bitset)
2022-02-11 21:59:21 +01:00
Kelno
ce8c83ef6f
Core/Maps: cosmetic correction on comment ( #24096 )
...
(cherry picked from commit d0efd76c92 )
2021-12-20 23:47:37 +01:00
Jozef Dúc
70cd58765e
Check player conditions to enter instance ( #23117 )
...
Check player conditions to enter before party condition.
(cherry picked from commit 62f621fcd7 )
2021-11-24 22:25:12 +01:00
Shauren
2d7af28e9f
Core/Transports: Store information about continent transports
2021-10-02 19:59:56 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
37c3259de8
Core/Maps: Fixed initializing instance free ids when compiled with WITH_COREDEBUG
...
Closes #19931
(cherry picked from commit 9d37c2b8eb )
2020-07-16 22:00:30 +02:00
Shauren
fbdf8784a5
Core/Instances: Fixed and optimized instance id reuse
...
(cherry picked from commit 2639056071 )
2020-07-16 21:47:27 +02:00
Shauren
deca201f77
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
2020-06-27 13:33:17 +02:00
Shauren
eba31dea27
Core/Maps: Improvements to terrain swap handling
...
* Fixed memory leak when unloading grids
* Handle child maps being entered
* Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-24 22:34:25 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
f729050900
Core/Maps: Ensure all child terrain maps are created before doing anything on parent map such as loading respawn times and corpses
2019-04-06 11:13:34 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
19fd295685
Core/Maps: Allow entering raid maps without a raid group for maps older than current expansion
2018-05-20 20:07:33 +02:00
Shauren
be0f2c297c
Core/Maps: Implemented loading swapped maps
2018-03-25 19:28:36 +03:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00
Shauren
885d9b53c3
Core/DataStores: Updated dbc/db2 to 7.0.1.20994
2016-05-20 23:48:48 +02:00
Shauren
c75fcbe20b
Core/Achievements: AchievementMgr refactoring
...
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Naios
59e3cf82ac
Core/Game: Move scheduled map scripts counter methods into MapManager
...
* Since those have nothing to do with core scripts and are
not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
Treeston
7422557d03
Merge pull request #16110 from Treeston/3.3.5-instancerevive
...
Game/Maps: Clean up instance zone-in handling
(cherry picked from commit eb3dc8a4f0 )
2016-03-21 19:41:28 +01:00
Naios
329225b40d
Core/Game: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00