Commit Graph

21488 Commits

Author SHA1 Message Date
ModoX
a28facb956 Core/Movement: Fixed data sent in cyclic spline related packets 2024-04-21 12:59:12 +02:00
Shauren
377b51f768 Core/Movement: Switch to uncompressed paths in spline packets automatically when too large or too small delta between points is detected 2024-04-21 00:18:02 +02:00
Shauren
cf1ab7b414 Core/Movement: Implemented alternative method of smoothing waypoint paths (send new point 1.5 before arrival) and make that the default
* Sending whole path at once is still supported with WaypointPathFlags::ExactSplinePath
2024-04-21 00:16:57 +02:00
ModoX
8d8a54db25 Core/Spells: Fixed SpellInfo::GetSpellXSpellVisualId for nonplayer casters (#29927) 2024-04-20 19:59:35 +02:00
Shauren
204f65684c Core/Movement: Merge waypoints without delay into a single movement packet 2024-04-20 00:22:34 +02:00
Shauren
cf4c3b5467 Core/Movement: Added functions to MoveSplineInit to enable steering flag 2024-04-20 00:05:24 +02:00
Shauren
e1f43900d1 Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1 2024-04-19 15:16:17 +02:00
Shauren
ff9db332f5 Core/Movement: Minor cleanup in WaypointMovementGenerator - local variable for GetPath() (not a true trivial accessor) 2024-04-19 00:27:18 +02:00
Shauren
c5097114d1 Core/Movement: Fixed pauses on waypoint movement happening at wrong times when FollowPathBackwardsFromEndToStart is set and creature is going from end to start 2024-04-18 00:19:33 +02:00
Shauren
b5dceafad7 Core/Movement: Minor refactors in WaypointMovementGenerator
* Removed unneccessary _loadedFromDB member (handled by variant index already)
* Apply some const
* Replace stringstream formatting in GetDebugInfo with Trinity::StringFormat
* Moved MovementGeneratorCreator::Create implementations to source files whose movement they create
2024-04-17 15:58:47 +02:00
Shauren
e5beb25d25 Core/Pathfinding: Allow using PathGenerator with any source location, not only objects current position 2024-04-17 00:06:56 +02:00
Jeremy
091094aa13 Scripts/Battlegrounds: Implement Twin Peaks (#29924)
Closes #8894
2024-04-16 19:14:11 +02:00
Shauren
0384d90663 Core/Achievements: Fixed achievement SMSG_ACHIEVEMENT_EARNED not being sent to self 2024-04-15 20:09:34 +02:00
Shauren
5dfac0ef14 Core/SAI: Implement waiting for actions on action list to finish before continuing the action list
This is enabled by setting event_flags to SMART_EVENT_FLAG_ACTIONLIST_WAITS on the action that is waited for

Supported actions:
* SMART_ACTION_TALK
* SMART_ACTION_SIMPLE_TALK
* SMART_ACTION_CAST
* SMART_ACTION_SELF_CAST
* SMART_ACTION_INVOKER_CAST
* SMART_ACTION_MOVE_OFFSET
* SMART_ACTION_WP_START
* SMART_ACTION_MOVE_TO_POS
* SMART_ACTION_CROSS_CAST
* SMART_ACTION_ACTIVATE_TAXI
* SMART_ACTION_JUMP_TO_POS
* SMART_ACTION_START_CLOSEST_WAYPOINT
2024-04-14 14:28:40 +02:00
Shauren
325cfd047d Core/Conditions: Added startup error log for conditions using invalid effect index on CONDITION_AURA 2024-04-13 16:16:22 +02:00
Aqua Deus
a3f760e383 Scripts/Wandering Isle: Script quest 29419 The Missing Driver (#29821) 2024-04-12 22:30:45 +02:00
Aqua Deus
59333a4d60 Scripts/Quests: Improve quest 29408 (The Lesson of the Burning Scroll) (#29775) 2024-04-12 20:37:22 +02:00
Naddley
611110be3b Scripts/Mardum: Implement "Hidden No More" quest accept event (#29899)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-04-12 17:30:04 +02:00
Shauren
69da702b93 Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline 2024-04-12 00:18:20 +02:00
Gosha
8c274a8e8d Core/Items: Fix loading secondaryItemModifiedAppearanceSpec5 (#29917) 2024-04-11 22:45:02 +02:00
Shauren
66abcaff14 Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST 2024-04-11 19:59:43 +02:00
Aqua Deus
796b37102a Scripts/Quests: Handle quest 29409 (wandering isle) (#29784) 2024-04-11 19:58:06 +02:00
Meji
2ce4068459 Core/SAI: Added support for StringIds to creature and gameobject targets (#29910)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-04-11 10:15:46 +02:00
Shauren
bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
ModoX
88bbd27f8d Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons
2024-04-10 20:03:14 +02:00
Shauren
404bb5b3c2 Core/DBLayer: Support retrieving DATE/DATETIME/TIMESTAMP column values directly without casting in sql 2024-04-10 13:59:19 +02:00
ModoX
58839b7c18 Core/Entities: nopch build fix 2024-04-09 17:00:43 +02:00
ModoX
9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +02:00
ModoX
5cea37153e Core/Entities: Added GetStringId helper methods 2024-04-09 16:34:24 +02:00
Shauren
b1b16cc139 build fix 2024-04-09 12:55:06 +02:00
Shauren
3545285ad7 Core/Auras: Fixed SPELL_ATTR10_ROLLING_PERIODIC for auras that have 0 base amount and only scale from spell/attack power 2024-04-09 12:23:07 +02:00
Shauren
abab484156 Scripts/Forbidden Reach: Fix questgiver for initial quest not being there if you decline first quest popup
Closes #29793
2024-04-08 21:03:27 +02:00
Meji
4f5d1737a3 Core/Gameobjects: Changed the highlight logic for GAMEOBJECT_TYPE_GATHERING_NODE (#29896) 2024-04-08 19:11:32 +02:00
RioMcBoo
958b4726b6 Core/Misc: Fixed forced declined names initialization (#29898)
(cherry picked from commit 4dd200b9e5)
2024-04-08 19:03:21 +02:00
Meji
c90dbeb648 Core/Quests: Update phaseshift when taking or abandoning quests (#29901) 2024-04-08 13:26:04 +02:00
Shauren
f331bd1a28 Core/Spells: "Fixed" Inescapable Torment talent dealing damage to priest when learning (and somtimes killing on login) 2024-04-08 10:58:19 +02:00
Mematoru
8daa3f735d Scripts/Spells: Implemented Priest talent Unfurling Darkness (#29885)
Co-authored-by: Cristian Vintila <127750549+cristiv23@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-04-08 00:41:03 +02:00
Mematoru
79928707f8 Scripts/Spells: Implemented Shadow Priest talent Mind Devourer (#29895) 2024-04-07 19:57:11 +02:00
Shauren
be3ae90dc4 Core/Movement: Ensure land and takeoff animations even if gravity enabled/disabled state is not what spline generator expects 2024-04-07 00:05:46 +02:00
Shauren
b265c49977 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells 2024-04-06 20:50:59 +02:00
Shauren
eb9375b0b1 Core/Scripts: Added basic types for async script actions 2024-04-05 10:41:12 +02:00
Shauren
d079a7e267 Core/OutdoorPvP: Fixed shutdown crash 2024-04-04 21:31:41 +02:00
Shauren
7df138ba2b Core/Misc: Replace shared_ptr with unique_ptr with deleter for cleanups in main() functions 2024-04-04 21:31:22 +02:00
Shauren
038f995ad6 Core/Movement: Allow overriding speed for taxi movement generator 2024-04-04 16:17:09 +02:00
Shauren
f847cd4eeb Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887
2024-04-03 21:23:30 +02:00
Shauren
f1b7ca1a91 Fix codestyle 2024-04-03 16:31:39 +02:00
Shauren
22e43917ab Core/SAI: Allow gameobjects to be targeted by spell casts 2024-04-03 16:21:15 +02:00
Jeremy
90f390f9b8 Scripts/Battleground: Implemented Battle for Gilneas (#29877) 2024-04-02 14:31:09 +02:00
ModoX
e8f7d41536 Core/Movement: Added Velocity field to waypoint_path table (#29837) 2024-04-02 04:12:52 +02:00
Meji
47e4bf06d3 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882) 2024-04-01 20:32:08 +02:00