Commit Graph
37643 Commits
Author SHA1 Message Date
offl 95a1189baa DB/SAI: Fix typos in two timed action lists
Closes #24700

(cherry picked from commit 12679fdd080e48c684c6a557754e4ed53c7cd068)
2022-01-06 19:16:39 +01:00
offl 1859658b2b DB/SAI: Remove excess event flags from timed action lists
Closes #24701

(cherry picked from commit 9d7f033bf33b937e255ced00b29cf183f529ee9d)
2022-01-06 19:16:10 +01:00
Gildor f23aa3c866 Scripts/Ulduar: Fix Flame Leviathan movement (#24673)
(cherry picked from commit 3ab970aa4742dde354e1d903304da850f05d6e09)
2022-01-06 19:15:26 +01:00
offl c5274417bb DB/Quest: Convert & update support for 'Mark V is Alive!' to SAI
Closes #24686

(cherry picked from commit e48c4151560049a876418f69cd25153a259f50eb)
2022-01-06 19:15:15 +01:00
offl a7d03862dd DB/Quest: Convert & update support for 'When the Cows Come Home' to SAI
Closes #24685

(cherry picked from commit 1316ca482d1d20d03bbdfa5aa338955d96dd03bb)
2022-01-06 19:14:38 +01:00
offl 688c12fa5b DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
Closes #24675

(cherry picked from commit 0e7cabd7f10eaa9ffad20f9fcd03fca8cb88fa68)
2022-01-06 19:13:39 +01:00
dr-j d6c311d9fa DB/GameObject: Add 58 More Netherwing Eggs
Closes #24688

(cherry picked from commit daa7b11ae2848da5ab5b3d209e69fddc3ff6b21b)
2022-01-06 19:11:45 +01:00
offl 87b8a9a843 DB/SAI: Fix some wrong values in timed action lists
Closes #24693
Closes #24692

(cherry picked from commit 82dc3a2aefbcee0d0bfda89a52f78900acb4ed81)
2022-01-06 19:10:52 +01:00
Killyana c253e191ef DB/Creature: Remove Ossirian Crystal Trigger as spawned by script
Closes #24681

(cherry picked from commit 9683ce99ebef251f1c3c004d67bfbd26b49895c6)
2022-01-06 19:09:58 +01:00
NoName 145756a231 Scripts/RuinsOfAhnQiraj: Crystal handling (#24679)
+ make crystal usable with animation and despawn after use;
+ small code update;
+ spell rearrange;
+ define some magic numbers;
+ update crystal coordinates from sniffed data

(cherry picked from commit 89193c3548c4da307ca08884c53b593b56ab47d1)
2022-01-06 19:09:28 +01:00
Gildor e826909498 Scripts/Icecrown Citadel: Fix Sindragosa movement when Wipe in fly phase (#24665)
(cherry picked from commit dd3fbf426c7455558825777b02f630f1b0d702c9)
2022-01-06 19:08:14 +01:00
NoName a4b3e694e8 Entities/Player: Restore old checks for UpdatePvPFlag (#24372)
Partly revert 671052575a36624b06379ee5e13a7fea26870194
+ implemented timer reset to 300s after relog never worked, therefore removing that part;
+ reverting other parts with 300s timer changes, as not needed;

(cherry picked from commit 2efaf1dda8ce19533b1d99e030ac25a0de5735b4)
2022-01-06 19:05:04 +01:00
Killyana ecf0bef111 DB/Quest: Birds of a Feather
Closes #24687

(cherry picked from commit e0b0586afc97860ccbe24c40c0a5831fb880f876)
2022-01-06 18:56:26 +01:00
Killyana 8571a22017 DB/Quest: Convert "HELP!" & "Corki's Gone Missing Again!" & "Cho'war the Pillager" to SAI
Closes #24649

(cherry picked from commit fd66e291b5595635411116b5b0946b476719a2ab)
2022-01-06 18:55:13 +01:00
Killyana b7b5122b88 DB/GameObject: Remove Jump-a-tron 4000 from the DB
Ref #24668

(cherry picked from commit 5ba021844dc6d14d17915a3736354e30c4b872ec)
2022-01-06 18:54:35 +01:00
offl 164dcc4deb DB/Quest: Convert & update support for 'Prisoners of Wyrmskull' to SAI
Closes #24650

(cherry picked from commit 2008cb7dd33411a381911c6b64e4ebf96fa8c39f)
2022-01-06 18:53:52 +01:00
offl f3e262a056 DB/GameObject: Convert & update support for Shrine of the Eagle / Falcon / Hawk to SAI
Closes #24647

(cherry picked from commit 0cfd63fd26312c8abb475cf36fcd164e65fc3eec)
2022-01-06 18:53:11 +01:00
offl fbcfb505f4 DB/Creature: Convert Sayge to SAI
Closes #24663

(cherry picked from commit 626aeb5817a42efc026e3623a65362eef355abb1)
2022-01-06 18:52:14 +01:00
jackpoz 9e0e52f023 Scripts/Misc: Fix issues reported by ASan
(cherry picked from commit 013301088d862f634cd5b817cb3949c58454f924)
2022-01-06 16:22:58 +01:00
offl 3f8b488071 DB/GameObject: Convert & update support for Tablet of Madness
Closes #24670

(cherry picked from commit 9c1c34a79420b2513ee0009fcd84726c3ff95bfe)
2022-01-06 16:22:42 +01:00
Giacomo Pozzoni 07863a7a68 Core/Creature: Allow to disable HP regen in Raids even if the target is unreachable (#24646)
(cherry picked from commit 247564a7ab7dc6f640bb8f4fd32c30ffdc9076d2)
2022-01-06 16:12:51 +01:00
Killyana 876d9f52ec DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB script
Closes #24668

(cherry picked from commit 6b9a14ca940a2104a89cfadf07978a2759acb47a)
2022-01-06 16:06:40 +01:00
offl a4016b9767 DB/Loot: Remove loot from creature Water Terror
Closes #24671

(cherry picked from commit abd8140681c007a110a78ccb97a5677816bb94ba)
2022-01-06 16:05:56 +01:00
offl 070da4f711 DB/Quest: Convert Escape from Umbrafen to SAI
Closes #24648

(cherry picked from commit cfe6b651bc38239de58d6a3f95e8897bfb7d1869)
2022-01-06 16:05:08 +01:00
offl 88b6ed2992 DB/Quest: Convert & update support for 'Hypercapacitor Gizmo' to SAI
Closes #24640

(cherry picked from commit cc5bea023a0c43f1c58e2cd93267d9e339659442)
2022-01-06 16:01:38 +01:00
offl cb0c4ff01e DB/Creature: Remove static spawns of Arcane Fiend & Amani Bear Mount
Closes #24662

(cherry picked from commit 97319c7c19944fa4b5e461273ff7e8c389959c46)
2022-01-06 16:00:27 +01:00
offl 6eb7ed4490 DB/GameObject: Convert & update support for Fel & Bash'ir crystalforges
Closes #24643

(cherry picked from commit c3e4420a2b8584f97e49d7ae9a5b2f3140d50984)
2022-01-06 15:59:18 +01:00
offl aea428cd51 DB/Quest: Convert support for 'Strength of One' to SAI
Closes #24641

(cherry picked from commit 44aba5dcdf403797de777586bd7f10e9d76eaf53)
2022-01-06 15:57:22 +01:00
offl 6fc2c62883 DB/Creature: Bogblossom Bunny
Closes #24623

(cherry picked from commit ea05844c59e77358c6ab1978a914e90e4b8dd21d)
2022-01-06 15:56:35 +01:00
Shauren 0e586bb476 Core/Quests: Add missing GO_DYNFLAG_LO_ACTIVATE to lootable chests related to quests but not having quest loot
Closes #24474

(cherry picked from commit a26304478d9505713dfadb9b04a3bda4cef57545)
2022-01-06 00:31:29 +01:00
Shauren b1a1e552d2 Core/Quests: Fixed gameobject sparkle state for lootable quest items by moving ItemAddedQuestCheck/ItemRemovedQuestCheck after item is added/removed
This is neccessary so that GameObject::BuildValuesUpdate from BuildValuesUpdateBlockForPlayer picks up correct inventory state and sets GO_DYNFLAG_LO_ACTIVATE

(cherry picked from commit 449bd9058bce87ade6831ba38d1a0b83b9cbfb18)
2022-01-06 00:30:02 +01:00
Keader 192cd48b21 Scripts/ICC: Fixed duplicated call of reputation spell
(cherry picked from commit 99c457c2709fc021b0441d488dc1710b284ee587)
2022-01-06 00:23:58 +01:00
Keader 26844d32c3 Scripts/ICC: Fixed Deathbringer/Valithria reputation handler + codestyle fixes
* Added correct reputation spell for both bosses
* Fixed debuffs remove when deathbringer dies (it also fix recount)
* Changed all DoCast(me, xxx) -> DoCastSelf(xx)
* Removed old reputation hack in DB
* Fixed my OCD with spells enum :)

(cherry picked from commit d1e1b8753c491022055e255fd8c8b4ffbdd87bc9)
2022-01-06 00:23:47 +01:00
NoName 860e489c4f Scripts/RazorfenDowns: quest "Extinguishing the Idol" (#24658)
(cherry picked from commit 868748007da3b70e96f10b4689065bd0b3f876c5)
2022-01-06 00:23:11 +01:00
NoName 7facbec01e Core/Objects: Add GOSummonType argument to SummonGameObject accepting XYZ arguments instead of Position (#24655)
(cherry picked from commit d2b88fbd503565a0289cbaa4bf7315f8c9cf5211)
2022-01-06 00:22:44 +01:00
offl 28bc3a68fd DB/Quest: Finding the Survivors
Update the los event
Ref #24636

(cherry picked from commit 2152293d888cb51ddddbdae09538814f8492a6d5)
2022-01-06 00:22:29 +01:00
Killyana 17bc169e95 DB/SAI: Fel Guard Hound
Ref #24638

(cherry picked from commit 2665fd5ab54b3040ab36bcba25b3929d5f11e8d4)
2022-01-06 00:21:43 +01:00
offl a0bee07b0c DB/Quest: Convert & update support for 'Shizz Work' to SAI
Closes #24638

(cherry picked from commit 049cba3ace198ec74a2014e233b33aafbf749a53)
2022-01-06 00:21:07 +01:00
offl b217e5842f DB/Quest: Convert & update support for 'Finding the Survivors' to SAI
Closes #24636

(cherry picked from commit 2815db52a643bdfa397317b79d5b3f68995b343e)
2022-01-06 00:20:41 +01:00
offl 692163493c DB/Creature: Convert & update support for Ashyen & Keleth to SAI
Closes #24635

(cherry picked from commit a2068cade59a067f55d779735ba8bcf5c48f045f)
2022-01-06 00:20:02 +01:00
offl 2071de8fad DB/Loot: Remove item Carved Ivory Bone from creatures loot
Closes #24624

(cherry picked from commit 7b4b04653be041e53c51121a0cf80b33a5fd4de5)
2022-01-05 22:42:17 +01:00
offl 4e625bcde7 DB/SAI: Fix event flags for "Discovering Your Roots" script
Closes #24622

(cherry picked from commit 73f7a78a333a5b33325ae62bd1806a8d446e3c83)
2022-01-05 22:41:42 +01:00
killerwife c9b13f1897 MMAP: Build ADT floor just like WMO floor below liquid (#27503)
Fixes ocean floor pathfinding

(cherry picked from commit 8a779268b601db28005a8348f3c21255718d4526)
2022-01-04 20:44:26 +01:00
Giacomo Pozzoni feb36f3f7d Tools/MMAPs: Show an error when running mmaps_generator built in Debug mode (#27412)
* Tools/MMAPs: Show an error when running mmaps_generator built in Debug mode

* Fix GCC build

(cherry picked from commit 8c80f28581646af110c4d2b316209ef291a95587)
2022-01-04 20:44:26 +01:00
jackpoz 071a8b5b7d Core/Misc: Remove whitespace
(cherry picked from commit 869fb748cd4f80b65b154fbd3cb9fa4ee8d64672)
2022-01-04 20:44:26 +01:00
jackpoz be7acb2527 Core/MMAPs: Reduce chances of breaking tile connections
Reduce chances of breaking tile connections caused by floating point rounding issues.

(cherry picked from commit e615e2ddefd2c18b6dec8e08fb3d17580b64ea99)
2022-01-04 20:44:26 +01:00
killerwife dbb7f65723 Vmap: Introduce skipping of antiportals and unreachable mogp (#26331)
* Vmap: Introduce skipping of antiportals and unreachable mogp

* Reduce differences with master branch

* Update VMAP and MMAP versions

* Update MMAPs version

Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit d5f1fefe7f6772b11e9fbb052bfd36be9bda98e2)
2022-01-04 20:44:25 +01:00
killerwife 2467f799bb MapExtraction: Fix water height redundancy algorithm ignoring "no water" (#26324)
* MapExtraction: Fix water height redundancy algorithm ignoring "no water"

* Update MMAP_VERSION

* Change map version

Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit 00da074109e713280264761eedfbf6e5dc7ef912)
2022-01-04 20:44:25 +01:00
Giacomo Pozzoni 1ba940b17a Core/Maps: Change .map file version from FourCC to uint32 (#26326)
(cherry picked from commit 42877e75e2a67514dfeb185661e4f397b6eb044a)
2022-01-04 20:44:25 +01:00
Giacomo Pozzoni 89e183704c Improve multithreading of mmaps_generator (#25625)
* Build/Misc: Add a few *San CMake flags

Add the following flags for the related tools:
- MSAN for Memory Sanitizer
- UBSAN for Undefined Behavior Sanitizer
- TSAN for Thread Sanitizer

* Remove unused parameter

* Fix UBSan reported issue

* Disable G3D buffer pools when using Thread Sanitizer as it has its custom locking mechanisms

* Code cleanup

* Move threads from maps to tiles

* Move tile building logic to TileBuilder class

* Fix memory leak in TileBuilder

* Fix build

* Store TileBuilder as raw pointer for now, it will be changed later on to use modern C++ constructs

* Fix crash on shutdown

* Revert pvs-studio change

* Fix generating 1 single tile not closing the program

(cherry picked from commit a4e93d779c9638bc0a61cb4405ef28cb935d1065)
2022-01-04 20:44:25 +01:00