Commit Graph

34391 Commits

Author SHA1 Message Date
offl
afd2e75675 DB/Creature: Correct text for Shatterhorn 2021-08-20 21:01:24 +03:00
ccrs
ac1ca24ab9 DB: missing format to 2021_08_19_00_world file 2021-08-20 03:47:00 +02:00
ccrs
3e886c5561 Scripts/Pet: implement Dance Rune Weapon + minor tweaks to npc_pet_mage_mirror_image script
damage is now halved, years ago it wasn't, so we got that going at least
stat scaling missing - the low damage might even come from this instead of the aura
periodic auras still unknown
2021-08-20 03:41:49 +02:00
Anton Popovichenko
1ddd9dc19c 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>
2021-08-19 22:26:16 +02:00
ccrs
0bdc55b07c Scripts/Ahnkahet: adjust timer on Conjure Flame Spheres in Prince Taldaram encounter
values sniffed
2021-08-19 19:36:22 +02:00
ccrs
ff1736c524 DB/SAI: rescript Plague Walker & Ahn'kahar Web Winder + spelldifficulty_dbc 2021-08-19 19:25:44 +02:00
ccrs
b00486e108 Scripts/Ahnkahet: 57fe05f2 followup
cause staging is hard
2021-08-19 18:43:02 +02:00
ccrs
994227fbb3 Build: fix no-pch build 2021-08-19 18:34:52 +02:00
ccrs
57fe05f270 Scripts/Ahnkahet: rescript Ahn'kahar Spell Flinger SAI + spell scripts + spelldifficulty_dbc entries 2021-08-19 18:20:50 +02:00
Shauren
50ab4254a3 Scripts: Fix warnings introduced in 7360c2d156 2021-08-19 16:28:39 +02:00
Kelno
e2f20aff8a 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
2021-08-19 16:07:54 +02:00
ccrs
7360c2d156 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
2021-08-19 03:16:46 +02:00
offl
32282b7326 Revert "Core/SAI: Remove no longer used event types & params (#26833)" (#26840)
This reverts commit 2cb877ea66.
2021-08-18 22:00:34 +03:00
offl
2cb877ea66 Core/SAI: Remove no longer used event types & params (#26833)
* Core/SAI: Remove no longer used event types & params

* Move SMART_EVENT_RESPAWN to 'no params'

Co-authored-by: offl <offl@users.noreply.github.com>
2021-08-18 17:24:34 +02:00
Aokromes
3c84972a36 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
2021-08-18 10:16:06 +02:00
Shauren
7c7b4760d8 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."
2021-08-16 22:42:23 +02:00
Cerveciento
0d7d49d6d2 DB/Locales: Add missing esES & esMX quest locales (Part 176)
Closes #26828
2021-08-16 23:00:53 +03:00
offl
0c3d11c71a DB/SAI: Remove params of SMART_EVENT_RESPAWN (SMART_SCRIPT_RESPAWN_CONDITION) 2021-08-16 23:00:31 +03:00
offl
41275c056e 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
2021-08-16 23:00:10 +03:00
ccrs
f8f50bef50 Scripts/Ahnkahet: small corrections to boss_prince_taldaram script 2021-08-16 02:15:42 +02:00
ccrs
f087850508 Scripts/Ahnkahet: corrections to boss_jedoga_shadowseeker script 2021-08-16 01:51:52 +02:00
Cerveciento
442efccd2e DB/Locales: Add missing esES & esMX quest locales (Part 175)
Closes #26818
2021-08-15 22:48:57 +03:00
CraftedRO
c386da6383 DB/Creature: Add missing scripts for some Howling Fjord creatures
Closes #16320
2021-08-15 22:48:37 +03:00
Keader
9153ad621e Scripts/Misc: Moved Submerge script to spell_generic 2021-08-15 16:35:59 -03:00
Carbenium
b90a4f1798 Scripts/Commands: Convert argument parsing of instance commands to new system 2021-08-15 19:17:30 +02:00
TDB Release
08d5290080 TDB 335.21081 - 2021/08/15 TDB335.21081 2021-08-15 17:01:20 +00:00
Peter Keresztes Schmidt
8a4844e029 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.
2021-08-15 13:22:18 +02:00
Keader
bea682f95c Scripts/Spells: Fixed Anti-Magic Zone amount calculation
Spell is casted by a trigger, not a player, so script need get owner instead caster
2021-08-14 21:12:46 -03:00
Keader
c8f2056b17 Core/Spells: Fixed Sacred Cleansing range
- It was not working into friends/pets
2021-08-14 21:12:46 -03:00
Keader
8014054ef9 Scripts/Ulduar: Moved UNIT_FLAG_NOT_SELECTABLE to inside XT002 Script
Spell is used for some world quests too
2021-08-14 21:12:46 -03:00
offl
266bda9456 DB/Creature: Restore original values of some fields 2021-08-15 00:55:54 +03:00
dr-j
2a354f072e DB/Creature: Replace path of Kira Songshine with correct
Updates #26751
2021-08-14 20:29:15 +03:00
offl
1c40c3a4e1 DB/Creature: Add more spawn points for Hearthsinger Forresten
Closes #26766
2021-08-14 20:28:27 +03:00
Cerveciento
a97eb83194 DB/Locales: Add missing esES & esMX quest locales (Part 174)
Closes #26813
2021-08-14 16:53:08 +03:00
offl
40e31be684 DB/Quest: Update outro event of 'The Calling' (8315)
Updates #26803
2021-08-14 16:52:52 +03:00
offl
02131d6f8c DB/Creature: Revert changes to some of type & family & exp fields
Ref #2963 #3234 #24464
2021-08-14 16:52:30 +03:00
offl
16fcbf07f8 DB/Loot: Torwa's Pouch & Un'Goro Dirt Pile
Closes #26812
2021-08-14 16:52:14 +03:00
Carbenium
cd1ef2de06 Scripts/Commands: Convert title commands to new system 2021-08-14 14:00:05 +02:00
Jinnaix
6bcda49e98 Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit

* corrections

Closes #23577
2021-08-14 13:34:51 +02:00
Carbenium
f620befc37 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);
2021-08-14 12:50:18 +02:00
Carbenium
8ee92147a5 Core/ChatCommands: AccountIdentifier from current target 2021-08-14 12:50:18 +02:00
offl
e14a0c197c DB/Creature: Warpwood Spores 2021-08-13 18:37:14 +03:00
Zenslash
feba07fa1e DB/Spell: Add missing conditions to Capture Raptor spell 2021-08-13 18:36:54 +03:00
dr-j
48104d2754 DB/GameObject: Make traps of Warpwood Pod despawn after being activated
Closes #19371
2021-08-13 18:36:31 +03:00
Jinnaix
7050a5ccb6 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
2021-08-13 16:59:43 +02:00
offl
ff8663ca15 Core/SAI: Remove SMART_ACTION_INSTALL_AI_TEMPLATE (#26797) 2021-08-12 23:46:03 +03:00
offl
2da09a4da2 DB/Quest: Reduce drop chance of some quest items
Closes #26800

Closes #26801
2021-08-12 21:28:09 +03:00
offl
8ac6d2bd73 DB/Spells: Update teleport destination of some spells
Closes #26799
2021-08-12 21:27:44 +03:00
offl
a2fdaf74d5 DB/Creature: Rework Improved Land Mine (Quests 12820,12833)
Closes #26798
2021-08-12 21:27:15 +03:00
offl
1c174987c8 DB/Quest: Rework 'Relief for the Fallen' (12937) 2021-08-12 21:26:59 +03:00