Commit Graph

29827 Commits

Author SHA1 Message Date
Shauren
120bea629d Core/Vmaps: Fixed use after free and deadlocks when loading a model file fails
(cherry picked from commit d05dbaaecb)
2024-07-06 22:59:34 +02:00
Ovahlord
0fe73dc2b6 Core/Quests: fixed an oversight in quest query initialization which was causing crashes in debug mode 2024-07-06 21:42:36 +02:00
Shauren
1a3ad52a0b Tools/vmap_assembler: Organize vmap files into directory-per-map
(cherry picked from commit 518fe1fd1e)
2024-07-06 15:36:52 +02:00
Shauren
134b602b95 Tools/vmap_assembler: Use boost::filesystem::path for creating filenames
(cherry picked from commit 51d1ff11bc)
2024-07-06 15:36:47 +02:00
Shauren
f40c4e3218 Tools/vmap_assembler: Multithread building vmaps
(cherry picked from commit 11a252e601)
2024-07-06 15:36:43 +02:00
Shauren
e46cad36d2 Tools/vmap_extractor: Split temporary dir_bin into multiple files (one per map) to significantly reduce peak memory usage by vmap_assembler
(cherry picked from commit a0f13391a0)

# Conflicts:
#	src/tools/vmap4_extractor/vmapexport.cpp
2024-07-06 15:36:37 +02:00
Shauren
caf4c02da8 Core/Vmaps: Optimize loading vmaps
* Changed spawn id to BIH tree index mapping from generated on load to baked in tile files
* Remove map holding model load counts and moved that to ModelInstance instead

(cherry picked from commit 35a2d49971)
2024-07-06 15:36:10 +02:00
Shauren
5acd308550 Core/Vmaps: Minor cleanup in MapTree - use unique_ptr to manage file handles
(cherry picked from commit 5dbb6b043f)
2024-07-06 15:36:06 +02:00
Shauren
f82fcdc176 remove double empty line
(cherry picked from commit c3dd80a96e)
2024-07-06 15:36:02 +02:00
Shauren
69febfca78 Core/Database: Fixed WITH_COREDEBUG + WITH_DYNAMIC_LINKING incompatibility on windows
(cherry picked from commit f895d04b7d)
2024-07-06 15:35:58 +02:00
Shauren
5ed6b5e53a Core/Vmaps: Minor cleanup in vmap4assembler - use unique_ptr to manage file handles
(cherry picked from commit c8a55f4a18)
2024-07-06 15:35:54 +02:00
Shauren
b62b0e9317 Core/Vmaps: Replace floatToRawIntBits/intBitsToFloat with standard bit_cast utilities
(cherry picked from commit 76a3611317)
2024-07-06 15:35:42 +02:00
Shauren
0a1d2c7813 Core/Vmaps: Replace manual reference counting with shared_ptr and slightly reduce memory use by deduplicating model name strings
(cherry picked from commit ff4fc1ad4e)
2024-07-05 04:43:39 +02:00
Shauren
8d9e1e663e Core/Spells: Implemented SPELL_ATTR9_CHANNEL_PERSISTS_ON_PET_FOLLOW
(cherry picked from commit fd329ee848)
2024-07-05 04:43:34 +02:00
Shauren
071ddfa162 Core/Spells: Remove spell range increase when caster or target move backwards
(cherry picked from commit f19e1a2716)
2024-07-05 04:43:28 +02:00
Shauren
0617d977e9 Core/Spells: Implemented caster-is-moving aoe radius bonus and SPELL_ATTR9_NO_MOVEMENT_RADIUS_BONUS
(cherry picked from commit 321f3cc4a7)
2024-07-05 04:43:23 +02:00
Shauren
e291e82d7b Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit af081ea5f0)
2024-07-05 04:43:18 +02:00
Shauren
184d48cb65 Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET
(cherry picked from commit b3bdb4efef)
2024-07-05 04:43:13 +02:00
Shauren
1622a5e7be Core/Spells: Implemented SPELL_ATTR9_FORCE_CORPSE_TARGET
(cherry picked from commit af39104798)
2024-07-05 04:43:08 +02:00
Shauren
de5215b3bc Core/Spells: Implemented SPELL_ATTR9_ITEM_PASSIVE_ON_CLIENT
(cherry picked from commit 321161230f)
2024-07-05 04:43:01 +02:00
Shauren
0837b9b602 Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit 70cff79ca6)
2024-07-05 04:42:56 +02:00
Shauren
0885458cb3 Core/Spells: Implemented SPELL_ATTR9_IGNORE_CASTER_HEALING_MODIFIERS and SPELL_ATTR13_ALWAYS_ALLOW_NEGATIVE_HEALING_PERCENT_MODIFIERS
(cherry picked from commit 96bfc5f39b)
2024-07-05 04:42:52 +02:00
Shauren
89adfdf31e Tools/mmaps_generator: Fixed executable name and default values in --help
(cherry picked from commit 08778dc1c8)
2024-07-05 04:42:47 +02:00
ModoX
d1a903b837 Core/Maps: Implemented BoundaryIntersectionBoundary
(cherry picked from commit f077b8608c)
2024-07-05 04:42:41 +02:00
Shauren
a0d6548be3 Core/Spells: Implemented SPELL_ATTR9_JUMPCHARGE__NO_FACING_CONTROL
(cherry picked from commit 486641063e)
2024-07-05 04:42:37 +02:00
Shauren
1d2da6e589 Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed
(cherry picked from commit bd9fb4a563)
2024-07-05 04:42:27 +02:00
Shauren
2addb416c3 Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit 8ce710fa6f)
2024-07-05 04:42:22 +02:00
Ovahlord
6df40875a2 Core/Players: unified the updating of power regeneration into a single function and corrected the way the update fields are being set
* this adds support for all power types for SPELL_AURA_MOD_POWER_REGEN and SPELL_AURA_MOD_POWER_REGEN_PERCENT
2024-06-29 00:11:40 +02:00
Ovahlord
686f10cb0f Core/Spells: ported the Dark Simulacrum implementation from a33864ce2d 2024-06-28 18:51:38 +02:00
Ovahlord
9b2c78694d Tools/Extractors: updated retard check messages to be more clear about what version is supported 2024-06-28 18:47:42 +02:00
Shauren
315393f1ca Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING
(cherry picked from commit 3365e6a4b8)
2024-06-28 18:40:44 +02:00
Shauren
857cf14d44 Core/Misc: Sync Language.h between branches
(cherry picked from commit 270b53b26a)
2024-06-28 18:40:38 +02:00
DeadMouse
6e85a82595 Core/Creatures: Update visible Flags2 when changing gm mode state (#30058)
(cherry picked from commit 02ebab7ea6)
2024-06-28 18:40:33 +02:00
Shauren
8bfbc245a7 Scripts/Spells: Implemented Dark Simulacrum and its related attribute SPELL_ATTR9_ALLOW_DARK_SIMULACRUM
(cherry picked from commit a33864ce2d)

# Conflicts:
#	sql/old/4.4.x/world/24021_2024_06_02/2024_06_27_00_world.sql
#	src/server/scripts/Spells/spell_dk.cpp
2024-06-28 18:40:28 +02:00
Shauren
e79216ab9e Core/Spells: Implemented SPELL_ATTR11_IGNORE_SPELLCAST_OVERRIDE_SHAPESHIFT_REQUIREMENTS
(cherry picked from commit cb335c3274)
2024-06-28 18:39:50 +02:00
Shauren
a434917b3a Core/Spells: Spells cast through SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED aura should always be instant
(cherry picked from commit 4b4c52112d)
2024-06-28 18:39:42 +02:00
Shauren
ed7a335ec0 Core/Spells: Exclude spells cast from client from being treated as triggered if they have any trigger flags set (possible with override spells auras)
(cherry picked from commit 816369318f)
2024-06-28 18:39:36 +02:00
Shauren
db35ae6f43 Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD)
(cherry picked from commit a885a1fc3c)

