Commit Graph

34276 Commits

Author SHA1 Message Date
Giacomo Pozzoni
96dc110f4a 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
2021-07-24 14:50:30 +02:00
Ovah
48f63eda90 Core/Spawns: prevent spawn groups from bypassing spawnMask restrictions (#26711)
* spawn groups have been able to spawn for all difficulties even when they should be restricted to a single difficulty only
2021-07-24 14:49:21 +02:00
Gildor
bd6de8eb61 Core/Spells: defined and implemented SPELL_ATTR7_CANT_DODGE, SPELL_ATTR7_CANT_PARRY and SPELL_ATTR7_CANT_MISS (#26742) 2021-07-24 14:48:57 +02:00
offl
ba4f2e5a83 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 2
Ref #26728
2021-07-24 02:16:10 +03:00
Freeman256
caf68840b9 DB/Locales: Add missing ruRU texts (Part 7)
Closes #26732
2021-07-23 18:51:37 +03:00
offl
085a8593a5 DB/Locales: Add more missing gameobject locales 2021-07-23 18:50:37 +03:00
offl
87a4bc38a9 DB/Locales: Add some missing gameobject locales 2021-07-23 00:12:58 +03:00
offl
e41df9f84b DB/Locales: Add gameobject_template_locale.castBarCaption 2021-07-22 17:48:53 +03:00
jackpoz
3f08c16749 Core/Unit: Add more logs for #26325
Add more logs to try spotting the cause of #26325 . It might be that a minion is added to a owner that is not in world.
Report any issue with minions/pets that contain the log.
2021-07-21 20:49:37 +02:00
Trulsrock
657970fb69 Added from_hex for OpenSSL version parsing (#26730) 2021-07-21 20:00:49 +02:00
Jinnaix
39e1d293bf 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>
2021-07-21 19:57:01 +02:00
offl
b1e099228e DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 1
Ref #26728
2021-07-21 20:05:01 +03:00
dr-j
cc588d119a DB/Achievement: Add missing criteria to 'Disturbing the Peace'
Closes #26729
2021-07-21 20:04:33 +03:00
Jinnaix
b1b5bc650b DB/Creature: Fix Honor Hold Hellfire Event combat stuck
Closes #26726
2021-07-21 20:04:06 +03:00
jackpoz
60379cf2c1 Core/SAI: Temporarily allow SMART_ACTION_WP_START to specify parameter value 3 for reactState 2021-07-18 22:01:24 +02:00
robinsch
d1e913162e [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>
2021-07-18 14:29:02 +02:00
offl
2a8ff02cfb DB/Misc: Fix error introduced after 863635dbf9 2021-07-17 21:56:46 +03:00
Meji
47a4d58a98 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
2021-07-17 18:32:47 +02:00
jackpoz
5094363a94 Scripts/Commands: Fix ".server debug" crashing in some special conditions 2021-07-17 16:07:44 +02:00
Giacomo Pozzoni
8c42b3bd88 Core/Pet: Don't allow to tame pets that have already a owner (#26674) 2021-07-17 12:54:29 +02:00
Giacomo Pozzoni
aa7279df09 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.
2021-07-17 11:22:11 +02:00
offl
863635dbf9 Scripts/Molten Core: Update remaining scripts to new register model (2/2) (#26710) 2021-07-17 02:37:53 +03:00
offl
09da8dae0e Scripts/Molten Core: Update remaining scripts to new register model (1/2) (#26709) 2021-07-17 02:37:43 +03:00
offl
514519d33e Scripts/ToC: Update Twin Val'kyr to new register model (#26708) 2021-07-17 02:37:08 +03:00
offl
d7d27ff95c Scripts/ToC: Update remaining scripts of Beasts of Northrend to new register model (#26707) 2021-07-17 02:36:54 +03:00
offl
60f9847f66 Scripts/ToC: Update Faction Champions to new register model (#26706) 2021-07-17 02:36:38 +03:00
offl
fa85face47 Scripts/ToC: Update Anub'arak to new register model (#26705) 2021-07-17 02:36:29 +03:00
offl
da1b32db8b Scripts/Azjol Nerub: Update Krik'thir to new register model (#26704) 2021-07-17 02:36:03 +03:00
offl
da7dc2f8ad Scripts/Azjol Nerub: Update Hadronox to new register model (#26703) 2021-07-17 02:35:49 +03:00
TDB Release
a47926ceab TDB 335.21071 - 2021/07/15 TDB335.21071 2021-07-15 07:35:10 +00:00
offl
24bd519f5c Scripts/FoS: Update remaining scripts to new register model (#26700) 2021-07-15 01:55:10 +03:00
offl
f91e6c6b3b Scripts/Ruby Sanctum: Update instance scripts to new register model (#26699) 2021-07-15 01:54:08 +03:00
offl
d7f80132c9 Scripts/Ruby Sanctum: Update Saviana to new register model (#26698) 2021-07-15 01:53:58 +03:00
offl
6f8a7c5641 Scripts/Ruby Sanctum: Update Zarithrian to new register model (#26697) 2021-07-15 01:53:48 +03:00
offl
4aee969228 Scripts/Obsidian Sanctum: Update Sartharion to new register model (#26696) 2021-07-15 01:53:27 +03:00
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