Commit Graph

21508 Commits

Author SHA1 Message Date
Shauren
eb4c688bc5 Core/Misc: Replace shared_ptr with unique_ptr with deleter for cleanups in main() functions
(cherry picked from commit 7df138ba2b)
2024-05-28 16:33:28 +02:00
Shauren
fbe4fee3c3 Core/Movement: Allow overriding speed for taxi movement generator
(cherry picked from commit 038f995ad6)
2024-05-28 16:33:23 +02:00
Shauren
03d40c8afe Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887

(cherry picked from commit f847cd4eeb)
2024-05-28 16:33:14 +02:00
Shauren
3bba97dd52 Fix codestyle
(cherry picked from commit f1b7ca1a91)
2024-05-28 16:33:10 +02:00
Shauren
3390bb8078 Core/SAI: Allow gameobjects to be targeted by spell casts
(cherry picked from commit 22e43917ab)
2024-05-28 16:33:06 +02:00
Jeremy
e6af1c591c Scripts/Battleground: Implemented Battle for Gilneas (#29877)
(cherry picked from commit 90f390f9b8)
2024-05-28 16:32:34 +02:00
ModoX
4ba229ad2c Core/Movement: Added Velocity field to waypoint_path table (#29837)
(cherry picked from commit e8f7d41536)

# Conflicts:
#	src/server/scripts/BrokenIsles/TrialOfValor/boss_guarm.cpp
#	src/server/scripts/BrokenIsles/zone_mardum.cpp
2024-05-28 16:32:28 +02:00
Meji
a06f071f98 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882)
(cherry picked from commit 47e4bf06d3)
2024-05-28 16:32:11 +02:00
Shauren
0426f8df6f Removed unneccessary c_str() from previous commit
(cherry picked from commit 2af957c2ad)
2024-05-28 16:32:06 +02:00
Shauren
c1ed3a6ea8 Core/Entities: Make ObjectGuid formattable with fmt without using ToString()
(cherry picked from commit 4131022f6c)
2024-05-28 16:32:01 +02:00
Shauren
7c32484b79 Core/Pets: Removed overriding unit class for pets
(cherry picked from commit 2c702df4e3)
2024-05-28 16:31:56 +02:00
Meji
382eb5063f Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
(cherry picked from commit def601b4ff)
2024-05-28 16:31:42 +02:00
Ovahlord
5e1f21a0dd buildfix 2024-05-28 16:24:52 +02:00
funjoker
0417998a0b Core/UF: Update UFs 2024-05-28 13:18:29 +02:00
funjoker
d403f3d687 Core/UF: Update UFs for 4.4.0 2024-05-28 09:36:04 +02:00
Ovahlord
f58518e049 Core/PacketIO: updated smsg opcodes to 4.4.0.54737 2024-05-27 08:20:02 +02:00
Ovahlord
5353e98356 Core/Instances: restored CompleteWorldStateID handling for dungeon encounters which has initially been dropped during beta but got re-added afterwards 2024-05-24 20:59:14 +02:00
Ovahlord
4dc1995a3a buildfix 2024-05-24 20:55:41 +02:00
Ovahlord
81168202cd Core/Misc: build and warning fixes 2024-05-24 20:43:25 +02:00
Ovahlord
5af7ec8674 Core/PacketIO: updated cmsg opcodes to 4.4.0.54737 2024-05-24 20:41:03 +02:00
Ovahlord
a674f9262b Core/Misc: commented out unused parameters and variables in order to fix CI build for the time being until the affected features have been dropped 2024-05-24 17:13:31 +02:00
Ovahlord
9d6e3e54ab Core/Datastores: updated DB2 structures to 4.4.0.54737 2024-05-23 21:18:10 +02:00
Ovahlord
54f3ff6742 Core/Auras: updated aura effect names for new and moved effects 2024-04-15 07:45:24 +02:00
Ovahlord
ea5840956c Core/Spells: defined SPELL_AURA_CONVERT_RUNE 2024-04-09 02:12:37 +02:00
Ovahlord
524ab5da2f Core/Loot: updated default loot modes for Cataclysm 2024-04-01 23:06:02 +02:00
Ovahlord
08e57239ab Core/Config: disable AE loot by default 2024-04-01 22:06:40 +02:00
funjoker
7d66813175 Core: Start updating to 54027 2024-04-01 05:42:09 +02:00
funjoker
c8bb60791f Core: Add missing entry in enuminfo_QuestDef 2024-04-01 05:41:26 +02:00
Jeremy
d0d5d309bb 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

(cherry picked from commit be11f42a16)
2024-03-28 20:38:55 +01:00
Shauren
b8b2714c25 Core/Conditions: Extend circular references check for player condition conditions to also handle two different conditions referencing each other
(cherry picked from commit 39263027d4)
2024-03-28 20:36:54 +01:00
Meji
46b35d3082 Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832)
(cherry picked from commit 4913d027bf)
2024-03-28 20:36:23 +01:00
Jeremy
8589ece4f4 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836)
(cherry picked from commit 1f855ef563)
2024-03-28 20:28:14 +01:00
Shauren
8a673d7a0f Core/Maps: Initialize instance faction using group leader (if available) instead of the first player entering the map
(cherry picked from commit 679bf966d6)
2024-03-28 20:27:15 +01:00
Meji
56f9e134fb Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825)
(cherry picked from commit 6a80bebcb5)
2024-03-28 20:23:28 +01:00
Shauren
18b7199a47 Core/Players: Slightly improve neutral player faction support
(cherry picked from commit 94b78ebc8b)
2024-03-28 20:23:12 +01:00
aquadeus
98cb0b4eaf Core/Players: Fix console errors of wrong teamid for neutral pandaren race
(cherry picked from commit aac5581bfc)
2024-03-28 20:22:55 +01:00
Shauren
7a6d78c90a Core/Loot: Fixed crashes when generating loot on map that has no MapDifficulty data
Closes #29829

