Commit Graph

42934 Commits

Author SHA1 Message Date
Shauren
a348eb7b01 Core/Mail: Ignore currencies from loot for mails
(cherry picked from commit 2d22978346)
2024-08-27 17:22:47 +02:00
Shauren
ab0d7ac8f3 Core/Players: Fixed spells being unintentionally removed by talent swaps when they are learned from more than one spell (affects balance druid Celesial Alignment and Incarnation)
(cherry picked from commit 2c6ddcce3d)

# Conflicts:
#	src/server/game/Spells/SpellMgr.cpp
2024-08-27 17:22:18 +02:00
Shauren
d451defc22 Core/AHBot: Fix loot query
(cherry picked from commit fbadeeae39)
2024-08-27 17:21:13 +02:00
Shauren
51fdfa6055 Core/Commands: Fix windows unicode escape sequence warning
(cherry picked from commit 43987f0cff)
2024-08-27 17:21:08 +02:00
Shauren
18ae1540b5 Core/Loot: Implemented currency loot
(cherry picked from commit 3e28ee080a)

# Conflicts:
#	sql/base/characters_database.sql
#	sql/updates/auth/cata_classic/2024_08_26_00_characters.sql
#	sql/updates/world/cata_classic/2024_08_26_00_world.sql
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Loot/Loot.cpp
#	src/server/scripts/ExilesReach/zone_exiles_reach.cpp
2024-08-27 17:20:43 +02:00
Shauren
a3c66fe0b8 Core/Loot: Build fix for older compilers
(cherry picked from commit 6b4270850f)
2024-08-27 15:51:16 +02:00
Shauren
9ccd2daa16 Core/Loot: Added type to LootStoreItem to replace reference != 0 checks
(cherry picked from commit 7e70ea701e)

