Commit Graph
39271 Commits
Author SHA1 Message Date
Carbenium 7b2ff1c1fc Scripts/Commands: Convert misc command table to new system
(cherry picked from commit 6b9afac82f18f88a7a981f16e970f1b65647f25b)
2022-03-11 14:08:17 +01:00
Carbenium e3730b7847 Scripts/Commands: Convert honor command table to new system
(cherry picked from commit 5a5b232a44b4bd7cdec7e23999d5edbba1891761)
2022-03-11 13:53:58 +01:00
Carbenium 548e5bf0c3 Build: Remove fine-grained CXX feature checks
With C++17 enabled these don't serve an purpose anymore.
See https://cmake.org/cmake/help/latest/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html

(cherry picked from commit 0ea73a29050493f53efa2101dc94c2bab302ac06)
2022-03-11 13:53:43 +01:00
offl d4005fd56a DB/Loot: Update chance of Shards of Ahune
Closes #26641

(cherry picked from commit 74468e6d51143c01780fca224bb654d5818b8ee6)
2022-03-11 13:53:31 +01:00
offl 218ebae123 DB/SAI: Fix bad targets for some texts
(cherry picked from commit 189f8137f5231e96732b8516604042003888c312)
2022-03-11 13:39:55 +01:00
Giacomo Pozzoni 9c3dc31a37 Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too

