Commit Graph

25907 Commits

Author SHA1 Message Date
Keader
fe4da71f1d Scripts/Illidari Council: Changed urand to SelectRandomContainerElement
(cherry picked from commit 6cb754ca4e)
2021-11-15 00:15:39 +01:00
Keader
f69c8c2e60 Scripts/Black Temple: Fixed a crash on Illidari Council (#22652)
Ty Sirikfoll :)

(cherry picked from commit 9a443306fb)
2021-11-15 00:15:16 +01:00
ForesterDev
e58d737a93 Core/Commands: fix .appear command provide wrong undermap position (#22624)
(cherry picked from commit 1e99f98327)
2021-11-14 20:52:50 +01:00
ForesterDev
4e66353854 Core/Commands: Fix quest remove error message (#22623)
(cherry picked from commit 82a1448705)
2021-11-14 20:52:18 +01:00
Shauren
85a23f2ad1 Core/Creatures: Defined new npc flags 2021-11-14 20:31:43 +01:00
DanVS
5db7d25700 Core/Movement: Properly calculate the first Catmull-Rom spline point (#22582)
(cherry picked from commit 5e8b934472)
2021-11-13 19:52:55 +01:00
Shauren
14b8d7d839 Core/PacketIO: Implemented splash screen opcodes 2021-11-12 21:53:40 +01:00
Treeston
792914fb51 Core/Movement: Add some extra assertions to MotionMaster to catch issues like #22444 earlier in the future.
(cherry picked from commit ead439fbd6)
2021-11-12 00:16:30 +01:00
Trond B. Krokli
eb42538d6e Scripts/Sunken Temple: normalize Atal'alarion despawn timer (#22546)
* Atal'Alarion will now despawn as a regular Elite mob
  (5 minutes unlooted or 2.5 minutes when fully looted)
  instead of 7200 (ms) (7.2 seconds) before this change.

Closes #22531

(cherry picked from commit d24b461396)
2021-11-12 00:16:30 +01:00
Keader
2fc55314eb Scripts/Ulduar: XT002 Crash fix
Closes: #22545
(cherry picked from commit 1fe8fe30de)
2021-11-12 00:16:29 +01:00
Treeston
12e76f085f Core/Misc: Add a missing include of Windows.h to Errors.cpp
(that last one wasn't me!)

(cherry picked from commit 1dc675f0a1)
2021-11-12 00:16:29 +01:00
Killyana
c8538bcc67 Creature/Script: Wyrmrest Defender
Closes #22500

(cherry picked from commit a3c20cea2d)
2021-11-12 00:16:26 +01:00
jackpoz
c4cb1748ca Scripts/BlackrockSpire: Fix infinite loop in Gyth fight
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.

(cherry picked from commit af3449e064)
2021-11-11 21:40:03 +01:00
HelloKitty
80d920dab5 Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION (#22469)
Address #22467 making it so that script doesn't look like it was reload
and thus causing gossip to fail once after update.

(cherry picked from commit d5888a5f8f)
2021-11-11 21:39:29 +01:00
Lighto
e79cb1da2c Wintergrasp Fix Collision Wall work: Open / Close collision wall when battle started/ended (#22342)
* Open / Close collision wall when battle started/ended

(cherry picked from commit c4e561ee13)
2021-11-11 21:38:36 +01:00
Shauren
ebf8f46aed Core/Movement: Define new spline flag name 2021-11-11 21:38:05 +01:00
DanVS
8ff0572ee3 Core/Movement: Speed Limit for Spline (#22494)
* Limited speed

(cherry picked from commit 0dd3f0497d)
2021-11-11 21:36:08 +01:00
Trond B. Krokli
67b98348be Scripts/Quest: Defending Wyrmrest Temple (#22513)
- use DB gossip instead of `#define` (deprecated)

Updates #22500

(cherry picked from commit 013d50f169)
2021-11-11 20:28:20 +01:00
Kelno
f5c6ad9621 Core/Movement: Fixed MotionMaster::MoveChase default parameters (PR #22426)
(cherry picked from commit 7baf5b2452)
2021-11-11 20:00:41 +01:00
Shauren
cc0b2d941a Core/Misc: Corrected wrong log format message 2021-11-11 14:46:58 +01:00
Shauren
c6a9727841 Core/Quests: Corrected wrong quest startup errors 2021-11-11 14:46:34 +01:00
Shauren
4a8dbfc33f Core/DataStores: Removed map 0 MapDifficulty hack - data now exists 2021-11-11 14:27:48 +01:00
Shauren
ef4e307a49 Core/Misc: Don't log errors about npc_text probability if broadcast text was removed because it did not exist during loading 2021-11-11 14:10:32 +01:00
Shauren
bd2d8875a1 Core/PacketIO: Rename new 9.1.5 opcodes 2021-11-11 12:36:01 +01:00
Shauren
5c5f3d5376 Core/PacketIO: Fixed SMSG_QUERY_GAME_OBJECT_RESPONSE structure 2021-11-11 01:59:25 +01:00
Shauren
9f2ccf9924 Core/Commands: Fixed crash in .go commands
Closes #22498

(cherry picked from commit b27a76969a)
2021-11-10 00:34:17 +01:00
Sarah Alexander
973f9174e7 Scripts/MoltenCore: Implement Garr's Firesworn Separation Anxiety mec… (#22477)
- The previous (wrong) spell ID used mana, so it was never cast because Firesworns aren't mana users

(cherry picked from commit 001dd32b5c)
2021-11-10 00:18:22 +01:00
jackpoz
d6ce2fa8b8 Core/SAI: Add maxSize parameter to SMART_TARGET_CREATURE_DISTANCE, SMART_TARGET_GAMEOBJECT_DISTANCE, SMART_TARGET_CREATURE_RANGE and SMART_TARGET_GAMEOBJECT_RANGE
(cherry picked from commit 46368188ce)
2021-11-10 00:12:08 +01:00
jackpoz
4fabfa0903 Core/SAI: Add a 4th target parameter to SAI
(cherry picked from commit 7634a57f64)
2021-11-10 00:11:52 +01:00
Killyana
910a00bb1e DB/Quest: Hah...You're Not So Big Now!
Closes #22478

(cherry picked from commit 868f810e11)
2021-11-10 00:03:41 +01:00
Shauren
f2456ff319 Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter and exit instead of only on enter 2021-11-10 00:01:50 +01:00
Sarah Alexander
938c7e518c Scripts/TempleOfAhnQiraj: Despawn Skeram's images on death and fix an edge case where images would not spawn if he was casting during transition (#22474)
(cherry picked from commit 72f061f083)
2021-11-09 23:42:31 +01:00
Sarah Alexander
ed1bde7031 Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-preven… (#22475)
* Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-prevention area trigger

* Sartura engages players if they try to skip her by walking past down the tunnel
* Clean up the instance script a bit

(cherry picked from commit c8f830ff2b)
2021-11-09 23:42:31 +01:00
ccrs
d6f9b3b555 Scripts/ICC: update Unchained Magic target selection
because we all love retri paladins and hate healers, right?, right?

(cherry picked from commit 2e4358f726)
2021-11-09 23:42:29 +01:00
jackpoz
0dccffc6a0 Core/Movement: Add additional assert
Add additional assert to FlightPathMovementGenerator

(cherry picked from commit 2a06923879)
2021-11-09 23:14:28 +01:00
Sarah Alexander
8abf9ef1ff Scripts/UBRS: Open General Drakkisath's gates once he is defeated (#22462)
Closes #15769

(cherry picked from commit acdf238802)
2021-11-09 23:10:51 +01:00
Shauren
93c0075808 Build fix 2021-11-09 22:50:02 +01:00
Treeston
f4ae292123 Core/Chat: Validate UTF8 in chat messages
(cherry picked from commit e5d63bc5b0)
2021-11-09 22:47:47 +01:00
Treeston
b321d05386 Core/Chat: Fix chat filter to not block certain non-ASCII characters
(cherry picked from commit b4258ca4d9)
2018-09-18 16:55:58 +02:00
Treeston
0d7d41ed4f Core/Chat: Some more chat filtering cleanup:
* Always filter control characters
* Clean up stripping of duplicate whitespace
* Adjust .conf.dist to accurately describe what the config settings do

(cherry picked from commit e50344b6df)
2018-09-18 02:08:33 +02:00
Treeston
5fe69351b0 Core/Chat: Some hyperlink follow-ups:
* Ignore messages containing invalid links again instead of trying to sanitize them. Closes #22451.
* No longer filter messages on the addon channel. Closes #22450.

(cherry picked from commit e858706270)
2018-09-18 01:28:57 +02:00
Treeston
f62a70e55a Core/Chat: Fix validation of tradeskill recipes that belong to multiple skill lines
(cherry picked from commit 2dc174029c)
2018-09-17 21:29:07 +02:00
DanVS
28cb2af1c5 Core/Scripts: Unify Chrono Literals (#22420)
* Unify Chrono Literals

* Retire IN_MILLISECONDS

* Build fix

* Build fix (sequel)

* Retire urand()

* Edge cases

* Build

* Whitespaces

* More edge cases

* Additional cases

(cherry picked from commit 5b0f4009df)
2021-11-09 00:26:59 +01:00
Treeston
e8e8e4b9d6 Core/Player: Delay resurrection on release for unreachable maps until teleport has completed. Closes #21481.
(cherry picked from commit 28591fd165)
2021-11-08 23:57:28 +01:00
Treeston
7c062db94b Core/Player: Clean up duel related code. Fix a check for abusive client behavior, sanitize pointer usage, code style. Closes #22374.
(cherry picked from commit 003cc56d70)
2021-11-08 23:49:15 +01:00
Treeston
5ed891a0f0 Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything.
(cherry picked from commit 97ade1321b)
2021-11-08 23:18:32 +01:00
Shauren
4c2313a44b Core/Misc: Re-generate HotfixDatabase.cpp 2021-11-08 23:08:33 +01:00
Meji
ebc52afa0a Core/BattlePets: Don't permanently learn battle pet summoning spells (#27201)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-08 22:29:53 +01:00
funjoker
3ce041e541 Misc: Update chr_races_locale field names too 2021-11-08 19:20:07 +01:00
Seyden
107f5ce0a4 Core/Auras: Implement SpellAuraInterruptFlags2::Ground and SpellAuraInterruptFlags2::Swimming (#27193) 2021-11-08 10:16:55 +01:00