Shauren
d019719289
Core/Objects: Unify GameObjectSearcher, UnitSearcher, CreatureSearcher and PlayerSearcher classes into one common implementation
...
(cherry picked from commit 526b16fea4 )
2024-10-05 17:42:55 +02:00
Shauren
36bd2df792
Core/Objects: Unify WorldObjectSearcher classes into one common implementation
...
(cherry picked from commit 261eb201bf )
2024-10-05 17:34:06 +02:00
Odyssey
b10823fe31
Core/Creatures: Fix logic when searching for nearby creatures by StringId ( #28669 )
...
(cherry picked from commit 795edfaf98 )
2024-10-05 17:25:32 +02:00
Seyden
78fe841adb
Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier ( #28500 )
...
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 61c51b76c0 )
2024-10-05 17:25:07 +02:00
Seyden
da7367208c
Core/Objects: Implement FindNearestCreatureWithOptions helper function ( #28488 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 9ab0679781 )
2024-10-05 17:11:15 +02:00
Teleqraph
762a32cb65
Core/Object: Implement FindNearestCreatureWithAura ( #28410 )
...
* Game/Object: Implement NearestCreatureEntryWithLiveStateAndAuraInObjectRangeCheck class and FindNearestCreatureWithAura method
* moved arguments
(cherry picked from commit 9a3e29d416 )
2024-10-05 17:06:02 +02:00
Shauren
b502bc4683
Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions
...
(cherry picked from commit 33b3ebcae6 )
2024-10-05 17:03:55 +02:00
Shauren
cb9b34d906
Core/Objects: Refactor private object checks into separate function
...
(cherry picked from commit f21270b987 )
2024-10-05 16:55:58 +02:00
Matan Shukry
262a1e5b36
Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
...
(cherry picked from commit 1082a6645e )
2024-10-05 16:54:13 +02:00
Shauren
3acb25c50c
Core/Players: Prevent creation of characters with duplicate names
...
Closes #30299
(cherry picked from commit 49ab2bbe38 )
2024-10-03 14:41:02 +02:00
Shauren
fd85a71f5d
Core/Objects: Corrected TYPEMASK_SEER value incorrectly changed in 0dcff2624e, fixes not finding mind controlled players
...
(cherry picked from commit 0d496b14d5 )
2024-09-30 15:40:33 +02:00
Shauren
cf74c2ae7a
Core/Units: Fixed crashes in Unit::GetDebugInfo if called in the destructor (the only callers are assertion failures so it will still crash but not before printing error message)
2024-09-30 15:15:11 +02:00
Gildor
1559872381
Core/Maps: Do not allow entering an instance if the player is not alive and does not have the corpse inside or in inner instance ( #30229 )
2024-09-23 16:02:22 +02:00
Gildor
f2a83e8238
Core/Commands: Improve wp event command ( #30226 )
...
* Fixed crash by handling null arg_id in .wp event add
* Fixed incorrect data type conversion in .wp event listid
2024-09-12 22:05:13 +02:00
Shauren
9800393424
Core/Units: Some cleanup in movement packet related functions - try to keep only one function handling a packet, not have it scattered all over the place
...
(cherry picked from commit 075e5d6751 )
2024-09-10 18:25:12 +02:00
Shauren
de3414ea0a
Core/Player: Refactor talent internal storage
...
(cherry picked from commit ef471da666 )
2024-09-10 17:47:42 +02:00
Shauren
1fd797fca4
Core/Misc: Reduce differences between branches
...
(cherry picked from commit 36a90f7098 )
(cherry picked from commit 0056360034 )
(cherry picked from commit 869a8644e5 )
(cherry picked from commit 94e85c34d3 )
(cherry picked from commit f27cc65588 )
(cherry picked from commit 42f3f91ad4 )
(cherry picked from commit 1180fbf531 )
(cherry picked from commit 629694cbad )
(cherry picked from commit 506e7913f8 )
(cherry picked from commit e7c7158db0 )
(cherry picked from commit a369594d61 )
(cherry picked from commit cc5450c4a0 )
(cherry picked from commit d3e508254b )
(cherry picked from commit dcd915c9b9 )
(cherry picked from commit b95d148dbe )
(cherry picked from commit ac81411db4 )
(cherry picked from commit d8ce0c8830 )
(cherry picked from commit a2b1cf66ca )
(cherry picked from commit 953f093920 )
brc
2024-09-10 17:47:34 +02:00
Shauren
fcfb5763ea
Core/Misc: Reduce differences between branches
2024-09-09 18:15:51 +02:00
Shocker
29e7cbbd05
Core/Spells: Remove hardcoded value for dual wield talent removal and handle them for all classes
...
(cherry picked from commit 5b6b8dd577 )
2024-09-09 16:35:05 +02:00
Shocker
7d38a614bd
Core/Spells: Rename AuraEffect::IsAffectedOnSpell to IsAffectingSpell
...
(cherry picked from commit ef9101ea83 )
2024-09-09 16:26:54 +02:00
Shocker
4ea21dab05
Core/Spells: Allow SPELL_AURA_SET_VEHICLE_ID to be used on creatures too
...
(cherry picked from commit 8160e6e303 )
2024-09-09 16:02:37 +02:00
Shauren
d39e81e257
Core/Spells: Fixed spell target selection not being shared by multiple effects when there are targeting scripts that have the same script function
...
(cherry picked from commit b1d8061a0f )
2024-09-02 11:00:45 +02:00
Shauren
0b10514289
Core/Client Builds: Sync build_info structure with master branch
2024-08-30 02:12:49 +02:00
Shauren
02ac890b07
Core/Misc: Reserve trinity_string id for master branch
2024-08-26 15:14:51 +02:00
Gildor
bcb3ffa0ef
Core/GameEvent: Fix game event end time duration overwriting ( #30165 )
2024-08-16 17:09:41 +02:00
Shauren
c70ceb2ee5
Core/Calendar: Fix query
...
Closes #30153
2024-08-06 22:53:59 +02:00
Shauren
4e38582c4f
Core/DataStores: Removed hardcoded cap for taxi nodes mask
...
(cherry picked from commit 376dc7402a )
2024-07-19 20:29:13 +02:00
Shauren
f57647287a
Core/GroupHander: Simplify 5e95f4db66
2024-07-16 11:54:44 +02:00
Benjamin Jackson
5e95f4db66
Core/GroupHander: Check if player is in a group for CMSG_REQUEST_PARTY_MEMBER_STATS before providing data. ( #30084 )
2024-07-16 11:10:31 +02:00
CraftedRO
394f125fdc
Core/Instances: Fix not being able to resurect at the instance entrance under certain conditions
2024-07-15 13:31:16 +02:00
Shauren
a3aecbdd92
Core/PacketIO: Ported SMSG_GOSSIP_POI, CMSG_GROUP_INVITE and SMSG_GROUP_INVITE to packet classes
2024-07-14 17:28:48 +02:00
Shauren
fbc18ff420
Core/DBLayer: Add field metadata getters to query result classes
...
(cherry picked from commit d4998bd04a )
2024-07-14 15:00:26 +02:00
Shauren
9237deef32
Core/Utils: Transform char toUpper/toLower functions into callable function objects to better integrate with std algorithms (not calling through a function pointer allows inlining)
...
(cherry picked from commit 054dd3596f )
2024-07-14 15:00:13 +02:00
Shauren
1f25a0ff92
Core/Entities: Make ObjectGuid formattable with fmt without using ToString()
2024-07-14 13:45:05 +02:00
roc13x
c9ff1d7e40
Core/Instances: Prevent possible minion crash
...
(cherry picked from commit 87d1d72d09 )
2024-07-13 11:58:29 +02:00
Shauren
6679ecfeba
Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster
...
(cherry picked from commit 67dd9a920f )
2024-07-08 12:45:33 +02:00
Shauren
b08d85349c
Core/Creatures: Fixed memory leaks in creature formations
...
(cherry picked from commit 2e3920081f )
2024-07-08 12:45:19 +02:00
Shauren
aca264e11b
Revert "Core/Creature: Formation reset ( #27040 )"
...
This reverts commit 01da436206 .
(cherry picked from commit cdf0d62e48 )
2024-07-08 12:44:56 +02:00
Gildor
93ab97a37c
Core/Spells: Fixed possible use after free with deleted focusObject ( #30062 )
...
* Core/Spells: Fixed possible use after free with deleted focusObject
2024-07-04 22:51:25 +02:00
Shauren
8130024497
Tools/mmaps_generator: Print readme with --help
...
(cherry picked from commit 7d9880252c )
2024-06-30 22:39:06 +02:00
Shauren
b9510f43c7
Core/Misc: Sync Language.h between branches
2024-06-27 21:12:49 +02:00
Gildor
97b19a5445
Core/Players: Improve reset spell cooldowns when entering arenas ( #30032 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-06-27 20:12:16 +02:00
CraftedRO
c5a9ab65af
Core/Players: Add level restrictions for faction changes ( #30057 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-06-27 18:54:31 +02:00
Roc13x
6c15d7f750
Core/Player: Fix equipment sets not saving correctly
...
New sets were always saved to _equipmentSets[0], overwriting eachother
(cherry picked from commit 3a84661114eabf02b3061ebd378ca9df9f481140)
2024-06-27 17:43:20 +02:00
r4dish
0327f16d11
Core/Misc: Move instance enter times handling from Player to WorldSession.
2024-06-27 14:49:40 +02:00
r4dish
c6906948f7
Core/Misc: Update instance enter times only when it's really needed.
2024-06-27 14:49:40 +02:00
Mykhailo Redko
0ebda1168a
Core/Misc: Cleanup account instance times data from DB on account deletion.
2024-06-27 14:49:40 +02:00
Gildor
e4caf52e5a
Core/Spells: Allow using SpellDifficulty.dbc on battleground maps ( #30055 )
2024-06-27 14:08:09 +02:00
Gildor
8824889f53
Core/Spells: Don't return immune to reflected spells due to target aurastate ( #30050 )
2024-06-22 14:03:17 +02:00
Shauren
b1c15cbfe6
Core/Spells: Corrected SpellCastResult values sent on spell interrupts
2024-06-21 21:17:16 +02:00