Commit Graph

39429 Commits

Author SHA1 Message Date
jackpoz
015b4e4578 Scripts/Commands: Fix ".wp show info" showing wrong event chance values
(cherry picked from commit b64ef1a39a)
2022-03-13 19:31:14 +01:00
Cerveciento
540a2ec2cf DB/Locales: Add missing esES & esMX quest locales (Part 177)
Closes #26843

(cherry picked from commit 5f2cea68c3)
2022-03-13 19:31:14 +01:00
offl
b1cba1c915 DB/Creature: Correct text for Shatterhorn
(cherry picked from commit afd2e75675)
2022-03-13 19:31:14 +01:00
ModoX
09b36d8f75 Tools/Extractors: Use TACTKeys from wowdev TACTKeys repo instead of wow.tools
* wow.tools will kill /api.php?type=tactkeys soon
2022-03-13 19:24:14 +01:00
Anton Popovichenko
8447f627ba Core/Config: Implement config override with env vars (#26811)
* Core/Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export TC_DATA_DIR=/usr
$ TC_WORLD_SERVER_PORT=8080 ./worldserver

* Core/Config Fix typo in logs

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>

* Core/Config Fix code style in EnvVarForIniKey

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Update tests/common/Config.cpp

* Apply suggestions from code review

Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>

* Apply suggestions from code review

Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>

Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
(cherry picked from commit 1ddd9dc19c)
2022-03-13 16:37:01 +01:00
ccrs
1e9327d92c Scripts/Ahnkahet: adjust timer on Conjure Flame Spheres in Prince Taldaram encounter
values sniffed

(cherry picked from commit 0bdc55b07c)
2022-03-13 16:32:25 +01:00
ccrs
2aa053c7d3 DB/SAI: rescript Plague Walker & Ahn'kahar Web Winder + spelldifficulty_dbc
(cherry picked from commit ff1736c524)
2022-03-13 16:32:11 +01:00
ccrs
f097b8ab74 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard

(cherry picked from commit b00486e108)
2022-03-13 16:21:10 +01:00
ccrs
c92003b0ab Build: fix no-pch build
(cherry picked from commit 994227fbb3)
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 57fe05f270)
2022-03-13 16:19:47 +01:00
Shauren
9d437961a2 Scripts: Fix warnings introduced in 7360c2d156
(cherry picked from commit 50ab4254a3)
2022-03-13 14:27:30 +01:00
Kelno
6b8d03d71e Don't count character pending deletion towards character per account limit (#26837)
* Don't count character pending deletion towards character per account limit

* Never show more than 10 characters char enum

* Use constants

(cherry picked from commit e2f20aff8a)
2022-03-13 14:27:10 +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 7360c2d156)
2022-03-13 14:15:01 +01:00
Aokromes
0a77534245 Core/DB: Updated missing check (#26834)
* Core/DB: Updated missing check

TrinityCore does not support MySQL versions below 5.7, please update your MySQL server

(cherry picked from commit 3c84972a36)
2022-03-13 14:05:23 +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 7c7b4760d8)
2022-03-13 00:35:31 +01:00
Cerveciento
2c2b235bcd DB/Locales: Add missing esES & esMX quest locales (Part 176)
Closes #26828

(cherry picked from commit 0d7d49d6d2)
2022-03-13 00:35:05 +01:00
offl
73712a2800 DB/SAI: Remove params of SMART_EVENT_RESPAWN (SMART_SCRIPT_RESPAWN_CONDITION)
(cherry picked from commit 0c3d11c71a)
2022-03-13 00:34:11 +01:00
offl
fc4a360882 DB/SAI: Handle SMART_EVENT_TARGET_HEALTH_PCT events by SMART_EVENT_UPDATE_IC
Spells used in this event has AURA_STATE_HEALTHLESS_20_PERCENT and requires no special event type

(cherry picked from commit 41275c056e)
2022-03-13 00:33:08 +01:00
ccrs
e1115e30c2 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script
(cherry picked from commit f8f50bef50)
2022-03-13 00:23:10 +01:00
ccrs
a0736c4544 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script
(cherry picked from commit f087850508)
2022-03-13 00:22:28 +01:00
Cerveciento
281d5b2513 DB/Locales: Add missing esES & esMX quest locales (Part 175)
Closes #26818

(cherry picked from commit 442efccd2e)
2022-03-13 00:21:15 +01:00
CraftedRO
83b9431306 DB/Creature: Add missing scripts for some Howling Fjord creatures
Closes #16320

