Commit Graph
6809 Commits
Author SHA1 Message Date
Malcrom 64933d033e Script/World: Brewfest Reveler Script (#27031)
(cherry picked from commit 83ae8fc5197f90ba97de2e961f7c98e3c567837b)
2022-03-19 23:47:01 +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
Keader 42de9d9cd8 Scripts/ICC: Implemented spell Dark Reckoning
Closes #26941

(cherry picked from commit bddf41e718e45b32225af590d35e60b4ffbe4f38)
2022-03-18 00:06:15 +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 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
offl 2d4f087f85 Scripts/Creature: Update Dancing Flames (#26883)
(cherry picked from commit 70c3e58327855eb0e05a235f31bf72e135846877)
2022-03-15 00:11:06 +01:00
offl 0506f21f5e DB/Creature: Remove remaining non-static flags from DB, finally (#26884)
(cherry picked from commit 0e12e23f7784b4a80d3515cb094342cb677e35b2)
2022-03-14 23:56:38 +01:00
offl 94840f791c DB/GameObject: Update Toy Train Set
(cherry picked from commit fd9d04062c129049a134768ec15d09402c3fa95a)
2022-03-14 23:51:23 +01:00
ccrs a00c4f80bb Scripts/VioletHold: f661bc6 follow-up - remove remnants of SetVisible calls from npc_sinclari_vh
(cherry picked from commit 505e91a016e68ef323388e6e18e1a519d9cb184a)
2022-03-13 22:41:14 +01:00
ccrs 4387c8ab13 Scripts/VioletHold: corrections to violet_hold_trashAI to prevent trash npcs being stuck in place forever if SPELL_DESTROY_DOOR_SEAL is no longer being casted for w/e reason
(cherry picked from commit 4c0ff0917194516f8f734fd2b627e5cf5a8a5db8)
2022-03-13 22:40:13 +01:00
offl 0b50fd183f DB/Quest: Rework 'Bitter Departure' (12832)
(cherry picked from commit afafff57a85232d42517439496a5281598a08126)
2022-03-13 22:13:20 +01:00
offl 4164d55158 DB/Creature: Get rid of more flags
Ref #25764

(cherry picked from commit 2f02c2fb86ccf1fb9ff094f60b0eb0b48de5eece)
2022-03-13 21:16:26 +01:00
offl 0ce5a2e7a5 DB/Creature: Get rid of more Feign Death flags
Ref #25764

(cherry picked from commit 354a45b09d02a6fb12fbfc2f13a4b29883cdcc2a)
2022-03-13 19:31:14 +01:00
jackpoz 015b4e4578 Scripts/Commands: Fix ".wp show info" showing wrong event chance values
(cherry picked from commit b64ef1a39adfc37380aba59de506eb394e9c664d)
2022-03-13 19:31:14 +01:00
ccrs 1e9327d92c Scripts/Ahnkahet: adjust timer on Conjure Flame Spheres in Prince Taldaram encounter
values sniffed

(cherry picked from commit 0bdc55b07c9b0d26cd3609ac7313564b7a91efbf)
2022-03-13 16:32:25 +01:00
ccrs f097b8ab74 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard

(cherry picked from commit b00486e1086688f4a4b3d5417e10e7669bec1070)
2022-03-13 16:21:10 +01:00
ccrs c92003b0ab Build: fix no-pch build
(cherry picked from commit 994227fbb39c940511b1b31b18747b0ff596d7ec)
2022-03-13 16:20:45 +01:00
ccrs ec70cff006 Scripts/Ahnkahet: rescript Ahn'kahar Spell Flinger SAI + spell scripts + spelldifficulty_dbc entries
(cherry picked from commit 57fe05f270ec150b05e101f1325d3b27e2e5a655)
2022-03-13 16:19:47 +01:00
Shauren 9d437961a2 Scripts: Fix warnings introduced in 7360c2d1567be05f81bdb51d0b74f5fd4e263d6a
(cherry picked from commit 50ab4254a3a4d1131859e0304d473b587a4886f1)
2022-03-13 14:27:30 +01:00
ccrs eff9b5042d Scripts/Ahnkahet: implement Herald Volazj's Twisted Visage AI + small corrections to Herald's own AI
sorry about indentation
timers are guessed
summoning logic unchanged, remains not blizzlike
visage's spells missing spelldifficulty_dbc entries

(cherry picked from commit 7360c2d1567be05f81bdb51d0b74f5fd4e263d6a)
2022-03-13 14:15:01 +01:00
Shauren bbde3b54b9 Scripts/Commands: Avoid copies of RBACCommandData
Silences the PVS V1002 warning:
"The 'RBACCommandData' class, containing pointers, constructor and destructor, is copied by the automatically generated copy constructor."

(cherry picked from commit 7c7b4760d89f29b7ee3c2f15f94cd9be24dc36cb)
2022-03-13 00:35:31 +01:00
ccrs e1115e30c2 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script
(cherry picked from commit f8f50bef50d34245e86f016bf99132812b57e38f)
2022-03-13 00:23:10 +01:00
ccrs a0736c4544 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script
(cherry picked from commit f087850508a74b9dcdacb8ec5e8d59216faddfa3)
2022-03-13 00:22:28 +01:00
Keader 6bc9674167 Scripts/Misc: Moved Submerge script to spell_generic
(cherry picked from commit 9153ad621e7578f472460b9a98e21a6ed94f85c0)
2022-03-13 00:17:25 +01:00
Carbenium 9bee960880 Scripts/Commands: Convert argument parsing of instance commands to new system
(cherry picked from commit b90a4f1798bb948ce8203bd70d9367e6936b866a)
2022-03-13 00:15:35 +01:00
Keader 105e2e3358 Scripts/Ulduar: Moved UNIT_FLAG_NOT_SELECTABLE to inside XT002 Script
Spell is used for some world quests too

(cherry picked from commit 8014054ef9d2f611127416cdc1f7e77e8877bb05)
2022-03-12 23:51:32 +01:00
Carbenium b1847b1fd9 Scripts/Commands: Convert title commands to new system
(cherry picked from commit cd1ef2de0646349c4e0f23e8fb063c99a48c5cbf)
2022-03-12 23:06:24 +01:00
Jinnaix e7682d8e08 Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit

* corrections

Closes #23577

(cherry picked from commit 6bcda49e98f08e663eb7a2e6e8a5aa6c2143a2a8)
2022-03-12 23:00:30 +01:00
Carbenium b3b6e2715e Scripts/Commands: Convert rbac commands to new system
Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.

Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);

(cherry picked from commit f620befc37fd8a4aed917e1ebba6f268c44a0a99)
2022-03-12 23:00:17 +01:00
Shauren becc9ba1fc Core/Misc: Fix mac build 2022-03-12 18:35:59 +01:00
offl 4a867dbf2d DB/Quest: Rework 'Relief for the Fallen' (12937)
(cherry picked from commit 1c174987c8114d7f2daf02140afa81a1cb01bd54)
2022-03-12 15:39:51 +01:00
ccrs de72593821 Scripts/Ahnkahet: corrections to boss_elder_nadox script
(cherry picked from commit 2870a99d1af3d440381b21266aaaa2d3916a5263)
2022-03-12 15:37:10 +01:00
offl 2642cf3666 DB/Quest: Rework 'The Tome of Divinity' (1783,1786)
(cherry picked from commit 2d2b73c90588d7b7899989636db42f8da1d4b8e9)
2022-03-12 15:09:46 +01:00
ccrs a13def29e8 Build: fix no-pch build
(cherry picked from commit 71b5466cd723d74e7813ce4ae7cb772632723cdf)
2022-03-12 14:49:07 +01:00
ccrs 51d842a8bd Scripts/Ahnkahet: corrections to npc_amanitar_mushrooms script
(cherry picked from commit 9c7f2544c872d820fbf649c2d5d509f04f38a899)
2022-03-12 14:48:45 +01:00
offl ac82e23fa3 Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 8186e6deca7a42403db8b45b341c655cec9c8a73)
2022-03-12 14:48:03 +01:00
Gildor 20c8698bc4 Scripts/World: improve Training Dummy script (#26778)
(cherry picked from commit c7ae9d761a3c9a7523d4bd195979f294f8c9e7cd)
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 0800ab20a8039620fd271a43c173c008af68c22a)
2022-03-12 14:45:04 +01:00
offl ca472c1871 Scripts/SWP: Update M'uru to new register model (#26793)
(cherry picked from commit ec3b571ecaa21cac3aaf35075b21767424bca4bf)
2022-03-12 14:36:20 +01:00
offl 4830612953 Scripts/BM: Update scripts to new register model (#26792)
(cherry picked from commit 365a95bc944426f2300d2ba703a74dc792d118e1)
2022-03-12 14:31:43 +01:00
offl cb645fd2f8 Scripts/BFD: Update scripts to new register model (#26791)
(cherry picked from commit 97140cd1952081d5a397ce4f093dd63906ef3644)
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 bc26ddaf8c4d6f66ecfd9f22794ba23c03f7b76b)
2022-03-12 14:17:19 +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
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 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