Commit Graph
27833 Commits
Author SHA1 Message Date
ModoX 53dcc8f053 Core/PacketIO: Fixed TransfertAbort size for SMSG_TRANSFER_ABORTED 2022-03-12 05:25:32 +01:00
offl 842eb3bdd7 Core/SAI: Remove SMART_ACTION_SET_DYNAMIC_FLAG (#26783)
(cherry picked from commit b3449158b1978963abf93f5041134226d1e7e0e6)
2022-03-12 01:20:06 +01:00
Meji 74645553be Core/Objects: Units possessing another ones must use the detection of the latter (#26702)
* Core/Objects: Units with invisibility auras can see units that cannot detect them

* Core/Objects: A unit that possess another one, uses the detection of the latter

* GCC: Avoid ambiguous 'else'

Closes #23528

(cherry picked from commit ad4bc7cc1f3d3f541219e9077238743c73130108)
2022-03-12 01:17:00 +01:00
Gildor b6615a45eb Core/Combat: Allow refresh pvp combat when assisting a unit that is in pvp combat (#26773)
(cherry picked from commit 372c84392b064d3308ad49f5aca5e3223de59b66)
2022-03-12 01:16:36 +01:00
jackpoz aaa7596e01 Core/Misc: Fix build on systems where size_t is not defined as uintXX_t, i.e. Mac
(cherry picked from commit 8fcf59f9db929e94b1a6d2c75c1905f0a51dcddd)
2022-03-12 00:25:49 +01:00
jackpoz 84d327617a Core/SOAP: Fix memory leak on shutdown reported by ASan
(cherry picked from commit de4ccc7f2785f61ea1f6eb514d948b73a8ddfb98)
2022-03-11 21:20:26 +01:00
jackpoz 4f14cef5f3 Core/SOAP: Fix new/free mismatch reported by ASan
(cherry picked from commit 2a12e96d1739a12c5ecfe375eabf5343557cb592)
2022-03-11 21:20:17 +01:00
offl 53d19b09f4 Core/Creature: rename CREATURE_FLAG_EXTRA_IGNORE_COMBAT into CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT (#26762)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 06b554c36e8f196667e0a72820b37b9dc25bdde0)
2022-03-11 21:20:04 +01:00
Giacomo Pozzoni 5afa32e9a7 Core/Network: Add option to allow/disallow saving IP addresses to database (#26723)
Add config option AllowLoggingIPAddressesInDatabase to authserver and worldserver to specify if IP addresses can be logged or not to the database

(cherry picked from commit 68bf7e6d12e1689d688db32c05066b8832922c67)
2022-03-11 20:50:36 +01:00
Gildor 62df5e860f Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603

(cherry picked from commit 621f3f50c2fa2ce098ff13ad12a0bbc772300e2f)
2022-03-11 20:50:33 +01:00
jackpoz b420ef8ea9 Core/Misc: Fix static analysis issues
(cherry picked from commit f127f959179a69ec335c5031417e7b366e685373)
2022-03-11 19:33:13 +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 96dc110f4a353871ac74c82ff4b1bcc4c34156f3)
2022-03-11 19:32:22 +01:00
Ovah 21177487ea 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

(cherry picked from commit 48f63eda9029d4fe16b7a350059c8e26ba8484ce)
2022-03-11 19:28:56 +01:00
jackpoz 98e4bc2d3d 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.

(cherry picked from commit 3f08c16749984252e657d46cfaa1ef50cd3f5a15)
2022-03-11 19:09:40 +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 <[email protected]>
(cherry picked from commit 39e1d293bf5c26c26d26fe9509189a67ce0c4f37)
2022-03-11 19:08:22 +01:00
jackpoz fc3e26fdfe Core/SAI: Temporarily allow SMART_ACTION_WP_START to specify parameter value 3 for reactState
(cherry picked from commit 60379cf2c15d9cee1414fbaec2b217b89b8dc67e)
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 <[email protected]>
(cherry picked from commit d1e913162e0a96918c70ba4ec3f62f4186ee4707)
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 47a4d58a982d5c22fbcdd07cac9dae5fd1bc52e4)
2022-03-11 18:45:58 +01:00
jackpoz c2b8c13a98 Scripts/Commands: Fix ".server debug" crashing in some special conditions
(cherry picked from commit 5094363a9432966b00b9fa79c0a353746cd24378)
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 8c42b3bd88fe7bd3e959664312e818e25996873a)
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 aa7279df095d086f7223a1fa13d11a0e58f1cf10)
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 863635dbf982394716d13608659ad81aa28812d3)
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 09da8dae0e52ff9c7370d3bdc9e38a05d2c05ee0)
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 514519d33e9148335f537f1009b2605d5623434e)
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 d7d27ff95caaab747c405a2648b986cc474e440d)
2022-03-11 17:49:14 +01:00
offl 54cc2022d1 Scripts/ToC: Update Faction Champions to new register model (#26706)
(cherry picked from commit 60f9847f667d1c485663c5c34b3f550a50ecb60f)
2022-03-11 17:48:54 +01:00
offl 7961d8ecb8 Scripts/ToC: Update Anub'arak to new register model (#26705)
(cherry picked from commit fa85face475fef883c1284d8af824d51072f736d)
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 da1b32db8b1cd4c2ef6fba0fa4949bde0e3b7091)
2022-03-11 17:37:17 +01:00
offl a4843f65a2 Scripts/Azjol Nerub: Update Hadronox to new register model (#26703)
(cherry picked from commit da7dc2f8ad8425565d48a2fbc3dd923b09359db6)
2022-03-11 17:37:09 +01:00
offl c3c4571946 Scripts/FoS: Update remaining scripts to new register model (#26700)
(cherry picked from commit 24bd519f5ccbf444434aec50e956d8a904dac4c8)
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 f91e6c6b3bb2719f17b082df4a763e35c0ba8922)
2022-03-11 17:02:55 +01:00
offl 61d00b02e3 Scripts/Ruby Sanctum: Update Saviana to new register model (#26698)
(cherry picked from commit d7f80132c96526a3816af34dcf6e7c3443e183cc)
2022-03-11 17:02:09 +01:00
offl 960999b53d Scripts/Ruby Sanctum: Update Zarithrian to new register model (#26697)
(cherry picked from commit 6f8a7c5641081a087cb1399665cac72fa4aeb0c2)
2022-03-11 17:01:26 +01:00
offl 9797c64a97 Scripts/Obsidian Sanctum: Update Sartharion to new register model (#26696)
(cherry picked from commit 4aee96922884433b55e4693df84ed471de35c0d7)
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 7f853ea735bdb8ee27cd4cc002da67f1fbc81d71)
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 8230f937f1c4a9df86f503364e7c5e0b205eb8b1)
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 5e240a4a50fa4c8075b7dcf8913f1723bdc682b1)
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 572b480a2e030e55ac5d1c2ded1b72c5c7ade5cd)
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 f7ecd86a248bec990b994bcec459742923eb1087)
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 e4b42314c0cb6f60b7cef9d6d3e0725e7dd3c6c4)
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 67bd11f5ffe17cb2daeb5074d92ca410eb269b09)
2022-03-11 16:25:12 +01:00
offl b4b4d55a4e Scripts/SFK: Update Apothecary Hummel to new register model (#26685)
(cherry picked from commit 60761136e757a0a7b2bbd1d9ee9f6d14fd74a8c4)
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 3d19a71ef2d565ba4913acd68779ee03db45ae3b)
2022-03-11 16:18:45 +01:00
offl 0a682fdd74 Scripts/OL: Update Onyxia to new register model (#26683)
(cherry picked from commit fc14d4f30a2d2ad94abb9aa1cd9a36a79810ee61)
2022-03-11 16:15:14 +01:00
offl 252ca85c7c Scripts/FoS: Update Bronjahm to new register model (#26682)
(cherry picked from commit 4f1fd20eafdd0712ee78630fad3d571af243866d)
2022-03-11 16:14:08 +01:00
offl 8b7e9c5f39 Scripts/Ruby Sanctum: Update Baltharus to new register model (#26681)
(cherry picked from commit 0265f17eae675f5dc076ca10b02b16e94cc1a04b)
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 8e0429d6abcdd2a1dc73b0e1d720afa393dfdd80)
2022-03-11 16:12:33 +01:00
offl fd82c69597 Scripts/MT: Update scripts to new register model (#26679)
(cherry picked from commit 661e7cca00ac863849ee05677e5d001c90bed0cc)
2022-03-11 15:48:13 +01:00
offl e141bd384d Scripts/SH: Update scripts to new register model (#26678)
(cherry picked from commit db1ec411cc91ea8b0caeb75e635077121d7dfa2c)
2022-03-11 15:47:57 +01:00