Commit Graph

738 Commits

Author SHA1 Message Date
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
49aa298006 Core/Objects: Optimize spawn tracking handling in building SMSG_UPDATE_OBJECT 2025-03-01 15:00:46 +01:00
Shauren
5875058ed8 Core/Quests: Updated quest future status checks to include all variants of that status 2025-02-03 00:07:02 +01:00
Shauren
401502ea3c Core/Grids: Modernize TypeContainer with variadic template 2025-01-05 20:22:34 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Shauren
4ccaac5d91 Core/GameObjects: Remove unused function 2024-12-20 10:44:20 +01:00
Shauren
3177c410e4 Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK 2024-12-04 20:00:43 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Shauren
68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren
ee54ade397 Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function 2024-10-27 19:05:35 +01:00
Shauren
067fa31d15 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides 2024-10-25 15:36:11 +02:00
Jeremy
bef005e346 Core/GameObject: Cast Pickup spell of GAMEOBJECT_TYPE_FLAGSTAND
* and do interact condition checks
2024-10-21 00:31:27 +02:00
Jeremy
0535a61cb7 Core/GameObject: Implemented OnFlagTaken/OnFlagDropped hooks for GAMEOBJECT_TYPE_FLAGSTAND 2024-10-21 00:30:20 +02:00
Jeremy
c499110a0d Scripts/Battlegrounds: Implement Silvershard mines (#30120) 2024-09-14 13:01:54 +02:00
Jeremy
314e155a0c Core/GameObjects: Implement ControlZone::UncontestedTime field (#30152) 2024-09-01 21:44:22 +02:00
Shauren
edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Jeremy
66abfd1c53 Spells/Auras: Implement SPELL_AURA_ACT_AS_CONTROL_ZONE (#30083) 2024-08-05 01:51:29 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren
2756ca1c35 Core/GameObject: Implemented NotLOSBlocking door property 2024-07-17 00:21:03 +02:00
Meji
31bd3804e3 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051) 2024-06-23 15:00:35 +02:00
Antonio Martín Berti
3fd9677543 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013) 2024-06-04 00:44:22 +02:00
Shauren
bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
ModoX
88bbd27f8d Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons
2024-04-10 20:03:14 +02:00
ModoX
58839b7c18 Core/Entities: nopch build fix 2024-04-09 17:00:43 +02:00
ModoX
9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +02:00
ModoX
5cea37153e Core/Entities: Added GetStringId helper methods 2024-04-09 16:34:24 +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
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy
1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
Meji
6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
099ad4a0fd Core/Misc: Fixed a bunch of uninitialized class fields 2023-12-31 17:08:54 +01:00
Jeremy
42de312a79 Core/Spells: Clean up some gameobject types in EffectOpenLock (#29532) 2023-12-28 19:46:50 +01:00
Shauren
930a08fe03 Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing 2023-10-24 10:38:27 +02:00
Jeremy
0aa61e9341 Core/GameObject: Update spawn conditions when new ControlZone event is triggered (#29349) 2023-10-04 12:50:44 +02:00
Jeremy
f96f041c3e Core/GameObject: Implement ControlZone gameobject type (#29320) 2023-10-03 15:55:24 +02:00
Shauren
2de255bc17 Core/GameObjects: Implemented data22 for chests (allow opening while immune) 2023-09-30 16:31:01 +02:00
Shauren
955343f747 Core/GameObjects: Don't restock non-personal chests that didn't have loot modified 2023-08-30 19:23:56 +02:00
ModoX
2d0311b7d9 Core/GameObjects: Fixed GAMEOBJECT_TYPE_NEW_FLAG_DROP casting impl from wrong object 2023-08-29 08:47:04 +02:00
ModoX
bb5eab4c36 Core/GameObjects: Added some checks to GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP to prevent exploits 2023-08-29 08:47:02 +02:00
Jeremy
0ede6c1556 Core/Battlegrounds: Rework queues (#29200)
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
Golrag
6175467c3e Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state 2023-08-24 16:15:32 +02:00
Golrag
5e61827814 Core/GameObject: Expose several NewFlag fields for future purposes 2023-08-24 16:15:32 +02:00
Golrag
28c5d71b28 Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues 2023-08-24 16:15:32 +02:00
Jeremy
1336370b45 Core/GameObject: Mark some pvp related gameobjects as active (#29249) 2023-08-24 11:48:09 +02:00
Shauren
f0a862e71b Core/Misc: Modernize comparison operators 2023-08-24 00:51:26 +02:00
Jeremy
f5461a1161 Battlegrounds/Buffs: Rework using areatriggers (#29171)
* Rework GameObject trap handling for buffs (removed radius hack)
* Add script for Old AreaTriggers
* Add script for new AreaTriggers
* Spawn AreaTriggers in Arathi Basin
2023-07-30 19:49:12 +02:00
Shauren
845f61e0a9 Core/GameObjects: Added stringid to gameobjects 2023-07-30 13:55:34 +02:00