Commit Graph

42841 Commits

Author SHA1 Message Date
Ovahlord
2a9885af2e DB/Hotfixes: updated enUS hotfixes to 01.08.2024 2024-08-01 10:40:35 +02:00
Ovahlord
8a3a46050c Core/Packets: enabled and added packet class for SMSG_REQUEST_PVP_REWARDS_RESPONSE 2024-07-31 17:38:39 +02:00
Ovahlord
58456bff19 Core/Spells: use signed variable to track spent combo points in Eviscerate spell script to match the class member's type
* and to make some folks happy
2024-07-31 17:09:09 +02:00
Shauren
cb8f38120a Core/PacketIO: Added example uses of new packet reading/writing utilities
(cherry picked from commit 6f67ed7fd3)

# Conflicts:
#	src/server/game/Server/Packets/CharacterPackets.cpp
#	src/server/game/Server/Packets/GarrisonPackets.cpp
#	src/server/game/Server/Packets/ItemPackets.cpp
#	src/server/game/Server/Packets/NPCPackets.h
#	src/server/game/Server/Packets/QuestPackets.cpp
#	src/server/game/Server/Packets/SystemPackets.cpp
2024-07-31 17:02:16 +02:00
Ovahlord
8c6b9186ca Core/Logging: fixed nopch build for msvc compilers (#30126)
(cherry picked from commit bebd02925d)
2024-07-31 16:38:26 +02:00
Shauren
9002c009f0 Core/PacketIO: Added new packet reading/writing utilities for type casting, optionals and bits
(cherry picked from commit f41ab921b9)
2024-07-31 16:12:44 +02:00
Shauren
313d83f210 Core/Misc: Reduce amount of virtual functions and copypasting in Reference<> implementations
(cherry picked from commit 9242eda6c7)
2024-07-31 16:12:38 +02:00
Ovahlord
7ded8757dd nopch fix 2024-07-31 16:11:56 +02:00
Ovahlord
947fd260a8 Core/Spells: treat combo points consumption similar to regular power to allow spending and gaining combo points within the same update tick 2024-07-31 13:40:01 +02:00
Ovahlord
72e9036481 Core/Auras: updated aura duration bonus from combo points for Cataclysm 2024-07-31 12:40:30 +02:00
Ovahlord
895e86659f remove whitespaces 2024-07-31 11:57:03 +02:00
Ovahlord
c903b317c9 Core/Spells: prioritize DieSides over Variance when calculation spell values 2024-07-31 11:39:37 +02:00
Ovahlord
0a56248fb4 Core/Spells: fixed Eviscerate damage calculation 2024-07-31 11:34:42 +02:00
Ovahlord
2401e32c55 Core/Misc: update Combo Points handling to Cataclysm 2024-07-31 06:05:41 +02:00
Ovahlord
e49328d093 Core/Packets: updated opcode value for SMSG_ACCOUNT_HEIRLOOM_UPDATE 2024-07-29 04:13:28 +02:00
Ovahlord
6754881fe1 Core/Players: initial work on downgrading attack power
(cherry picked from commit 2c6a018079)

# Conflicts:
#	src/server/game/Entities/Unit/StatSystem.cpp
2024-07-29 03:17:58 +02:00
Ovahlord
d5bcf9995d Core/Items: added accessors to get db2 min and max weapon damage 2024-07-29 03:14:19 +02:00
Ovahlord
650be9f592 Core/Player: wiped remaining traces of SpecializationInfo 2024-07-29 02:12:51 +02:00
Ovahlord
cdc5710ba1 Core/Quests: restore rewarding talent points from quests 2024-07-28 20:33:34 +02:00
Ovahlord
fd24f07322 Core/Player: removed InitTalentForLevel as it no longer serves any purpose which isn't already covered by other functions 2024-07-28 03:46:04 +02:00
Ovahlord
e6171fe888 DB/Misc: updated playercreateinfo_action and playercreateinfo_cast_spell for Cataclysm 2024-07-28 03:21:00 +02:00
Ovahlord
0925e2825d Core/Players: fixed creating default talent groups on character creation 2024-07-28 03:19:21 +02:00
Ovahlord
ba3ef410c8 Core/Players: fixed selecting primary talent trees, loading talent spells after relogging and improve validation of talents when loading from db 2024-07-28 02:04:58 +02:00
Ovahlord
d8a9f7bd25 Core/Players: updated glyph handling for Cataclysm 2024-07-28 01:32:42 +02:00
Ovahlord
5657225f73 Core/Player: improved talent point calculation and fixed RBAC_PERM_SKIP_CHECK_MORE_TALENTS_THAN_ALLOWED logic 2024-07-28 00:04:47 +02:00
Ovahlord
50375c863c fixed gcc build 2024-07-27 11:53:34 +02:00
Ovahlord
cc13f51f1a Core/Player: fixed updating the number of available talent points after switching specializations and fixed a missing removal of talents when switching specs, resulting in talents from other specs dangling around 2024-07-27 11:19:46 +02:00
Ovahlord
7522b55486 codestyle fix 2024-07-27 11:07:31 +02:00
Ovahlord
03b6898518 Core/Player: initial work on implementing talents for Cataclysm
- use a new structure to hold talent group data which will eventually replace the old master branch implementation
- added support for unlocking dual talent specialization and switching specs
- added basic support for learning and resetting talents
2024-07-27 11:03:38 +02:00
Shauren
acfba7fa14 Core/Misc: std::ranges-ify algorithms used in TraitMgr
(cherry picked from commit ee301cf867)
2024-07-25 23:28:14 +02:00
Shauren
a2b6af53ac Core/Groups: Make member field naming consistent and add missing consts
(cherry picked from commit 76ab45ee2d)
2024-07-25 23:28:09 +02:00
Shauren
978eee2f4b Core/AuctionHouse: Ported WorldSession::SendAuctionHello argument type change from a3aecbdd92
(cherry picked from commit 653abefd24)
2024-07-25 23:28:03 +02:00
Shauren
2d9b31f48a Core/Spells: Fixed TaxiMask size check for underlying types other than uint8
(cherry picked from commit 197359301d)
2024-07-25 23:27:55 +02:00
Shauren
e45c9ab239 Core/Spells: Named SPELL_ATTR14_AURA_IS_PRIVATE
(cherry picked from commit c2f9aa2dee)
2024-07-25 23:27:49 +02:00
Shauren
7fde1c91d3 Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers with std::optional
(cherry picked from commit d93002f9a9)
2024-07-25 23:26:46 +02:00
Shauren
397f6c8128 Core/Auras: Defined and implemented new aura state
(cherry picked from commit d82a018b5b)
2024-07-25 23:26:37 +02:00
Meji
4922382b62 Core/AreaTriggers: Added ActionSet flags for serverside areatriggers (#30072)
(cherry picked from commit 1426f58ff0)
2024-07-25 23:26:28 +02:00
Jeremy
746bdc55c4 Core/Vehicle: Fix an assertion when applying SPELL_AURA_SET_VEHICLE_ID on creatures that are already vehicles (#30102)
(cherry picked from commit 53f0f2e5da)
2024-07-25 23:16:22 +02:00
Ovahlord
09885238ac Core/Packets: added opcode handlers and packet structures for CMSG_LEARN_TALENT and CMSG_SET_PRIMARY_TALENT_TREE 2024-07-25 23:15:33 +02:00
Ovahlord
ddbcf5f60b Core/DataStores: updated CurrencyTypesFlagsB enum to match its client counterpart 2024-07-24 18:28:41 +02:00
Ovahlord
bc991e55b0 Core/Quests: no longer prevent the item creation for quest items which are tied to quest objectives 2024-07-23 00:21:34 +02:00
Ovahlord
17c35e5857 Core/Units: unify power regeneration handling (#30088)
* Core/Units: unify power regeneration handling

- Creatures, Players and Pets now all share the same power update and regeneration handling
- Removed all false power regeneration handlings for pets and creatures
- Removed a nowhere confirmed hack for delaying health regeneration after polymorphing a target
2024-07-22 23:45:44 +02:00
Ovahlord
0aa82cde51 Core/Packets: silence the Voice Error: 1 error message spam
Classic requires the other two voice chat related bits to be set in order to disable any voice chat functionality
2024-07-21 06:42:41 +02:00
Ovahlord
6a15494e2e Core: update allowed build to 4.4.0.55639 2024-07-18 22:47:08 +02:00
Shauren
284e782917 Build: Fixed CMake 3.30 FindBoost deprecation warning
(cherry picked from commit ab5fab5ee9)
2024-07-18 22:37:18 +02:00
Shauren
f9451f1cf5 Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor
(cherry picked from commit b3763c338d)
2024-07-18 22:37:14 +02:00
Shauren
d7a26b3897 Core/GameObject: Implemented NotLOSBlocking door property
(cherry picked from commit 2756ca1c35)
2024-07-18 22:37:10 +02:00
Ovahlord
e0adab82f8 Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 60b75e3b6e)
(cherry picked from commit 4862033a44)
2024-07-18 22:37:00 +02:00
Shauren
fc27c71dee Core/Logging: Minor internal refactor
* Avoid formatting to output with fprintf
* Use vector instead of unordered_map to store appenders in Logger

(cherry picked from commit 81bec6954f)
2024-07-18 22:34:07 +02:00
Shauren
c12f669fc5 Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver

(cherry picked from commit 77fe2745fe)
2024-07-18 22:34:00 +02:00