Commit Graph

43253 Commits

Author SHA1 Message Date
Shauren
23e66feef9 Core/JSON: Prevent more out of bounds memory accesses in json deserialization
(cherry picked from commit 661bd1a7f4)
2024-12-26 11:54:59 +01:00
Ovahlord
0b842d44d9 Scripts/OutdoorPvp: converted two raw pointers into smart pointers to fix possible memory leaks 2024-12-25 10:44:45 +01:00
Shauren
86960f140e Core/AuctionHouse: Updated AuctionHouseFilterMask and implemented current expansion filter
(cherry picked from commit 5b278a4ca7)
2024-12-24 20:17:46 +01:00
Shauren
93832c8728 Core/AuctionHouse: Skip own account commodity listing when buying
(cherry picked from commit 8ff8dfd620)
2024-12-24 20:17:42 +01:00
Shauren
3b18a3353b Core/AuctionHouse: Minor code modernization
(cherry picked from commit 969be9d33c)
2024-12-24 20:17:38 +01:00
Shauren
1c9facc73a Core/AuctionHouse: Fixed use after free
Closes #30128

(cherry picked from commit b83de81a70)
2024-12-24 20:17:34 +01:00
Shauren
a2d99b2219 Core/Spells: Moved loading aoe target caps out of SpellMgr::LoadSpellInfoCorrections
(cherry picked from commit 38eee2f034)

# Conflicts:
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
2024-12-24 14:54:25 +01:00
Ovahlord
b6c867ab08 DB/Misc: fixed a bunch of startup errors 2024-12-24 14:52:43 +01:00
ModoX
78590eb6e8 Core/Object: Fixed interaction dynamic flags assignment for GAMEOBJECT_TYPE_SPELLCASTER gameobjects
Closes #30533

(cherry picked from commit e588477791)
2024-12-22 11:54:57 +01:00
Ovahlord
686e575b6f DB/GameObjects: fixed phasing of several gameobject spawns in Acherus: The Ebon Hold 2024-12-21 22:24:30 +01:00
Ovahlord
5c0e09b31a Scripts/Spells: moved rogue spell scripts into namespaces to respect the one definiton rule 2024-12-21 22:03:00 +01:00
Ovahlord
2d820e591b Scripts/Spells: moved warrior spell scripts into namespaces to respect the one definition rule 2024-12-21 22:01:54 +01:00
Ovahlord
c5f8b2fd3f Scripts/Spells: moved death knight spell scripts into namespaces to respect the one definition rule 2024-12-21 22:00:29 +01:00
Shauren
cb29e42e3a Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
(cherry picked from commit 884662a75a)

# Conflicts:
#	src/server/scripts/Shadowlands/Torghast/spell_torghast.cpp
#	src/server/scripts/Spells/spell_azerite.cpp
#	src/server/scripts/Spells/spell_evoker.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
2024-12-21 17:41:47 +01:00
Ovahlord
4011a0df2b Scripts/Spells: fixed Blood Plague damage calculation 2024-12-20 21:34:55 +01:00
Ovahlord
2ddc37e265 Scripts/Spells: fixed damage calculations for Icy Touch and Frost Fever 2024-12-20 21:23:39 +01:00
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