Commit Graph

35291 Commits

Author SHA1 Message Date
Shauren
63cbef9e89 Core/Battlefield: Fixed using invalidated iterator when a player queued for wintergrasp is inside a battleground
Closes #29405
2023-11-02 14:17:43 +01:00
Gildor
01e684a7b0 Core/Loot: Check bank for unique loot items when determining loot roll eligibility (#29373) 2023-10-29 11:04:02 +01:00
Shauren
54b13c7e4c Core/Spells: Make SpellEffectInfo not copyable
(cherry picked from commit 858c393d07)
2023-10-26 16:36:33 +02:00
Shauren
d5b64a0bb2 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class
(cherry picked from commit a3702cc526)
2023-10-18 20:21:53 +02:00
Shauren
966936b01a Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Closes #29372

(cherry picked from commit 7b6589c1ec)
2023-10-17 15:57:03 +02:00
Shauren
d028bb0e37 Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura)
(cherry picked from commit 0f7dd4eadf)
2023-10-15 14:20:50 +02:00
Shauren
a85dcb6fc1 Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one
Closes #22234

(cherry picked from commit dc661a34b1)
2023-10-14 16:55:38 +02:00
robinsch
2df1bc3ec1 Core/Object: Remove casts in WorldObject::setActive 2023-10-13 23:03:06 +02:00
Shauren
163c674adb Core/Objects: Remove restriction on what object types can be set as active
(cherry picked from commit 3031fbb63b)
2023-10-13 23:03:06 +02:00
Edgars Baduns
ff0d198ef5 Build: Fixed tools only build (#29341)
(cherry picked from commit 592e01cf7a)
2023-09-29 14:29:29 +02:00
Ovahlord
b3dbc8bd6d Core/World: refactored locale detection to resolve a ill-defined for loop warning 2023-09-26 23:18:02 +02:00
Ovahlord
d11d992df9 Core/Player: return player corpse locations by reference instead of creating copies 2023-09-26 23:18:02 +02:00
Ovahlord
a5217f59b2 Core/World: added underlying types to world config enums 2023-09-26 23:18:02 +02:00
Giacomo Pozzoni
fe2da02cc6 Core/Battlegrounds: Fix group loot (#29300) 2023-09-23 20:25:25 +02:00
M'Dic
f746c7f7ff Core/Groups: Reduce differences between branches (define naming) (#29332) 2023-09-19 21:26:27 +02:00
Gildor
edb00d4f74 Core/Pets: Avoid loading creature_addon/creature_template_addon (#29331)
*Also removed spawnId when the pet is created
2023-09-18 11:48:52 +02:00
Shauren
6b9899e907 Core/Misc: mac build fix
(cherry picked from commit 752309fbe3)
2023-09-17 01:07:49 +02:00
Shauren
ea1c5777fb CI/appveyor: Upgrade dependencies
* Boost 1.83.0
* OpenSSL 3.0
* MySQL 8.1

(cherry picked from commit 3f948672a6)
2023-09-13 09:26:40 +02:00
Shauren
08eac7a09a Core/Misc: Silence compile warning in boost::process with version 1.83
(cherry picked from commit d8c98579d4)
2023-09-13 09:25:35 +02:00
Shauren
79544e5fbe CI/AppVeyor: Upgrade boost version to 1.82
(cherry picked from commit 3ecd678a09)
2023-09-12 21:32:55 +02:00
Gildor
ae2a3a09c7 DB/Conditions: Fixed targeting of Koralon's Burning Breath (25 mode) 2023-09-10 20:03:25 +02:00
Krutok
cb11a6221b DB/Instances: Fixed targeting of Koralon's Burning Breath, it should just free spin instead of following a player
Closes #29287

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-09-10 13:14:01 +02:00
Kitzunu
fe084836c5 DB: Allow reserved_name to be accent-sensitive
Closes #29310
2023-09-10 12:25:32 +02:00
Shauren
dc99544776 SQL: Move update to correct directory 2023-09-10 12:20:45 +02:00
Shauren
79e2f77d44 Core/Misc: Silence a false positive warning 2023-09-01 12:15:17 +02:00
Shauren
74bfc38621 Core/Vehicles: Fixed crash happening if a vehicle despawns during handling of control vehicle aura removal
Closes #29290

(cherry picked from commit 2b54376d65)
2023-08-31 15:46:22 +02:00
Gildor
61eba44d4a Scripts/Trial of the Crusader: Update Read and Write Save Data (#29293) 2023-08-29 21:59:34 +02:00
Shauren
8e7b6c54e4 Core/Logging: Fixed missing log format changes
(cherry picked from commit 150ba27eb1)
2023-08-27 12:51:53 +02:00
Shauren
451314241d Core/Misc: Modernize comparison operators
(cherry picked from commit f0a862e71b)
2023-08-24 11:48:45 +02:00
Shauren
343d09bc95 Core/Battlefields: Added missing virtual destructor (and delete copy and move operations) 2023-08-23 16:32:15 +02:00
Shauren
edca91b408 Core/Misc: Add missing virtual destructors
(cherry picked from commit f4297aa3c6)
2023-08-23 14:25:14 +02:00
Shauren
ca03ecf3e6 Build: Support ASAN on msvc
(cherry picked from commit 0a0b420d86)
2023-08-23 14:23:56 +02:00
Shauren
6a304a82b1 Core/Units: Fixed possible use after free in ThreatManager
Closes #28830

(cherry picked from commit 3e3968b63c)
2023-08-23 11:04:14 +02:00
Shauren
8d43d2bafc Core/Movement: Fixed use after free in WaypointMovementGenerator
Closes #29274
2023-08-22 19:34:21 +02:00
Kelno
1bea4aab45 Core/EventMap: Refactor and modernize EventMap (#29183) 2023-08-19 23:57:57 +02:00
Giacomo Pozzoni
24359b0618 License: Restore long lost OpenSSL exception (#29250)
Restore long lost OpenSSL exception accidentally removed in 4559e99e0d and include it in the COPYING license file.

(cherry picked from commit b82dc03cbf)
2023-08-19 15:58:31 +02:00
Shauren
deec17d8ec Core/Logging: Fixed a few missed log format statements 2023-08-17 11:15:15 +02:00
Shauren
26836f8655 Core/Logging: Minor compile time reducing refactor of log message formatting
(cherry picked from commit 576ca241ec)
2023-08-15 22:03:47 +02:00
Shauren
4e6118c919 Core/Misc: Replace std::abort with our ABORT macro
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own

(cherry picked from commit 09dea76fb5)
2023-08-15 22:02:39 +02:00
Shauren
24fc0dcb1e Core/DBLayer: Relaxed restrictions on which Field class member function can be used to access column value from "strict match" to "must not truncate"
(cherry picked from commit eadafb0347)
2023-08-15 22:00:22 +02:00
Shauren
a4299c2a4b Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
(cherry picked from commit 3260b94dd6)
2023-08-15 21:59:52 +02:00
Shauren
b9201d3c07 Dep/fmt: Upgrade to 9.1.0
(cherry picked from commit 17b20a3353)
2023-08-15 20:11:02 +02:00
Shauren
aaa6e73c8c Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
(cherry picked from commit d791afae1d)
2023-08-15 20:10:04 +02:00
Shauren
825c697a76 Core/Misc: Removed structure bitfield definitions that don't do anything 2023-08-15 13:00:43 +02:00
Shauren
ede3620216 CI: Switch appveyor to use VS 2022 2023-08-12 18:26:15 +02:00
Shauren
3144566584 Core/Misc: Include cleanup, 2023 edition
(cherry picked from commit 92ed5e8af1)
2023-08-12 17:56:16 +02:00
Shauren
27cd5a90f4 Core/Misc: Replace enable_if overload selection with if constexpr
(cherry picked from commit a53e4a5756)
2023-08-12 17:56:16 +02:00
Shauren
d251ab647d Core/Misc: Migrate our c++20 advstd to standard features
(cherry picked from commit 7830e5a7a1)
2023-08-12 17:56:16 +02:00
Shauren
58f0c4b15a Tests: Fixed environment variable confg test compilation on windows
(cherry picked from commit cd62dc4491)
2023-08-12 17:56:16 +02:00
Shauren
777b001d2d Core/Misc: Use boost/circular_buffer forward declaration headers in our headers
(cherry picked from commit 1afec8be63)
2023-08-12 17:56:16 +02:00