lee
370685457e
Build: Fix Linux aarch64 GCC build ( #29831 )
2024-03-27 10:50:07 +01:00
Shauren
6a54dc5a34
Core/Commands: Fixed crash in all commands expecting SpellInfo* arguments if they are given a chat link to not learned talent (at 0 rank)
...
Closes #29823
2024-03-20 19:58:37 +01:00
Gildor
b2c723c6b4
Core/Pets: Fix warlocks pet character selection screen and Soul Shard return reagent logout exploit ( #29808 )
2024-03-17 15:27:33 +01:00
Shauren
5d7ae76d6f
Core/Spells: Improved spell explicit target fallback selection for unit targets when spell target comes from client
...
Client only looks at target type of first spell effect to determine what additional target info to send in packet outside of Spell.dbc Targets column
Closes #11566
Closes #29809
2024-03-17 15:24:28 +01:00
CraftedRO
37e220dc93
Core/Player: fix incorrect Warrior Block Value calculations ( #29767 )
2024-03-14 22:19:29 +01:00
Shauren
4e54a4ffb9
Core/Scripts: Removed script calls from constructors and destructors
...
(cherry picked from commit 783f9c0ea3 )
2024-03-14 21:15:39 +01:00
Shauren
303ecbbf4e
Core/Objects: Cook the copied pasta
...
(cherry picked from commit 6224036efd )
2024-03-14 21:04:42 +01:00
Shauren
0dcff2624e
Core/Objects: Added ToWorldObject and ToItem
...
(cherry picked from commit 6f6af6a1a1 )
2024-03-14 21:04:24 +01:00
Shauren
b64e261e94
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
...
(cherry picked from commit 9402c66e84 )
2024-03-14 20:49:49 +01:00
Shauren
a79b42bf68
Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
...
(cherry picked from commit 4779fa5048 )
2024-03-14 00:14:16 +01:00
Shauren
7850107a42
Core/vmaps: Reset BIH::bounds on tree rebuilds
...
(cherry picked from commit 18200e1b88 )
2024-03-13 22:13:50 +01:00
Shauren
e3ecd87a76
Core/Utils: unique_trackable_ptr improvements
...
* Added comparison operators
* Added type casting helper functions
(cherry picked from commit f690b69338 )
2024-03-13 22:13:02 +01:00
Shauren
9ebf232d7e
Core/Utils: Added missing member access in unique_trackable_ptr move assignment operator
...
(cherry picked from commit 6b255efb2d )
2024-03-13 22:12:54 +01:00
Shauren
92547f4b31
Fix tests build
...
(cherry picked from commit 1f3ebbb23c )
2024-03-13 22:12:41 +01:00
Shauren
e48cedb3ed
Core/Misc: Fixed windows nopch build
...
(cherry picked from commit 261a237cfa )
2024-03-13 22:12:16 +01:00
Shauren
b0eee55897
Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a specialized variant of std::shared_ptr that enforces unique ownership
...
* This is intended to be used by external code unable to track object lifetime such as custom scripting engines
(cherry picked from commit 32e54b6bd1 )
2024-03-13 22:11:12 +01:00
Shauren
75cbafd83a
Core/Spells: Don't modify item charges in all slots on a single item spell cast
...
(cherry picked from commit 9ecb93f34d )
2024-02-26 14:42:12 +01:00
Shauren
d3fcc9efea
Core/Misc: Warning fixes
2024-02-26 12:51:20 +01:00
Shauren
45d7a44555
Build: Reuse PCH file between all script modules
...
(cherry picked from commit eac4bf825a )
2024-02-26 12:29:16 +01:00
Shauren
2cb5f7a81e
Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables)
...
(cherry picked from commit 0743a2f7bb )
2024-02-26 12:29:16 +01:00
Shauren
120b4d7cf4
Core/CrashHandler: Support ARM64
...
(cherry picked from commit 2441ddbea6 )
2024-02-26 12:29:16 +01:00
Shauren
5cb4f6aeaf
Core/Random: Use correct headers to obtain _mm_malloc definitions
...
(cherry picked from commit b9c2dca59f )
2024-02-26 12:29:16 +01:00
funjoker
ad44ddab34
Dep/Boost: Drop windows boost hacks ( #29358 )
...
(cherry picked from commit 17c69368a3 )
2024-02-26 12:29:16 +01:00
Shauren
66abca1593
Build: Cleanup boost CMakeLists from pre-c++11 flag checks
...
(cherry picked from commit c9f1606b76 )
2024-02-26 12:23:57 +01:00
Shauren
7ff70a6bff
Core/Crypto: Remove support for OpenSSL 1.0
...
(cherry picked from commit b8f18fad29 )
2024-02-26 12:17:31 +01:00
Shauren
c703497655
Build: Partial support for clang-cl
...
(cherry picked from commit 0b846b2107 )
2024-02-26 12:16:13 +01:00
Mykhailo Redko
949d82e4d1
Core/Units: Fix some cases where server was not sending power updates to client on time ( #29573 )
2024-02-26 11:37:28 +01:00
r4dish
a7dab01c2d
Core/Players: Move power regeneration calculations to Player::UpdatePowerRegen
2024-02-25 13:36:50 +01:00
r4dish
1a3006b20d
Core/Players: Auras that change the rate of energy regeneration should have an effect on client prediction.
2024-02-25 13:36:50 +01:00
r4dish
4a2210d63b
Core/Players: Adjusting the amount of rage and runic power lost over time.
...
Client/server sync issues have also been fixed.
2024-02-25 13:36:50 +01:00
CraftedRO
72c421f50b
Scripts/Blackrock Depths: Replace player spells used by High Interrogator Gerstahn with correct ones for that creature ( #29637 )
2024-02-25 13:25:00 +01:00
CraftedRO
534a03644a
Core/Battlegrounds: Removed Honorable Defender from Alterac Valley ( #29740 )
...
Closes #12860
2024-02-25 11:09:18 +01:00
bibi
75e38a5d8f
Scripts/Stratholme: Portcullis Trap ( #29596 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-02-24 21:55:13 +01:00
Shauren
454998f553
Scripts/Zul'Gurub: Corrected brazier of madness boss despawn time
2024-02-24 12:46:38 +01:00
bibi
3085b897c1
Scripts/Zul'Gurub: Fixed Edge of Madness ( #29593 )
2024-02-23 23:08:21 +01:00
Mykhailo Redko
6c181a00d5
Scripts/Pets: Implemented Elwynn Lamb minipet feature. ( #29635 )
2024-02-23 21:33:55 +01:00
bibi
a666bdfc31
Scripts/Sunken Temple: fix Shade of Eranikus and Jammal'an the Prophet ( #29663 )
...
* Also minor modernization for instance script
Co-authored-by: 14shagov <14shagov>
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-02-23 20:05:03 +01:00
Shauren
e835ab5014
Core/Chat: Control CHAT_MSG_PARTY_LEADER serverside
...
Closes #14868
Closes #29689
2024-02-23 14:21:05 +01:00
Shauren
39fd26ef41
Core/PacketIO: Removed wrong error packet used when trying to leave party in battleground
...
Closes #29726
2024-02-23 14:19:30 +01:00
Shauren
c5d63ee1fc
Core/PacketIO: Implemented SMSG_REAL_GROUP_UPDATE, used to access information about original group data while being in a lfg/bg group at the same time
...
Fixes GetRealNumPartyMembers, GetRealNumRaidMembers and IsRealPartyLeader lua functions
2024-02-23 14:18:38 +01:00
Ovahlord
6d81f226a0
Core/Spells: allow players to absorb fire damage from environmental damage spell effects
2024-02-22 21:54:32 +01:00
Shauren
ccafdfa93c
Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone
2024-02-21 13:15:52 +01:00
Shauren
08664aa07f
Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
...
(cherry picked from commit b4064d38c8 )
# Conflicts:
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Spells/SpellMgr.cpp
2024-02-21 12:20:11 +01:00
Mykhailo Redko
4ed1cc5cf0
Core/Spells: Changed unintuitive behavior of SPELLVALUE_CRIT_CHANCE ( #29730 )
2024-02-21 11:38:37 +01:00
Shauren
ca8db8e65c
Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3
...
(cherry picked from commit 65e787d18b )
2024-02-16 18:17:43 +01:00
Shauren
66a3e96851
Core/SAI: Fixed SMART_ACTION_MOVE_TO_POS using target coordinates as destination if requested WorldObject target was not found
...
(cherry picked from commit 888ccd1e44 )
# Conflicts:
# src/server/game/AI/SmartScripts/SmartScript.cpp
2024-02-15 19:21:40 +01:00
Shauren
1fcb55d8f4
Core/Instances: Name unknown EncounterFrameType ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED
2024-02-14 15:42:17 +01:00
Shauren
16f555f79e
Core/MMAPs: Sprinkle master branch thread safety on mmap loading code
2024-02-13 23:49:51 +01:00
Mykhailo Redko
ca1560f043
Core/Players: Improvements for talent reset logic. ( #29580 )
...
* Clean up Player::ResetTalents() from unnecessary logic, such as withdrawing money. Move it to more suitable places.
* Implemented SMSG_TALENTS_INVOLUNTARILY_RESET and use it instead of old trinity_string.
* Do not reset the accumulated talent reset cost if CONFIG_NO_RESET_TALENT_COST is enabled.
2024-02-13 15:55:37 +01:00
Gildor
1b87820935
Core/Spells: Implement visual aura duration of Rogue talents Overkill and Master of Subtlety ( #29693 )
2024-02-13 14:54:24 +01:00