Treeston
944f49d613
Scripts/Commands: Fix a crash in .help - closes #25360
2020-08-30 13:45:04 +02:00
Treeston
2f7d2ef3e9
Core/ChatCommands: C++17 cleanup (again) (PR #25323 )
2020-08-30 02:50:25 +02:00
Keader
4fcd6ddb74
Scripts/Spells: Fixed some code style issues
...
Follow up: 18e88653b9
2020-08-29 11:33:09 -03:00
Moki
18e88653b9
Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp ( #25307 )
...
* Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp
* Fix travis
* Rename 2020_08_xx_xx_world.sql to 2020_08_29_01_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-08-29 13:09:16 +02:00
Giacomo Pozzoni
cfc8f7b442
Core/Misc: Fix issues reported by static analysis ( #25351 )
...
* Core/Misc: Fix issues reported by static analysis
* Core/Vmaps: Code cleanup after e777161888
2020-08-29 13:02:42 +02:00
Maks Szokalski
dc9e0c1e86
Scripts: Minor loop refactors ( #25325 )
2020-08-28 23:13:26 +02:00
kvipka
5d2780c43c
Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set (PR #25340 )
2020-08-28 19:48:41 +02:00
Aokromes
bf8b34946d
Script/Azuremyst_isle: Remove useless log
2020-08-28 10:20:03 +02:00
Treeston
534a2388b7
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
2020-08-28 00:11:16 +02:00
Treeston
fd05a35341
Revert "[3.3.5] Core/ChatCommands: C++17 cleanup (if constexpr + std::string_view)"
...
This reverts commit 11c4a60fbe .
2020-08-24 16:38:39 +02:00
Treeston
11c4a60fbe
[3.3.5] Core/ChatCommands: C++17 cleanup (if constexpr + std::string_view)
2020-08-24 16:17:56 +02:00
Treeston
a41bbd9ad9
Core/Misc: std::string -> std::string_view in a bunch of places, notably chat commands and Util.h
2020-08-23 00:31:57 +02:00
Peter Keresztes Schmidt
5bab0e43c6
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
2020-08-22 22:28:51 +02:00
Peter Keresztes Schmidt
cefac75a7d
Scripts/Commands: Convert argument parsing of cast commands to new system ( #25309 )
2020-08-22 22:25:27 +02:00
Peter Keresztes Schmidt
3262ef447a
Scripts/Commands: Fix two unreachable code issues found by PVS-studio ( #25311 )
2020-08-22 22:24:28 +02:00
offl
6611b71457
DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
...
Closes #24672
2020-08-22 20:05:15 +03:00
offl
040fda87ef
DB/Quest: Convert & update support for Borean Tundra escort quests to SAI
...
Closes #25001
2020-08-22 20:04:35 +03:00
Peter Keresztes Schmidt
f17b9b20f1
Scripts/Commands: Convert argument parsing of message commands to new system ( #25305 )
2020-08-22 17:47:51 +02:00
Peter Keresztes Schmidt
522a4cb1a6
Scripts/Commands: Convert argument parsing of most list commands to new system ( #25303 )
2020-08-22 16:56:11 +02:00
Shauren
74a0d579ee
Core/Pets: Fixed automatic resurrecting pets on battleground graveyards
...
Closes #25289
2020-08-20 18:44:36 +02:00
Shauren
7d4fbf706a
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
2020-08-20 16:03:47 +02:00
Shauren
7a5a010d41
Scripts/Spells: Convert remaining spell_generic scripts to simplified script registration using new additional constructor argument support
2020-08-20 15:58:57 +02:00
Peter Keresztes Schmidt
7bfeb03c13
Scripts/Commands: Convert argument parsing of event commands to new system (PR #25275 )
2020-08-20 02:30:21 +02:00
Peter Keresztes Schmidt
4286e7aa02
Core/ChatCommands: Check whether a passed numeric enum value is valid ( #25285 )
2020-08-20 00:46:52 +02:00
Peter Keresztes Schmidt
9c9e8c7d58
Scripts/Commands: Convert argument parsing of gm commands to new system ( #25279 )
2020-08-19 14:53:04 +02:00
Peter Keresztes Schmidt
1aadf6c6d1
Scripts/Commands: Convert argument parsing of remaining go command to new system ( #25284 )
2020-08-19 14:49:29 +02:00
Carbenium
515a34f64f
Scripts/Commands: Convert argument parsing of honor commands to new system
2020-08-19 00:29:31 +02:00
Treeston
f04f4e91ff
Core/Warden: Add .debug warden force, allowing you to force specific warden checks to be sent
2020-08-19 00:25:44 +02:00
Peter Keresztes Schmidt
c952cb7f71
Scripts/Commands: Convert argument parsing of deserter commands to new system (PR #25276 )
2020-08-18 22:27:24 +02:00
Peter Keresztes Schmidt
4707e05938
Scripts/Commands: Convert argument parsing of cheat commands to new system (PR #25277 )
2020-08-18 15:22:09 +02:00
Treeston
5ecbe93f7d
[[maybe_unused]] to make CIs happy, 0b13fc1 follow-up
2020-08-17 23:13:41 +02:00
Treeston
0b13fc1926
Scripts/Commands: Revert e18f7aa, re-add .debug asan outofbounds, move bodies to #ifdef
2020-08-17 22:54:39 +02:00
Peter Keresztes Schmidt
76f309b4e8
Scripts/Commands: Convert argument parsing of most debug commands to new system (PR #25260 )
2020-08-17 22:45:09 +02:00
Treeston
e18f7aaa4d
Scripts/Commands: Remove .debug asan outofbounds, because having reachable code that essentially says __builtin_unreachable in the core is making me twitchy.
2020-08-17 22:25:11 +02:00
Peter Keresztes Schmidt
426513ec8e
Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264 )
2020-08-17 22:04:44 +02:00
Carbenium
fa6a8e8f64
Scripts/Commands: Convert argument parsing of bf commands to new system
2020-08-17 15:51:46 +02:00
Shauren
5c1fc5e387
Core/Pets: Pet management refactoring ( #25191 )
...
* Core/Pets: Pet management refactoring
* Preload basic pet data on character login with async query
* Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed
* Remove all select queries related to pet stable/unstable
* Remove all silent pet deletions except explicit UI-triggered abandons
* Fixed displaying stable master content when current pet is not summoned
* Allow to stable/swap unsummoned current pet
Closes #3610
Closes #21266
2020-08-16 21:39:25 +02:00
Peter Keresztes Schmidt
86dc58974a
Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256 )
...
* Core/Shared: Make Emote enum smart
* Scripts/Commands: Use enum type arg for HandleDebugAnimCommand
2020-08-16 16:26:47 +02:00
Peter Keresztes Schmidt
5e40eb20e2
Core/ChatCommands: Add support for enum type arguments (PR #25242 )
2020-08-16 14:11:21 +02:00
Peter Keresztes Schmidt
6c7837f947
Core/Unit: Make HandleEmoteCommand typesafe ( #25249 )
...
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter
* Scripts/HoR: Fix wrong emote during escape event
* Core/Unit: Make improve type safety of HandleEmoteCommand
Change argument type to the expected enum type Emote
* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE
UNIT_NPC_EMOTESTATE is no flag field
2020-08-15 15:29:43 +02:00
Aokromes
681c738c61
Script/Quest: The Light of Dawn ( #25243 )
...
remove incorrect check, source:
https://www.wowhead.com/spell=53606/the-light-of-dawn
Flags
Can be used while dead
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127
2020-08-15 11:10:47 +02:00
Gildor
7035a9caf1
Scripts/Naxxramas: Adjust Frogger event timer ( #25214 )
...
* Scripts/Naxxramas: Adjust Frogger event timer
Co-authored-by: Carbenium <carbenium@outlook.com >
2020-08-12 17:24:41 +02:00
Rothend
a375f15ae2
Script/Quest: fix (More) Torch Catching ( #24907 )
...
* Script/Quest: fix (More) Torch Catching.
Closes #24893
Co-authored-by: Carbenium <carbenium@outlook.com >
2020-08-12 13:40:28 +02:00
Treeston
6116e5b385
Core/Warden: Warden refactors (PR #25235 )
2020-08-11 18:04:36 +02:00
jackpoz
dd28cecda3
Core/Misc: Code cleanup
2020-08-09 13:00:31 +02:00
jackpoz
0eb49a3cc9
Scripts/Command: Fix .mmap loc always printing command usage
2020-08-08 21:38:44 +02:00
Jinnaix
de56ed8736
Scripts/BlackwingLair: Suppression Device Room (PR #25199 )
...
Co-authored-by: offl <11556157+offl@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Treeston <treeston.mmoc@gmail.com >
2020-08-08 00:27:16 +02:00
Giacomo Pozzoni
bd5e832a64
Scripts/Comamnds: Improve ".debug objectcount" command ( #25208 )
...
* Scripts/Comamnds: Improve ".debug objectcount" command
Include the top 5 most common creatures in the map
* Use C++ features to copy data
* Fix build warnings
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
* Move CreatureCountWorker out of function and use template for unhandled cases
* Code cleanup
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-08-06 14:58:39 +02:00
jackpoz
6ad6d9e670
Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER
2020-08-05 18:46:02 +02:00
Gildor
174ac95800
Scripts/Naxxramas: Frogger event improvements ( #25202 )
...
* Scripts/Naxxramas: Frogger event improvements
* Prevent Living Poison accumulation
* Now Living Poison cast Explode
* check for a nearby player
* move event to the frogger trigger's AI
* Initialize and removing unnecessary things
* applying suggestions
* remove unnecessary header
* Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql
2020-08-05 14:16:19 +02:00