# Conflicts:
#	sql/updates/world/cata_classic/2024_08_25_02_world.sql
2024-08-27 15:50:01 +02:00
Shauren
a9b7540d4b Core/Conditions: Remove unneccessary duplicate condition startup checks - item existance is checked by loot loading and if that fails, condition loading will fail to find related item inside loot
(cherry picked from commit 6d3be9cca6)
2024-08-27 15:45:49 +02:00
Shauren
ae5a926b61 Core/Loot: Use unique_ptr in LootTemplate class
(cherry picked from commit 430321a803)
2024-08-27 15:45:42 +02:00
Shauren
efd3992368 Core/Loot: Use unique_ptr in LootStore class
(cherry picked from commit b49a9b44af)
2024-08-27 15:45:36 +02:00
Shauren
a1b744b786 Core/DBUpdater: Use utf8mb4 in dbupdater --default-character-set
(cherry picked from commit b257b244cb)
2024-08-27 15:45:29 +02:00
Ovahlord
753c87ce24 Core/Packets: updated packet structure of SMSG_BATTLEFIELD_LIST and updated BattlegroundTypeId enum 2024-08-27 04:48:44 +02:00
Ovahlord
3b9845ee44 Core/Config: implemented a config setting for rated battleground conquest rewards 2024-08-26 22:31:30 +02:00
Ovahlord
0d5264be3e Core/Player: updated currency constants and fixed sending random battleground rewards in RequestPvPRewardsResponse 2024-08-26 22:13:05 +02:00
Ovahlord
c5116b0e11 Core/Config: updated current arena season to 9 (Vicious Gladiator) 2024-08-26 21:21:38 +02:00
Ovahlord
92435b0934 Core/Packets: enabled and implemented SMSG_PVP_SEASON and dropped its retail successor implementation SMSG_SEASON_INFO (doesn't exist in Classic) 2024-08-26 21:19:12 +02:00
Ovahlord
076ff7970c Core/Packets: updated packet structure of SMSG_SET_FACTION_STANDING 2024-08-26 05:15:23 +02:00
Ovahlord
acfeba874f DB/Misc: fixed various difficulty, spawn and post Cataclysm related startup errors 2024-08-23 17:38:49 +02:00
Ovahlord
c95062fcb5 DB/Creature: updated all default creature difficulty entries with bruteforce data 2024-08-23 06:03:59 +02:00
Ovahlord
f0c4b01ae6 Core/Packets: updated structures of SMSG_PARTY_INVITE, SMSG_PARTY_MEMBER_FULL_STATE and SMSG_MIRROR_IMAGE_COMPONENTED_DATA 2024-08-23 00:09:39 +02:00
Ghaster
7e831374cb Core/Players: Fix SPELLMOD_PCT on login (#30179)
(cherry picked from commit 6904dfc20b)
2024-08-22 23:47:29 +02:00
Shauren
6a00012435 Build: Reduce required cmake version on linux
(cherry picked from commit 90eed65876)
2024-08-22 23:47:21 +02:00
Shauren
95714e4ece Build: Replace hardcoded mysql search paths with pattern based approach
(cherry picked from commit ab046bdc32)
2024-08-22 23:47:15 +02:00
Shauren
936faa7a46 Build: Increase required CMake version to 3.24 and removed unneccessary cmake_policy() calls that are already handled by cmake_minimum_required()
(cherry picked from commit 8f95c84a08)
2024-08-22 23:47:09 +02:00
Shauren
fc041b6fde Build: Extract hardcoded list of mysql paths to shared cmake variable
(cherry picked from commit 15209a9cfe)
2024-08-22 23:47:02 +02:00
Shauren
dfad7de501 Core/PacketIO: Fixed CMSG_QUERY_REALM_NAME not being handled and not sending any responses
(cherry picked from commit 7f8a932b8b)
2024-08-22 23:46:50 +02:00
Ovahlord
926fda01d8 Core/Quests: fixed max level quest money rewards and calculate them during runtime instead of using dumped DB values
* this fixes an exploit that was allowing players that have capped their level via npc to obtain higher max level money rewards if the quest info came from a sniff that was done with a max level character
2024-08-22 16:28:26 +02:00
Ovahlord
d637504785 fix build 2024-08-22 02:18:21 +02:00
Ovahlord
8cc912de6a Core/Items: fixed applying resistances and armor from items 2024-08-21 19:44:02 +02:00
Ovahlord
f23430f392 DB/Creatures: fixed a conversion error that was causing all creatures to have identical min level and max level values 2024-08-21 19:29:24 +02:00
Ovahlord
63e5af1f70 DB/Creatures: backported level data for all base difficulty creatures from 4.3.4 2024-08-21 19:18:45 +02:00
Ovahlord
b0e058e261 Core/Player: restore crit chance bonus from intellect
* implemented SPELL_AURA_MOD_SPELL_CRIT_CHANCE_SCHOOL
2024-08-21 14:55:19 +02:00
Ovahlord
675eb1bab2 Core/Player: restored mana bonus from intellect 2024-08-21 14:14:05 +02:00
Ovahlord
7ed0d6f228 Core/Player: no longer use the sOctClassCombatRatingScalar game table to calculate rating bonus multipliers to match current live server's values
* this is a 'blizzlike' bug that is causing mastery rating from items to be 25% stronger than it should be
2024-08-19 04:31:55 +02:00
Ovahlord
bd366706b7 Core/Player: dropped unused combat rating diminishing 2024-08-19 03:12:39 +02:00
Ovahlord
d6029865fa Core/DataStores: fixed swapped values in CombatRatings game table 2024-08-18 22:22:32 +02:00
Ovahlord
ac16f8ec88 DB/Auth: fixed sql file name from recent cherrypick 2024-08-18 20:59:43 +02:00
Shauren
25ffdbc5ef Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9

(cherry picked from commit c4b710446d)

# Conflicts:
#	sql/base/auth_database.sql
2024-08-18 20:39:21 +02:00
Shauren
0c98004896 Core/Players: Use PlayerData::VirtualPlayerRealm instead of global GetVirtualRealmAddress() where possible
(cherry picked from commit 88fea990ff)
2024-08-18 20:30:26 +02:00
Ovahlord
a42b6f67c1 Core/Spells: print the amount of found mastery spell learn spell entries generated during startup 2024-08-18 18:59:53 +02:00
Ovahlord
f76f20c7fc Core/DataStores: named and assigned missing combat rating fields in CombatRatings game table 2024-08-18 18:45:18 +02:00
Ovahlord
b98db4beea Core/Spells: restored old mastery handling 2024-08-18 18:23:24 +02:00
funjoker
33b61bd243 Update branch name in readme 2024-08-18 09:21:24 +02:00
funjoker
6720182694 Remove wotlk_classic from readme 2024-08-18 09:19:24 +02:00
Ovahlord
12e5ec72d2 DB/Creatures: added missing default creature_template_difficulty entries for bruteforced creatures 2024-08-17 14:30:53 +02:00
Shauren
6051a553eb Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr
(cherry picked from commit edb20999a3)
2024-08-17 14:05:57 +02:00
Meji
bd2212322b Core/SAI: Implemented new action SMART_ACTION_COMPLETE_QUEST (#30048)
(cherry picked from commit 3429871a07)
2024-08-17 14:05:40 +02:00
Shauren
6c9824f147 Core/Misc: Added TWW expansion enum value
(cherry picked from commit 8706dba48f)
2024-08-17 14:02:20 +02:00
Shauren
33cfe6b2eb Core/PacketIO: Fixed handling CMSG_UPDATE_ACCOUNT_DATA - compressed value is not a null-terminated string
(cherry picked from commit a4ecb2dfae)
2024-08-17 14:02:07 +02:00
Jeremy
2624503e7e Spells/Auras: Implement SPELL_AURA_ACT_AS_CONTROL_ZONE (#30083)
(cherry picked from commit 66abfd1c53)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuraEffects.h
2024-08-17 14:02:00 +02:00