Commit Graph

34322 Commits

Author SHA1 Message Date
offl
8186e6deca Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-08-10 10:18:28 +02:00
Gildor
c7ae9d761a Scripts/World: improve Training Dummy script (#26778) 2021-08-09 22:36:14 +02:00
Giacomo Pozzoni
0800ab20a8 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts
2021-08-09 17:00:34 +02:00
robinsch
1b9ee95253 Core/Item: Fixed another possible container exploit due to invalid loading of stored loot items in DB (#26795) 2021-08-09 15:47:35 +02:00
offl
ec3b571eca Scripts/SWP: Update M'uru to new register model (#26793) 2021-08-09 14:18:24 +03:00
offl
365a95bc94 Scripts/BM: Update scripts to new register model (#26792) 2021-08-09 14:18:12 +03:00
offl
97140cd195 Scripts/BFD: Update scripts to new register model (#26791) 2021-08-09 14:18:02 +03:00
offl
bc26ddaf8c Scripts/Spells: Update quest spell scripts to new register model (#26790) 2021-08-09 14:17:43 +03:00
meji46
4d11401377 DB/Quest: Correct reputation requirement for Banish the Demons
Closes #26779
2021-08-08 15:13:43 +03:00
offl
b3449158b1 Core/SAI: Remove SMART_ACTION_SET_DYNAMIC_FLAG (#26783) 2021-08-08 14:30:29 +03:00
Meji
ad4bc7cc1f 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
2021-08-08 13:22:04 +02:00
Anton Popovichenko
ccf1932bc5 Core/Authserver: Remove redundant conversion during Reconnect Proof cmd (#26765) 2021-08-08 13:19:30 +02:00
Gildor
372c84392b Core/Combat: Allow refresh pvp combat when assisting a unit that is in pvp combat (#26773) 2021-08-08 13:18:08 +02:00
Gildor
39a1fd4890 Core/Spell: Fix Mage Frostfire bolt, now it will not put target into combat at expire (#26775) 2021-08-08 13:17:00 +02:00
offl
6a0703de50 DB/SAI: Remove last SMART_ACTION_SET_DYNAMIC_FLAG 2021-08-07 21:44:18 +03:00
offl
0484ad2e87 DB/Creature: Update Proto-Drake Egg 2021-08-07 21:43:58 +03:00
offl
1a3e2b6ec6 DB/SAI: Reduce wrong usage of Call For Help action 2021-08-07 21:43:43 +03:00
offl
a62a08d420 DB/Creature: Remove some hackily added type flags 2021-08-07 21:43:23 +03:00
jackpoz
8fcf59f9db Core/Misc: Fix build on systems where size_t is not defined as uintXX_t, i.e. Mac 2021-08-06 19:46:37 +02:00
offl
86ba92090a DB/Creature: Update fields of some creatures 2021-08-06 01:28:20 +03:00
offl
6728be43af DB/Quest: Rework 'Redeeming the Dead' (9685) & 'Redemption' (9600) 2021-08-05 18:34:28 +03:00
offl
37f73a6e2b DB/Creature: Make the roach spawned in Maraudon immune to PC\NPC
One of kind
2021-08-05 01:11:20 +03:00
offl
d058c8b980 DB/Creature: Update position of Alowicious Czervik 2021-08-05 01:11:00 +03:00
offl
6eae715625 DB/Misc: Update some fields of creatures & quests 2021-08-05 01:10:34 +03:00
dr-j
969bded76c DB/Creature: Rework script of Celebras The Redeemed
Closes #26774
2021-08-04 02:17:44 +03:00
offl
209de0a794 DB/Creature: Twilight Fire Guard 2021-08-04 00:16:05 +03:00
offl
96a4802920 DB/Misc: Update some fields of creatures & quests 2021-08-04 00:15:33 +03:00
offl
f42b80b739 DB/Creature: Update some fields 2021-08-02 23:36:19 +03:00
offl
b5b61d9993 DB/Quest: Update some fields 2021-08-02 23:35:53 +03:00
Felipe Trzaskowski
1f7c0790b6 Core/Misc: Fix dynamic scripts build when using libstdc++-11 (#26771) 2021-08-02 11:03:42 +02:00
offl
e040155062 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 7
Ref #26728
2021-07-30 21:34:08 +03:00
jackpoz
de4ccc7f27 Core/SOAP: Fix memory leak on shutdown reported by ASan 2021-07-30 18:42:43 +02:00
jackpoz
2a12e96d17 Core/SOAP: Fix new/free mismatch reported by ASan 2021-07-30 17:54:46 +02:00
offl
06b554c36e 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>
2021-07-30 09:36:38 +02:00
jackpoz
869fb748cd Core/Misc: Remove whitespace 2021-07-28 12:38:56 +02:00
jackpoz
e615e2ddef Core/MMAPs: Reduce chances of breaking tile connections
Reduce chances of breaking tile connections caused by floating point rounding issues.
2021-07-28 12:27:34 +02:00
Gildor
fece5bdbf3 Core/Quest: When removing an item required for a quest, update every quest in the quest log instead of stopping at the first objective that matches the removed item. (#26760)
Closes #25662
Closes #10586
2021-07-28 12:06:07 +02:00
Giacomo Pozzoni
68bf7e6d12 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
2021-07-28 11:44:24 +02:00
Gildor
621f3f50c2 Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603
2021-07-28 11:11:59 +02:00
offl
5b6048b091 DB/Loot: Demon Kissed Sack
Closes #26757
2021-07-28 01:10:55 +03:00
offl
e6478aab68 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 6
Ref #26728
2021-07-28 01:10:22 +03:00
offl
8b2ed153dd DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 5
Ref #26728
2021-07-26 02:08:42 +03:00
offl
a45eb13e3e DB/SAI: Ensure creature uses invoker as target for aggro texts (on DB side too) 2021-07-25 16:54:07 +03:00
offl
418e738961 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 4
Ref #26728
2021-07-25 04:06:13 +03:00
offl
831d2b8cd7 DB/SAI: Prepare SMART_ACTION_WP_START to remove reactState param pt 3
Ref #26728
2021-07-25 03:01:49 +03:00
jackpoz
f127f95917 Core/Misc: Fix static analysis issues 2021-07-24 15:38:04 +02:00
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