Commit Graph

6790 Commits

Author SHA1 Message Date
ccrs
f097b8ab74 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard

(cherry picked from commit b00486e108)
2022-03-13 16:21:10 +01:00
ccrs
c92003b0ab Build: fix no-pch build
(cherry picked from commit 994227fbb3)
2022-03-13 16:20:45 +01:00
ccrs
ec70cff006 Scripts/Ahnkahet: rescript Ahn'kahar Spell Flinger SAI + spell scripts + spelldifficulty_dbc entries
(cherry picked from commit 57fe05f270)
2022-03-13 16:19:47 +01:00
Shauren
9d437961a2 Scripts: Fix warnings introduced in 7360c2d156
(cherry picked from commit 50ab4254a3)
2022-03-13 14:27:30 +01:00
ccrs
eff9b5042d Scripts/Ahnkahet: implement Herald Volazj's Twisted Visage AI + small corrections to Herald's own AI
sorry about indentation
timers are guessed
summoning logic unchanged, remains not blizzlike
visage's spells missing spelldifficulty_dbc entries

(cherry picked from commit 7360c2d156)
2022-03-13 14:15:01 +01:00
Shauren
bbde3b54b9 Scripts/Commands: Avoid copies of RBACCommandData
Silences the PVS V1002 warning:
"The 'RBACCommandData' class, containing pointers, constructor and destructor, is copied by the automatically generated copy constructor."

(cherry picked from commit 7c7b4760d8)
2022-03-13 00:35:31 +01:00
ccrs
e1115e30c2 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script
(cherry picked from commit f8f50bef50)
2022-03-13 00:23:10 +01:00
ccrs
a0736c4544 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script
(cherry picked from commit f087850508)
2022-03-13 00:22:28 +01:00
Keader
6bc9674167 Scripts/Misc: Moved Submerge script to spell_generic
(cherry picked from commit 9153ad621e)
2022-03-13 00:17:25 +01:00
Carbenium
9bee960880 Scripts/Commands: Convert argument parsing of instance commands to new system
(cherry picked from commit b90a4f1798)
2022-03-13 00:15:35 +01:00
Keader
105e2e3358 Scripts/Ulduar: Moved UNIT_FLAG_NOT_SELECTABLE to inside XT002 Script
Spell is used for some world quests too

(cherry picked from commit 8014054ef9)
2022-03-12 23:51:32 +01:00
Carbenium
b1847b1fd9 Scripts/Commands: Convert title commands to new system
(cherry picked from commit cd1ef2de06)
2022-03-12 23:06:24 +01:00
Jinnaix
e7682d8e08 Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit

* corrections

Closes #23577

(cherry picked from commit 6bcda49e98)
2022-03-12 23:00:30 +01:00
Carbenium
b3b6e2715e Scripts/Commands: Convert rbac commands to new system
Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.

Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);

