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
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
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
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
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
Shauren
5c44ac1787
Core/Database: Silence deprecation warning on mysql_stmt_bind_param
2024-03-01 11:29:09 +01:00
Ovahlord
47c14bedef
Core/Items: allow all soulbound common and poor items to unlock their appearance to reflect patch 10.0.5 changes
2024-03-01 01:39:41 +01:00
Shauren
a814eb65b1
Core/Spells: Implemented pausing spell cooldowns
2024-03-01 00:23:09 +01:00
Shauren
ede97a52e9
Core/Spells: Store truncated (only up to millisecond precision) cooldown times
2024-03-01 00:23:09 +01:00
Ovahlord
4e8e3d8fb8
Core/Creature: corrected swimming toggle behavior for amphibious creatures
2024-03-01 00:15:14 +01:00
Benjamin Jackson
eecdba9e01
Core/Misc: Rename templat to characterTemplate so it stop looking like a typo despite not being one. ( #29421 )
2024-02-29 18:44:43 +01:00
Shauren
0139ec41bb
Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS
2024-02-29 18:09:10 +01:00
Shauren
d373802458
Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_FLOATING, CREATURE_STATIC_FLAG_SESSILE and CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
2024-02-29 16:47:35 +01:00
Ovahlord
fb3e6737da
Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement ( #29766 )
...
this serves as a means to reduce the console spam caused by failed spline validation
2024-02-29 15:52:25 +01:00
Ovahlord
c541eda54d
Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags ( #29541 )
...
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren
792a4d6c8b
Scripts/Serpentshrine Cavern: Removed Spout hack and use correct spell ids
2024-02-28 21:10:51 +01:00
Shauren
59f92412d0
Core/Movement: MoveRotate improvements
...
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
2024-02-28 21:10:05 +01:00
Shauren
288966e796
Core/Movement: Fixed MoveRotate not updating orientation
2024-02-28 20:41:04 +01:00