Commit Graph

702 Commits

Author SHA1 Message Date
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
Jeremy
3cfc27f5ca Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP (#28021) 2023-07-24 17:27:28 +02:00
Meji
3aa264d0c7 Core/Scripts: Fix EventScript assert for GameObject::SetDestructibleState (#29131)
Closes #29167
2023-07-20 17:11:56 +02:00
Shauren
0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Meji
d015711fbb Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3) (#28816) 2023-07-09 11:59:35 +02:00
Shauren
a3ef01f87b Core/GameObjects: Only start loot restock timer if loot contents were modified and ignore it for personal loot
Closes #29023
2023-07-03 00:17:17 +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
Shauren
16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
Meji
6c71a84e6c Core/GameObjects: Allow certain types to be sent to the client without display (#28908) 2023-04-15 20:45:21 +02:00
Shauren
d6d5d94ebe Core/PacketIO: Fixed SMSG_ENABLE_BARBER_SHOP structure
Closes #28606
2023-03-23 00:06:43 +01:00
Meji
5d5ca30b23 Core/Spells: Allow implicit targeting of serverside WorldObjects (#28827) 2023-03-12 17:12:36 +01:00
Shauren
8f38c12c4e Core/Misc: Move GetContentTuningForArea from ObjectMgr to DB2Manager 2023-03-12 11:58:19 +01:00
Meji
bb67731711 Core/Fishing: Update correct fishing skill according to area expansion (#28838)
Closes #26676
2023-03-12 11:07:34 +01:00
Shauren
ea3f7f665b Core/GameObjects: Fixed crash with transport gameobjects that have only 1 entry in TransportAnimation/TransportRotation db2
Closes #28673
2023-02-05 22:14:11 +01:00
Shauren
b6965b2c30 Core/Objects: Move EventProcessor update to WorldObject::Update 2023-02-05 16:24:13 +01:00
Meji
56d0f7a970 Core/GameObjects: Fixed the behavior for GAMEOBJECT_TYPE_FISHINGNODE (#28781) 2023-02-05 15:16:19 +01:00
Shauren
5f8cc1a120 Core/GameObjects: Don't apply pool anti-break hack for gameobjects not using legacy compatibility mode 2023-02-04 23:50:08 +01:00
Shauren
ffe870fc42 Core/GameObjects: Implemented Checkallunits property for traps 2023-02-04 23:49:23 +01:00
Shauren
4bec7233ba Core: Updated to 10.0.5 2023-01-28 01:53:26 +01:00
Shauren
3e85598d99 Core/Objects: Call base class Update function for Unit and GameObject (currently does nothing) 2023-01-15 23:01:10 +01:00
Shauren
7df4f5b285 Core/GameObjects: Use serverOnly property of GameObjectTemplate for all types that have it, not just spell focus
(cherry picked from commit 4ee64a232a)
2023-01-12 22:55:18 +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
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren
c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Jeremy
8023daabef Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state (#28611) 2022-12-22 17:28:26 +01:00
Shauren
dfd2e6d901 Core/GameObjects: Unlink loot from gameobject before deleting it
Closes #28541
Closes #28610
2022-12-20 18:30:30 +01:00
Shauren
e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren
5c78d4868a Core/GameObjects: Increased default visibility range for some gameobject types 2022-10-30 15:46:54 +01:00
Shauren
010e6f7f49 Core/Loot: Implemented dungeon encounter personal loot
Closes #20066
2022-10-25 00:30:52 +02:00
Shauren
c672e27f27 Core/GameObjects: Add missing dynamic flag updates for chests 2022-10-24 19:42:12 +02:00
Shauren
f52f2cc67a Core/GameObjects: Implemented AllowMultiInteract for GAMEOBJECT_TYPE_GOOBER 2022-10-23 01:30:31 +02:00
Shauren
1011cb73c9 Core/GameObjects: Implemented gathering nodes (gameobject type 50) 2022-10-22 02:07:59 +02:00
Shauren
29cfbedfb2 Warning fix 2022-10-21 22:34:43 +02:00
Shauren
879c0cccfc Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests 2022-10-21 22:11:00 +02:00
Shauren
133334a902 Core/Loot: Implemented personal loot and tag sharing for non-boss loot 2022-10-17 23:11:46 +02:00
Shauren
641390dca2 Core/Loot: Initial support for personal loot in gameobjects (non-instanced content) 2022-10-16 15:33:39 +02:00
Shauren
a4e9542e37 Core/GameObjects: Move contents of Spell::SendLoot to GameObject::Use 2022-10-15 20:39:05 +02:00