Commit Graph

636 Commits

Author SHA1 Message Date
Shauren c975bc2c65 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
(cherry picked from commit 067fa31d15)

# Conflicts:
#	src/server/game/Entities/Item/AzeriteItem/AzeriteEmpoweredItem.cpp
#	src/server/game/Entities/Item/AzeriteItem/AzeriteItem.cpp
2024-10-27 20:38:12 +01:00
Jeremy 9be40b4be6 Core/GameObject: Cast Pickup spell of GAMEOBJECT_TYPE_FLAGSTAND
* and do interact condition checks

(cherry picked from commit bef005e346)
2024-10-21 22:03:27 +02:00
Jeremy 27399ce1e5 Core/GameObject: Implemented OnFlagTaken/OnFlagDropped hooks for GAMEOBJECT_TYPE_FLAGSTAND
(cherry picked from commit 0535a61cb7)
2024-10-21 22:03:22 +02:00
Jeremy 91be11b280 Core/GameObjects: Implement ControlZone::UncontestedTime field (#30152)
(cherry picked from commit 314e155a0c)
2024-09-03 19:55:10 +02:00
Shauren 6051a553eb Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr
(cherry picked from commit edb20999a3)
2024-08-17 14:05:57 +02:00
Jeremy 2624503e7e Spells/Auras: Implement SPELL_AURA_ACT_AS_CONTROL_ZONE (#30083)
(cherry picked from commit 66abfd1c53)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuraEffects.h
2024-08-17 14:02:00 +02:00
Shauren d7a26b3897 Core/GameObject: Implemented NotLOSBlocking door property
(cherry picked from commit 2756ca1c35)
2024-07-18 22:37:10 +02:00
Ovahlord dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Meji 1c74da0052 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051)
(cherry picked from commit 31bd3804e3)
2024-06-23 23:52:17 +02:00
Antonio Martín Berti 2855d26c64 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013)
(cherry picked from commit 3fd9677543)
2024-06-20 01:16:25 +02:00
Shauren 125b6d2ed7 Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command
(cherry picked from commit bec5bdb61b)
2024-05-28 16:40:48 +02:00
ModoX 32243eb1c1 Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons

(cherry picked from commit 88bbd27f8d)
2024-05-28 16:40:42 +02:00
ModoX ad5013ebf6 Core/Entities: Update StringId assignment to use StringIdType
(cherry picked from commit 9959a1373a)
2024-05-28 16:40:23 +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
Meji 46b35d3082 Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832)
(cherry picked from commit 4913d027bf)
2024-03-28 20:36:23 +01:00
Jeremy 8589ece4f4 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836)
(cherry picked from commit 1f855ef563)
2024-03-28 20:28:14 +01:00
Meji 56f9e134fb Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825)
(cherry picked from commit 6a80bebcb5)
2024-03-28 20:23:28 +01:00
Shauren 9a0414c79e Core/Objects: Implemented vignettes
(cherry picked from commit fccf6fb72b)
2024-03-25 20:12:21 +01:00
MaxtorCoder cfc9cc9ec2 Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627

* Core/IO: Remove duplicate declaration of PetSpellDataID

* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
2024-03-13 21:16:18 +01:00
Ovahlord d9ffc33724 Core/DataStores: duc-taped build 2024-03-10 02:39:59 +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
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 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
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
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
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 3e85598d99 Core/Objects: Call base class Update function for Unit and GameObject (currently does nothing) 2023-01-15 23:01:10 +01:00