Commit Graph

33096 Commits

Author SHA1 Message Date
scizzydo
4125a81bb1 Core/Warden: Fix for LUA_STR_CHECK (#25247)
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-16 14:50:08 +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
Peter Keresztes Schmidt
34d403e83f Core/Spells: Mark constructors of Spell/AuraScript handlers as explicit (#25248)
Mostly to make clang-tidy happier
2020-08-15 13:50:26 +02:00
Peter Keresztes Schmidt
87211d9f4d Core/PacketIO: Update SMSG_QUESTGIVER_QUEST_DETAILS (#25232)
* Core/PacketIO: Update SMSG_QUESTGIVER_QUEST_DETAILS

* Core/PacketIO: Name RewardFactionFlags field of QuestInfo struct
2020-08-15 13:25:23 +02:00
TDB Release
43986954fd TDB 335.20081 - 2020/08/15 TDB335.20081 2020-08-15 09:37:46 +00: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
offl
ee6d6426fa DB/Misc: Add correct teleport positions to one areatrigger and some spells from sniffs 2020-08-15 02:19:28 +03:00
Rushor
40e4777831 DB/Creature: Add script & waypoints to Warden Treelos
Closes #13055
2020-08-15 02:19:01 +03:00
offl
9d11c25e18 DB/Creature: Add CREATURE_FLAG_EXTRA_NO_COMBAT to Toxic Tunnel (Naxxramas)
Closes #16490
2020-08-15 02:18:33 +03:00
offl
49e40f48c9 DB/Quest: The Missing Diplomat (Part 16): Make Private Hendel act more correctly and fix script stuck
Closes #25244
2020-08-15 02:18:08 +03:00
Cerveciento
afd2146ad2 DB/Locale/esES+esMX Texts missing in quests (Part 19)
Closes #25245
2020-08-15 02:17:36 +03:00
Cerveciento
e9a1f747fc DB/Locale/esES+esMX Texts missing in quests (Part 18)
Closes #25241
2020-08-15 02:17:02 +03:00
Giacomo Pozzoni
298d799485 Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units (#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-13 21:12:37 +02:00
offl
dc7691a549 DB/Quest: Update support for 'The Plains of Nasam' (11652)
Closes #23695
2020-08-13 15:52:37 +03:00
offl
2b8f314183 DB/Creature: Remove some wrong spawns
Ref #23791
2020-08-13 15:52:15 +03:00
offl
4c4e3b956f DB/Creature: Fix gold value for world bosses
Source d10a189755
2020-08-12 21:57:11 +03:00
Cerveciento
5188f723b4 DB/Locale/esES+esMX Texts missing in quests (Part 17)
Closes #25240
2020-08-12 21:22:03 +03:00
Cerveciento
870e754998 DB/Locale/esES+esMX Texts missing in quests (Part 16)
Closes #25237
2020-08-12 21:21:40 +03:00
offl
8ed3efd820 DB/Creature: Fix gold value for TBC raid bosses
Closes #19262
2020-08-12 21:20:53 +03: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
offl
cce1ccdd5c DB/Locale: Add missing esMX quest locales
Copied from already added esES locales since they're almost always similar
2020-08-11 00:38:36 +03:00
Cerveciento
ca9ce8a70b DB/Locale/esES+esMX Texts missing in quests (Part 15)
Closes #25234
2020-08-10 23:42:56 +03:00
dr-j
be8affa5be DB/Creature: Sindragosa's Fall Wyrm Reanimator/Frost Brood Spawn events
Closes #25231
2020-08-10 23:42:36 +03:00
offl
8a9cc0f65d DB/Gameobject: Remove signs from Menethil's signpost
Closes #25046

Both signs were removed in WotLK
2020-08-10 15:31:57 +03:00
Cerveciento
b8f21d4540 DB/Locale/esES+esMX Texts missing in quests (Part 14)
Closes #25228
2020-08-10 03:40:39 +03:00
offl
2ff51396c0 DB/SAI: Rework support for corrupted & cleansed plants from Felwood
Closes #4960
2020-08-10 03:40:17 +03:00
Giacomo Pozzoni
63a6e1e048 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) (#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-09 21:24:15 +02:00
jackpoz
dd28cecda3 Core/Misc: Code cleanup 2020-08-09 13:00:31 +02:00
offl
39f2d2d1cf DB/Texts: Add correct BroadcastTextId and comments to some creature texts 2020-08-09 03:19:11 +03:00
offl
cf57ea2045 DB/Texts: Add correct BroadcastTextId and comments to some creature texts, reoder some texts and add missing 2020-08-09 01:22:17 +03:00
jackpoz
0eb49a3cc9 Scripts/Command: Fix .mmap loc always printing command usage 2020-08-08 21:38:44 +02:00
offl
08dd9ebf78 DB/Texts: Add BroadcastTextId to one of Molthor's texts & remove useless locales 2020-08-08 20:11:47 +03:00
Cerveciento
769d47c617 DB/Locale/esES Texts missing in quests (Part 13)
Closes #25225
2020-08-08 20:10:45 +03:00
jackpoz
c04f53b886 Core/Warden: Fix Warden reporting false positive checks
Issue introduced in 210176fd91
2020-08-08 17:24:18 +02:00
Keader
9b87a7e03b Game/ActionHouse: Fixed some clothes chests not showing in AH (#25150) 2020-08-08 10:31:35 -03:00
Cerveciento
b0734f81bd DB/Locale/esES Texts missing in quests (Part 12)
Closes #25221
2020-08-08 02:25:42 +03:00
offl
6ca6a54083 DB/SAI: Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts 2020-08-08 02:24:41 +03:00
offl
a4ab8116c3 DB/SAI: Change orientation to home position instead of calling evade to restore orientation 2020-08-08 02:24:13 +03:00
offl
6779a92cba DB/Creature: Change respawn time of Lordaeron Footsoldier to correct 2020-08-08 02:23:53 +03: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
Shauren
dd34651f4d Core/CrashHandler: Skip logging stack trace of the thread writing the crash log, it was launched by windows with same context as crashing thread 2020-08-07 17:58:46 +02:00
Shauren
c5e1b49e8c Core/CrashHandler: Remove logging function variation depending on crash reason and print directly to file, not to temporary buffer 2020-08-07 17:57:44 +02:00
Shauren
68fdfcaa50 Core/CrashHandler: NULL -> nullptr 2020-08-07 17:19:18 +02:00
Shauren
39c5e03b74 Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed file being all red in editor 2020-08-07 17:19:18 +02:00
Shauren
83ed35fe62 Core/CrashHandler: Attempt to extract C++ exception object in uncaught exception hander 2020-08-07 17:19:16 +02:00
Ovah
764f22fc91 Core/Units: add new functionality for units to block or enable combat interactions (#25168)
* Core/Units: add new functionality for units to block or enable combat entirely via helper to reflect what CREATURE_DIFFICULTYFLAGS_IGNORE_COMBAT and client AI functions imply

* yeah...

* Nuke Creature::IsCombatDisallowed helper as its unused by now

* no combat extra flag may now be changed on transforms if the transformed entry does not have the flag
2020-08-07 14:51:40 +02:00
Carbenium
98b1b20d6b Core/Updater: Fix detection of the mysql binary when a directory is given as path
This ensures that we never pass a directory path StartProcess which results in a crash.

Closes #25216
2020-08-07 11:23:10 +02:00