(cherry picked from commit c8ca48823d45dadb042a80637eff954483dd5328)
2022-03-11 13:39:15 +01:00
Giacomo Pozzoni 8b1be7bbfc CI/CircleCI: Force ccache directory (#26625)
(cherry picked from commit 6c5b641dd44a8d174d9bb8da36200e81b16f9ae8)
2022-03-11 13:31:18 +01:00
Giacomo Pozzoni a85e77b47a Core/SAI: Add a warning when a boolean value is outside of [0,1] range (#26608)
* Core/SAI: Add a warning when a boolean value is outside of [0,1] range

*  Replace boolean fields in SAI with SAIBool (from uint32)

(cherry picked from commit 84c8d21ad38ade64444e2394f090b49d2ffb5c51)
2022-03-11 13:30:59 +01:00
Shauren ee1b2ec99e Rename sql 2022-03-11 12:55:52 +01:00
Carbenium 169c6a522b Scripts/SholazarBasin: Make quest "Engineering a Disaster" more retail-like
* Use correct spells and add the appropriate spell scripts
* Use correct flame GOs
* Fix emotes of the escortee

(cherry picked from commit c08f086a02729f3b7e4c99f4741063e45301ebf8)
2022-03-11 12:54:22 +01:00
offl 3623e1c7f2 DB/Quest: Rework 'Rise, Obsidion!' (3566)
Ref #25984

(cherry picked from commit baaa0b55228a5db69760aa8319bd09ceaaf68fce)
2022-03-11 12:52:03 +01:00
offl ceb42213cb DB/Quest: Rework 'Sarkoth' (804)
Ref #25984

(cherry picked from commit c737817a600dbb33b070f4172052f9ace81d8097)
2022-03-11 12:45:54 +01:00
offl 41e06cda1e DB/Creature: Update Lady Jaina Proudmoore (4968)
Ref #25984

(cherry picked from commit da8b2cc64ed64d43b02d28d5b70382249d0f4de5)
2022-03-11 12:44:25 +01:00
offl 9d31b32910 DB/Creature: Update Theresa (5697)
Ref #25984

(cherry picked from commit bf54020b491718f7383b4f7b639bc7dcd07d3b3a)
2022-03-11 12:41:40 +01:00
offl 224a7d6de5 DB/Creature: Update Myzrael (2755)
Ref #25984

(cherry picked from commit b8d93ef6713d5496c797ac03d435f2fffcfcca4f)
2022-03-11 12:39:17 +01:00
offl 49c8d45ae0 DB/SAI: Fix wrong param of one of SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST
(cherry picked from commit e0f8b0825a1a8a88561cf2761f5ce4b64cde8d77)
2022-03-11 12:38:16 +01:00
offl 81730cf4b8 DB/SAI: Remove wrongly used SmartActionSummonCreatureFlags
Closes #26595

After ee839fe action_param5 is used as SmartActionSummonCreatureFlags and 1 is PersonalSpawn. And somehow currently action_param5 = 1 is used in 40 actions even if that param wasn't used by core before ee839fe. Because of that those summoned creatures became personal spawns of creatures or objects and were not visible to player as they're supposed to be

(cherry picked from commit 338abd531556822d17924025f6d460a3fd9899a2)
2022-03-11 12:37:06 +01:00
Cerveciento 7de51d5ebc DB/Locales: Add missing esES & esMX quest locales (Part 173)
Closes #26610

(cherry picked from commit b121b9c51f82ed6d3819c250ba9134f0334718a7)
2022-03-11 12:35:54 +01:00
Cerveciento d3e11e84f1 DB/Locales: Add missing esES & esMX quest locales (Part 172)
Closes #26604

(cherry picked from commit 2059e41d9b500ad7307a6e3f4817630d9176ca6e)
2022-03-11 12:34:36 +01:00
Cerveciento 1d3e4a94a2 DB/Locales: Add missing esES & esMX quest locales (Part 171)
Closes #26596

(cherry picked from commit e11c59eaadc53c488917e06b609e478f33431b01)
2022-03-11 12:33:36 +01:00
offl bead9842a1 DB/SAI: Fix wrong boolean values
Ref #26608

(cherry picked from commit 766b38fb5b1fd0ef4e985c10b10cdff848acf775)
2022-03-11 12:19:34 +01:00
Kelno b6af6634f4 Core/Misc: Clear unused undef leftover in a refactor (#26616)
Previously this function was using a macro that was #undef at the end of the function. Since then it uses a lambda function and the undef is not needed anymore.

(cherry picked from commit 17ed3fd1dcfcb859869fcbbeb643fa59793d1687)
2022-03-11 12:14:39 +01:00
jackpoz c7bf84e8ae SQL: Update auth_database.sql with latest updates
(cherry picked from commit 13f1a9f117a1d2b16103079d07dc1bce39240312)
2022-03-11 12:14:24 +01:00
Jinnaix e32ecf32c8 DB/Misc: Add new View for RBAC
(cherry picked from commit 46bab72af54c57cc654ebc0af685eafa3011c5dc)
2022-03-11 12:13:30 +01:00
Giacomo Pozzoni 2bc1bbd91d Common/Misc: Replace old macros with modern C++ attributes (#26613)
(cherry picked from commit 5ae2a0f47d323fadcfebf44c7b6ec11a3f91c75a)
2022-03-11 11:48:31 +01:00
jackpoz d0fe16b787 Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c5a169375523ffa89a2cc3fa48737bd)
2022-03-11 11:48:18 +01:00
Gildor 7d01ad8b8f Scripts/Commands: Minor improvements in .pinfo and .unban character commands (#26586)
* Scripts/Commands: Minor improvements in .pinfo and .unban character commands

(cherry picked from commit 5446209b89146fdbe01627e806f7beddd6ae5de8)
2022-03-11 11:33:37 +01:00
Kelno 6e182ebe05 Core/Config:Remove now unused CONFIG_SET_SHAPASSHASH config (#26606)
This is a leftover from https://github.com/TrinityCore/TrinityCore/commit/bcdbdd6f23ce65cc0e381e61d2840140dce79311

(cherry picked from commit c3a013c49928acaa4676cd5350b3ed8fe1f0fddd)
2022-03-11 10:52:00 +01:00
jackpoz 92609b4e34 DB/Creature: Convert 27353 to spawn summons with 1 action instead of 30 linked actions
Thanks @Jinnai for the sql update.
Close #26605

(cherry picked from commit a7fa9f28db87403ce2c19d86364bfe93b6c96aa4)
2022-03-11 10:44:43 +01:00
jackpoz 40416d62f3 Core/SAI: Allow SMART_ACTION_SUMMON_CREATURE to summon more than 1 creature
Add 6th parameter "count" to SMART_ACTION_SUMMON_CREATURE action to summon more than 1 creature. For backward compatibility, a value of 0 will be treated as 1.

(cherry picked from commit 5628ca7f7cf2fdc053551d3f5e90ad466f3db2e6)
2022-03-11 10:43:08 +01:00
jackpoz cc38710adb Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 32fd44d2aa6b1386922df07bc4b803e2d0aeaba1)
2022-03-11 01:52:04 +01:00
jackpoz e8ea10a6a2 Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 4b9465e1f91adbc139afe5f86ac84eb5f14b62b4)
2022-03-11 01:50:09 +01:00
Giacomo Pozzoni 9d4c57074f Core/Loot: Allow master looter to see all quest items (#26584)
(cherry picked from commit 8d92f6f2b483dffa7127614de3c41f3f596743fb)
2022-03-11 01:49:51 +01:00
Jan Van Buggenhout ccc37df27d Build/CMake: Only complain about missing BOOST_ROOT when Boost is not found (#26598)
(cherry picked from commit 12668692ea11b10c7ec472577a87c70f5e0c9a17)
2022-03-11 01:49:11 +01:00
jackpoz f0d8df8909 Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589

(cherry picked from commit e9a8cea018591334ce3807e2eb2fc2d6ce079252)
2022-03-11 01:48:32 +01:00
offl a232e86484 DB/Creature: Remove more evil flags
Ref #25764

(cherry picked from commit 2acdd163fea281f467f074d267e45660fc9bf99d)
2022-03-11 01:48:19 +01:00
offl 81f76397c6 DB/Creature: Fix speed of Spark of Ionar
(cherry picked from commit 7e67ea74bfe3636e91b2551add155996b5861742)
2022-03-11 01:41:59 +01:00
offl 4bdf5261e6 Scripts/Misc: Remove few more evil flags
Ref #25764

(cherry picked from commit 180f495c7037dc3be61a33dee5745833fd993d4c)
2022-03-11 01:41:20 +01:00
Cerveciento 0fc126642c DB/Locales: Add missing esES & esMX quest locales (Part 170)
Closes #26577

(cherry picked from commit c6d77a7a83c1abb7a8f3de2c30c1da33e709aa98)
2022-03-11 01:41:20 +01:00
Cerveciento df075f545d DB/Locales: Add missing esES & esMX quest locales (Part 169)
Closes #26573

(cherry picked from commit e64d658ad7cbf7ef7c02168d880faa5d822cfa2a)
2022-03-11 01:41:20 +01:00
Cerveciento a40a06c242 DB/Locales: Add missing esES & esMX quest locales (Part 168)
Closes #26563

(cherry picked from commit 81bc1155d2cd0f8d59ced3c76a2e2e8c4a67f6f5)
2022-03-11 01:41:20 +01:00
offl c6e8b5ad31 Scripts/Quest: Rework 'Taken by the Scourge' (11611) (#26578)
(cherry picked from commit 8a2c1377a9556f2cf2815a4e26d13639e65ee24f)
2022-03-11 01:41:18 +01:00
offl b2212e2dcd Scripts/Instances/Underbog: Rework Hungarfen (#26567)
(cherry picked from commit 3d0a081f8ecbcd44b8bb633dc15928bb03864aa4)
2022-03-11 01:23:45 +01:00
Giacomo Pozzoni 76c470fb32 Core/SAI: Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#26579)
Change SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS first parameter to have 3 values:
- 0 : Hostile
- 1 : Not hostile (not that Friendly and Not hostile have different meanings)
- 2 : Any, as in both Hostile and Not hostile

Close #24789

* Add validation on startup for allowed values.
Code cleanup.

* Fix errors

(cherry picked from commit 9e7cdb02d290e85f27e3e463922cd4cfac46129a)
2022-03-11 01:04:48 +01:00
offl bea0528436 Scripts/Instances/EoE: Update Malygos to new register model (#26583)
(cherry picked from commit 7c6ee033e05faca9a013037f1a9c9bbdf62cd702)
2022-03-11 01:04:48 +01:00
offl ba691ba96c Scripts/Instances/DK: Update Trollgore to new register model (#26582)
(cherry picked from commit 2a556b900caad94dbafe5170b310b8e2ee41e83f)
2022-03-11 01:04:48 +01:00
offl 3bf762d1f2 Scripts/Instances/DK: Update Tharon'ja to new register model (#26581)
(cherry picked from commit f5a4b95a02e915db6947165355223adba723e8ad)
2022-03-11 01:04:48 +01:00
offl 4c97169c46 Scripts/Instances/DK: Update Novos to new register model (#26580)
(cherry picked from commit cdfce090fca88c35dd1d9a19ec870c6d1d72a070)
2022-03-11 01:04:48 +01:00
offl 4b2478088b Scripts/Zone: Update IoC scripts to new register model (#26571)
(cherry picked from commit 0051b3e3456ad76deb4fad6d6c1af33a172d9ace)
2022-03-11 01:04:48 +01:00
offl 656487a3bb Scripts/Zone: Update Blasted Lands scripts to new register model (#26570)
(cherry picked from commit dadc67c8832a46fe62fa8d4faaed39dde5cc138d)
2022-03-11 01:04:48 +01:00