Commit Graph

33203 Commits

Author SHA1 Message Date
Treeston
cd30e0b86c Common/Utilities: Centralize string -> T conversion in StringConvert.h (PR #25335) 2020-08-26 23:31:45 +02:00
Treeston
7cc027401e Core/Warden: Ensure Warden packets do not exceed 512 bytes. This should rectify random Warden timeouts. 2020-08-26 21:30:38 +02:00
offl
f59d6c1306 DB/SAI: Add SMART_TARGET_ACTION_INVOKER to SMART_EVENT_FRIENDLY_HEALTH_PCT
Ref cbed1039c4
2020-08-26 02:10:01 +03:00
offl
eeb02ba141 DB/Creature: Add formations to Cenarion Hold Infantry 2020-08-26 02:09:34 +03:00
Cerveciento
9c6cd777b9 DB/Locale/esES+esMX Texts missing in quests (Part 25)
Closes #25333
2020-08-26 02:09:18 +03:00
Cerveciento
f3f68be662 DB/Locale/esES+esMX Texts missing in quests (Part 24)
Closes #25330
2020-08-26 02:08:58 +03:00
Giacomo Pozzoni
cbed1039c4 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
2020-08-25 14:14:06 +02:00
offl
3f4bcfbbe1 DB/Quest: Update outro event of quest 'Plagued Lands'
Updates #25313
2020-08-24 22:33:06 +03:00
Cerveciento
1bf8b9452a DB/Locale/esES+esMX Texts missing in quests (Part 23)
Closes #25319
2020-08-24 22:32:35 +03:00
Cerveciento
8325dfa7d4 DB/Locale/esES+esMX Texts missing in quests (Part 22)
Closes #25306
2020-08-24 22:32:11 +03:00
offl
64c1e956a4 DB/Quest: Fix typo in RewardText of quest 'The Remains of Trey Lightforge'
Closes #25322
2020-08-24 22:31:48 +03:00
offl
0116a31cd6 DB/SAI: Remove no longer needed param from Private Hendel's script
Ref #25294
2020-08-24 22:31:32 +03:00
Treeston
27b1930d97 Build: Add Clang version guard to CMake (PR #25324) 2020-08-24 17:44:38 +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
Shauren
ec783fcbb5 Core/Warden: Fix warden timeout ticking twice as fast as it should 2020-08-24 14:17:40 +02:00
Peter Keresztes Schmidt
6079bc7f34 Core/ChatCommands: Do not try to consume integral types if the token is empty (PR #25320) 2020-08-23 21:19:44 +02:00
jackpoz
1aceb41349 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
2020-08-23 20:06:41 +02:00
jackpoz
7cdc4b46bb DB/Misc: Add new view vw_conditions_with_labels that shows labels instead of numbers from conditions table 2020-08-23 15:21:45 +02:00
Treeston
91744de316 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. 2020-08-23 15:05:04 +02:00
jackpoz
6d295629cf DB/Misc: Add new view vw_disables_with_labels that shows labels instead of numbers from disables table 2020-08-23 14:56:20 +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
robinsch
aaa089ab7f Core/Unit: Fixed race condition when loot recipient is in different map (#25312) 2020-08-22 23:09:13 +02:00
jackpoz
2b98a3e889 Core/Misc: Remove whitespace 2020-08-22 23:02:35 +02:00
jackpoz
03eb0886a8 Core/SAI: Remove completed timed action lists even while evading
Fixes #25294
2020-08-22 22:55:16 +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
TDB Release
ada0e32a64 TDB 335.20082 - 2020/08/22 TDB335.20082 2020-08-22 16:29:44 +00: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
617a769d6f Core/ChatCommands: Add std::wstring argument type (#25302) 2020-08-22 17:36:13 +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
offl
d714adbc4f DB/SAI: Update some scripts using CMC cast flag 2020-08-22 03:49:11 +03:00
offl
e931bc11c2 DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from Invoker Cast, Cross Cast and Self Cast actions
Ref aae38bec11

Not needed at all for these action types, you can't interrupt player's spells by this event flag and there's no reason to interrupt creature's spells
2020-08-22 03:48:48 +03:00
Shauren
6cf11a9b66 Core/Misc: Reserve master branch trinity_string ids 2020-08-22 01:46:57 +02:00
offl
ce2c250d3a DB/Creature: Gravis Slipknot
Closes #25300

Waypoint and equipment taken from ea2fab0a4f 381c51582b Thanks illfated for providing model fix
2020-08-22 00:41:26 +03:00
offl
07acb1d439 DB/SAI: Make Bonestripper Buzzard & Vulture move to invoker rather than random creature
Ref #20821
2020-08-22 00:40:52 +03:00
offl
ef564c0c5c DB/Quest: Add support for 'Bodyguard for Hire' & 'Gizelton Caravan'
Closes #1657 Closes #3260

Info for some parts taken from https://github.com/TrinityCore/TrinityCore/pull/20116 https://github.com/classicdb/database/pull/686 baff23f7cc
2020-08-21 20:58:37 +03:00
offl
7aadf7ca93 DB/Reputation: Adjust reputation amount given after killing members of Gelkis / Magram Clan Centaur 2020-08-21 20:57:59 +03:00
offl
dddb96d02e DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from more event types
Ref aae38bec11
2020-08-21 20:56:20 +03:00
Giacomo Pozzoni
41d70a5905 Build/GCC: Raise required version to 8.3.0 (#25297)
Even when building with Clang, make sure to have libstdc++ >= 8
2020-08-21 13:51:29 +02:00
Treeston
d717b9dc3e Core/Misc: Update worldserver.conf.dist to match actual defaults. 2020-08-21 12:13:38 +02:00
Giacomo Pozzoni
f4dc3cbd65 CI/GitHub: Build on GCC (#25288)
* CI/GitHub: Build on GCC

* Mark warnings as errors
2020-08-21 11:37:58 +02:00
Treeston
0531463a3c Core/Warden: Add Lua checks to Warden (PR #25286) 2020-08-21 01:19:28 +02:00
Maks Szokalski
db8bdaa08f Core/Gossip: Add new helper method to ScriptedGossip for resolving menuId -> sender (PR #25293) 2020-08-21 00:47:03 +02:00
Treeston
8ab9a29af3 Tools/VMapExtractor: Make Shauren happy, fmt::sprintf -> Trinity::StringFormat 2020-08-20 23:21:45 +02:00
Treeston
8ebcc0b086 Tools/VMapExtractor: Clean-up some patches of horrendously creaky code to make them slightly less creaky (and get rid of gcc warnings) 2020-08-20 23:02:02 +02:00
Shauren
a692329715 Core/PacketIO: Fixed incorrect displaying quest item rewards as choices 2020-08-20 20:56:21 +02:00