Commit Graph
42793 Commits
Author SHA1 Message Date
Jeremy 53f0f2e5da Core/Vehicle: Fix an assertion when applying SPELL_AURA_SET_VEHICLE_ID on creatures that are already vehicles (#30102) 2024-07-19 11:39:29 +02:00
Aqua Deus 0d95856c1a Scripts/WaycrestManor: Implement Lord and Lady Waycrest encounter (#30086) 2024-07-18 18:04:31 +02:00
Shauren ab5fab5ee9 Build: Fixed CMake 3.30 FindBoost deprecation warning 2024-07-18 12:42:31 +02:00
Shauren b3763c338d Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor 2024-07-17 10:30:09 +02:00
Shauren 2756ca1c35 Core/GameObject: Implemented NotLOSBlocking door property 2024-07-17 00:21:03 +02:00
lee 4862033a44 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 <[email protected]>
(cherry picked from commit 60b75e3b6e81d5085070101c5153f6695dedb6ca)
2024-07-16 22:27:00 +02:00
Shauren 1199ca183d Core: Update allowed build to 10.2.7.55664 2024-07-16 19:11:27 +02:00
Shauren 81bec6954f Core/Logging: Minor internal refactor
* Avoid formatting to output with fprintf
* Use vector instead of unordered_map to store appenders in Logger
2024-07-16 16:31:40 +02:00
Naddley 14f7c0984f DB/NPE: Added Harpy Totem spawns for Alliance and Horde 2024-07-16 15:41:10 +02:00
Naddley 1595daf1ad DB/NPE: Name some more Exiles Reach phases 2024-07-16 00:15:53 +02:00
Shauren 77fe2745fe 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
2024-07-15 15:24:35 +02:00
Shauren d4998bd04a Core/DBLayer: Add field metadata getters to query result classes 2024-07-14 14:54:51 +02:00
Shauren 3313ea1fe6 Core/Entities: Skip calling toupper on number to string conversion result if not neccessary (only hex conversions need it) 2024-07-14 13:13:27 +02:00
Shauren 054dd3596f 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) 2024-07-14 13:12:10 +02:00
Shauren ceffc2cb20 Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases 2024-07-13 00:37:14 +02:00
Shauren 6ca4681ab4 Scripts/Azure Vault: Converted Leymor intro to use new OnCreatureGroupDepleted hook 2024-07-12 12:30:52 +02:00
Shauren ec2631eca3 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)
2024-07-12 12:29:22 +02:00
Shauren 9a7a83ef30 Core/Creatures: Create a CreatureGroup for every SummonCreatureGroup 2024-07-12 12:28:00 +02:00
Shauren b103de805a Core/PacketIO: Fixed SMSG_ATTACKER_STATE_UPDATE structure
Closes #30036
2024-07-11 17:40:11 +02:00
Shauren 16bfbe1a3a Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) 2024-07-11 15:24:02 +02:00
ModoX c5c31c7c1e Scripts/WanderingIsle: Added missing spell_summon_amberleaf_troublemaker script
* adf49c6f13 followup
2024-07-11 10:11:51 +02:00
Aqua Deus adf49c6f13 Scripts/WanderingIsle: Implement The Way of the Tushui (#29846) 2024-07-10 22:33:07 +02:00
Jeremy 7c361c7f96 Scripts/Battlegrounds: Implement Seething Shore (#29996) 2024-07-10 19:44:23 +02:00
Shauren 1cd7898c01 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) 2024-07-10 14:51:29 +02:00
Naddley e05d194da3 DB/BelAmeth: Added spawns for Keen-Edge Hall 2024-07-09 13:58:45 +02:00
Shauren 467e42e72d Core: Update allowed build to 10.2.7.55461 2024-07-09 12:04:32 +02:00
Shauren 0d8e3dd798 Core/Logging: Fixed a bunch of invalid format strings 2024-07-09 11:30:01 +02:00
Naddley de5233ff99 DB/BelAmeth: Added some more spawns 2024-07-09 01:38:38 +02:00
Shauren 67dd9a920f Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster 2024-07-08 12:43:58 +02:00
Shauren 2e3920081f Core/Creatures: Fixed memory leaks in creature formations 2024-07-08 11:23:41 +02:00
Shauren cdf0d62e48 Revert "Core/Creature: Formation reset (#27040)"
This reverts commit 01da436206.
2024-07-08 11:13:17 +02:00
Shauren 7fdcae81d8 Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells 2024-07-07 15:54:48 +02:00
Shauren d05dbaaecb Core/Vmaps: Fixed use after free and deadlocks when loading a model file fails 2024-07-06 22:52:11 +02:00
Shauren 518fe1fd1e Tools/vmap_assembler: Organize vmap files into directory-per-map 2024-07-06 14:29:54 +02:00
Shauren 51d1ff11bc Tools/vmap_assembler: Use boost::filesystem::path for creating filenames 2024-07-06 14:06:20 +02:00
Shauren 11a252e601 Tools/vmap_assembler: Multithread building vmaps 2024-07-06 12:56:59 +02:00
Shauren a0f13391a0 Tools/vmap_extractor: Split temporary dir_bin into multiple files (one per map) to significantly reduce peak memory usage by vmap_assembler 2024-07-06 01:24:26 +02:00
Shauren 35a2d49971 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
2024-07-05 21:20:25 +02:00
Shauren 5dbb6b043f Core/Vmaps: Minor cleanup in MapTree - use unique_ptr to manage file handles 2024-07-05 17:48:08 +02:00
Shauren c3dd80a96e remove double empty line 2024-07-05 15:08:03 +02:00
Shauren f895d04b7d Core/Database: Fixed WITH_COREDEBUG + WITH_DYNAMIC_LINKING incompatibility on windows 2024-07-05 13:28:09 +02:00
Shauren c8a55f4a18 Core/Vmaps: Minor cleanup in vmap4assembler - use unique_ptr to manage file handles 2024-07-05 13:09:00 +02:00
Shauren 76a3611317 Core/Vmaps: Replace floatToRawIntBits/intBitsToFloat with standard bit_cast utilities 2024-07-05 12:43:02 +02:00
Shauren ff4fc1ad4e Core/Vmaps: Replace manual reference counting with shared_ptr and slightly reduce memory use by deduplicating model name strings 2024-07-04 22:56:00 +02:00
Shauren fd329ee848 Core/Spells: Implemented SPELL_ATTR9_CHANNEL_PERSISTS_ON_PET_FOLLOW 2024-07-03 21:10:23 +02:00
Naddley 6c0ae03022 DB/Stormwind: Added some more spawns for Stormwind Embassy 2024-07-03 18:49:30 +02:00
Shauren f19e1a2716 Core/Spells: Remove spell range increase when caster or target move backwards 2024-07-03 16:18:06 +02:00
Shauren 321f3cc4a7 Core/Spells: Implemented caster-is-moving aoe radius bonus and SPELL_ATTR9_NO_MOVEMENT_RADIUS_BONUS 2024-07-03 16:07:30 +02:00
Shauren af081ea5f0 Core/Spells: Rename more SpellAttr9 to official names 2024-07-03 15:22:27 +02:00
Shauren b3bdb4efef Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET 2024-07-03 14:35:01 +02:00