Commit Graph

324 Commits

Author SHA1 Message Date
UltraNix
d236dc9d07 fix(Scripts/ZulGurub): Wushoolay - improvements: (#11968)
* fix(Scripts/ZulGurub): Wushoolay - improvements:

Added missing spells and events.
Removed invalid spells
Corrected event timers.
Fixes #11627

* Update.
2022-06-13 09:02:57 -03:00
temperrr
d3b381c238 fix(Scripts/BRD): Emperor should not yell when dead. (#12046)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2022-06-13 09:01:50 -03:00
Eddy Vega
3b0cd43d12 fix(scripts/ZulGurub): Rewrite Broodlord Mandokir and Ohgan (#11854)
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-06-13 08:52:28 -03:00
UltraNix
e951208610 fix(Scripts/ZulGurub): Gah'zranka's Slam should reset threat. (#11910) 2022-06-09 20:28:57 -03:00
Eddy Vega
70f3891352 fix(Scripts/ZulGurub): Update Gahzranka's abilities (#11849) 2022-06-06 16:12:20 -03:00
UltraNix
41b0fa02f2 fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not… (#11838)
* fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not be removed on attack.

Fixes #11557

* missing stuff.

* Update.
2022-06-06 15:20:40 -03:00
UltraNix
ffda31fc23 fix(Scripts/ZulGurub): Fixed Jindo's Healing Ward Totem. (#11841)
Fixed #11763
2022-06-06 09:46:54 -03:00
Skjalf
5c7e7afade fix(Scripts/ZulGurub): Rewrite High Priest Thekal (#11784) 2022-06-06 09:35:48 -03:00
avarishd
7549eb59be fix(Script/Creature): Scarlet Commander Mograine - Pull entire cathedral and fix mob fleeing into him (#11766)
* Remove CallForHelp, add void PullCathedral

* cs
2022-06-06 09:02:55 -03:00
UltraNix
5454c0478f fix(Scripts/ZulGurub): Improvements to Gri'lek encounter: (#11960)
* fix(Scripts/ZulGurub): Improvements to Gri'lek encounter:

Corrected timers of events.
Avatar should wipe all threat for the entire raid.
Boss is immuned to taunt.
Added missing spells.
Fixes #11611

* missing sql.
2022-06-06 08:58:25 -03:00
Nefertumm
8e0b1ca286 fix(Core/ZulGurub): more improvements to High Priestess Jeklik (#11604)
* Fix(Core/ZulGurub): more improvements to High Priestess Jeklik

* remove old comment

* cancel phase one events on phase 2

* Update src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* style

* build

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-06-03 09:26:18 -03:00
UltraNix
5b719bab05 fix(Core): Crashfix. (#11898)
Fixes #11861
2022-05-30 06:36:58 -03:00
UltraNix
f85b62a77f fix(Scripts/ZulGurub): Jindo cannot attack targets affected by Hex. (#11837)
Fixed #11556
2022-05-30 06:36:32 -03:00
UltraNix
be877a4e5d fix(Scripts/ZulGurub): Re-implemented Hakkar's Insanity. (#11840)
fix(Scripts/ZulGurub): Fixed Jindo's Brain Wash Totem.

Fixes #11760
2022-05-30 04:20:29 -03:00
UltraNix
1e79b10b79 fix(Scripts/ZulGurub): Massive Geyser should not attack players. (#11909)
Fixes #11563
2022-05-30 04:18:02 -03:00
Hanabi
a6a2ca8ef7 feat(Core/GameObjects): Instance gameobject save data implementation (#11113)
* fix(Core): Save gameobject state on instances

Currently, azerothcore doesn't save gameobject states on instances.
Whenever there's a re-start or crash, the instance's gameobjects and
their states aren't saved, producing un-wanted behaviours and blocking instances at times.

Implemented CRUD for new table `instance_saved_data` that holds the states of gameobjects.

- When worldserver launches and gameobjects are loaded, this will check
  if this object's state exists on the DB and sets the previous state.
- On instance deletion (reset) these states are also removed based on
  the instance ID.
- Whenever a gameobject state changes inside a dungeon or raid, we save
  on the database the set state.

* Select query to synchronous and used FindMap()

* loading gameobject states on create

* reseting instance saved data

* missing reset methods and on create state

* database structure

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/Player/PlayerMisc.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Groups/Group.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* codestyle

* table changes

* table style

* codestyle

* table changes for columns

* data sanitization

* todo:

- Finish loading db data into the containers
- Using containers to find data
- How to get data from ObjectMGR inside Gameobject?

* loading on start up and db changes

* Removing unused data structure

* Uninitialised integer

* Whitespace

* clean-up and hooks to save states on memory

* Codestyle MySQL deprecated backticks

* i dont understand codefactor

* build

* Update data/sql/updates/pending_db_world/rev_1643395587559675400.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Globals/ObjectMgr.h

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* review changes

* unecessary removal

* pushback instead of emplace

* wrong database update

* Update ObjectMgr.cpp

* missing check

* removing entry from the PR

* missing removals

* last delete

* build

* aha! Found the culprit for the sudden assert errors

* type safety, save only important gameobjects

* static cast to unsigned short

* Update data/sql/updates/pending_db_characters/rev_1643629468629316100.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* type changes

* queries fix

* fix build

* enabling which gameobjects to save on the database

* deadmines iron clad door

* Adjustment to gameobject onj create state and instances:

- Gnomeregan doors and Grubbis boss state
- Deadmines missing doors
- Stratholme gameobjects state saved

* forgot emi blastfuse change to despawn

* Leaving group logic

* codestyle

* fixing merge issues

* prevent bad behaviour

* brain meltdown

* Update data/sql/updates/pending_db_characters/rev_1643629468629316100.sql

* Update data/sql/updates/pending_db_world/rev_1649359139539727000.sql

Co-authored-by: Claudiodfc <54484196+claudiodfc@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2022-05-24 10:33:45 -03:00
Maelthyr
dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
temperrr
b6d79ac89e fix(Script/ZulGurub): Skeletons should appear in pit (#11561) 2022-05-23 05:47:30 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
Maelthyr
5ede1177c5 refactor(Core/Combat): implement compatiblity layer for ResetAllThreat() (#11778)
* implement ResetAllThreat()

* .
2022-05-17 12:01:25 -03:00
Malcrom
aab3348e65 Fix(Script/SAI/Misc) Eversong Partygoers (#11786)
* Fix(Script/SAI/Misc) Eversong Partygoers

* Update zone_eversong_woods.cpp
2022-05-16 21:36:21 -03:00
acidmanifesto
06a62538cf fix (core\crash): fix client crash dk starter (#11726)
* fix (core\crash): fix client crash dk starter

Fixing it again. Something regressed.

* adjust timer and text playing

* improved timing

* Update chapter1.cpp
2022-05-13 13:00:59 -04:00
UltraNix
203450e949 fix(Scripts/BlackwingLair): Warrior Class Call should not restore to default stance on removal. (#11671) 2022-05-10 22:54:11 -03:00
Skjalf
12a0c6f1bc fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing playe… (#11595)
* fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing players in the floor underneath

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-03 07:18:45 -03:00
Skjalf
3c851c059a fix(Scripts/BlackwingLair): Prevent Chromaggus cage from looking (#11603) 2022-05-03 07:10:09 -03:00
Maelthyr
0363b95919 fix(Script/ZulGurub): High Priestess Jeklik improvements (#11458) 2022-05-02 21:02:40 -03:00
UltraNix
4e977d9ada fix(Scripts/BWL): Razorgore's Orb of Domination should not be usable during 2nd phase of the encounter. (#11580) 2022-05-02 21:01:00 -03:00
UltraNix
ef6c97e96e fix(Scripts/BlackiwingLair): Rogues should be teleported in front of Nefarian during Class Call event. (#11513) 2022-04-24 14:58:39 -03:00
Skjalf
88555b6564 refactor(Scripts/BlackwingLair): Refactor Chromaggus (#11501)
* refactor(Scripts/BlackwingLair): Refactor Chromaggus

* Update boss_chromaggus.cpp

* eof

* Update boss_chromaggus.cpp
2022-04-24 09:25:57 -03:00
Skjalf
c695d9b4bd fix(Scripts/BlackwingLair): Three drake bosses should be optional (#11506) 2022-04-24 02:48:35 -03:00
Skjalf
53bfc548a6 fix(Scripts/BlackwingLair): Bone Constructs should persist after Nefarian's death (#11504) 2022-04-24 02:05:27 -03:00
UltraNix
385176f434 fix(Core): Crashfix. (#11490)
* fix(Core): Crashfix.

* Update.
2022-04-23 11:32:09 -03:00
Kitzunu
1501445b0a chore(Core/Misc): nullptr cleanup (#11467) 2022-04-21 19:17:20 +02:00
temperrr
343732ee0b fix(Script/BWL): Fix initial shadowflame timers (#11443) 2022-04-20 09:10:31 -03:00
temperrr
33a70dbebc fix(Scripts/BlackwingLair): Chromaggus shimmer timer adjustment, fre… (#11437)
* Fix (Scripts/BlackwingLair): Chromaggus shimmer timer adjustment, frenzy and enrage changed

* codestyle

* urand
2022-04-19 06:32:45 -03:00
Skjalf
f9a76d99d4 fix(Scripts/BlackwingLair): Prevent Nefarian's adds corpse from decaying (#11424) 2022-04-17 11:50:53 -03:00
Skjalf
ca95a986ba fix(Scripts/BlackwingLair): Improve Nefarian's add animations (#11414) 2022-04-16 10:36:04 -03:00
UltraNix
3d609bfd24 fix(Core/Spells): Send proper caster's guid in SMSG_SPELL_START/SMSG_SPELL_GO packets in case of spells casted originally by gameobjects. (#11337)
Added visual channeling when mind controlling Razorgore by player.
Fixes #11275
2022-04-15 12:16:02 -03:00
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
Axel Cocat
17e143763a fix(Core/Unit): Remove some hardcoded texts (#5816) 2022-04-15 13:17:06 +02:00
Skjalf
2f5a5dffcb fix(Scripts/BlackwingLair): Solve the issue with Nefarian occasionall… (#11398) 2022-04-14 17:27:04 -03:00
Nefertumm
6a931b6be2 fix(Core/BWL): Orb of Command areatrigger (#11385) 2022-04-13 08:55:06 -03:00
Nefertumm
1b1e29bef4 fix(Core/BWL): Nefarian class call spells (#11384) 2022-04-12 20:38:08 -03:00
UltraNix
f124ae14a9 fix(Scripts/BlackwingLair): Do not spawn more than 52 Razorgore's add… (#11274) 2022-04-11 12:01:40 -03:00
Nefertumm
1ee058dfd8 fix(Core/BWL): Nefarian spawns (#11326)
* fix(Core/BWL): Nefarian spawns

* Rogue class call with vanish

* backticks

* despawn skeletons after death

* Update boss_nefarian.cpp
2022-04-11 08:15:15 -03:00
UltraNix
1cce367645 fix(Scripts/BlackwingLair): Prevent Razorgores' eggs from respawning … (#11336)
* fix(Scripts/BlackwingLair): Prevent Razorgores' eggs from respawning after wipe.

* Update.

* Update.

* Update.
2022-04-09 08:59:47 -03:00
Nefertumm
4dcab1f7bc fix(Core/BWL): Razorgore spawns timer (#11320) 2022-04-07 12:28:32 -04:00
UltraNix
c047311788 Scripts/Spells: Suppression Aura should not hit stealthed units. (#11270)
* Scripts/Spells: Suppression Aura should not hit stealthed units.

Fixes #11249

* Update.

* Update data/sql/updates/pending_db_world/rev_1648996451912542300.sql

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-04-07 12:28:12 -04:00
Kitzunu
b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +02:00
Kitzunu
edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00