Shauren
737d94d7ef
Core/World: implement database support for default map and realm wide world states
...
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2022-06-25 22:48:27 +02:00
Shauren
5d27939667
Core/Conditions: Implemented conditions for spawn groups
2022-06-24 22:20:34 +02:00
Shauren
e2cf6d68fc
Core/SpawnGroups: Renamed GetSpawnGroupsForInstance and its argument to not cause confusion with instance ids (equivalent to instance save id, not map id)
2022-06-24 21:38:29 +02:00
Shauren
bb8a8cbc47
Core/Players: Don't trigger quest objective and criteria updates for gold modifications before quest log and criteria progress are loaded
2022-06-24 21:37:06 +02:00
Shauren
33c3ea1013
Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2
2022-06-24 21:36:08 +02:00
Shauren
4dfb1f248f
Core/Items: Fixed logic mistake in ItemTemplate::IsRangedWeapon
2022-06-22 23:51:22 +02:00
Shauren
80a5d475ee
Core/Spells: Fixed crash in triggered spells with SPELL_ATTR2_RETAIN_ITEM_CAST
...
Closes #28047
2022-06-22 15:35:23 +02:00
Antonio Martín Berti
bd401af091
Core/Conditions: Added CONDITION_SCENE_IN_PROGRESS, useful for cases where you need phase things when a scene is in progress. ( #28011 )
2022-06-21 23:26:07 +02:00
Shauren
d85379faa6
Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher
2022-06-19 15:02:25 +02:00
Shauren
5859510b54
Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
2022-06-17 15:20:55 +02:00
Shauren
61263bf74d
Core/Spells: Corrected unit flag checked with SPELL_ATTR6_CAN_TARGET_UNTARGETABLE
2022-06-17 12:54:34 +02:00
Смердокрыл
5517208b67
Core/Player: Distinguish between ranged and non-ranged weapons in GetWeaponForAttack ( #27992 )
2022-06-16 15:58:33 +02:00
Shauren
daafe1c181
Remove double empty lines
2022-06-13 20:29:07 +02:00
Shauren
cace414497
Core/Transports: Localized transport objects within each map
...
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-13 20:06:26 +02:00
Shauren
94d829c84f
Core/Pools: Implemented pooling for instances
2022-06-11 14:04:56 +02:00
Kaytotes
2e0afa7bca
Core/Units: Removed incorrect facing movement packet sent with every creature autoattack ( #28006 )
...
(cherry picked from commit eab6852b68 )
2022-06-10 19:25:46 +02:00
Jinnaix
84996901cc
Core/Spells: Correct flagging spell caster for pvp when healing/buffing friendly creatures - it should only happen if target is in combat ( #27977 )
...
(cherry picked from commit b155209ec4 )
2022-06-10 19:25:31 +02:00
offl
04b0596021
Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again ( #28001 )
...
(cherry picked from commit 861ec6a5b9 )
2022-06-10 19:22:08 +02:00
Jinnaix
45bbbd5acd
correctly apply npc pvp flags ( #27974 )
...
(cherry picked from commit 2237926cec )
2022-06-10 19:22:08 +02:00
Shauren
312569970e
Core/Achievements: Fixed optimization from 9b44ed9cda being ineffective for UpdateAchievementCriteria calls that don't have any related criteria
...
(cherry picked from commit a2a7bd9394 )
2022-06-10 19:05:31 +02:00
jackpoz
3bedbf6596
Core/PacketIO: Continue processing packets even if player is not in world
...
(cherry picked from commit aee4f0350e )
2022-06-10 16:58:19 +02:00
stoneharry
1046a027f2
Core/Chat: Apply chat flood control to addon messages as well ( #26908 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 5384fc194f )
2022-06-10 16:56:23 +02:00
Shauren
a196f8fdec
Core/PacketIO: Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player
...
(cherry picked from commit 0d0cb23a63 )
2022-06-10 16:51:03 +02:00
Ovah
8501fb572a
Core/Movement: Allow waypoints to use 0 as valid facing value ( #26655 )
...
(cherry picked from commit 4747515872 )
2022-06-10 16:50:17 +02:00
Shauren
88b6d75bce
Core/PacketIO: Require valid WorldSession for CMSG_KEEP_ALIVE
...
(cherry picked from commit de4340af37 )
2022-06-10 16:20:54 +02:00
Shauren
c8e26e1962
Core/Vehicles: Capture vehicle collision height for exit spline init function (prevent accessing no longer valid vehicle pointer)
...
(cherry picked from commit 09204159f8 )
2022-06-10 16:19:14 +02:00
Gildor
b52ce8e65e
Core/Spells: Increase search radius for avoid problems with some spells that can't find units with huge combat reach ( #27827 )
...
(cherry picked from commit 70767717c1 )
2022-06-10 15:29:55 +02:00
Shauren
f36cec3833
Core/Movement: b1a94bf94c followup - MoveSplineInit is no longer movable or copyable
...
(cherry picked from commit b9c986cadd )
2022-06-10 15:16:54 +02:00
Shauren
36dde87249
Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
...
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight
(cherry picked from commit b1a94bf94c )
2022-06-10 15:16:39 +02:00
Shauren
6ca0f99ccf
Core/GameEventMgr: Spawn creatures and gameobjects in all active instances when event starts
2022-06-09 23:03:42 +02:00
Shauren
f820ff178d
Core/Transmog: Implemented TransmogIllusionFlags::PlayerConditionGrantsOnLogin and fixed transmog illusion validation when transmogging items
2022-06-09 21:27:02 +02:00
fluxurion
125ada42f6
Core/Transmog: Implemented Transmog Illusions + Spelleffect to unlock them
2022-06-09 21:27:02 +02:00
Meji
a1f673d1ca
Core/BattlePets: Move BattlePet stuff from SpellMgr to BattlePetMgr ( #27986 )
2022-06-09 13:58:54 +02:00
Shauren
0943610fde
Core/PacketIO: Add flood exceptions to CMSG_MOVE_SET_FACING_HEARTBEAT and CMSG_MOVE_SET_PITCH
2022-06-08 21:41:42 +02:00
Aqua Deus
5e8534767c
Core/PacketIO: Implement CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS ( #27975 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-06-08 20:40:35 +02:00
Antonio Martín Berti
a4eafbd3f6
Core/SAI: Added Action SMART_ACTION_DO_ACTION for calling DoAction on target AI ( #27964 )
2022-06-08 15:50:44 +02:00
Meji
98c72f33ac
Core/Items: Fix weapon transmogrification ( #27962 )
2022-06-08 13:25:49 +02:00
Shauren
590c8676f4
Core/Battlegrounds: Updated positions and ids of Eye of the Storm bg objects
...
Closes #19028
Closes #27922
2022-06-08 12:11:35 +02:00
Shauren
a2c1b699e6
Core/Transports: Path generation rewrite v2
...
* No TaxiPathNode row is skipped anymore (events/delays on first node now work)
* Fixed transport animation synchronization with client
* Fixed stoppable transports randomly resuming their path after relogging
Closes #27985
2022-06-07 16:02:51 +02:00
Shauren
b9353041a6
Core/Movement: Allow overwriting number of steps for spline length calculations
...
* Also minor cleanup of non-virtual functions in spline derived classes
2022-06-07 15:13:54 +02:00
Shauren
c7fdf70813
Core/Players: Fixed incorrect function being used to modify ActivePlayerData::TransportServerTime
2022-06-05 19:39:14 +02:00
Shauren
2213d87a45
Core/Gossip: Send broadcast text id in SMSG_GOSSIP_MESSAGE instead of npc_text id
2022-06-02 15:12:24 +02:00
Shauren
6c8ef045a5
Core/DataStores: Updated structures to 9.2.5
2022-06-02 00:48:57 +02:00
Shauren
d3c4216de8
Core/PacketIO: Updated packet structures to 9.2.5
2022-06-01 23:13:29 +02:00
ModoX
cb78ddc63a
Core/Player: Fixed phasing issues introduced in aa592e431b
...
* now it doesn't appear like we'd have gm on all the time anymore
Ref #27985
2022-05-30 14:34:57 +02:00
Shauren
67823c82c7
Core/PacketIO: Swap CMSG_MOVE_SET_FACING and CMSG_MOVE_SET_FACING_HEARTBEAT
2022-05-26 20:09:04 +02:00
Antonio Martín Berti
c6802e272b
Core/SAI: Removed invalid eventId restriction on SMART_EVENT_ACTION_DONE ( #27972 )
2022-05-26 11:54:24 +02:00
Shauren
aad276b084
GCC warning fix
2022-05-25 23:07:30 +02:00
Shauren
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-25 22:14:32 +02:00
Shauren
3031fbb63b
Core/Objects: Remove restriction on what object types can be set as active
2022-05-25 22:07:47 +02:00