Commit Graph

39720 Commits

Author SHA1 Message Date
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
robinsch
5f38fd2f2d Core/Item: Fixed another possible container exploit due to invalid loading of stored loot items in DB (#26795)
(cherry picked from commit 1b9ee95253)
2022-03-12 14:36:31 +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
meji46
e9cc011bd9 DB/Quest: Correct reputation requirement for Banish the Demons
Closes #26779

(cherry picked from commit 4d11401377)
2022-03-12 14:09:01 +01:00
ModoX
0e846238b5 Core: Updated allowed build to 9.2.0.42698 2022-03-12 05:57:41 +01:00
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 b3449158b1)
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 ad4bc7cc1f)
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 372c84392b)
2022-03-12 01:16:36 +01:00
offl
ec1c958d01 DB/SAI: Remove last SMART_ACTION_SET_DYNAMIC_FLAG
(cherry picked from commit 6a0703de50)
2022-03-12 00:48:47 +01:00
offl
55be3026f3 DB/Creature: Update Proto-Drake Egg
(cherry picked from commit 0484ad2e87)
2022-03-12 00:48:14 +01:00
offl
813303a18f DB/SAI: Reduce wrong usage of Call For Help action
(cherry picked from commit 1a3e2b6ec6)
2022-03-12 00:33:25 +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 8fcf59f9db)
2022-03-12 00:25:49 +01:00
offl
984c2f8e8e DB/Creature: Update fields of some creatures
(cherry picked from commit 86ba92090a)
2022-03-12 00:23:35 +01:00
offl
13ebfd8836 DB/Quest: Rework 'Redeeming the Dead' (9685) & 'Redemption' (9600)
(cherry picked from commit 6728be43af)
2022-03-12 00:22:07 +01:00
offl
f44251d0b0 DB/Creature: Make the roach spawned in Maraudon immune to PC\NPC
One of kind

(cherry picked from commit 37f73a6e2b)
2022-03-11 23:48:04 +01:00
offl
ce87adc991 DB/Misc: Update some fields of creatures & quests
(cherry picked from commit 6eae715625)
2022-03-11 23:28:16 +01:00
dr-j
5353c2f0a1 DB/Creature: Rework script of Celebras The Redeemed
Closes #26774

(cherry picked from commit 969bded76c)
2022-03-11 23:28:16 +01:00
offl
8ebce61e34 DB/Misc: Update some fields of creatures & quests
(cherry picked from commit 96a4802920)
2022-03-11 23:28:14 +01:00
offl
43ed29581e DB/Creature: Update some fields
(cherry picked from commit f42b80b739)
2022-03-11 21:56:20 +01:00
offl
d7f66aeac6 DB/Quest: Update some fields
(cherry picked from commit b5b61d9993)
2022-03-11 21:54:08 +01:00
offl
6717caa21d DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 7
Ref #26728

(cherry picked from commit e040155062)
2022-03-11 21:38:00 +01:00
jackpoz
84d327617a Core/SOAP: Fix memory leak on shutdown reported by ASan
(cherry picked from commit de4ccc7f27)
2022-03-11 21:20:26 +01:00
jackpoz
4f14cef5f3 Core/SOAP: Fix new/free mismatch reported by ASan
(cherry picked from commit 2a12e96d17)
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 <offl@users.noreply.github.com>
(cherry picked from commit 06b554c36e)
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 68bf7e6d12)
2022-03-11 20:50:36 +01:00
Gildor
62df5e860f Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603

(cherry picked from commit 621f3f50c2)
2022-03-11 20:50:33 +01:00
offl
851735d808 DB/Loot: Demon Kissed Sack
Closes #26757

(cherry picked from commit 5b6048b091)
2022-03-11 20:08:41 +01:00
offl
177b2f14f8 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 6
Ref #26728

(cherry picked from commit e6478aab68)
2022-03-11 19:58:39 +01:00
offl
f6d7facebf DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 5
Ref #26728

(cherry picked from commit 8b2ed153dd)
2022-03-11 19:54:13 +01:00
offl
480b37c0d9 DB/SAI: Ensure creature uses invoker as target for aggro texts (on DB side too)
(cherry picked from commit a45eb13e3e)
2022-03-11 19:53:50 +01:00
offl
32b229dc9a DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 4
Ref #26728

(cherry picked from commit 418e738961)
2022-03-11 19:39:31 +01:00
offl
aedaef66d9 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 3
Ref #26728

(cherry picked from commit 831d2b8cd7)
2022-03-11 19:39:00 +01:00
jackpoz
b420ef8ea9 Core/Misc: Fix static analysis issues
(cherry picked from commit f127f95917)
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 96dc110f4a)
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 48f63eda90)
2022-03-11 19:28:56 +01:00
offl
78e462cbec DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 2
Ref #26728

(cherry picked from commit ba4f2e5a83)
2022-03-11 19:26:04 +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 3f08c16749)
2022-03-11 19:09:40 +01:00
Trulsrock
65521a40d2 Added from_hex for OpenSSL version parsing (#26730)
(cherry picked from commit 657970fb69)
2022-03-11 19:08:48 +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
offl
1b22d75019 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 1
Ref #26728

(cherry picked from commit b1e099228e)
2022-03-11 19:07:06 +01:00
Jinnaix
d44d1f6309 DB/Creature: Fix Honor Hold Hellfire Event combat stuck
Closes #26726

(cherry picked from commit b1b5bc650b)
2022-03-11 19:05:20 +01:00
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
offl
a8dd1d1031 DB/Misc: Fix error introduced after 863635dbf9
(cherry picked from commit 2a8ff02cfb)
2022-03-11 18:47:22 +01:00