aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-08-20Core/ChatCommands: Check whether a passed numeric enum value is valid (#25285)Peter Keresztes Schmidt
2020-08-19Scripts/Commands: Convert argument parsing of gm commands to new system (#25279)Peter Keresztes Schmidt
2020-08-19Scripts/Commands: Convert argument parsing of remaining go command to new ↵Peter Keresztes Schmidt
system (#25284)
2020-08-19Core/PacketIO: Update SMSG_QUESTGIVER_OFFER_REWARD (#25251)NoName
Co-authored-by: Carbenium <carbenium@outlook.com>
2020-08-19Scripts/Commands: Convert argument parsing of honor commands to new systemCarbenium
2020-08-19Core/Warden: Add .debug warden force, allowing you to force specific warden ↵Treeston
checks to be sent
2020-08-18Scripts/Commands: Convert argument parsing of deserter commands to new ↵Peter Keresztes Schmidt
system (PR #25276)
2020-08-18Scripts/Commands: Convert argument parsing of cheat commands to new system ↵Peter Keresztes Schmidt
(PR #25277)
2020-08-17[[maybe_unused]] to make CIs happy, 0b13fc1 follow-upTreeston
2020-08-17Scripts/Commands: Revert e18f7aa, re-add .debug asan outofbounds, move ↵Treeston
bodies to #ifdef
2020-08-17Scripts/Commands: Convert argument parsing of most debug commands to new ↵Peter Keresztes Schmidt
system (PR #25260)
2020-08-17Scripts/Commands: Remove .debug asan outofbounds, because having reachable ↵Treeston
code that essentially says __builtin_unreachable in the core is making me twitchy.
2020-08-17Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264)Peter Keresztes Schmidt
2020-08-17Core/Pets: Fix loading pet dataShauren
Closes #25269
2020-08-17Core/ChatCommands: Parse SpellInfo also from enchant, glyph, talent and ↵Peter Keresztes Schmidt
trade links (PR #25270)
2020-08-17Scripts/Commands: Convert argument parsing of bf commands to new systemCarbenium
2020-08-17Core/ChatCommands: Add Variant.get<typename> overload (PR #25267)Peter Keresztes Schmidt
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
2020-08-17make compilers happyTreeston
2020-08-17Core/Spells: Fix summoning warlock pets in case that pet has never been ↵Shauren
summoned before
2020-08-17Core/Spells: Fix summoning SUMMON_PET type petsShauren
Closes #25265
2020-08-17Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant ↵Treeston
to std::variant (for real this time)
2020-08-17revert 1aeb7a0 and f9e7dbd until I can work around GCC being sillyTreeston
2020-08-17How did this even build in VS???? (don't kill me shauren) (f9e7dbd follow-up)Treeston
2020-08-17Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant ↵Treeston
to std::variant, which means we no longer need visitors
2020-08-17Core/ChatCommands: Add support for std::array-type arguments (#25261)Peter Keresztes Schmidt
2020-08-16Core/Pets: Pet management refactoring (#25191)Shauren
* 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-16Core/ChatCommands: Do not parse partial strings for numeric paramters (PR ↵Peter Keresztes Schmidt
#25259) Check if integral/floating point type arguments were parsed successfully. std::stoull will happily parse floating point strings until the decimal separator and return the value. Make sure for all parsing methods that we actually parsed the whole token. This allows to use handler arguments like Variant<uint32, float> which will be populated with the right type depending on the token value (e.g "10" vs "10.0").
2020-08-16Core/SAI: Spell casts that cannot be executed because the unit is currently ↵Giacomo Pozzoni
casting another spell will be retried asap with priority over other events (#25238) * Core/SAI: Spell casts that cannot be executed because the unit is currently casting another spell will be retried asap with priority over other events * Core/SAI: Re-sort the events only when needed * Fix some priority reset and wrong mEventSortingRequired handling * Code cleanup. Sort only events loaded from db (not stored events, not timed action list). * Code cleanup. Raise priority of failed casts so they are retried before other spells * Keep priority of the action fails and is rescheduled on next update * Don't try recasting a spell in SMART_ACTION_CAST if there are multiple targets and at least 1 was successful
2020-08-16Core/ChatCommands: Honor exact matches during enum arg parsing (PR #25255)Peter Keresztes Schmidt
2020-08-16Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256)Peter Keresztes Schmidt
* Core/Shared: Make Emote enum smart * Scripts/Commands: Use enum type arg for HandleDebugAnimCommand
2020-08-16Core/Warden: Fix for LUA_STR_CHECK (#25247)scizzydo
The check above is what I use to actually get a real result for LUA_STR_CHECK, which when I used variables that would have a string to them it actually fails the check. When checking for items like a function if it exists of course it won't work... In addition, fixing the Unk2 to Unk3 causes people to be able to adjust the address of the check to the address 0x00419210 to make warden perform the FrameScript__Execute to run lua on the client. This seems to be the big request like in https://github.com/TrinityCore/TrinityCore/issues/23035
2020-08-16Core/ChatCommands: Add support for enum type arguments (PR #25242)Peter Keresztes Schmidt
2020-08-15Core/Unit: Make HandleEmoteCommand typesafe (#25249)Peter Keresztes Schmidt
* 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-15Core/Spells: Mark constructors of Spell/AuraScript handlers as explicit (#25248)Peter Keresztes Schmidt
Mostly to make clang-tidy happier
2020-08-15Core/PacketIO: Update SMSG_QUESTGIVER_QUEST_DETAILS (#25232)Peter Keresztes Schmidt
* Core/PacketIO: Update SMSG_QUESTGIVER_QUEST_DETAILS * Core/PacketIO: Name RewardFactionFlags field of QuestInfo struct
2020-08-15Script/Quest: The Light of Dawn (#25243)Aokromes
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-13Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units ↵Giacomo Pozzoni
(#25229) * Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units * Update PassiveAI.cpp Restored logic that removes loot flag while being possessed * Restored logic that removes loot flag while being possessed
2020-08-12Scripts/Naxxramas: Adjust Frogger event timer (#25214)Gildor
* Scripts/Naxxramas: Adjust Frogger event timer Co-authored-by: Carbenium <carbenium@outlook.com>
2020-08-12Script/Quest: fix (More) Torch Catching (#24907)Rothend
* Script/Quest: fix (More) Torch Catching. Closes #24893 Co-authored-by: Carbenium <carbenium@outlook.com>
2020-08-11Core/Warden: Warden refactors (PR #25235)Treeston
2020-08-09Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not ↵Giacomo Pozzoni
switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure) (#25226) * Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure) * Core/SAI: Retry casting after 500ms if a cast failed Fixes #24914
2020-08-09Core/Misc: Code cleanupjackpoz
2020-08-08Scripts/Command: Fix .mmap loc always printing command usagejackpoz
2020-08-08Core/Warden: Fix Warden reporting false positive checksjackpoz
Issue introduced in 210176fd915cf4ba16f428d3c1a249a71f4aa7a7
2020-08-08Game/ActionHouse: Fixed some clothes chests not showing in AH (#25150)Keader
2020-08-08Scripts/BlackwingLair: Suppression Device Room (PR #25199)Jinnaix
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-07Core/CrashHandler: Skip logging stack trace of the thread writing the crash ↵Shauren
log, it was launched by windows with same context as crashing thread
2020-08-07Core/CrashHandler: Remove logging function variation depending on crash ↵Shauren
reason and print directly to file, not to temporary buffer
2020-08-07Core/CrashHandler: NULL -> nullptrShauren
2020-08-07Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed ↵Shauren
file being all red in editor