Commit Graph

23218 Commits

Author SHA1 Message Date
offl
7f853ea735 Scripts/ZG: Update scripts to new register model (5/5) (#26695) 2021-07-14 22:24:36 +03:00
offl
8230f937f1 Scripts/ZG: Update scripts to new register model (4/5) (#26694) 2021-07-14 22:24:26 +03:00
offl
43055f4244 Scripts/ZG: Update scripts to new register model (3/5) (#26693) 2021-07-14 22:24:16 +03:00
offl
5e240a4a50 Scripts/ZG: Update scripts to new register model (2/5) (#26692) 2021-07-14 22:24:06 +03:00
offl
572b480a2e Scripts/BWL: Update scripts to new register model (3/3) (#26691) 2021-07-14 22:23:17 +03:00
offl
f7ecd86a24 Scripts/BWL: Update scripts to new register model (2/3) (#26690) 2021-07-14 22:22:46 +03:00
offl
99578abd01 Scripts/The Eye: Migrate Al'ar's fire immunity to DB
Nope, that apply-remove hack is not needed
2021-07-13 15:42:13 +03:00
offl
e4b42314c0 Scripts/The Eye: Reorder Kael'thas' scripts 2021-07-13 15:39:28 +03:00
offl
67bd11f5ff Scripts/BWL: Update scripts to new register model (1/3) (#26686) 2021-07-13 14:16:00 +03:00
offl
60761136e7 Scripts/SFK: Update Apothecary Hummel to new register model (#26685) 2021-07-13 14:15:51 +03:00
offl
3d19a71ef2 Scripts/ZG: Update scripts to new register model (1/5) (#26684) 2021-07-13 14:15:41 +03:00
offl
fc14d4f30a Scripts/OL: Update Onyxia to new register model (#26683) 2021-07-13 14:15:32 +03:00
offl
4f1fd20eaf Scripts/FoS: Update Bronjahm to new register model (#26682) 2021-07-13 14:15:19 +03:00
offl
0265f17eae Scripts/Ruby Sanctum: Update Baltharus to new register model (#26681) 2021-07-13 05:16:55 +03:00
offl
8e0429d6ab Scripts/Obsidian Sanctum: Update instance scripts to new register model (#26680) 2021-07-13 05:16:45 +03:00
offl
661e7cca00 Scripts/MT: Update scripts to new register model (#26679) 2021-07-13 05:16:32 +03:00
offl
db1ec411cc Scripts/SH: Update scripts to new register model (#26678) 2021-07-13 05:16:16 +03:00
offl
4bca9c990d Scripts/SL: Update scripts to new register model (#26677) 2021-07-13 05:16:03 +03:00
offl
b15359a1e2 Scripts/BT: Remove unconfirmed parts of Teron's intro (#26670) 2021-07-11 14:59:25 +03:00
offl
8cbedef11b Scripts/The Eye: Update Kael'thas to new register model (#26669) 2021-07-11 14:58:14 +03:00
offl
0ddcfbf8a0 Scripts/Spells: Update Winter Veil holiday scripts to new register model (#26668) 2021-07-11 14:57:37 +03:00
offl
160d477811 Scripts/Spells: Update rogue scripts to new register model (#26667) 2021-07-11 14:57:28 +03:00
offl
9791f74ab9 Scripts/Spells: Update warlock scripts to new register model (#26666) 2021-07-11 14:57:16 +03:00
offl
741ebf8144 Scripts/Spells: Update mage scripts to new register model (#26665) 2021-07-11 14:57:05 +03:00
offl
31cc837005 Scripts/Spells: Update paladin scripts to new register model (#26664) 2021-07-11 14:56:28 +03:00
offl
484531d1b8 Scripts/Spells: Update death knight scripts to new register model (#26663) 2021-07-11 14:56:17 +03:00
offl
2681143141 Scripts/Pet: Update pet scripts to new register model (2/2) (#26662) 2021-07-11 14:56:06 +03:00
offl
51c94fed9a Scripts/Pet: Update pet scripts to new register model (1/2) (#26661) 2021-07-11 14:55:47 +03:00
jackpoz
40f4b141bd Core/Unit: Include m_Controlled in crashlogs 2021-07-11 11:55:23 +02:00
Chaouki Dhib
4806b3a860 Core:Movement: Replace assert by logging and returning in case of unexpected case in WorldSession::ReadMovementInfo 2021-07-04 23:00:55 +02:00
Chaouki Dhib
722bd7e0e5 Core/Movement: Add missing change to the unit validation of ACK handlers 2021-07-04 22:25:37 +02:00
Chaouki Dhib
7314d5b992 Core/Movement: Fix crash that occurs when ReadMovementInfo is called with mi.guid is not set 2021-07-04 22:24:03 +02:00
Chaouki Dhib
ef113ce673 Revert "Core/Movement: Better handle cases of passing incomplete data to ReadMovementInfo()"
This reverts commit 0c90970b06.
2021-07-04 22:01:22 +02:00
jackpoz
0c90970b06 Core/Movement: Better handle cases of passing incomplete data to ReadMovementInfo()
ReadMovementInfo() checks MovementInfo::guid but that field is not always set by the callers. An error is logged in that case, skipping triggering an assert.
2021-07-04 20:06:21 +02:00
jackpoz
479c636612 Core/Movement: Include GetGameClientMovingMe() details in assert logs 2021-07-04 19:40:28 +02:00
Chaouki Dhib
fdbff48808 Core/Movement: Fix movement handler crash during ReadMovementInfo check (#26644)
* Core/Movement: Fix movement handler crash during ReadMovementInfo check

* fix noph build

* add an assert
2021-07-04 18:49:30 +02:00
Peter Keresztes Schmidt
3bcda5acf4 Scripts/SholazarBasin: Fix a possible nullptr dereference issue found by coverity (#26648) 2021-07-03 12:08:30 +02:00
Carbenium
6b9afac82f Scripts/Commands: Convert misc command table to new system 2021-06-28 00:45:44 +02:00
Carbenium
5a5b232a44 Scripts/Commands: Convert honor command table to new system 2021-06-28 00:44:44 +02:00
Giacomo Pozzoni
c8ca48823d 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
2021-06-26 14:21:18 +02:00
Giacomo Pozzoni
84c8d21ad3 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)
2021-06-25 20:44:28 +02:00
Carbenium
c08f086a02 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
2021-06-24 22:50:57 +02:00
Kelno
17ed3fd1dc Core/Misc: Clear unused undef leftover in a refactor (#26616)
Previously this function was using a macro that was #undef at the end of the function. Since then it uses a lambda function and the undef is not needed anymore.
2021-06-22 16:30:33 +02:00
Giacomo Pozzoni
5ae2a0f47d Common/Misc: Replace old macros with modern C++ attributes (#26613) 2021-06-20 16:52:24 +02:00
jackpoz
33dace231c Core/Misc: Fix issues reported by static analysis 2021-06-20 13:11:53 +02:00
Gildor
5446209b89 Scripts/Commands: Minor improvements in .pinfo and .unban character commands (#26586)
* Scripts/Commands: Minor improvements in .pinfo and .unban character commands
2021-06-20 12:08:12 +02:00
shenhuyong
9b05c3967b Fix kick after map changed and speed changed 2021-06-19 21:17:42 +02:00
Kelno
c3a013c499 Core/Config:Remove now unused CONFIG_SET_SHAPASSHASH config (#26606)
This is a leftover from bcdbdd6f23
2021-06-19 16:02:05 +02:00
jackpoz
5628ca7f7c Core/SAI: Allow SMART_ACTION_SUMMON_CREATURE to summon more than 1 creature
Add 6th parameter "count" to SMART_ACTION_SUMMON_CREATURE action to summon more than 1 creature. For backward compatibility, a value of 0 will be treated as 1.
2021-06-17 19:47:50 +02:00
Giacomo Pozzoni
38a661b8db Core/Misc: Fix no-pch build 2021-06-17 11:45:21 +02:00