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
Ovahlord
5e3a42ee82
Revert "power regen update"
...
This reverts commit bf23db4daa .
2024-07-14 19:24:26 +02:00
Ovahlord
1956ce8347
Core: update allowed build to 4.4.0.55613
2024-07-14 19:07:45 +02:00
Shauren
9fe75d870f
Core/DBLayer: Add field metadata getters to query result classes
...
(cherry picked from commit d4998bd04a )
2024-07-14 19:03:21 +02:00
Shauren
232f7f19a7
Core/Entities: Skip calling toupper on number to string conversion result if not neccessary (only hex conversions need it)
...
(cherry picked from commit 3313ea1fe6 )
2024-07-14 19:03:17 +02:00
Shauren
d0927c1094
Core/Utils: Transform char toUpper/toLower functions into callable function objects to better integrate with std algorithms (not calling through a function pointer allows inlining)
...
(cherry picked from commit 054dd3596f )
2024-07-14 19:03:07 +02:00
Shauren
a33222a36f
Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases
...
(cherry picked from commit ceffc2cb20 )
2024-07-14 19:03:03 +02:00
Shauren
cdfe0f21f7
Core/Instances: New ZoneScript hook - OnCreatureGroupDepleted
...
* Triggers when the CreatureGroup no longer has any alive members (either last alive member dies or is removed from the group)
(cherry picked from commit ec2631eca3 )
2024-07-14 19:02:57 +02:00
Shauren
db2d4c484b
Core/Creatures: Create a CreatureGroup for every SummonCreatureGroup
...
(cherry picked from commit 9a7a83ef30 )
2024-07-14 19:02:52 +02:00
Ovahlord
bf23db4daa
power regen update
2024-07-14 19:02:22 +02:00
Ovahlord
20a8c46a72
Core/Players: turn rune cooldowns into floats and change their cooldown calculation to get closer to what the other power types do
2024-07-12 02:58:00 +02:00
Ovahlord
3751c13834
Core/Units: implement PowerTypeFlags::RegenAffectedByHaste
2024-07-12 01:23:49 +02:00
Shauren
e543db0ed4
Core/PacketIO: Fixed SMSG_ATTACKER_STATE_UPDATE structure
...
Closes #30036
(cherry picked from commit b103de805a )
2024-07-11 19:07:02 +02:00
Shauren
4988e328d4
Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet)
...
(cherry picked from commit 16bfbe1a3a )
2024-07-11 19:06:57 +02:00
Shauren
4c4f5f0ae4
Core/Logging: Removed one layer of allocations from log message writes (async doesn't wrap in shared_ptr anymore and sync creates LogMessage on the stack)
...
(cherry picked from commit 1cd7898c01 )
2024-07-11 19:06:51 +02:00
Shauren
a638c36905
Core/Logging: Fixed a bunch of invalid format strings
...
(cherry picked from commit 0d8e3dd798 )
2024-07-11 19:06:45 +02:00
Ovahlord
934ef521e3
Core/Auras: implemented SPELL_AURA_CONVERT_RUNE
2024-07-11 18:29:07 +02:00
Ovahlord
c41e21db23
Core/Spells: implement support for energizing runes via SPELL_EFFECT_ENERGIZE
2024-07-11 17:59:13 +02:00
Ovahlord
dbf2a4288e
Core/Spells: implemented SPELL_EFFECT_ACTIVATE_RUNE
2024-07-11 17:30:56 +02:00
Ovahlord
fe97a86415
Core/Player: update rune regeneration and consumption for Cataclysm Classic
...
* the regeneration bonus from haste is tied to the HasteRegen update field and must be implemented first before we can handle it
2024-07-11 17:14:22 +02:00
Ovahlord
3bb327b2bc
buildfix
2024-07-11 16:01:53 +02:00
Ovahlord
0af3226379
Core/Player: fixed a crash in rewarding quests when a QuestRewardDisplay spell is 0 (in classic the container is an array instead of a vector)
2024-07-11 16:00:58 +02:00
Ovahlord
2844d79ead
Core/Packets: enabled and added packet class for SMSG_CONVERT_RUNE
2024-07-11 15:15:35 +02:00
Ovahlord
cce07dca09
remove whitespace
2024-07-10 01:06:56 +02:00
Ovahlord
b6e59b86a8
Core: Update allowed build to 4.4.0.55460
2024-07-09 21:22:39 +02:00
Ovahlord
a0de631a8a
Core/Spells: fixed Heroic Strike damage calculation
2024-07-09 11:43:30 +02:00
Shauren
9c67bdf329
Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster
...
(cherry picked from commit 67dd9a920f )
2024-07-08 13:13:11 +02:00
Shauren
7198c5223e
Core/Creatures: Fixed memory leaks in creature formations
...
(cherry picked from commit 2e3920081f )
2024-07-08 13:13:06 +02:00
Shauren
2fc0272533
Revert "Core/Creature: Formation reset ( #27040 )"
...
This reverts commit 01da436206 .
(cherry picked from commit cdf0d62e48 )
2024-07-08 13:13:02 +02:00
Shauren
23545f8182
Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells
...
(cherry picked from commit 7fdcae81d8 )
2024-07-08 13:12:57 +02:00
Ovahlord
3a3d242f27
DB/Quests: added missing quest data from bruteforces
2024-07-08 13:12:19 +02:00
Ovahlord
61c040d4f0
DB/Misc: fixed more startup errors
2024-07-08 12:51:03 +02:00