Commit Graph

27818 Commits

Author SHA1 Message Date
jackpoz
fc3e26fdfe Core/SAI: Temporarily allow SMART_ACTION_WP_START to specify parameter value 3 for reactState
(cherry picked from commit 60379cf2c1)
2022-03-11 19:03:36 +01:00
robinsch
0910bca34c [Exploit/Dupe] Container item (#26689)
* Core/Item: Fixed possible dupe with container items containing non unique non stackable items

* Fixed build

* Update sql script and related base structure

Co-authored-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit d1e913162e)
2022-03-11 19:03:12 +01:00
Meji
8ee432b1f0 Core/Spells: PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0) (#26701)
* Core/Spells: PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0)

* Use enum

(cherry picked from commit 47a4d58a98)
2022-03-11 18:45:58 +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
Shauren
a7cd2bce1f Scripts/Tempest Keep: Remove Al'ar fire immunity 2022-03-11 16:37:56 +01:00
offl
9ca1b8f127 Scripts/The Eye: Reorder Kael'thas' scripts
(cherry picked from commit e4b42314c0)
2022-03-11 16:27:07 +01:00
offl
6435b8cbc9 Scripts/BWL: Update scripts to new register model (1/3) (#26686)
(cherry picked from commit 67bd11f5ff)
2022-03-11 16:25:12 +01:00
offl
b4b4d55a4e Scripts/SFK: Update Apothecary Hummel to new register model (#26685)
(cherry picked from commit 60761136e7)
2022-03-11 16:24:10 +01:00
offl
833331c12e Scripts/ZG: Update scripts to new register model (1/5) (#26684)
(cherry picked from commit 3d19a71ef2)
2022-03-11 16:18:45 +01:00
offl
0a682fdd74 Scripts/OL: Update Onyxia to new register model (#26683)
(cherry picked from commit fc14d4f30a)
2022-03-11 16:15:14 +01:00
offl
252ca85c7c Scripts/FoS: Update Bronjahm to new register model (#26682)
(cherry picked from commit 4f1fd20eaf)
2022-03-11 16:14:08 +01:00
offl
8b7e9c5f39 Scripts/Ruby Sanctum: Update Baltharus to new register model (#26681)
(cherry picked from commit 0265f17eae)
2022-03-11 16:13:23 +01:00
offl
ea19fda6a4 Scripts/Obsidian Sanctum: Update instance scripts to new register model (#26680)
(cherry picked from commit 8e0429d6ab)
2022-03-11 16:12:33 +01:00
offl
fd82c69597 Scripts/MT: Update scripts to new register model (#26679)
(cherry picked from commit 661e7cca00)
2022-03-11 15:48:13 +01:00
offl
e141bd384d Scripts/SH: Update scripts to new register model (#26678)
(cherry picked from commit db1ec411cc)
2022-03-11 15:47:57 +01:00
offl
ea5823151a Scripts/SL: Update scripts to new register model (#26677)
(cherry picked from commit 4bca9c990d)
2022-03-11 15:47:43 +01:00
offl
b0745fab33 Scripts/BT: Remove unconfirmed parts of Teron's intro (#26670)
(cherry picked from commit b15359a1e2)
2022-03-11 15:44:01 +01:00
offl
09e358076e Scripts/The Eye: Update Kael'thas to new register model (#26669)
(cherry picked from commit 8cbedef11b)
2022-03-11 15:41:23 +01:00
offl
d829214080 Scripts/Spells: Update Winter Veil holiday scripts to new register model (#26668)
(cherry picked from commit 0ddcfbf8a0)
2022-03-11 15:37:35 +01:00
Shauren
8a1e635e6a Scripts/Spells: Update warlock scripts to new register model 2022-03-11 15:37:13 +01:00
Shauren
54974d3113 Scripts/Spells: Update paladin scripts to new register model 2022-03-11 15:28:25 +01:00
offl
b42e5d4251 Scripts/Pet: Update pet scripts to new register model (2/2) (#26662)
(cherry picked from commit 2681143141)
2022-03-11 15:25:29 +01:00
offl
72ea274df8 Scripts/Pet: Update pet scripts to new register model (1/2) (#26661)
(cherry picked from commit 51c94fed9a)
2022-03-11 15:25:17 +01:00
jackpoz
779053ab90 Core/Unit: Include m_Controlled in crashlogs
(cherry picked from commit 40f4b141bd)
2022-03-11 15:23:48 +01:00
Peter Keresztes Schmidt
28a7ca9183 Scripts/SholazarBasin: Fix a possible nullptr dereference issue found by coverity (#26648)
(cherry picked from commit 3bcda5acf4)
2022-03-11 14:33:57 +01:00
Carbenium
7b2ff1c1fc Scripts/Commands: Convert misc command table to new system
(cherry picked from commit 6b9afac82f)
2022-03-11 14:08:17 +01:00
Carbenium
e3730b7847 Scripts/Commands: Convert honor command table to new system
(cherry picked from commit 5a5b232a44)
2022-03-11 13:53:58 +01:00
Giacomo Pozzoni
9c3dc31a37 Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too

(cherry picked from commit c8ca48823d)
2022-03-11 13:39:15 +01:00
Giacomo Pozzoni
a85e77b47a Core/SAI: Add a warning when a boolean value is outside of [0,1] range (#26608)
* Core/SAI: Add a warning when a boolean value is outside of [0,1] range

*  Replace boolean fields in SAI with SAIBool (from uint32)

(cherry picked from commit 84c8d21ad3)
2022-03-11 13:30:59 +01:00
Carbenium
169c6a522b Scripts/SholazarBasin: Make quest "Engineering a Disaster" more retail-like
* Use correct spells and add the appropriate spell scripts
* Use correct flame GOs
* Fix emotes of the escortee

(cherry picked from commit c08f086a02)
2022-03-11 12:54:22 +01:00