(cherry picked from commit f620befc37)
2022-03-12 23:00:17 +01:00
Shauren
becc9ba1fc Core/Misc: Fix mac build 2022-03-12 18:35:59 +01:00
offl
4a867dbf2d DB/Quest: Rework 'Relief for the Fallen' (12937)
(cherry picked from commit 1c174987c8)
2022-03-12 15:39:51 +01:00
ccrs
de72593821 Scripts/Ahnkahet: corrections to boss_elder_nadox script
(cherry picked from commit 2870a99d1a)
2022-03-12 15:37:10 +01:00
offl
2642cf3666 DB/Quest: Rework 'The Tome of Divinity' (1783,1786)
(cherry picked from commit 2d2b73c905)
2022-03-12 15:09:46 +01:00
ccrs
a13def29e8 Build: fix no-pch build
(cherry picked from commit 71b5466cd7)
2022-03-12 14:49:07 +01:00
ccrs
51d842a8bd Scripts/Ahnkahet: corrections to npc_amanitar_mushrooms script
(cherry picked from commit 9c7f2544c8)
2022-03-12 14:48:45 +01:00
offl
ac82e23fa3 Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 8186e6deca)
2022-03-12 14:48:03 +01:00
Gildor
20c8698bc4 Scripts/World: improve Training Dummy script (#26778)
(cherry picked from commit c7ae9d761a)
2022-03-12 14:45:19 +01:00
Giacomo Pozzoni
71c2f0af46 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts

(cherry picked from commit 0800ab20a8)
2022-03-12 14:45:04 +01:00
offl
ca472c1871 Scripts/SWP: Update M'uru to new register model (#26793)
(cherry picked from commit ec3b571eca)
2022-03-12 14:36:20 +01:00
offl
4830612953 Scripts/BM: Update scripts to new register model (#26792)
(cherry picked from commit 365a95bc94)
2022-03-12 14:31:43 +01:00
offl
cb645fd2f8 Scripts/BFD: Update scripts to new register model (#26791)
(cherry picked from commit 97140cd195)
2022-03-12 14:30:24 +01:00
offl
2185692f62 Scripts/Spells: Update quest spell scripts to new register model (#26790)
(cherry picked from commit bc26ddaf8c)
2022-03-12 14:17:19 +01:00
Giacomo Pozzoni
51f0294c18 Core/DBLayer: Add QueueSize() method (#26733)
* Core/DBLayer: Add QueueSize() method

Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command

* Make the code less threadsafe

* Send data to InfluxDB

* Update grafana dashboard

(cherry picked from commit 96dc110f4a)
2022-03-11 19:32:22 +01:00
Jinnaix
6cc8bebdd6 Game/Event: zone_hellfire_peninsula.cpp (#26724)
* Game/Event: zone_hellfire_peninsula.cpp
Convert script timer into game event

* _events.Reset(); - just in case

* Rename 9999_99_99_99_world.sql to 2021_07_21_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 39e1d293bf)
2022-03-11 19:08:22 +01:00
jackpoz
c2b8c13a98 Scripts/Commands: Fix ".server debug" crashing in some special conditions
(cherry picked from commit 5094363a94)
2022-03-11 18:37:13 +01:00
Giacomo Pozzoni
6fd7cd9dc9 Core/Pet: Don't allow to tame pets that have already a owner (#26674)
(cherry picked from commit 8c42b3bd88)
2022-03-11 18:37:02 +01:00
Giacomo Pozzoni
c9e685bd9a Core/SAI: Warn when an unused parameter is set in the database (#26628)
* Core/SAI: Warn when an unused parameter is set in the database

* Warn when an unused parameter is set in the database as all unused parameters are supposed to be set to 0.

* Remove unused struct from union.

* Add a new struct simpleTalk for SMART_ACTION_SIMPLE_TALK instead of reusing only some fields of struct talk from SMART_ACTION_TALK

* Add addAura and flag structs to be used instead of generic ones to match the parameters used by actions

* Add randRangeTimedActionList struct to be used instead of generic ones to match the parameters used by actions.

* Remove unused action structs.

(cherry picked from commit aa7279df09)
2022-03-11 18:35:58 +01:00
offl
1b0435b6ea Scripts/Molten Core: Update remaining scripts to new register model (2/2) (#26710)
(cherry picked from commit 863635dbf9)
2022-03-11 18:20:35 +01:00
offl
31cbd3b467 Scripts/Molten Core: Update remaining scripts to new register model (1/2) (#26709)
(cherry picked from commit 09da8dae0e)
2022-03-11 18:18:59 +01:00
offl
bdae746106 Scripts/ToC: Update Twin Val'kyr to new register model (#26708)
(cherry picked from commit 514519d33e)
2022-03-11 18:17:17 +01:00
offl
1581d0aa0e Scripts/ToC: Update remaining scripts of Beasts of Northrend to new register model (#26707)
(cherry picked from commit d7d27ff95c)
2022-03-11 17:49:14 +01:00
offl
54cc2022d1 Scripts/ToC: Update Faction Champions to new register model (#26706)
(cherry picked from commit 60f9847f66)
2022-03-11 17:48:54 +01:00
offl
7961d8ecb8 Scripts/ToC: Update Anub'arak to new register model (#26705)
(cherry picked from commit fa85face47)
2022-03-11 17:40:16 +01:00
offl
e01a432fb1 Scripts/Azjol Nerub: Update Krik'thir to new register model (#26704)
(cherry picked from commit da1b32db8b)
2022-03-11 17:37:17 +01:00
offl
a4843f65a2 Scripts/Azjol Nerub: Update Hadronox to new register model (#26703)
(cherry picked from commit da7dc2f8ad)
2022-03-11 17:37:09 +01:00
offl
c3c4571946 Scripts/FoS: Update remaining scripts to new register model (#26700)
(cherry picked from commit 24bd519f5c)
2022-03-11 17:04:41 +01:00
offl
77f03727a5 Scripts/Ruby Sanctum: Update instance scripts to new register model (#26699)
(cherry picked from commit f91e6c6b3b)
2022-03-11 17:02:55 +01:00
offl
61d00b02e3 Scripts/Ruby Sanctum: Update Saviana to new register model (#26698)
(cherry picked from commit d7f80132c9)
2022-03-11 17:02:09 +01:00
offl
960999b53d Scripts/Ruby Sanctum: Update Zarithrian to new register model (#26697)
(cherry picked from commit 6f8a7c5641)
2022-03-11 17:01:26 +01:00
offl
9797c64a97 Scripts/Obsidian Sanctum: Update Sartharion to new register model (#26696)
(cherry picked from commit 4aee969228)
2022-03-11 17:00:49 +01:00
offl
94ff33894d Scripts/ZG: Update scripts to new register model (5/5) (#26695)
(cherry picked from commit 7f853ea735)
2022-03-11 16:59:03 +01:00
offl
1dd989a8d6 Scripts/ZG: Update scripts to new register model (4/5) (#26694)
(cherry picked from commit 8230f937f1)
2022-03-11 16:56:28 +01:00
offl
3af9279ab7 Scripts/ZG: Update scripts to new register model (2/5) (#26692)
(cherry picked from commit 5e240a4a50)
2022-03-11 16:46:40 +01:00
offl
17d3d1087c Scripts/BWL: Update scripts to new register model (3/3) (#26691)
(cherry picked from commit 572b480a2e)
2022-03-11 16:43:55 +01:00
offl
62879fec9c Scripts/BWL: Update scripts to new register model (2/3) (#26690)
(cherry picked from commit f7ecd86a24)
2022-03-11 16:42:11 +01:00