Commit Graph

38386 Commits

Author SHA1 Message Date
jackpoz
c2d2df96db Core/SAI: Fix SMART_EVENT_WAYPOINT_START not being called at every waypoint checking wrong path id parameter
Remove multiple calls to SMART_EVENT_WAYPOINT_START for the 1st waypoint.
Closes #24760

(cherry picked from commit b3694bf47b)
2022-02-05 13:31:00 +01:00
Treeston
e0e3bae82c Core/Authserver: Removal of sha_pass_hash, compatibility fields, and everything that uses them (PR #25156)
(cherry picked from commit bcdbdd6f23)
2022-02-05 13:29:21 +01:00
Treeston
3bf33628fc Scripts/Commands: trinity_string updates
(cherry picked from commit 3b1e911da3)
2022-02-05 13:09:28 +01:00
Treeston
970cd097de Core/Combat: When entering a vehicle, transfer any current threat to that vehicle. Closes #1340.
(cherry picked from commit 47c7910036)
2022-02-05 13:08:46 +01:00
Giacomo Pozzoni
b45277f1cf Core/Unit: Fix units on vehicles not dismounting on death (#25404)
* Core/Unit: Fix units on vehicles not dismounting on death

Closes #23095
Issue added in 982643cd96

* Remove leftovers from previous tries

(cherry picked from commit ff26027453)
2022-02-05 13:08:34 +01:00
jackpoz
341ef2c0dd Core/Arena: Fix Arena.ArenaStartPersonalRating setting not having effect if the player didn't do any arena match before next server restart
Ref #16609

(cherry picked from commit cc64762f06)
2022-02-05 13:08:08 +01:00
Shauren
04021a30ba Core/Players: Directly store PlayerSpell in m_spells, not as pointer
Closes #25402

(cherry picked from commit 1e446b021b)
2022-02-05 13:07:25 +01:00
jackpoz
ae6f8bc4f5 Core/SAI: Do not allow SMART_EVENT_RESET to call SMART_ACTION_CALL_SCRIPT_RESET
There might be cases where this should be allowed (i.e. if the SMART_TARGET_* is another object) but for now we'll just never allow it.

(cherry picked from commit 28921f191d)
2022-02-05 12:08:58 +01:00
jackpoz
d561a69122 Scripts/Obsidian Sanctum: Fix portals not being visible
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned.
Fixes other occurrences where a similar issue exists.

(cherry picked from commit ca2159bf40)
2022-02-05 12:04:35 +01:00
Giacomo Pozzoni
4dff5bd09b Core/SAI: Reduce the chance of infinite loops/stack overflows (#25398)
Fixes #24092

(cherry picked from commit a58aeb41f4)
2022-02-05 11:51:54 +01:00
Shauren
1a86bab4d8 Core/Misc: Allow all kinds of non-map containers in grid searchers
(cherry picked from commit a02d36f18c)
2022-02-05 11:51:10 +01:00
Shauren
a0edc1fb1b Scripts/Icecrown Citadel: Finish script registration refactoring - RegisterSpellScriptWithArgs
(cherry picked from commit 600a6b5f68)
2022-02-05 11:50:57 +01:00
Shauren
f3300899d8 Scripts/Icecrown Citadel: Fix scriptname conflict
(cherry picked from commit b63fa9c42f)
2022-02-05 11:42:54 +01:00
ForesterDev
2ac0960f3f Scripts/ICC: update Lich King scripts to new model (#25396)
* Scripts/ICC: update Lich King scripts to new model

* fix build

(cherry picked from commit d04bdd0316)
2022-02-05 11:42:35 +01:00
ForesterDev
d250640c6b Scripts/ICC: update Sindragosa scripts to new model (#25395)
(cherry picked from commit deec517239)
2022-02-05 11:24:09 +01:00
ForesterDev
ceec4ecf35 Scripts/ICC: update Professor Putricide scripts to new model (#25394)
* Scripts/ICC: update Professor Putricide scripts to new model

* fix build

(cherry picked from commit 0b0d5e9bea)
2022-02-05 11:10:39 +01:00
ForesterDev
1c22cd7d08 Scripts/ICC: update Lady Deathwhisper scripts to new model (#25393)
(cherry picked from commit aac3ae40f7)
2022-02-05 10:55:59 +01:00
ForesterDev
e294f94617 Scripts/ICC: update Rotface scripts to new model (#25392)
(cherry picked from commit af78f4ffb5)
2022-02-05 01:10:06 +01:00
ForesterDev
f03471c259 Scripts/ICC: update Festergut scripts to new model (#25391)
(cherry picked from commit 458867a2e1)
2022-02-05 01:04:31 +01:00
ForesterDev
2b4d353bff Scripts/ICC: update Valithria Dreamwalker scripts to new model (#25390)
(cherry picked from commit 71f33d5764)
2022-02-05 01:03:08 +01:00
offl
9a28ff60d0 DB/SAI: Fix SMART_EVENT_FRIENDLY_IS_CC params
(cherry picked from commit a3d0dfd6e7)
2022-02-05 00:58:34 +01:00
ForesterDev
7241088faa Scripts/Icecrown Citadel: update Blood Council scripts to new model (#25389)
(cherry picked from commit aedb8b80f3)
2022-02-05 00:58:05 +01:00
genion18
4dc9afcc70 DB/Quest: Add correct action type to give quest credit for 'Protect Kaya'
Closes #25377 Ref c29e3b46af

(cherry picked from commit d66263bd76)
2022-02-05 00:54:40 +01:00
Cerveciento
085dc86979 DB/Locales: Add correct esES & esMX locales to achievement 2516
Closes #25381

(cherry picked from commit cc6430bf30)
2022-02-05 00:53:51 +01:00
Cerveciento
9df54d7d7d DB/Locales: Add missing esES & esMX quest locales (Part 31)
Closes #25382

(cherry picked from commit 7a4123d2e4)
2022-02-05 00:50:54 +01:00
Cerveciento
25e2e312bc DB/Locales: Add missing esES & esMX quest locales (Part 30)
Closes #25378

(cherry picked from commit 5bbbea9219)
2022-02-05 00:49:59 +01:00
Cerveciento
cabdb57b0d DB/Locales: Add missing esES & esMX quest locales (Part 29)
Closes #25374

(cherry picked from commit 7d8ce48029)
2022-02-05 00:48:45 +01:00
offl
064015f4ff DB/SAI: Convert SMART_EVENT_FRIENDLY_HEALTH to SMART_EVENT_FRIENDLY_HEALTH_PCT
(cherry picked from commit 2b4800f06d)
2022-02-05 00:45:48 +01:00
Treeston
4d62cc70d6 Scripts/Commands: Convert argument parsing of .npc commands
(And I snuck some chat command cleanup in there, more de-cluttering!)

(cherry picked from commit 88d446dadf)
2022-02-05 00:43:55 +01:00
Treeston
6fded37e86 Scripts/Commands: Convert argument parsing of gameobject commands
(cherry picked from commit 35b3ba90b0)
2022-02-05 00:24:39 +01:00
Treeston
da8a66a05e Common/Util: Trinity::StringTo<double> support (PR #25364)
(cherry picked from commit f45aa5cac1)
2022-02-04 23:50:25 +01:00
Treeston
0d54a5ecb4 Core/Misc: Add support for custom link colors. Clean-up hyperlink validation, no more long-ass defines. Remove UI.ShowQuestLevelsInDialogs.
(cherry picked from commit eaf8fa75a1)
2022-02-04 23:49:59 +01:00
robinsch
f7c65960a5 Core/Player: Fixed incorrect prepared statement parameter types in Player::_SaveBGData
Merges #25379

(cherry picked from commit 6e8284a8da)
2022-02-04 23:46:43 +01:00
Houston
1f774873bf Core/Totem: Immune to all positive spells. (#25326)
* Core/Totem: Immune to all positive spells.

* Fix tabs

* Avoid using magic numbers

* Remove whitespace

Co-authored-by: Moki <moki.play@mail.ru>
(cherry picked from commit 8d0f52247f)
2022-02-04 23:41:43 +01:00
Treeston
c4b287c7bf Core/Misc: DBC std::array refactors, and |Hachievement unit tests
(cherry picked from commit 3fbbe7cfbe)
2022-02-04 23:37:29 +01:00
Cerveciento
f7e1b5338d DB/Locale/esES+esMX Texts missing in quests (Part 28)
Closes #25371

(cherry picked from commit b2895f31ec)
2022-02-04 22:20:43 +01:00
Cerveciento
97c6cc15d5 DB/Locale/esES+esMX Texts missing in quests (Part 27)
Closes #25362

(cherry picked from commit 35774de000)
2022-02-04 22:20:16 +01:00
offl
e987293be7 DB/Quest: Add support for 'Vent Horizon' (25212)
Closes #2391

(cherry picked from commit 081f962605)
2022-02-04 22:18:51 +01:00
offl
3b1902a71c DB/Quest: Add support for 'We Call Him Steelfeather' & outro events
Closes #6859

Based on dr-j's script

(cherry picked from commit 16124f00f8)
2022-02-04 22:16:47 +01:00
Treeston
c82b107b6b UnitTests: Add a first set of item hyperlink tests
(cherry picked from commit 5394b2ef0f)
2022-02-04 22:11:42 +01:00
Kargatum
c3bd803da3 Core/Mysql: support MariaDB 10.5 (#25359)
(cherry picked from commit 277b401df4)
2022-02-04 21:34:01 +01:00
Treeston
627ff1587d UnitTests: Add basic hyperlink unit test
(cherry picked from commit 86e6438008)
2022-02-04 21:33:27 +01:00
Shauren
1a536365b5 Core/Chat: Add missing initialization to chat link data structures 2022-02-04 21:33:00 +01:00
Treeston
03fd9b038e Core/Chat: Correct Hyperlink validation for incomplete achievements.
(cherry picked from commit fdcb1c8b2e)
2022-02-04 21:27:25 +01:00
Treeston
a65e7e0213 Scripts/Commands: Fix a crash in .help - closes #25360
(cherry picked from commit 944f49d613)
2022-02-04 21:21:40 +01:00
Treeston
45e9e94311 Core/ChatCommands: C++17 cleanup (again) (PR #25323)
(cherry picked from commit 2f7d2ef3e9)
2022-02-04 21:21:17 +01:00
Ovahlord
175fb7056b Core/AI: SortByDistance will now sort the referenced list instead of a copy of it. This fixes MinDistance and MaxDistance target selection
(cherry picked from commit c08180d9bc)
2022-02-04 13:05:36 +01:00
Shauren
7cd98cd7d2 Core/Config: Restore ability to load additional config files for custom scripts
(cherry picked from commit c1e4cfd07e)
2022-02-04 13:05:06 +01:00
Treeston
2aaebc193c UnitTests: Cleanup + StringConvert/ChatCommand tests (PR #25353)
(cherry picked from commit 8ce3635d39)
2022-02-04 13:03:29 +01:00
Cerveciento
24d12b93e5 DB/Locale/esES+esMX achievement_reward_locale
Closes #25355

(cherry picked from commit 2c3d3c31b2)
2022-02-04 13:03:19 +01:00