Giacomo Pozzoni
902ed74c2a
Core/SAI: Implement SMART_TARGET_ACTION_INVOKER in SMART_EVENT_FRIENDLY_HEALTH_PCT ( #25318 )
...
* Core/SAI: Implement SMART_TARGET_ACTION_INVOKER in SMART_EVENT_FRIENDLY_HEALTH_PCT
* Require radius (5th parameter) to be set
(cherry picked from commit cbed1039c47f0e3487cea555bb8552a4e6445f5a)
2022-02-04 00:27:13 +01:00
Shauren
f7ed56f232
Core/Warden: Fix warden timeout ticking twice as fast as it should
...
(cherry picked from commit ec783fcbb59fcd6e657bc1a39c2b073fd7506ed4)
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
0257cdc8ca
Core/ChatCommands: Do not try to consume integral types if the token is empty (PR #25320 )
...
(cherry picked from commit 6079bc7f34250e65efa3dcbe5471382b217ebf24)
2022-02-04 00:27:12 +01:00
jackpoz
1f34964df4
Core/Movement: Fix RandomMovementGenerator for swimming creatures
...
Fix RandomMovementGenerator for swimming creatures not moving at all due to PATHFIND_FARFROMPOLY being handled as wrong path.
Fixes #25236
(cherry picked from commit 1aceb413495c18e5840112d6ada0c4c71cc03c7b)
2022-02-04 00:27:12 +01:00
Treeston
03b5c17863
Common/Utilities: Move EnumUtils' implementation struct from Trinity::Impl to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl.
...
(cherry picked from commit 91744de3162bab23d7c5a0dd65fc8b4249eb803a)
2022-02-04 00:27:12 +01:00
Treeston
0473beff2b
Core/Misc: std::string -> std::string_view in a bunch of places, notably chat commands and Util.h
...
(cherry picked from commit a41bbd9ad9adedb15c7133bdef1575a6ec0eb1ab)
2022-02-04 00:27:12 +01:00
robinsch
5ba95cb42f
Core/Unit: Fixed race condition when loot recipient is in different map ( #25312 )
...
(cherry picked from commit aaa089ab7f634b50acfabb5ad312edd5ee82d2e2)
2022-02-04 00:27:12 +01:00
jackpoz
1f2c48f8bb
Core/SAI: Remove completed timed action lists even while evading
...
Fixes #25294
(cherry picked from commit 03eb0886a8b0e192d3c299d72ef223d30495c534)
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
1a6564f42f
Scripts/Commands: Convert argument parsing of some misc commands to new system ( #25308 )
...
* Core/Shared: Make WeatherType smart
* Scripts/Commands: Convert argument parsing of some misc commands to new system
(cherry picked from commit 5bab0e43c627c949bb5fb1d7fd014855c6c02b8e)
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
53b28572bf
Scripts/Commands: Convert argument parsing of cast commands to new system ( #25309 )
...
(cherry picked from commit cefac75a7d17ea3263f24b6e0fb63c11f92a04ac)
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
582b8458ea
Scripts/Commands: Fix two unreachable code issues found by PVS-studio ( #25311 )
...
(cherry picked from commit 3262ef447a9c41bef9a9a3d11f5a89a63137c4df)
2022-02-04 00:27:12 +01:00
offl
fc2f582d4f
DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
...
Closes #24672
(cherry picked from commit 6611b7145746d5bc18541f7f3a4b641739877740)
2022-02-04 00:27:12 +01:00
offl
192b98e544
DB/Quest: Convert & update support for Borean Tundra escort quests to SAI
...
Closes #25001
(cherry picked from commit 040fda87ef0a7a2c7a61dc2fdc3c478c5adf3dd6)
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
5675d62159
Scripts/Commands: Convert argument parsing of message commands to new system ( #25305 )
...
(cherry picked from commit f17b9b20f10ed8e14cdddef395ff467053068d35)
2022-02-04 00:27:11 +01:00
Peter Keresztes Schmidt
b527a031b9
Core/ChatCommands: Add std::wstring argument type ( #25302 )
...
(cherry picked from commit 617a769d6f8dc51d049296fbccca724713916ed4)
2022-02-04 00:27:11 +01:00
Peter Keresztes Schmidt
e9209c3131
Scripts/Commands: Convert argument parsing of most list commands to new system ( #25303 )
...
(cherry picked from commit 522a4cb1a66539a656c44342d7652c3065a90588)
2022-02-04 00:27:11 +01:00
Treeston
6303fbc449
Core/Misc: Update worldserver.conf.dist to match actual defaults.
...
(cherry picked from commit d717b9dc3e0a25fc0c6f7d55e08740e295697c67)
2022-02-04 00:27:11 +01:00
Treeston
c6582096ab
Core/Warden: Add Lua checks to Warden (PR #25286 )
...
(cherry picked from commit 0531463a3c02d98ed77e9c7689ad7237ecaddc09)
2022-02-04 00:27:11 +01:00
Maks Szokalski
b5d0a94ead
Core/Gossip: Add new helper method to ScriptedGossip for resolving menuId -> sender (PR #25293 )
...
(cherry picked from commit db8bdaa08fbce1f2481ce79cb97a6f03725c5389)
2022-02-04 00:27:11 +01:00
Treeston
669b6bea21
Core/Warden: Ignore the length value in the database for MEM_CHECK checks. Hi there Aokromes.
...
(cherry picked from commit fc32c3fd3b2e91702a41798ef962cbc8475c8584)
2022-02-04 00:27:11 +01:00
Treeston
15d75dea10
Core/Warden: More refactors lifted from #25286 .
...
(cherry picked from commit a3971ca4b05e2913850b6d4fe7d40884fa645fa0)
2022-02-04 00:27:11 +01:00
Treeston
317bb198b1
Core/Warden: Some Warden refactors lifted from #25286 .
...
(cherry picked from commit 5b4288f05f7e2360bcdc80872787ee2e7a7a2f56)
2022-02-04 00:27:11 +01:00
Shauren
015cee5f27
Core/Networking: Initialize MPSCQueueIntrusive dummy node without undefined behavior
...
(cherry picked from commit e1289805fc04e75f9e7cba078cbc826ce60f037a)
2022-02-04 00:27:11 +01:00
Shauren
0a1acb9c05
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
...
(cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-02-04 00:27:10 +01:00
Shauren
17e7f8497c
Scripts/Spells: Convert remaining spell_generic scripts to simplified script registration using new additional constructor argument support
...
(cherry picked from commit 7a5a010d415014a1cf78b1f6186d78a39a18c70a)
2022-02-04 00:27:10 +01:00
Shauren
e81b5838a6
Core/Scripts: Unify RegisterSpellScript and RegisterAuraScript macros to do the same thing and implemented passing custom arguments to spell script classes
...
(cherry picked from commit 75a6a7a0ad48874e75dd71f766dad3707341bb32)
2022-02-03 00:25:03 +01:00
Shauren
4064b22dd7
Core/Util: Added another template utility - find_type_if
...
* Trinity::find_type_if - Find a type matching predicate in a given template parameter pack
(cherry picked from commit 84a87d87bfd569192ff1564e3d8b2e68d5fff4bc)
2022-02-03 00:24:33 +01:00
Shauren
c37984fc6a
Core/Util: Added new utilities
...
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity
(cherry picked from commit 7c08fc863ac45f2d41b18103b0132004a4c0c524)
2022-02-03 00:24:10 +01:00
Shauren
348acb105c
Core/Commands: Exclude ambigious cast operator overloads from command Variant
...
Closes #25618
(cherry picked from commit b57530ebb143965863b0974adfc95fb8a4e365ee)
2022-02-03 00:22:24 +01:00
Peter Keresztes Schmidt
86bfde389a
Scripts/Commands: Convert argument parsing of event commands to new system (PR #25275 )
...
(cherry picked from commit 7bfeb03c136f18fda73474054c837f4fe8f11136)
2022-02-03 00:19:14 +01:00
Peter Keresztes Schmidt
3c82863c52
Core/ChatCommands: Check whether a passed numeric enum value is valid ( #25285 )
...
(cherry picked from commit 4286e7aa02e777268b25d8a5bcc1ee87f7b16c4d)
2022-02-03 00:18:48 +01:00
Peter Keresztes Schmidt
3ba767c438
Scripts/Commands: Convert argument parsing of gm commands to new system ( #25279 )
...
(cherry picked from commit 9c9e8c7d58cd0e939330089cfb555945ebbf73eb)
2022-02-03 00:10:31 +01:00
Peter Keresztes Schmidt
888d217c16
Scripts/Commands: Convert argument parsing of remaining go command to new system ( #25284 )
...
(cherry picked from commit 1aadf6c6d173e593eef0e9976e51a7189a54a8ce)
2022-02-03 00:08:21 +01:00
Carbenium
a773039211
Scripts/Commands: Convert argument parsing of honor commands to new system
...
(cherry picked from commit 515a34f64f200ea0fb9722914b76ab8abd358891)
2022-02-02 23:02:41 +01:00
Treeston
eaa3c7e5a0
Core/Warden: Add .debug warden force, allowing you to force specific warden checks to be sent
...
(cherry picked from commit f04f4e91ff3afbf89f30659b85e8593c3206138e)
2022-02-02 22:47:55 +01:00
Peter Keresztes Schmidt
dc5f7ee5fc
Scripts/Commands: Convert argument parsing of deserter commands to new system (PR #25276 )
...
(cherry picked from commit c952cb7f710f0aa558b1c94474be8d188967d019)
2022-02-02 22:32:46 +01:00
Peter Keresztes Schmidt
4aa1c74232
Scripts/Commands: Convert argument parsing of cheat commands to new system (PR #25277 )
...
(cherry picked from commit 4707e059386333b6ceec419d0d2e684d9106aef6)
2022-02-02 22:21:51 +01:00
Peter Keresztes Schmidt
ec26736e30
Scripts/Commands: Convert argument parsing of most debug commands to new system (PR #25260 )
...
(cherry picked from commit 76f309b4e899d4f450a8448d49c1aa05f9d4e785)
2022-02-02 22:13:50 +01:00
Treeston
e0ddc676d6
Scripts/Commands: Move .debug asan command bodies inside #ifdef ASAN
...
(cherry picked from commit e18f7aaa4d1bc9f6ad4b524c25fd3f111493b774)
(cherry picked from commit 0b13fc192698f65cc6e338ef92c22d4d783281b9)
(cherry picked from commit 5ecbe93f7d75ea3c4808ce45ccc7d14e1d42b26b)
2022-02-02 21:27:52 +01:00
Peter Keresztes Schmidt
37777ac6e8
Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264 )
...
(cherry picked from commit 426513ec8e154df7c13ba98371513dd9f6d2cb9d)
2022-02-02 21:17:51 +01:00
Peter Keresztes Schmidt
1c246cc980
Core/ChatCommands: Parse SpellInfo also from enchant, glyph, talent and trade links (PR #25270 )
...
(cherry picked from commit 9df61fd111a39983d751ac0bed767137b330c547)
2022-02-02 21:08:29 +01:00
Carbenium
c8b0d4e6d8
Scripts/Commands: Convert argument parsing of bf commands to new system
...
(cherry picked from commit fa6a8e8f647705c4631b7ed5d2dbd41e3b1d6b6b)
2022-02-02 20:50:49 +01:00
Peter Keresztes Schmidt
fed56790ca
Core/ChatCommands: Add Variant.get<typename> overload (PR #25267 )
...
Co-authored-by: Treeston <[email protected] >
(cherry picked from commit dfeaa2e81f777fb40066d8a330e6ce6da4a6a66f)
2022-02-02 20:50:36 +01:00
Treeston
673521bc87
Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant to std::variant (for real this time)
...
(cherry picked from commit ffc3e355fe2adfe48d37759091a537b699b12753)
2022-02-02 20:49:42 +01:00
Peter Keresztes Schmidt
477618bd1f
Core/ChatCommands: Add support for std::array-type arguments ( #25261 )
...
(cherry picked from commit 30a825e2ac4d903329e3285e36b032c5533132d4)
2022-02-02 20:32:24 +01:00
Shauren
c65340e761
Core/Spells: Implement SPELL_EFFECT_TRIGGER_SPELL delay (stored in MiscValue)
2022-02-02 19:50:22 +01:00
Shauren
b6bc8a50ac
Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
2022-02-02 13:56:49 +01:00
Shauren
7261592364
Warning fixes
2022-02-02 11:55:04 +01:00
Shauren
950db60435
Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
2022-02-02 00:08:37 +01:00
Shauren
d6a2461fc7
Core/Misc: GCC build fix
...
Closes #27707
2022-02-01 23:44:14 +01:00