Commit Graph
38184 Commits
Author SHA1 Message Date
Ovahlord ad0a3ecad9 Core/Loot: kill more dead code from loot. these were leftovers of previous packet conversions 2022-12-30 18:35:47 +01:00
Ovahlord dcd668661d Core/Loot: removed some dead code from a cherrypick mistake 2022-12-30 17:44:06 +01:00
Shauren 37c6835d7a Dep/rapidjson: Upgrade to Tencent/rapidjson@27c3a8dc0e 2022-12-30 17:42:01 +01:00
Shauren bc76d675fa Core/LFG: Filter out lfg dungeons that have invalid map/difficulty pairs 2022-12-30 17:41:35 +01:00
SeraphimWoW e8f8081b29 Core/Maps: Make sure login instance is added to i_maps 2022-12-29 23:00:24 +01:00
Shauren 55843a00c6 Core/Maps: Split Ebon Hold by faction and removed forced sanctuary hack
original commit: 515c0a43ef8fcf41ffb2785c5940f0234e757ec3
2022-12-29 22:58:20 +01:00
Shauren 4500ee8284 Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions 2022-12-29 22:51:30 +01:00
Shauren 82fe2ab194 Core/WorldStates: Add generic worldstates for team in instance 2022-12-29 22:39:21 +01:00
Shauren c2401d38fe Core/Maps: Fixed deadlock in battleground map creation
Closes #28154
2022-12-29 22:27:42 +01:00
Ovahlord e4bb93e84b nopch fix 2022-12-29 22:19:15 +01:00
Shauren 353b06d16e Core/WorldStates: Allow using -1 in database for MapIDs column to mark worldstates that should be bound to a map and allowed on all maps 2022-12-29 22:15:58 +01:00
Shauren 81b2ff0d94 Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-12-29 22:10:44 +01:00
Ovahlord f879d95589 Core/Utils: sync IteratorPair utilities with master branch 2022-12-29 21:59:11 +01:00
Ovahlord 5b10c54e08 DB/Misc: fixed all world database startup errors introduced by recent cherrypicks 2022-12-29 15:23:54 +01:00
Ovahlord e6a67a7ff1 Core/Spells: simplified Obsidian Armor's spell script 2022-12-29 14:33:13 +01:00
Ovahlord 4009a75a97 nopchfix² 2022-12-29 13:00:02 +01:00
Ovahlord 94ece3688f nopch fix 2022-12-29 12:38:04 +01:00
Ovahlord ddc96ebaa0 Core/Spells: fixed Obsidian Armor item proc 2022-12-29 12:36:37 +01:00
Shauren 0f0b283168 Core/Pools: Implemented pooling for instances 2022-12-29 11:56:56 +01:00
Ovahlord 317a9f2d32 Core/Pooling: sync constructor and destructor code with master branch 2022-12-27 22:39:28 +01:00
Ovahlord 72b3164552 Core/Datastores: adapt parts of master's logic for Zone2MapCoordinates 2022-12-26 13:49:47 +01:00
Shauren b732521f17 Core/Maps: Replace some Instanceable() checks with IsDungeon() 2022-12-26 13:40:18 +01:00
Shauren 265c2fa508 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-12-26 13:24:59 +01:00
Shauren 28ad85c160 Core/Spawns: Removed ObjectMgr::AddCreatureData and ObjectMgr::AddGameObjectData (old outdoorpvp helpers) 2022-12-26 12:48:54 +01:00
Ovahlord 366be45929 DB: fixed another query error 2022-12-26 12:35:23 +01:00
Shauren 2a39dece9e Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects 2022-12-26 12:33:45 +01:00
Shauren 51363865bc Core/OutdoorPvP: Remove manual spawn management functions from OutdoorPvP 2022-12-26 12:18:54 +01:00
Shauren c5cccebf64 Core/OutdoorPvP: Move remaining outdoorpvp spawns to db 2022-12-26 12:15:21 +01:00
Shauren 95f092868a Core/OutdoorPvP: Move Zangarmarsh outdoorpvp spawns to db 2022-12-26 12:09:43 +01:00
Ovahlord d43170562c Scripts/OutdoorPvP: ported some refactors for Halaa 2022-12-26 11:59:49 +01:00
Ovahlord a3883ea2d5 DB/Spawns: fixed a typo in Halaa's spawn queries 2022-12-26 11:49:39 +01:00
Shauren 9f7227e7b5 Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions 2022-12-26 11:39:40 +01:00
Shauren cbd46b7664 Core/Conditions: Implemented conditions for spawn groups 2022-12-26 11:15:13 +01:00
Shauren 740fa9e65a Core/WorldStates: Fixed wrong prepared statement being used for saving world state values 2022-12-26 10:54:07 +01:00
Shauren 89b019ffeb Core/WorldStates: Move custom worldstates to separate table and move saving worldstate values to WorldStateMgr 2022-12-26 10:53:47 +01:00
Shauren 3ae02de71b Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-12-24 23:56:06 +01:00
Shauren e7f8a0e086 Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf6f7cd355e1994723d6be6a5003d4d4.

# Conflicts:
#	src/server/game/Events/GameEventMgr.cpp
2022-12-24 23:36:13 +01:00
Ovahlord aea5d7429e buildfix 2022-12-22 06:39:40 +01:00
Ovahlord a2b802c510 Core/WorldStates: fixed setting arena season world states as these had been overriden by world state template loading 2022-12-22 06:12:58 +01:00
Ovahlord f165e1cb2b DB/Events: added event entries for arena season 9, 10 and 11 and set default season to 11 2022-12-22 05:39:03 +01:00
Shauren 05b2fe8acd Core/WorldStates: Migrate Ebon Hold worldstates from Player::SendInitWorldStates to new system 2022-12-21 22:09:35 +01:00
Shauren e9b13bcf00 Core/WorldStates: Migrate remaining hardcoded worldstates from Player::SendInitWorldStates to new system 2022-12-21 22:06:50 +01:00
Shauren d35f58a46d Core/WorldStates: Migrate pvp season worldstates to new system 2022-12-21 22:05:48 +01:00
Shauren ccff3af924 Core/WorldStates: Migrate battleground HolidayWorldState to new system 2022-12-21 22:01:54 +01:00
Shauren e748845e78 Core/WorldStates: Migrate OutdoorPvP worldstates to new system 2022-12-21 21:55:27 +01:00
Shauren c63312cc06 Core/WorldStates: Migrate battleground worldstates to new system 2022-12-21 21:41:58 +01:00
Ovahlord b5dcfece67 Core/Locales: b5ad731cf3 followup 2022-12-21 10:47:49 +01:00
Ovahlord b5ad731cf3 Core/Locales: ported locale string moving optimization from master branch 2022-12-20 16:31:46 +01:00
ratkosrb 122b52b079 Core/Creature: Use proper name for wander distance 2022-12-20 15:48:37 +01:00
Ovahlord 75447899c4 Core/GameObjects: implement allowMounted for GAMEOBJECT_TYPE_SPELLCASTER and only count uses if the spell has actually been cast
* this fixes Cauldrons of Battle to no longer prematurely despawn when a player attempted to pick up multiple flasks while already carrying one in his inventory
2022-12-20 09:52:14 +01:00