Commit Graph

1033 Commits

Author SHA1 Message Date
Shauren
495153ad24 Core/Transports: Preserve all dynamicflags for transports 2025-04-16 00:42:51 +02:00
Shauren
a4328a92e9 More nopch build fixes 2025-04-06 14:29:54 +02:00
Shauren
e57b0296d6 Core/Spells: Merge Spell::SetSpellValue overloads 2025-04-03 13:48:52 +02:00
Shauren
64e5f9cce9 Core/PacketiO: Rename Unk field in SMSG_SPELL_ABSORB_LOG 2025-03-12 20:01:35 +01:00
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
6c925ed40c Core/Objects: Make guid generators atomic 2025-02-02 14:15:11 +01:00
Shauren
a43beb3e06 Core/Misc: Remove return type std::enable_if based SFINAE 2025-01-17 18:38:46 +01:00
ModoX
6e3c8a8463 Core/Conditions: Allow conditions for seen object in CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY 2025-01-10 22:36:03 +01:00
Shauren
069771e22e Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed 2025-01-10 21:22:28 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
c72de2fbbc Core/Objects: Use span/array instead of vector for raw ObjectGuid manipulations 2025-01-03 13:47:24 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
ModoX
92efc2523b Core/Objects: Allow more specific checks to include or exclude feign death units in CreatureWithOptionsInObjectRangeCheck::IsAlive check (#30361)
* this also extends SMART_TARGET_CLOSEST_CREATURE dead param
2024-12-22 12:59:57 +01:00
ModoX
e588477791 Core/Object: Fixed interaction dynamic flags assignment for GAMEOBJECT_TYPE_SPELLCASTER gameobjects
Closes #30533
2024-12-22 00:14:59 +01:00
Shauren
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +01:00
Shauren
51344bc671 Core/PacketIO: Fixed UF::QuestSession structure 2024-12-18 14:08:59 +01:00
Shauren
848fa5bbaa Core/Entities: Make EntityFragmentsHolder more resilient to unexpected inputs and fix nopch build 2024-11-23 01:06:40 +01:00
Shauren
6d78230d6b Core/GameObjects: Define and use new gameobject dynamic flag to restore old visual behavior 2024-11-18 00:06:34 +01:00
Shauren
d6ae7030da Core/Position: Position constructor improvements
* Prevent constructing with only X coord
* Remove unneccessary NormalizeOrientation calls when constructed with default orientation (0)
2024-11-10 18:35:45 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Meji
23bb1a56b7 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391) 2024-11-05 14:42:35 +01:00
Shauren
0435f22d0d Core/PacketIO: Fixed SMSG_UPDATE_OBJECT fragment changes mask initialization 2024-11-02 12:32:21 +01:00
Shauren
f689a80185 Fix build with old libstdc++ 2024-10-30 17:37:10 +01:00
Shauren
68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren
963eb6b80c Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
* Object::BuildValuesUpdateWithFlag is actually unused
* Restore UF::UpdateFieldFlag::Owner for players (self packet)
2024-10-29 00:48:21 +01:00
Shauren
42042504fa Core/Objects: Move UF::UpdateFieldHolder to Object.h and remove owner object pointer since it can be calculated dynamically 2024-10-28 18:44:41 +01:00
Shauren
38a209276d Core/Objects: Eliminate unneccessary temporary objects and double map lookups when building SMSG_UPDATE_OBJECT 2024-10-28 00:52:19 +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
Meji
5fc9a3afdd Core/GameObjects: Don't apply GO_DYNFLAG_LO_INTERACT_COND for GAMEOBJECT_TYPE_FLAGSTAND (#30368) 2024-10-22 03:16:42 +02:00
Shauren
43c7965d6b Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them 2024-10-07 16:08:13 +02:00
Shauren
0d496b14d5 Core/Objects: Corrected TYPEMASK_SEER value incorrectly changed in 6f6af6a1a1, fixes not finding mind controlled players 2024-09-30 15:39:03 +02:00
ModoX
35b8868763 Core/Object: Added max height change param to MovePosition 2024-09-21 05:34:10 +02:00
Meji
6bcef33bb1 Core/Gameobjects: Fixed GO_DYNFLAG_LO_HIGHLIGHT application (#30123)
Closes #27374
Closes #30213
2024-09-16 02:26:35 +02:00
Shauren
975e7cc072 Core/Spells: Refactor CastSpellExtraArgs
* Allow C++20 designated initializers
* Allow precise float values for SPELLVALUE_RADIUS_MOD, SPELLVALUE_CRIT_CHANCE and SPELLVALUE_DURATION_PCT
2024-09-12 21:57:16 +02:00
Shauren
c4b710446d Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
Shauren
df1ec76d54 Core: Updated to 11.0.2 2024-08-16 00:03:22 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren
3313ea1fe6 Core/Entities: Skip calling toupper on number to string conversion result if not neccessary (only hex conversions need it) 2024-07-14 13:13:27 +02:00
Shauren
9a7a83ef30 Core/Creatures: Create a CreatureGroup for every SummonCreatureGroup 2024-07-12 12:28:00 +02:00
Shauren
0d5a1b175f Core/Spells: Implemented SPELL_ATTR9_HASTE_AFFECTS_MELEE_ABILITY_CASTTIME 2024-06-24 11:21:50 +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
TheCarl
5ee28a9161 Core/Players: Allow GMs to target npcs with UNIT_FLAG2_UNTARGETABLE_BY_CLIENT flag (#30041) 2024-06-22 14:38:01 +02:00
Shauren
c968dedfee Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported 2024-06-19 20:14:53 +02:00
ModoX
53204130c6 Core/Object: Added possibility to override sourceLocation for SendPlayOrphanSpellVisual 2024-06-15 00:48:07 +02:00
Shauren
56a027131a Core/Spells: Rename more SpellAttr9 2024-06-11 11:05:40 +02:00
Shauren
84c84b66d4 Core/Spells: Implemented SPELL_ATTR9_FORCE_DEST_LOCATION 2024-06-10 00:13:57 +02:00
Shauren
0dc38ec722 Core/PacketIO: Constexpr-ify UpdateMask 2024-05-28 12:41:10 +02:00
Meji
b070e63fa8 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes 2024-05-27 18:53:47 +02:00