(cherry picked from commit 303dbd3393)
2024-03-28 20:22:38 +01:00
Shauren
581c3e330e Fix build with openssl 1.1.1
(cherry picked from commit 28596792a8)
2024-03-28 20:21:20 +01:00
funjoker
e769af1044 Core: port sneaky fixes from "Core: Updated to 10.2.6.53840" 2024-03-28 20:20:04 +01:00
funjoker
e2f5fb5eff Core/DB2: Fix fields count for Vignette.db2 2024-03-25 21:50:36 +01:00
Shauren
b8bdce306a Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason
(cherry picked from commit e99482ce9b)
2024-03-25 20:37:05 +01:00
Shauren
c6cff20258 Core/Logging: Improved generated code for log statements (length of text is computed at compile time)
(cherry picked from commit e121ed81d1)
2024-03-25 20:22:58 +01:00
Shauren
67577f8043 Core/Scripts: Removed script calls from constructors and destructors
(cherry picked from commit 783f9c0ea3)
2024-03-25 20:22:48 +01:00
Shauren
11f7768773 Core/Objects: Cook the copied pasta
(cherry picked from commit 6224036efd)
2024-03-25 20:22:36 +01:00
Shauren
6f9a5933a5 Core/Objects: Added ToWorldObject and ToItem
(cherry picked from commit 6f6af6a1a1)
2024-03-25 20:22:23 +01:00
Shauren
9072664038 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
(cherry picked from commit 9402c66e84)
2024-03-25 20:22:13 +01:00
Shauren
6472446440 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
(cherry picked from commit 4779fa5048)
2024-03-25 20:21:24 +01:00
Shauren
0ddc76d8a5 Core/Movement: FIxed followPathBackwardsFromEndToStart parameter of MotionMaster::MovePath
(cherry picked from commit ca656f4254)
2024-03-25 20:17:53 +01:00
Shauren
ee7d762879 Core/SmartAI: Load paths by their id now that SAI doesn't use a separate database table as waypoints source
(cherry picked from commit b93791255c)
2024-03-25 20:17:44 +01:00
Shauren
5ce300c395 Core/Movement: Minor refactor for WaypointManager data loading
(cherry picked from commit a8cc8725b1)
2024-03-25 20:17:35 +01:00