Commit Graph

42551 Commits

Author SHA1 Message Date
Antonio Martín Berti
43cb963df6 Core/Criteria: Added ParticipateInArena to statistic-only cases (#29978)
(cherry picked from commit e9b7137380)
2024-05-28 16:59:15 +02:00
Shauren
d909179ece Core/Crypto: Change required OpenSSL version to 3.0
(cherry picked from commit 020d087465)
2024-05-28 16:59:11 +02:00
Ovahlord
333d5751a9 Core/Cryptography: dropped support for OpenSSL 1.1
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x

(cherry picked from commit 728e7c7fcf)
2024-05-28 16:59:07 +02:00
Bloodtigress
f200b22d8f Core/Items: Fix item sell price not scaling with item level (#29972)
(cherry picked from commit 500301b962)
2024-05-28 16:59:03 +02:00
Antonio Martín Berti
e6b76718f4 Core/Criteria: Implemented CriteriaType ParticipateInArena (#29973)
(cherry picked from commit ef22003a56)
2024-05-28 16:58:53 +02:00
Antonio Martín Berti
9810fdca95 Core/Misc: Removed NYI comment text on CriteriaType::PlayerTriggerGameEvent (#29974)
(cherry picked from commit 10b8dcfb3c)
2024-05-28 16:57:47 +02:00
Antonio Martín Berti
3e6b11c0fd Core/Spells: Implemented SPELL_EFFECT_REPUTATION_2 (184) (#29971)
(cherry picked from commit cdffb0565e)
2024-05-28 16:57:43 +02:00
Shauren
249eb19fe1 Core/Misc: Minor change to make_unique_ptr_with_deleter to make it accept only pointers
(cherry picked from commit 83f4763b25)
2024-05-28 16:55:30 +02:00
Meji
b37f4d0a50 DB/Creatures: Added missing movement override data
(cherry picked from commit 1db7b9fe56)
2024-05-28 16:55:24 +02:00
Shauren
d7cb383134 Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit)
(cherry picked from commit 78aef0bd75)
2024-05-28 16:55:05 +02:00
Shauren
97191e2a11 Core/Updater: Fix gcc warning
(cherry picked from commit b288fceb79)
2024-05-28 16:55:01 +02:00
Shauren
95628dc95a Core/Misc: Refactor OpcodeTable reducing its size and modernize array/pointer storage
(cherry picked from commit e7c0ea9048)

# Conflicts:
#	src/server/game/Server/Protocol/Opcodes.h
2024-05-28 16:54:41 +02:00
Meji
d61979a768 DB/Graveyards: Drop custom world_safe_locs
(cherry picked from commit ef63bbe492)
2024-05-28 16:50:30 +02:00
Shauren
814c5c3a4b Dep/fmt: Upgrade to 10.2.1
(cherry picked from commit 2aedd8ecdb)
2024-05-28 16:49:58 +02:00
Meji
63931da5ff Core/Creatures: Ignore validation of AppearanceModId 0 in equipment (#29916)
(cherry picked from commit 22e657eac1)
2024-05-28 16:49:54 +02:00
Meji
a0958831c8 Core/Creatures: Allow profession tools to be used as equipment (#29915)
(cherry picked from commit 2238844f56)
2024-05-28 16:49:49 +02:00
Ovahlord
228ae7e885 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)
(cherry picked from commit 24bda9c73d)
2024-05-28 16:49:26 +02:00
Shauren
2ceae541cc Core/Misc: Minor fixes in preparation to support fmt v10
(cherry picked from commit 39fc9f8000)
2024-05-28 16:49:12 +02:00
Shauren
3cf1aaaf56 Core/Misc: Refactor loading process to remove exit() calls that cause deadlocks because threads are terminated without proper cleanup
(cherry picked from commit 8e3024a96a)
2024-05-28 16:47:32 +02:00
Shauren
beb9b4607d Core/Proto: Regenerate LoginResult to include next_url
(cherry picked from commit 9dcc6c0207)
2024-05-28 16:45:49 +02:00
Phaneron
59798e3319 Core/Proto: Added missing 'next_url' field to Login.proto
(cherry picked from commit e32ef420fa)
2024-05-28 16:45:45 +02:00
Ovahlord
ffac60879b Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946)
(cherry picked from commit 11f32a2427)
2024-05-28 16:45:41 +02:00
Shauren
33eb662bcc Scripts/Items: Updated Amalgam's Seventh Spine script - fixed auras lingering after removal and added new case for evokers
(cherry picked from commit 250984a7b7)
2024-05-28 16:45:37 +02:00
Ovahlord
cbc6aed437 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

(cherry picked from commit 55ce5b150f)
2024-05-28 16:45:30 +02:00
Ovahlord
4de6799403 Core/Units: moved Vignette updating into Heartbeat handling
(cherry picked from commit 253f306a41)
2024-05-28 16:45:26 +02:00
Ovahlord
42a5176190 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.

(cherry picked from commit d60b4e5b19)
2024-05-28 16:45:22 +02:00
Ovahlord
f280117358 Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940)
(cherry picked from commit b5ce4a66df)
2024-05-28 16:45:11 +02:00
Aqua Deus
2ee8c63d93 Scripts/Spells: Fix Crusader's Might cooldown reduction effect (#29938)
(cherry picked from commit a361d3f587)
2024-05-28 16:45:07 +02:00
Ovahlord
69778a4414 Core/Player: moved indoors/outdoors aura interrupting mechanic into heartbeat and movement handling
(cherry picked from commit 5a169f6eae)
2024-05-28 16:45:03 +02:00
Ovahlord
f7ea6f55dc Core/Units: moved cyclic spline synchronization mechanic heartbeat handling
(cherry picked from commit c2fedbb6cc)
2024-05-28 16:44:59 +02:00
Ovahlord
c4684fb2d6 Core/Player: moved the periodic group update mechanic into heartbeat handling
(cherry picked from commit 80d72a2c91)
2024-05-28 16:44:55 +02:00
Ovahlord
2a5733d0b1 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>
(cherry picked from commit bf9cd88ceb)
2024-05-28 16:44:51 +02:00
Meji
e9eb6216a9 DB/WorldStates: Added new worldstates related to currencies
(cherry picked from commit 1fc5f9c624)
2024-05-28 16:44:47 +02:00
Shauren
0d65725551 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
(cherry picked from commit dad976beb4)

# Conflicts:
#	src/server/scripts/BrokenIsles/zone_orderhall_warrior.cpp
2024-05-28 16:44:37 +02:00
Shauren
b7677bf211 Core/Movement: Enable Catmullrom spline flag by default for flying waypoint paths
(cherry picked from commit e0e1b6a409)
2024-05-28 16:44:26 +02:00
Shauren
86fb1fc161 Core/Movement: Fixed spline packed deltas validation check
(cherry picked from commit ad6ef5237d)
2024-05-28 16:44:22 +02:00
Shauren
a0a6f9563c Build fix for clang <= 14
(cherry picked from commit 5f31d7cb88)
2024-05-28 16:44:17 +02:00
Shauren
6be8724264 Core/Movement: Change default spline flags - Steering replaces SmoothGroundPath
(cherry picked from commit 3af5cafec7)
2024-05-28 16:44:14 +02:00
Shauren
d4e18bdef4 Core/Movement: Refactor MoveSplineFlag to get rid of undefined behavior (cast in raw()) and unify enum to string formatting for it
(cherry picked from commit a02804fa02)
2024-05-28 16:44:09 +02:00
Shauren
10df0cba8e Core/Units: Name new spline flag and linked npc flag
(cherry picked from commit 8c0b031c07)
2024-05-28 16:43:58 +02:00
Shauren
78805e49c0 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-05-28 16:43:54 +02:00
Aqua Deus
3f6153f9d9 Scripts/Spells: Add new script for spells with feign death with all flags except uninteractible (#29922)
(cherry picked from commit f4ef6f769b)
2024-05-28 16:43:50 +02:00
ModoX
4a18194fc0 Core/Movement: Fixed data sent in cyclic spline related packets
(cherry picked from commit a28facb956)
2024-05-28 16:43:38 +02:00
Shauren
cbcbe5d965 Core/Movement: Switch to uncompressed paths in spline packets automatically when too large or too small delta between points is detected
(cherry picked from commit 377b51f768)
2024-05-28 16:43:34 +02:00
Shauren
1c565c0db1 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

(cherry picked from commit cf1ab7b414)
2024-05-28 16:43:31 +02:00
Meji
6cc38c1b79 DB/Outland: Update creature static flags
(cherry picked from commit 6929df0f0b)
2024-05-28 16:43:27 +02:00
ModoX
2a84a9e090 Core/Spells: Fixed SpellInfo::GetSpellXSpellVisualId for nonplayer casters (#29927)
(cherry picked from commit 8d8a54db25)
2024-05-28 16:43:22 +02:00
Shauren
3241bcfdce Core/Movement: Merge waypoints without delay into a single movement packet
(cherry picked from commit 204f65684c)
2024-05-28 16:43:17 +02:00
Shauren
0cea1c1dfb Core/Movement: Added functions to MoveSplineInit to enable steering flag
(cherry picked from commit cf4c3b5467)
2024-05-28 16:43:13 +02:00
Shauren
651f71b138 Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1
(cherry picked from commit e1f43900d1)
2024-05-28 16:43:09 +02:00