Commit Graph

29526 Commits

Author SHA1 Message Date
Shauren
be3ae90dc4 Core/Movement: Ensure land and takeoff animations even if gravity enabled/disabled state is not what spline generator expects 2024-04-07 00:05:46 +02:00
Shauren
b265c49977 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells 2024-04-06 20:50:59 +02:00
Shauren
eb9375b0b1 Core/Scripts: Added basic types for async script actions 2024-04-05 10:41:12 +02:00
Shauren
d079a7e267 Core/OutdoorPvP: Fixed shutdown crash 2024-04-04 21:31:41 +02:00
Shauren
7df138ba2b Core/Misc: Replace shared_ptr with unique_ptr with deleter for cleanups in main() functions 2024-04-04 21:31:22 +02:00
Shauren
038f995ad6 Core/Movement: Allow overriding speed for taxi movement generator 2024-04-04 16:17:09 +02:00
Shauren
f847cd4eeb Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887
2024-04-03 21:23:30 +02:00
Shauren
f1b7ca1a91 Fix codestyle 2024-04-03 16:31:39 +02:00
Shauren
22e43917ab Core/SAI: Allow gameobjects to be targeted by spell casts 2024-04-03 16:21:15 +02:00
Jeremy
90f390f9b8 Scripts/Battleground: Implemented Battle for Gilneas (#29877) 2024-04-02 14:31:09 +02:00
ModoX
e8f7d41536 Core/Movement: Added Velocity field to waypoint_path table (#29837) 2024-04-02 04:12:52 +02:00
Meji
47e4bf06d3 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882) 2024-04-01 20:32:08 +02:00
Shauren
2af957c2ad Removed unneccessary c_str() from previous commit 2024-04-01 00:17:00 +02:00
Shauren
4131022f6c Core/Entities: Make ObjectGuid formattable with fmt without using ToString() 2024-03-31 19:32:39 +02:00
Shauren
2c702df4e3 Core/Pets: Removed overriding unit class for pets 2024-03-30 21:52:56 +01:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Shauren
c2ac37125b Core/Players: Use CharBaseInfo.db2 data to determine appropriate race for mercenary mode transforms 2024-03-28 21:11:59 +01:00
Jeremy
be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
39263027d4 Core/Conditions: Extend circular references check for player condition conditions to also handle two different conditions referencing each other 2024-03-27 22:17:25 +01:00
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy
1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
lee
5c4b1ace41 Build: Fix Linux aarch64 GCC build (#29831)
(cherry picked from commit 370685457e)
2024-03-27 10:50:42 +01:00
Shauren
679bf966d6 Core/Maps: Initialize instance faction using group leader (if available) instead of the first player entering the map 2024-03-26 21:53:07 +01:00
Naddley
8a271c402d DB/Mardum: Implement Quest "Give Me Sight Beyond Sight" (#29833)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-03-26 00:21:22 +01:00
thesillyone
a59f7351dd Tools/mmaps_generator: Only initialize memory for inds mesh when it will be read (#29795)
* this change does NOT require re-generating mmaps
2024-03-25 23:35:40 +01:00
Naddley
ee0858d859 Scripts/Stormwind: Implement RP Event for quest "Ancient Curses" (#29780) 2024-03-25 23:19:05 +01:00
Shauren
28c9474337 Core/vmaps: Improved WMO detection for group models that don't have floor 2024-03-25 12:18:37 +01:00
Shauren
a83d4491f8 Scripts/Spells: Fix Whispering Shadows target selection logic if there are less than 8 units hit that don't have Vampiric Touch on them 2024-03-25 11:36:02 +01:00
Mematoru23
834c6b8577 Scripts/Spells: Implemented Priest talent Whispering Shadows (#29776)
Co-authored-by: Cristian Vintila <127750549+cristiv23@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-03-25 00:32:04 +01:00
Meji
6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren
94b78ebc8b Core/Players: Slightly improve neutral player faction support 2024-03-24 17:19:10 +01:00
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