Commit Graph

29606 Commits

Author SHA1 Message Date
Shauren
c603c52a3d Core/PacketIO: Fixed SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN structure
Closes #29967
2024-05-09 13:58:52 +02:00
Shauren
468a06baf0 Core: Update to 10.2.7 2024-05-08 20:55:51 +02:00
Shauren
83f4763b25 Core/Misc: Minor change to make_unique_ptr_with_deleter to make it accept only pointers 2024-05-07 12:26:21 +02:00
Shauren
78aef0bd75 Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit) 2024-05-06 00:43:06 +02:00
Shauren
b288fceb79 Core/Updater: Fix gcc warning 2024-05-06 00:38:05 +02:00
Shauren
e7c0ea9048 Core/Misc: Refactor OpcodeTable reducing its size and modernize array/pointer storage 2024-05-05 18:19:36 +02:00
Naddley
ee6ba02a77 Scripts/ScarletHalls: Reverted Call Reinforcements to TARGET_DEST_DB
* 62156f57b2 followup
2024-05-05 05:59:39 +02:00
Naddley
62156f57b2 Scripts/ScarletHalls: Implement Armsmaster Harlan encounter (#29944) 2024-05-05 05:30:37 +02:00
Shauren
240b7e58d8 Core/Spells: Refund power cost when cancelling empower spells 2024-05-04 13:06:17 +02:00
Shauren
2aedd8ecdb Dep/fmt: Upgrade to 10.2.1 2024-05-03 19:38:57 +02:00
Meji
22e657eac1 Core/Creatures: Ignore validation of AppearanceModId 0 in equipment (#29916) 2024-05-03 19:11:44 +02:00
Meji
2238844f56 Core/Creatures: Allow profession tools to be used as equipment (#29915) 2024-05-03 15:58:05 +02:00
Ovahlord
24bda9c73d Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior (#29949) 2024-05-02 22:50:20 +02:00
Aqua Deus
b7e94166fa Scripts/Spells: Implement Blessing of the Bronze (#29951) 2024-05-02 20:10:13 +02:00
Shauren
39fc9f8000 Core/Misc: Minor fixes in preparation to support fmt v10 2024-05-02 19:46:18 +02:00
Shauren
241606ada3 Tools: Fixed build with gcc 14 2024-05-02 14:05:07 +02:00
Shauren
a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
Shauren
8e3024a96a Core/Misc: Refactor loading process to remove exit() calls that cause deadlocks because threads are terminated without proper cleanup 2024-04-30 00:20:38 +02:00
Shauren
cc92417844 Core/Items: Implemented packets setting up inventory cleanup parameters 2024-04-29 00:06:02 +02:00
Shauren
9dcc6c0207 Core/Proto: Regenerate LoginResult to include next_url 2024-04-28 16:20:25 +02:00
Phaneron
e32ef420fa Core/Proto: Added missing 'next_url' field to Login.proto 2024-04-28 16:20:25 +02:00
Ovahlord
11f32a2427 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946) 2024-04-28 16:09:43 +02:00
Shauren
250984a7b7 Scripts/Items: Updated Amalgam's Seventh Spine script - fixed auras lingering after removal and added new case for evokers 2024-04-27 19:58:00 +02:00
Ovahlord
55ce5b150f Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example (#29945)
* Updated Amalgam's Seventh Spine dummy aura script to use the new AuraScript hook
2024-04-27 19:04:10 +02:00
Ovahlord
253f306a41 Core/Units: moved Vignette updating into Heartbeat handling 2024-04-27 14:51:56 +02:00
Ovahlord
d60b4e5b19 Core/Auras: implemented PROC_FLAG_HEARTBEAT and moved food/drink emote mechanic into heartbeat handling (#29943)
* also fixed an false assumption that only one of the food emotes can be played. They can in fact be both done at the same time.
2024-04-27 13:43:50 +02:00
ModoX
072e6ff9cc Scripts/AzureVault: Fixed setting done boss state for Telash Greywing 2024-04-27 01:13:08 +02:00
Ovahlord
b5ce4a66df Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940) 2024-04-26 22:32:17 +02:00
Aqua Deus
a361d3f587 Scripts/Spells: Fix Crusader's Might cooldown reduction effect (#29938) 2024-04-26 20:22:19 +02:00
Ovahlord
5a169f6eae Core/Player: moved indoors/outdoors aura interrupting mechanic into heartbeat and movement handling 2024-04-26 14:21:09 +02:00
Ovahlord
c2fedbb6cc Core/Units: moved cyclic spline synchronization mechanic heartbeat handling 2024-04-26 14:21:09 +02:00
Ovahlord
80d72a2c91 Core/Player: moved the periodic group update mechanic into heartbeat handling 2024-04-26 14:21:09 +02:00
Ovahlord
bf9cd88ceb Core/Objects: implement internal heartbeat timer for WorldObjects (#29941)
This is the first step of porting the functionality of #25822 by cutting each change into a nicely self-contained commit

---------

Co-authored-by: Mykhailo Redko <ovitnez@gmail.com>
2024-04-26 01:14:48 +02:00
Shauren
dad976beb4 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities) 2024-04-25 00:42:16 +02:00
Shauren
e0e1b6a409 Core/Movement: Enable Catmullrom spline flag by default for flying waypoint paths 2024-04-24 09:46:57 +02:00
Shauren
ad6ef5237d Core/Movement: Fixed spline packed deltas validation check 2024-04-24 00:12:56 +02:00
Shauren
5f31d7cb88 Build fix for clang <= 14 2024-04-23 11:59:45 +02:00
Shauren
3af5cafec7 Core/Movement: Change default spline flags - Steering replaces SmoothGroundPath 2024-04-23 11:11:32 +02:00
Shauren
a02804fa02 Core/Movement: Refactor MoveSplineFlag to get rid of undefined behavior (cast in raw()) and unify enum to string formatting for it 2024-04-23 11:09:59 +02:00
Shauren
8c0b031c07 Core/Units: Name new spline flag and linked npc flag 2024-04-22 13:19:08 +02:00
Shauren
cfa838df5d Core/Misc: Support boost 1.85 2024-04-22 11:52:58 +02:00
Aqua Deus
f4ef6f769b Scripts/Spells: Add new script for spells with feign death with all flags except uninteractible (#29922) 2024-04-21 14:51:07 +02:00
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