Commit Graph

29495 Commits

Author SHA1 Message Date
aquadeus
aac5581bfc Core/Players: Fix console errors of wrong teamid for neutral pandaren race 2024-03-24 17:19:10 +01:00
Shauren
303dbd3393 Core/Loot: Fixed crashes when generating loot on map that has no MapDifficulty data
Closes #29829
2024-03-24 00:26:15 +01:00
Shauren
6cd4607a65 warning fix 2024-03-23 16:40:05 +01:00
Shauren
8d45d1dd48 Tools/vmap_extractor: Support new 9.2 wmo group splits (child groups should inherit their parent wmo group id) 2024-03-23 16:28:11 +01:00
Shauren
4bfcaf1b42 Core/PacketIO: Fixed player updatefields 2024-03-22 16:04:47 +01:00
Shauren
28596792a8 Fix build with openssl 1.1.1 2024-03-21 21:45:13 +01:00
Shauren
ac5aee6a98 Core: Updated to 10.2.6.53840 2024-03-21 21:07:23 +01:00
Shauren
e99482ce9b Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason 2024-03-19 13:24:23 +01:00
Aqua Deus
41055c7a32 Scripts/Spells: Fix rhapsody talent (#29804)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-03-18 22:54:21 +01:00
Shauren
e121ed81d1 Core/Logging: Improved generated code for log statements (length of text is computed at compile time) 2024-03-15 20:46:10 +01:00
Shauren
783f9c0ea3 Core/Scripts: Removed script calls from constructors and destructors 2024-03-14 20:32:03 +01:00
Shauren
6224036efd Core/Objects: Cook the copied pasta 2024-03-14 19:28:49 +01:00
Shauren
6f6af6a1a1 Core/Objects: Added ToWorldObject and ToItem 2024-03-14 11:37:32 +01:00
Shauren
9402c66e84 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name 2024-03-14 11:01:58 +01:00
Shauren
4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren
18200e1b88 Core/vmaps: Reset BIH::bounds on tree rebuilds 2024-03-13 18:19:22 +01:00
Shauren
f690b69338 Core/Utils: unique_trackable_ptr improvements
* Added comparison operators
* Added type casting helper functions
2024-03-13 17:04:26 +01:00
Shauren
6b255efb2d Core/Utils: Added missing member access in unique_trackable_ptr move assignment operator 2024-03-12 21:02:28 +01:00
Shauren
ca656f4254 Core/Movement: FIxed followPathBackwardsFromEndToStart parameter of MotionMaster::MovePath 2024-03-12 11:49:42 +01:00
Shauren
b93791255c Core/SmartAI: Load paths by their id now that SAI doesn't use a separate database table as waypoints source 2024-03-12 11:49:42 +01:00
Shauren
a8cc8725b1 Core/Movement: Minor refactor for WaypointManager data loading 2024-03-12 11:49:42 +01:00
Shauren
5d29fc0b99 Core/Movement: Removed a possible lifetime trap when passing a custom WaypointPath to MovePath 2024-03-12 11:49:42 +01:00
Shauren
6b6a13d9c7 Core/Movement: Make MovementGenerator not copyable and movable 2024-03-12 11:49:42 +01:00
Shauren
6c533482c6 Core/Movement: Removed default arg values from MovementGenerator Pause and Resume functions 2024-03-12 11:49:42 +01:00
Shauren
1f3ebbb23c Fix tests build 2024-03-11 18:25:17 +01:00
Shauren
261a237cfa Core/Misc: Fixed windows nopch build 2024-03-11 18:17:08 +01:00
Shauren
32e54b6bd1 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
2024-03-11 18:16:34 +01:00
Shauren
62dc916184 Core/Auras: Update visible aura immediately during spell cast instead of waiting for next update tick 2024-03-10 00:34:23 +01:00
Shauren
2913263813 Fix GCC build 2024-03-09 01:08:31 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
1439535c6a Core/Players: Extend Player::SendInitialVisiblePackets to work with all WorldObject types 2024-03-08 21:02:29 +01:00
Shauren
d397b636d4 Core/Objects: Keep current WMO info on position updates and use it in party member state packets 2024-03-07 13:31:12 +01:00
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
1f73cf9f19 Core/AuctionHouse: Fixed possible use after free when auctions are removed with offline buyers 2024-03-06 12:05:54 +01:00
Shauren
ecf302ac49 Core/PacketIO: Fixed structures of SMSG_INSPECT_RESULT and SMSG_RATED_PVP_INFO 2024-03-06 11:23:15 +01:00
Shauren
0697cf8c94 Core/vmaps: Increment vmap format version number 2024-03-06 00:04:19 +01:00
Shauren
a70e758ba5 Tools/vmap_extractor: Move information about model type from spawns in vmap tiles to model file itself 2024-03-06 00:04:19 +01:00
Shauren
382e76f02d Tools/vmap_extractor: Preserve UniqueId from MODF adt chunks in final vmap output (used in db2 files and packets) 2024-03-06 00:04:19 +01:00
Shauren
1aa04cabe1 Tools/mmaps_generator: Added const on some functions interfacing with vmaps 2024-03-06 00:04:19 +01:00
Shauren
0c32277139 Core/Auras: Feign death will no longer cause creatures immune to it to drop combat (and then reenter it because the unit feigning death is considered valid) 2024-03-04 16:14:23 +01:00
Shauren
1369b87084 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish) 2024-03-04 00:05:35 +01:00
Meji
74ec1d3cfb Core/Locales: Store empty localized strings present in database (#29779) 2024-03-03 23:49:16 +01:00
Meji
a5a2f5af2d Core/Units: Set UNIT_FLAG3_FAKE_DEAD as disallowed flag for database column 2024-03-03 21:02:17 +01:00
Shauren
c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Shauren
7a46f81fd1 Core/Creatures: Implemented CREATURE_STATIC_FLAG_6_ALWAYS_STAND_ON_TOP_OF_TARGET 2024-03-02 15:33:16 +01:00
Shauren
f2ce5072d6 Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags) 2024-03-02 15:06:33 +01:00
Shauren
3f8f867425 Core/PacketIO: Implemented and enabled SMSG_STOP_SPEAKERBOT_SOUND 2024-03-02 00:07:47 +01:00
Shauren
e1e53ee06e Core/Creatures: Fixed sparring 2024-03-01 18:38:49 +01:00
Shauren
67244a1f70 Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf) 2024-03-01 16:05:34 +01:00