Commit Graph

1062 Commits

Author SHA1 Message Date
Skjalf
5c7e7afade fix(Scripts/ZulGurub): Rewrite High Priest Thekal (#11784) 2022-06-06 09:35:48 -03:00
avarishd
156b1eb969 fix(Script/Instance): Ulduar - Flame Leviathan Hardcore to DB (#11879)
* Hardcore removal and comment out RepairText for Players

* codestyle

* Remove (now) unused void Say
2022-06-06 09:05:59 -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
天鹿
14d933eddc fix(Scripts/Paladin): infusion of light proc (#11935)
* Update spell_paladin.cpp

* Update spell_paladin.cpp

* Update spell_paladin.cpp

* Update spell_paladin.cpp
2022-06-04 09:33:50 -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
Kempec Halk
c0c85ebf0a feat(Core/Commands): deserter command offline & using targets & console support (#11921) 2022-06-02 10:11:53 -03:00
Kargatum
4fbec972a8 refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07: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
avarishd
86ea199867 fix(Script/Core): Move hardcoded text to DB (#11829)
* Remove hardcodes from zones

And minor changes on (Q)  The cleansing

* cs

* codestyle
2022-05-30 04:23:29 -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
Axel Cocat
fbd5e981ca fix(Scripts/Commands): fix baninfo command issues (#11871) 2022-05-27 00:21:43 -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
UltraNix
55720eedd3 fix(Scripts/Spells): Sweeping Strikes - improvements. (#11666)
* fix(Scripts/Spells): Sweeping Strikes - improvements.

Fixes #11594

* Buildfix.
2022-05-23 05:49:56 -03:00
temperrr
b6d79ac89e fix(Script/ZulGurub): Skeletons should appear in pit (#11561) 2022-05-23 05:47:30 -03:00
UltraNix
bcfaf2daad fix(Scripts/Spells): Replenishment should proc off from Vampiric Touc… (#11772)
* fix(Scripts/Spells): Replenishment should proc off from Vampiric Touch even if target died from Mind Blast.

Fixes #8502

* Update.
2022-05-23 05:45:01 -03:00
avarishd
1b852b4a0c fix(Script/Quest): A Suitable Disguise - Move zone_dalaran to DB from hardcode (#11813)
Update zone_dalaran.cpp
2022-05-21 23:30:58 +02:00
avarishd
634b2e101c fix(Script/Quest): Conversing With the Depths adjustments & zone_dragonblight move to db from hardcode (#11795)
* Update zone_dragonblight.cpp

* Update zone_dragonblight.cpp
2022-05-21 23:29:28 +02:00
avarishd
fbbb287c29 fix(Script/Ulduar): Mimiron - remove hardcode text and fix Computer broadcast. (#11725)
* Remove hardcode from Mimiron

And fix Computer broadcast text with the sql

* Remove unused ObjectAccessor

* Add plasma blast to creature_text (MK II)

And move all text into 1 enum

* cs
2022-05-21 23:26:35 +02:00
avarishd
75c65ce9b0 fix(Script/Ulduar): Thorim - misc fixes & hardcode removal (#11711)
* Remove unused SAY_SPECIAL from Thorim/Ulduar

Remove duplicates from creature_text for Thorim/Ulduar

* missing ;

* Fix chest rotation & set trigger creature flag to traps

* Change SAY_SPECIAL & start at 6/6 adds

* remove urand from KilledUnit

was there because TYPEID_PLAYER wasn't there, prior to now

* Update SQL comment

* Remove unnecessary GetInstanceScript
2022-05-21 23:25:37 +02:00
avarishd
d94f8b5970 fix(Script/Ulduar): Freya spawning multiple chests (#11794) 2022-05-19 10:59:48 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
IntelligentQuantum
8935f9a869 fix(Core/Scripts): Black Template Area Boundary (#11705)
* .

* feat(Core/Scripts): Black Template Area Boundary

* .
2022-05-17 12:03:40 -03:00
Maelthyr
5ede1177c5 refactor(Core/Combat): implement compatiblity layer for ResetAllThreat() (#11778)
* implement ResetAllThreat()

* .
2022-05-17 12:01:25 -03:00
UltraNix
c6b5700ef5 fix(Core): Crashfix. (#11740) 2022-05-17 06:38:13 +02: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
Skjalf
822aff29e6 fix(Scripts/World): fix nullptr crash (#11770) 2022-05-15 18:28:40 +02: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
IntelligentQuantum
981ec9d013 fix(Scripts/Outland): boss_kaelthas (#11701)
* .

* Update boss_kaelthas.cpp
2022-05-10 22:38:27 +02:00
avarishd
edcb9ff3a9 fix(Script/Ulduar): Change the way Elders are despawned
Despawns the elders
2022-05-09 08:25:17 -03:00
avarishd
6e9d470876 fix(Scripts/Auriaya): Move hardcoded text/gossips to DB (#11658)
* auriaya

* Update boss_auriaya.cpp

* cs

* Update boss_auriaya.cpp
2022-05-09 01:52:22 +02:00
Grimgravy
0bb789232e fix(Scripts/Quest): improved You'll Need a Gryphon (#11651)
* fix(Scripts/Quest): improved You'll Need a Gryphon

* Update rev_1651846511304338500.sql
2022-05-08 23:24:02 +02:00
avarishd
9144cab27d fix(Scripts/Ignis): Move hardcoded text/gossips to DB (#11655)
* ignis

* cs

* revert victim
2022-05-08 23:15:41 +02:00
avarishd
7b01b27bb2 fix(Scripts/XT002): Move hardcoded text/gossips to DB (#11652)
* xt

* xt

* codestyle

im bad

* cs

* update
2022-05-08 23:14:57 +02:00
avarishd
8f485cb5d4 fix(Scripts/Freya): misc improvements (#11665) 2022-05-08 23:02:15 +02:00
avarishd
4df92b553c fix(Scripts/RazorScale): Move hardcoded text/gossips to DB and minor fixes (#11694)
* Update boss_razorscale.cpp

* cs

* questionable fix, but it works
2022-05-08 22:54:38 +02:00
Nefertumm
6ca5938d75 fix(Scripts/AQ): Rewrite bug trio fight (#11565)
* fix(Core/AQ): Rewrite bug trio fight

* update sql to newest

* with a comment

* fix build

* finish?

* build

* add evade boundary
2022-05-08 10:49:23 +02:00
Christopher Galbraith
f32aa0992c fix(Scripts/Ahune): Removed hardcoded emotes (#11674)
* Added missing entries for Ahune in creature_text. Removed hardcoded emote text and pointed towards DB.

* fixed missing semi-colons

* add new line at end

* fixed SQL

* added broadcast_text values

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-08 10:20:43 +02:00
Christopher Galbraith
ac8a6b4328 fix(Script/Skadi): Emotes (#11625)
* Added Grauf deep breath emote

* Renamed flame visual to properly reflect spell name Freezing Cloud

* Removed defined text, now uses creature_text for emotes

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-07 23:20:34 +02:00
avarishd
56955f792b refactor(Core/Creature): Move hardcoded text/gossips to DB - boss_general_vezax (#11649) 2022-05-06 10:21:14 -03:00
SilentCLD
7975bc63ca fix(Core/Commands): Fix removing item from player account (#11041)
The additem command would silently return when trying to remove an item
from a player security level account
2022-05-06 00:33:18 -03:00
Charlton Lau
6a58d1ee69 fix(Script/Quest): A Pawn on the Eternal Board freezing world (#11616) 2022-05-05 05:04:53 +02:00
Skjalf
e7531fa2a9 fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be ski… (#11596)
* fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be skippable

* Update instance_temple_of_ahnqiraj.cpp
2022-05-03 07:26:42 -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