(cherry picked from commit c386da6383)
2022-03-13 00:20:23 +01:00
Keader
6bc9674167 Scripts/Misc: Moved Submerge script to spell_generic
(cherry picked from commit 9153ad621e)
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 b90a4f1798)
2022-03-13 00:15:35 +01:00
Peter Keresztes Schmidt
92a89ab6f3 Dep/fmt: Upgrade to 7.1.3 (#26816)
Printing enum values as integers was broken before 7.1.0.
Upgrade the library so we include commits

20d4f2e836
86287b8d56

which fix the issue.

(cherry picked from commit 8a4844e029)
2022-03-12 23:52:29 +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 8014054ef9)
2022-03-12 23:51:32 +01:00
offl
d95d56da10 DB/Creature: Add more spawn points for Hearthsinger Forresten
Closes #26766

(cherry picked from commit 1c40c3a4e1)
2022-03-12 23:48:07 +01:00
Cerveciento
6342a5cfb0 DB/Locales: Add missing esES & esMX quest locales (Part 174)
Closes #26813

(cherry picked from commit a97eb83194)
2022-03-12 23:45:09 +01:00
offl
e0374e2ca9 DB/Quest: Update outro event of 'The Calling' (8315)
Updates #26803

(cherry picked from commit 40e31be684)
2022-03-12 23:43:51 +01:00
offl
2de7a090c6 DB/Loot: Torwa's Pouch & Un'Goro Dirt Pile
Closes #26812

(cherry picked from commit 16fcbf07f8)
2022-03-12 23:40:53 +01:00
Carbenium
b1847b1fd9 Scripts/Commands: Convert title commands to new system
(cherry picked from commit cd1ef2de06)
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 6bcda49e98)
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 f620befc37)
2022-03-12 23:00:17 +01:00
Carbenium
3c37dddeec Core/ChatCommands: AccountIdentifier from current target
(cherry picked from commit 8ee92147a5)
2022-03-12 22:47:34 +01:00
offl
0c1a5e239c DB/Creature: Warpwood Spores
(cherry picked from commit e14a0c197c)
2022-03-12 22:35:20 +01:00
Zenslash
1b580e59fa DB/Spell: Add missing conditions to Capture Raptor spell
(cherry picked from commit feba07fa1e)
2022-03-12 22:34:19 +01:00
dr-j
df7d634597 DB/GameObject: Make traps of Warpwood Pod despawn after being activated
Closes #19371

(cherry picked from commit 48104d2754)
2022-03-12 22:33:38 +01:00
Shauren
becc9ba1fc Core/Misc: Fix mac build 2022-03-12 18:35:59 +01:00
Jinnaix
fe31d436ef Server/Config - Change default settings for saving gm logs. (#26804)
* Server/Config - Change default settings for saving gm logs.

* update

Prefix Timestamp to the text

(cherry picked from commit 7050a5ccb6)
2022-03-12 16:20:10 +01:00
offl
7d9088e9cf Core/SAI: Remove SMART_ACTION_INSTALL_AI_TEMPLATE (#26797)
(cherry picked from commit ff8663ca15)
2022-03-12 16:19:47 +01:00
offl
7e22abaf6a DB/Quest: Reduce drop chance of some quest items
Closes #26800

Closes #26801

(cherry picked from commit 2da09a4da2)
2022-03-12 15:50:01 +01:00
offl
f4b37190f8 DB/Creature: Rework Improved Land Mine (Quests 12820,12833)
Closes #26798

(cherry picked from commit a2fdaf74d5)
2022-03-12 15:48:09 +01:00
offl
4a867dbf2d DB/Quest: Rework 'Relief for the Fallen' (12937)
(cherry picked from commit 1c174987c8)
2022-03-12 15:39:51 +01:00
offl
6302840892 DB/Quest: Rework 'Slaves of the Stormforged' (12957)
(cherry picked from commit d8de32e81d)
2022-03-12 15:39:01 +01:00
offl
037bd3cf0c DB/Creature: Add script to Trade Master Kovic
(cherry picked from commit 8c11ab27c5)
2022-03-12 15:38:28 +01:00
ccrs
de72593821 Scripts/Ahnkahet: corrections to boss_elder_nadox script
(cherry picked from commit 2870a99d1a)
2022-03-12 15:37:10 +01:00
offl
4cb9d038a7 DB/Misc: Update some fields of creatures & quests
(cherry picked from commit a704ecf817)
2022-03-12 15:16:52 +01:00
offl
edf91b0337 DB/Quest: Rework 'Suntara Stones' (3367)
(cherry picked from commit 74450912d2)
2022-03-12 15:13:11 +01:00
offl
2642cf3666 DB/Quest: Rework 'The Tome of Divinity' (1783,1786)
(cherry picked from commit 2d2b73c905)
2022-03-12 15:09:46 +01:00
offl
ebff100569 DB/Quest: Update 'A Matter of Time' (4971)
(cherry picked from commit f3aa84bf8b)
2022-03-12 15:07:59 +01:00