Commit Graph
39511 Commits
Author SHA1 Message Date
offl 47bcacd00a Core/Creature: Disallow nearly all non-static flags on DB side (#27024)
Closes #25764

(cherry picked from commit a88001938e1e77532c5db9596abc9efdef6d2257)
2022-03-19 23:30:15 +01:00
offl 2e3f240051 Scripts/Spells: Handle quest tame spells in spell script (#27022)
(cherry picked from commit 4441d42253d64ccd8fc9f78f1b44c851d6408312)
2022-03-19 23:14:52 +01:00
Giacomo Pozzoni 64a91288d6 Scripts/Commands: account onlinelist (#27004)
* Script/Commands: Remove sync db queries from ".account onlinelist"

* Add additional "account onlinelist" commands

- "account onlinelist ip" to filter by ip address
- "account onlinelist limit" to limit the output rows
- "account onlinelist map" to filter by map id
- "account onlinelist zone" to filter by zone id

* Update src/server/scripts/Commands/cs_account.cpp

(cherry picked from commit e3591b25a55d1d4dc642a5a35f851b19586a0110)
2022-03-19 23:04:42 +01:00
Giacomo Pozzoni a4b1cda2c0 Script/Commands: Allow to specify the target player in .additem command (#26997)
* Script/Commands: Allow to specify the target player in .additem command

New syntax: .additem <required item id> <optional item count> <optional player name>
Close #25875

* Move target player to new command ".additem to <player> <item> <count>"

(cherry picked from commit bebf1876ab506851a56e1619444e57d0f0b4b128)
2022-03-19 23:00:41 +01:00
Aokromes a7e90650fe Scripts/Misc: Remove 2 logs, they are handled by gm logs
(cherry picked from commit a462daa01c6b966821fadbd64b881020067cf6bd)
2022-03-19 22:54:49 +01:00
CraftedRO 9fda7e3790 DB/Creature: Add scripts to some creatures
Closes #26944

(cherry picked from commit a9ce76a0fb8ab3104559f57bd14fd90eaf2563f1)
2022-03-19 22:46:31 +01:00
offl 2fa612fd42 DB/Creature: Add some of MountCreatureID
(cherry picked from commit 0a66174520eaf8d1eb0cdfdb2e11abf57f00d0d3)
2022-03-19 22:45:16 +01:00
offl 7d22f76f11 DB/Creature: Add MountCreatureID column to addon tables for future use
Ref #25964

(cherry picked from commit cad9aaa82361238f7cb0b64cda635fc81240eb2c)
2022-03-19 22:43:10 +01:00
CraftedRO 1a236bdecd DB/Commands: Add missing group commands description
Closes #26963

(cherry picked from commit 0b76bb3519d427d8509257d48854c6ad941065e4)
2022-03-19 22:41:15 +01:00
CraftedRO 60c13ee364 DB/Loot: Remove Branch Of Cenarius from wrong mob
Closes #26959

(cherry picked from commit 1a1c9ebeea7cc4d14c20a64155982384a088aa56)
2022-03-19 22:40:40 +01:00
Cerveciento c65739b822 DB/Locale: Add missing esES & esMX quest locales (Part 182)
Closes #26943

(cherry picked from commit 1f595408d793ad5e6d8044f81eea9bd505c6b5af)
2022-03-19 22:39:52 +01:00
offl 2e316dca72 DB/Quest: Fix 'Wanted: Arcatraz Sentinels'
Closes #26935

(cherry picked from commit 6b766e814117e093449cf10ba8de62dfb43428e4)
2022-03-19 22:38:36 +01:00
trickerer 6c9bde098b Core/Combat Improve extra attacks handling (#26859)
* Core/Combat Improve extra attacks handling

* Remove unnecessary _lastDamagedTargetGuid check

* Add missing initialization of _lastExtraAttackSpell. Do not use hardcoded spell ids.

* Partially revert 9f90b835019b

(cherry picked from commit 084f8f3ded45150a57eabd3ad117f1152d4d046d)
2022-03-19 22:37:41 +01:00
Maks Szokalski 179686d4c9 Flash worldserver on taskbar on thread start (#26886)
* Flush worldserver on taskbar on thread start

* update

* update

* fix codestyle

* Update worldserver.conf.dist

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: NoName <[email protected]>

Co-authored-by: NoName <[email protected]>
(cherry picked from commit b1e7f2489c071fefb3cff3bbd295c45c81e7a69c)
2022-03-19 20:07:17 +01:00
Mikhail Redko 72a4fccaab Core/Misc: Improvement item durability repair logic. (#26911)
* Core/Misc: Improvement item durability repair logic.

* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database

Closes #25937

* Fix build

* Remove unnecessary scope

* Fix visual studio warning and one more check for reliability

(cherry picked from commit 3cef126d0a449219f154a6498d26831f86220dfa)
2022-03-19 16:55:55 +01:00
xvwyh e33b3e4a81 DB/Misc: Add creature_movement_info for future use
Ref #25964

(cherry picked from commit 389979e8a3110511a99362ed1fb0cdcd4c667e60)
2022-03-19 16:30:04 +01:00
Keader 42de9d9cd8 Scripts/ICC: Implemented spell Dark Reckoning
Closes #26941

(cherry picked from commit bddf41e718e45b32225af590d35e60b4ffbe4f38)
2022-03-18 00:06:15 +01:00
offl e80777cb39 Core/SAI: Split set/remove unit_flags actions (#26954)
(cherry picked from commit 0a2fca1aed4f2926c73f906769ff92918f7e2dbd)
2022-03-18 00:04:03 +01:00
offl 5f40959687 Scripts/Spells: Mount check aura for Gryphon Hatchling & Wind Rider Cub (#26897)
Closes #26600

(cherry picked from commit 5f71c40b969c07f950e3dceb99037c7685512e71)
2022-03-17 23:59:01 +01:00
offl d763188887 DB/SAI: Prepare set/remove unit_flags action for split 3
(cherry picked from commit 9062141cd4dc899d18967456e5a794200009671b)
2022-03-17 23:56:11 +01:00
offl 494ef4ec4c DB/SAI: Prepare set/remove unit_flags action for split 2
(cherry picked from commit 1ec045b35697635abed42114d7245720184143fe)
2022-03-17 23:55:10 +01:00
offl c649ece9d3 DB/SAI: Prepare set/remove unit_flags action for split 1
(cherry picked from commit 8451f6dde53da296de29e7e1e7ea13e6e5cb4d2b)
2022-03-17 23:53:00 +01:00
offl d5c079b373 DB/SAI: Prepare set/remove unit_flags action for split
(cherry picked from commit 09eb8efcd55317cf0fcac9600d746b275656d57b)
2022-03-17 20:19:13 +01:00
offl abf18e9776 DB/SAI: Get rid of remaining evil flags
(cherry picked from commit 36300404d555675d651ef77f653fa160803376b4)
2022-03-17 20:05:45 +01:00
offl d9f61c994f DB/SAI: Get rid of evil flags, pt 2
(cherry picked from commit 548e62cfd907cbfdcc5be2f9e23984bcefacaee3)
2022-03-17 20:05:22 +01:00
offl 4e42ea2aca Core/Misc: Link CREATURE_FLAG_EXTRA_INSTANCE_BIND to corresponding static flag
(cherry picked from commit f89bb434196c045b684218f5e7a10a6ffd5cd421)
2022-03-16 00:06:34 +01:00
kvolk2git a4712e11c9 DB/Locale/ruRU: Add missing offer rewards for quest id 2701-3500
Closes #26927

(cherry picked from commit b5e6f3be94baa794fdde5bc841d48d4677fd4803)
2022-03-16 00:04:20 +01:00
Cerveciento 16df46ba1d DB/Locale: Add missing esES & esMX quest locales (Part 181)
Closes #26918

(cherry picked from commit 2771ac484c58f0e31cb4eb9c95009ecdffb7b32a)
2022-03-16 00:03:52 +01:00
offl 678e079672 DB/SAI: Get rid of evil flags, pt 1
(cherry picked from commit d5ea8e64139e47d54a927be1babb030ff2c7d363)
2022-03-16 00:02:47 +01:00
offl f55e86d907 Core/SAI: Remove possibility to set/remove unit_flags2
So far I see that only Cannot Turn flag can be changed by scripts and action to change it didn't existed in 3xx. If someone will need to change that flag, it should be implemented by action which will change only that flag and not any flag of that type.

(cherry picked from commit c8061d8ba620e78c1344ad5f2d476d7d6e5057cb)
2022-03-15 23:59:35 +01:00
offl 340091f8ff Core/Misc: Leave detailed description for UNIT_FLAG_NON_ATTACKABLE
(cherry picked from commit 8a70efed8c56b0b24caa4f449279e75b2375e45f)
2022-03-15 23:55:41 +01:00
offl 122b2e4665 Core/Misc: Update comments of static flags
(cherry picked from commit b4bb2bc0c52f682564e97d8e23d23784ce37c0ba)
2022-03-15 23:55:32 +01:00
offl 8bd9a211fe Core/Misc: Update enums of static flags
(cherry picked from commit f381e1824423d9ef0307b63651a90f29b4bab5f9)
2022-03-15 23:55:19 +01:00
offl 9161c93d09 Core/Misc: Rename few type flags
(cherry picked from commit 4b028e599e06b4f7501298dc3410be89616c9720)
2022-03-15 23:55:08 +01:00
offl 5de542610f Core/Misc: Name unknown CreatureEliteType
(cherry picked from commit 8047532605957e2d387251677e616f4407fb9f6e)
2022-03-15 23:53:31 +01:00
offl 7cba68ca17 Core/Misc: Rename UNIT_FLAG_PVP to UNIT_FLAG_PVP_ENABLING
Ref #26912

(cherry picked from commit 4e291caff80b1e6b7f67fcd7d2c38bccc05fd8e6)
2022-03-15 23:47:46 +01:00
offl ad0ebedd9b Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
Ref #26912

(cherry picked from commit e4a82ee97ad99f751216af47c88f29ff118d771b)
2022-03-15 23:47:31 +01:00
offl 661a24b7b1 Core/Misc: Rename UNIT_FLAG_TAXI_FLIGHT to UNIT_FLAG_ON_TAXI
Ref #26912

(cherry picked from commit a50ce8755b43b7c3bf98e1e0d8c36411a292f284)
2022-03-15 23:32:27 +01:00
offl 756ef6799a Core/Creature: Add first 4 enums of static flags (#26914)
(cherry picked from commit 1a9b914ac0085089712ffddac3e27ff9cff2d995)
2022-03-15 23:11:44 +01:00
offl c4906ce60b Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-15 23:03:26 +01:00
offl 6a5f3835f3 Scripts/Misc: Remove useless comments & Varos' Centrifuge Shield adjustments
(cherry picked from commit b2fffe674d545f1c5ed5ada3041f23872dccfb30)
2022-03-15 22:24:44 +01:00
Cerveciento abd33cd239 DB/Locale: Add missing esES & esMX quest locales (Part 180)
Closes #26905

(cherry picked from commit a2519e2f47cae34b8c306d30620263ed98656f9e)
2022-03-15 22:24:00 +01:00
Cerveciento 216fa4bd69 DB/Locale: Add missing esES & esMX quest locales (Part 179)
Closes #26900

(cherry picked from commit 3da0a7620746f4ad4c0f5b3c5fd99b90d35f8a44)
2022-03-15 22:23:15 +01:00
kvolk2git da82d75871 DB/Locale/ruRU: Add missing offer rewards for quest id 2101- 2700
Closes #26896

(cherry picked from commit 94f9560ab303e6879bf6e1a57039fc72433bacfc)
2022-03-15 22:22:13 +01:00
offl 2d4f087f85 Scripts/Creature: Update Dancing Flames (#26883)
(cherry picked from commit 70c3e58327855eb0e05a235f31bf72e135846877)
2022-03-15 00:11:06 +01:00
kvolk2git b424e43c03 DB/Locale/ruRU: Add missing offer rewards for quest id 787, 1801 - 2100
Closes #26891

(cherry picked from commit 20aa0f0dd9257a46c11c4996b4b8fead6c8a4bc0)
2022-03-15 00:07:52 +01:00
kvolk2git ba1761335a DB/Locale/ruRU: Add missing offer rewards for quest id 1501 - 1800
Closes #26890

(cherry picked from commit af10b5ed4c83fc5645c579fe6b94f023e65df67c)
2022-03-15 00:07:25 +01:00
offl 3dce789877 DB/Creature: Update Lou the Cabin Boy & Grezzix Spindlesnap's crew
Ref #25984

(cherry picked from commit d8d42ee4af05d39924e2c89ce7cdd3bff29aa8fc)
2022-03-15 00:06:52 +01:00
offl e5233c62fc DB/Quest: Update 'Loken's Orders' (12203)
Ref #25984

(cherry picked from commit 770aa419c8c808c1e79a0632057f3dcb35e84a75)
2022-03-15 00:06:17 +01:00
offl 481ccea602 DB/Quest: Update 'Prisoners of the Grimtotems' (11145)
Ref #25984

(cherry picked from commit 6ebbe1d75502885438e8d39460e346696ce764c2)
2022-03-15 00:05:43 +01:00