Commit Graph

30149 Commits

Author SHA1 Message Date
Shauren
59c46f8a66 Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer
(cherry picked from commit c81183a660)
2024-12-12 19:58:52 +01:00
Gildor
a0bdf2da3b Core/Players: Improve reset spell cooldowns when entering arenas (#30032)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 97b19a5445)
(cherry picked from commit 752ea0f8e9)
2024-12-12 19:58:44 +01:00
Shauren
da61bf5ebf Core/Quests: Improved criteria tree quest objective type
* Fixed _completedObjectives not being cleaned when adding quest
* Fixed objective credit being granted if just the criteria tree row containing criteria id was completed (instead of the entire tree linked to objective)
* Retroactively grant progress on quest accept for criteria types that require action that cannot be repeated (such as learning a spell)

(cherry picked from commit 4e89a302fc)

# Conflicts:
#	src/server/game/Achievements/CriteriaHandler.cpp
2024-12-12 19:57:46 +01:00
Shauren
60064b0c43 Core/Achievements: Reduce the list of criteria types updated on login
* Implemented CriteriaType::ReachMaxLevel
* Corrected implementations for CriteriaType::ReachRenownLevel and CriteriaType::LearnTaxiNode

(cherry picked from commit 6da1679cbf)
2024-12-12 19:55:15 +01:00
Shauren
d86e2671d9 Core/Commands: Handle more quest objective types with .quest complete command
(cherry picked from commit e071c08526)
2024-12-07 09:06:01 +01:00
Shauren
4b9bb32cdc Core/Guilds: Prevent guild bank packet contents update hack from interfering with buying new bank tabs
Closes #30277

(cherry picked from commit e3d0b803d7)
2024-12-06 21:30:28 +01:00
Shauren
a28bdcba23 Core/Spells: Fixed item level requirements for enchanting spells
Closes #30482

(cherry picked from commit 243314806f)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/shared/SharedDefines.h
#	src/server/shared/enuminfo_SharedDefines.cpp
(cherry picked from commit 2e4ada2d3d)
2024-12-06 21:19:57 +01:00
Shauren
e14bc92037 Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK
(cherry picked from commit 3177c410e4)
2024-12-06 21:19:48 +01:00
Meji
f9b564af3c Core/SAI: Allow update of disable gravity/root applied via static flags (using related action type) (#30481)
(cherry picked from commit 2cf2535cd6)
2024-12-06 21:19:40 +01:00
Ghaster
6e336607a1 Core/Scenarios: Send Scenario GUID in scenario progress packet (#30465)
(cherry picked from commit 49b3ea96f5)
2024-12-06 21:15:25 +01:00
Shauren
6f034235ab Core/Quests: Change Player::KilledMonster arguments to take Creature directly
(cherry picked from commit 49699bc966)
2024-12-06 21:13:55 +01:00
Shauren
fd3fa0d18e Core/Quests: Use a helper function for quest objective StorageIndex startup validation
(cherry picked from commit 5df1c6dea6)
2024-12-06 21:13:42 +01:00
Shauren
4ebece9946 Fix nopch build
(cherry picked from commit f06387b5eb)
2024-12-01 20:34:53 +01:00
Shauren
fc187fff9a Core/Misc: Port std::ranges::contains from c++23
(cherry picked from commit 3e2abd2535)
2024-12-01 20:34:52 +01:00
Shauren
b87676f505 Core/PacketIO: Fixed SMSG_SPELL_ENERGIZE_LOG structure
(cherry picked from commit ba90348de8)
2024-11-29 17:38:54 +01:00
Ovahlord
dfb26231fb Core/Spells: moved Cobra Shot's spell_linked_spell fix to spell scripts 2024-11-29 17:35:00 +01:00
Ovahlord
592ab31463 Scripts/Spells: removed broken Steady Shot energize spell_linked_spell fix and properly fix it via spell script 2024-11-29 17:16:08 +01:00
Ovahlord
7bdbcc5bda Core/Units: use the correct update field when applying haste regeneration bonus 2024-11-29 17:00:24 +01:00
Ovahlord
4894dac94f Core/Auras: implement SPELL_AURA_MOD_RANGED_HASTE_2 2024-11-29 16:04:21 +01:00
Ovahlord
74c0889d64 Core/Auras: added support for SPELL_AURA_MOD_RANGED_HASTE stacking rules 2024-11-29 16:03:43 +01:00
Ovahlord
a299b14838 Core/Auras: make sure that only SPELL_AURA_MOD_MELEE_HASTE will affect the HasteRegen modifier 2024-11-29 16:00:36 +01:00
Ovahlord
37095f9a6e Core/Auras: make sure haste auras check for stacking rules of their according aura type 2024-11-29 15:59:01 +01:00
Ovahlord
d15f177652 Scripts/Spells: fixed hunter Improved Steady Shot talent 2024-11-28 20:51:05 +01:00
Ovahlord
cb21cd8e24 Core/Spells: removed a deprecated hack for marking Explosive Shot as ranged spell
*this spell has been removed in 4.0 and newer
2024-11-28 20:34:12 +01:00
Shauren
4dedfcfe90 Core/Vmaps: Don't ignore model rotation when calculating liquid level
Closes #30205

(cherry picked from commit 53b4501ce9)
2024-11-28 17:24:59 +01:00
Shauren
c9a7934b28 Adjust previous commit to compile with clang on systems that have gcc 12 installed
(cherry picked from commit 898a941b10)
2024-11-28 17:24:48 +01:00
Shauren
d71468e8b1 Core/Misc: Modernize and improve GetMainPartOfName
(cherry picked from commit 2a6fd947de)
2024-11-28 17:24:44 +01:00
Ovahlord
cdf2b544be Core/Creatures: make sure that UNIT_NPC_FLAG_TRAINER stays around for non-class trainers 2024-11-24 17:03:53 +01:00
Stephan T. Lavavej
df12a8959c Core/Misc: Remove non-portable hack of including <__msvc_chrono.hpp> - will break in future MSVC release (#30460)
(cherry picked from commit 96956b0e5b)
2024-11-24 15:14:42 +01:00
Ovahlord
b91c6597b9 Core/Creatures: remove UNIT_NPC_FLAG_TRAINER from class trainers as well when they are not supposed to train a player class 2024-11-24 15:11:30 +01:00
Ovahlord
9954a294be Core/Spells: removed an ancient code remnant which involved ammo requirements for thrown weapons 2024-11-21 23:10:32 +01:00
Ovahlord
962af39b18 Core/Misc: simplified comment added in 6ddb9852de 2024-11-16 12:33:33 +01:00
Ovahlord
6ddb9852de Core/Packets: do not send AccountExpansionLevel in SMSG_AUTH_RESPONSE to match Classic behavior
* this fixes several expansion level related UI elements to break
2024-11-16 12:30:26 +01:00
Ovahlord
8ec9bb60c0 Core/Objects: corrected UF position for TransportServerTime and named a unknown field 2024-11-16 11:00:34 +01:00
Ovahlord
70e87f99b2 Core/Packets: send the full packet data for action bars in SMSG_UPDATE_OBJECT 2024-11-16 00:35:12 +01:00
Ovahlord
c47a988eb2 Core/Units: make sure that creatures only generate loot when they have a tapper 2024-11-15 19:23:13 +01:00
Shauren
4762ed8f8c Core/DataStores: Rewrite DB2Manager::GetDefaultMapDifficulty to only return entries that point to valid Difficulty.db2 rows
(cherry picked from commit 441d7e5dc1)
2024-11-15 19:10:22 +01:00
Ovahlord
2d91df0daf Core/Players: no longer allow players to enter older raids without being in a raid party 2024-11-15 17:59:57 +01:00
Ovahlord
c4c8bbfcf2 remove blank line 2024-11-15 17:49:06 +01:00
Ovahlord
be26bfb878 Core/Loot: boss loot is no longer personal 2024-11-15 17:30:23 +01:00
Ovahlord
7198ba5e42 Core/Packets: allow parties to change loot rules again 2024-11-15 16:53:03 +01:00
Ovahlord
740b8b897f Core/Creatures: reduce the allowed amount of tappers from 5 down to 1 2024-11-15 16:42:50 +01:00
Ovahlord
02a3a6ce86 Core/Packets: updated SMSG_ATTACKER_STATE_UPDATE packet structure to 4.4.1 2024-11-14 17:33:33 +01:00
Ovahlord
f4395bbb62 Core/Packets: fixed ContentTuningParams structure 2024-11-14 17:29:09 +01:00
Ovahlord
ac87a39550 Core/Packets: fixed packet structure of SMSG_DISPLAY_TOAST 2024-11-14 16:30:57 +01:00
Shauren
dcc59a3d99 Core/Misc: Support IPv6 ip2location
(cherry picked from commit c522e5f4c2)
2024-11-14 00:30:53 +01:00
Shauren
519bb15a0a Core/JSON: Prevent out of bounds memory accesses in json deserialization
(cherry picked from commit e8d949c794)
2024-11-13 19:16:04 +01:00
Ovahlord
e23256fd1e build fix 2024-11-12 21:53:47 +01:00
Ovahlord
5da7cae3d8 Core/Packets: updated SMSG_INSPECT_RESULT packet structure to 4.4.1 2024-11-12 21:46:04 +01:00
Ovahlord
95766668f8 Core/Packets: updated GuildRosterMemberData structure to 4.4.1 2024-11-12 21:16:03 +01:00