# Conflicts:
#	src/server/scripts/Spells/spell_priest.cpp
2024-06-28 18:39:31 +02:00
Ovahlord
166aec66ba Core/Misc: dropped several db2 storages which are empty/unused in classic and removed many unused opcode handlers and packet classes 2024-06-25 20:20:09 +02:00
Ovahlord
dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Ovahlord
848be58d82 build fix 2024-06-25 04:14:43 +02:00
Ovahlord
a48dfe3ae6 Core/Player: restore ranged weapon attack handling 2024-06-25 02:14:54 +02:00
Ovahlord
7c757a95cc Core/DataStores: fixed db2 structure of AreaTriggerActionSet for classic 2024-06-25 01:29:54 +02:00
Ovahlord
3aa63b9217 build fix 2024-06-24 20:46:30 +02:00
Shauren
f229a6b42a Core/Spells: Implemented SPELL_ATTR9_IGNORE_SCHOOL_LOCKOUT
(cherry picked from commit 0b8eed2d54)
2024-06-24 20:16:45 +02:00
Shauren
de6f87d250 Core/Spells: Implemented SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT
(cherry picked from commit 24096f6b66)
2024-06-24 20:16:40 +02:00
Shauren
f16c2af510 Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit 8963ea8e4c)
2024-06-24 20:16:36 +02:00
Shauren
574f7617e1 Core/Spells: Implemented SPELL_ATTR9_HASTE_AFFECTS_MELEE_ABILITY_CASTTIME
(cherry picked from commit 0d5a1b175f)
2024-06-24 20:16:28 +02:00
Ovahlord
c90e3fe1c2 Core/Packets: ported ByteBuffer changes which had been sneaked in with 468a06baf0 2024-06-24 20:15:40 +02:00
Meji
e3f27a5beb Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042)
(cherry picked from commit d51d6b0abe)
2024-06-24 20:11:30 +02:00