Commit Graph

43237 Commits

Author SHA1 Message Date
Ovahlord
a2925358f0 Core/Spells: allow RealPointsPerLevel to always apply when no scaling coefficient is provided 2024-12-20 21:15:15 +01:00
Ovahlord
b356decda9 Core/Player: removed unused method leftover 2024-12-20 19:39:36 +01:00
Ovahlord
4e02f21ad4 nopch fix 2024-12-20 19:33:21 +01:00
Ovahlord
64ed97762d Scripts/Spells: fixed Death Coil 2024-12-20 19:24:30 +01:00
Ovahlord
2087f75871 Core/Player: fixed logic for determining fully depleted runes - these are runes at max cooldown that hasn't started recovering yet 2024-12-20 18:22:08 +01:00
Shauren
a5d4a0c9d7 Core/PacketIO: Fixed writing exactly 32 bits
(cherry picked from commit aa3a62e518)
2024-12-20 17:34:05 +01:00
Ovahlord
ab72a23a9f Scripts/Spells: fixed Runic Empowerment 2024-12-20 17:20:33 +01:00
Ovahlord
d353eb35a6 Core/Spells: corrected SPELL_EFFECT_ACTIVATE_RUNE behavior for Classic
* this fixes blood rune activation
2024-12-20 17:16:32 +01:00
Ovahlord
03f98136fe Core/Player: rename IsBaseRuneSlotsOnCooldown to IsRuneFullyDepleted to match the wording used in Runic Empowerment's tooltip 2024-12-20 16:44:29 +01:00
Shauren
f8c02aa69b Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS
(cherry picked from commit ad06dcaaec)
2024-12-20 15:37:36 +01:00
Shauren
72b2d08d8a Core/GameObjects: Remove unused function
(cherry picked from commit 4ccaac5d91)
2024-12-20 15:34:48 +01:00
Shauren
997c11d9fe Core/PacketIO: Improved bit functions - no longer writes each bit separately
(cherry picked from commit 5f212c6916)
2024-12-20 15:34:36 +01:00
Shauren
41d075b01a Core/PacketIO: Read directly into output variable for numeric ByteBuffer::operator>> overloads
(cherry picked from commit 5a1fe84978)
2024-12-20 15:34:31 +01:00
Shauren
a98256c57a Core/PacketIO: Fixed endian conversions for array operations
(cherry picked from commit 736836a3f5)
2024-12-20 15:34:27 +01:00
Shauren
744a435f44 Core/PacketIO: Remove overriding Underlying type from ByteBuffer reads in favor of PacketUtilities::As
(cherry picked from commit 9ed5f8812b)

# Conflicts:
#	src/server/game/Server/Packets/AuctionHousePackets.cpp
#	src/server/game/Server/Packets/ItemPackets.cpp
2024-12-20 15:34:20 +01:00
Shauren
003fa802e1 Core/Misc: Apply consistent formatting in ByteBuffer
(cherry picked from commit 8eb2a4de78)
2024-12-20 15:32:05 +01:00
Shauren
6c5ad69a35 Core/Auth: Fix missing initialization
(cherry picked from commit 4df06cee62)
2024-12-19 15:22:32 +01:00
Shauren
d834b5ff51 Core/Crypto: Added HMAC_SHA512 definition
(cherry picked from commit 8228a53109)
2024-12-19 15:22:27 +01:00
Shauren
a2b74721cf Core/Crypto: Allow different AES key lengths
(cherry picked from commit f8f7fb58cb)
2024-12-19 15:22:19 +01:00
Shauren
a591a2ce59 Fix nopch build
(cherry picked from commit e3f253f41d)
2024-12-19 15:22:13 +01:00
Shauren
97d4485f5f Core/PacketIO: Added more utilities for packet writing for strings and optionals implemented with unique_ptr
# Conflicts:
#	src/server/game/Server/Packets/LFGPackets.cpp
2024-12-19 15:22:03 +01:00
Shauren
39c42e2a43 Core: Updated allowed build to 4.4.1.58158 2024-12-19 12:01:04 +01:00
Shauren
99c9b4c240 Fix codestyle 2024-12-16 16:43:51 +01:00
Shauren
d0be0fcaed Fix build 2024-12-16 16:43:46 +01:00
Shauren
4220ec8eee Core/Misc: Fixed build with c++23 enabled
Closes #30511
2024-12-16 16:43:42 +01:00
Shauren
445b4ed115 Core/Utils: Mark Trinity::HashFnv1a as constexpr 2024-12-16 16:43:38 +01:00
Ovahlord
b72fc58f6b Core/Database: removed more duplicate aliases from prepared statements 2024-12-16 16:43:33 +01:00
Ovahlord
0bf3ca2a18 Core/Quests: assign a unique alias to ID fields loaded from quest_visual_effect 2024-12-16 16:43:28 +01:00
Shauren
4566661d75 Core/Spells: Fixed PROC_HIT_DISPEL and PROC_HIT_INTERRUPT on procs using PROC_SPELL_PHASE_HIT phase 2024-12-16 16:43:23 +01:00
Shauren
b3cc2eaaf5 Core/Achievements: Implemented CriteriaType::ReachMaxLevel
(cherry picked from commit f92b5316ab)

# Conflicts:
#	sql/base/characters_database.sql
#	sql/updates/auth/cata_classic/2024_12_13_00_characters.sql
2024-12-14 17:36:34 +01:00
Shauren
c7f09e0171 Core/Vmaps: Minor cleanup (formatting) and documentation updates for BIH::build copy vs move choice
(cherry picked from commit 62dbb0619b)
2024-12-12 19:59:07 +01:00
Shauren
3d680ff9ba Build fix for old boost version
(cherry picked from commit a97b7af876)
2024-12-12 19:59:01 +01:00
Shauren
486260a90e Core/Commands: Fix vmap directory size calculation for .server debug command after 518fe1fd1e
(cherry picked from commit 99d87ea638)
2024-12-12 19:58:56 +01:00
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
8e266ca373 Core: Updated allowed build to 4.4.1.57916 2024-12-05 23:25:58 +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