Commit Graph

5411 Commits

Author SHA1 Message Date
Malcrom
1aca5a9bca fix(Quest/SAI/Equip) Quest 8891 "Abandoned Investigations" (#11912)
* fix(Quest/SAI/Equip) Quest 8891 "Abandoned Investigations" turn in script

* Update rev_1653830830812451556.sql
2022-05-29 15:28:05 -04:00
AzerothCoreBot
85f10247b9 chore(DB): import pending files
Referenced commit(s): f484612b84
2022-05-29 19:14:31 +00:00
UltraNix
f484612b84 fix(DB): Crashfix. (#11900)
Fixes #11842
2022-05-29 21:12:31 +02:00
AzerothCoreBot
4f2f9d8013 chore(DB): import pending files
Referenced commit(s): f471febbd7
2022-05-26 19:19:36 +00:00
Eddy Vega
f471febbd7 fix(DB/CreatureText): Jin'do the Hexxer's RP - GRATS! (#11855) 2022-05-26 16:17:42 -03:00
AzerothCoreBot
a6d74472ae chore(DB): import pending files
Referenced commit(s): b9371a5d73
2022-05-26 19:02:28 +00:00
Asthalor
b9371a5d73 fix(DB/SAI): Updated text for Rune-Inscribed Parchment (#11639) 2022-05-26 16:00:21 -03:00
AzerothCoreBot
cdd27bfff6 chore(DB): import pending files
Referenced commit(s): 2337342fc7
2022-05-25 18:26:45 +00:00
avarishd
2337342fc7 fix(DB/Spell): Set Lock and Load procPhase to 0, allowing Black Arrow to proc it. (#11862)
* Create rev_1653383651000084300.sql

* SQL Comment update
2022-05-25 15:24:24 -03:00
AzerothCoreBot
3772582e5c chore(DB): import pending files
Referenced commit(s): 84ccf508ef
2022-05-25 11:52:59 +00:00
mpfans
84ccf508ef fix(DB/Translation): Chinese translation of two quests (#11867)
fix 2 quests Chinese Translation

* update `Slaves of the Stormforged` quest Chinese translation
* update `Waterlogged Recipe` quest Chinese translation
2022-05-25 08:50:49 -03:00
AzerothCoreBot
5912f654df chore(DB): import pending files
Referenced commit(s): b66586c1d7
2022-05-25 07:58:38 +00:00
UltraNix
b66586c1d7 fix(Core/Spells): Fixed players being able to mount with all transfor… (#11767)
…m auras.

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-25 04:56:35 -03:00
AzerothCoreBot
edfd2bba8e chore(DB): import pending files
Referenced commit(s): bc101780e8
2022-05-25 02:31:16 +00:00
avarishd
bc101780e8 fix(DB/SAI): Commander Felstrom Infinite Loot Farm (#11744) 2022-05-24 23:29:06 -03:00
AzerothCoreBot
a229a53ffa chore(DB): import pending files
Referenced commit(s): 7ef53bcda1
2022-05-25 02:21:02 +00:00
Hanabi
7ef53bcda1 fix(DB/Loot): Bear Flank drop rates (#11530) 2022-05-24 23:19:08 -03:00
AzerothCoreBot
a4af113685 chore(DB): import pending files
Referenced commit(s): a6a2ca8ef7
2022-05-24 13:35:53 +00: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
AzerothCoreBot
305a2689e9 chore(DB): import pending files
Referenced commit(s): 46d0b32d98
2022-05-23 09:07:52 +00:00
temperrr
46d0b32d98 fix(DB/SAI): Skeletal Guardian should melee when no mana / follow around corners. (#11808)
* Fix(DB/SmartAI): Skeletal Guardian should move to target when out of mana/los

* Delete rev_1652964611894173692.sql

* Create rev_1652964611894173692.sql
2022-05-23 06:05:49 -03:00
temperrr
1f59431d03 fix(DB/BlackwingLair): Trash Formation (#11807)
* Fix(DB/BWL): Trash Formation

* Update rev_1652952979464233480

* add .sql extension

* missing semicolon

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-05-23 06:05:19 -03:00
AzerothCoreBot
c331d8822b chore(DB): import pending files
Referenced commit(s): dfc6adb081
2022-05-23 08:53:53 +00:00
avarishd
ae3ecb0f1a fix(DB/Creature): Flamebringer spawning indefinitely (#11737)
* Create rev_1652526320425217900.sql

* Update rev_1652526320425217900.sql

* wrong SAI link

* clear link parm1

* Remove the double on gossip event(s)
2022-05-23 05:51:08 -03:00
AzerothCoreBot
72b88ad188 chore(DB): import pending files
Referenced commit(s): bcfaf2daad
2022-05-23 08:47:12 +00: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
Degen
34943f1f4b fix(DB/gameobject): Darnassus Moonwell spell focus objects (#11428)
* Add files via upload

* Update rev_1650258156241061000.sql
2022-05-23 05:44:37 -03:00
AzerothCoreBot
e5b0545759 chore(DB): import pending files
Referenced commit(s): 914ea4f9c3
2022-05-23 07:29:49 +00:00
UltraNix
e0a0e883b0 fix(DB/Quest): Fixed Captive Crocolisk not moving to final destination. (#11823)
Fixes #11809
2022-05-23 04:25:06 -03:00
AzerothCoreBot
f7674acb58 chore(DB): import pending files
Referenced commit(s): 90fccacad5
2022-05-21 21:44:46 +00:00
Kitzunu
90fccacad5 feat(Core/Movement): Allow waypoints to use 0 as valid facing value (#11681)
* feat(Core/Movement): Allow waypoints to use 0 as valid facing value

* cherry-pick commit (4747515872)

Co-Authored-By: Ovah <18347559+Ovahlord@users.noreply.github.com>

* Update SmartScriptMgr.h

* a

* Update SmartAI.cpp

* Update SmartAI.cpp

* Update SmartAI.cpp

* typo

* Update SmartAI.cpp

* Update SmartAI.cpp

* Compile fix

* compile #2

* Update WaypointMgr.h

* Update SmartScriptMgr.h

* compile fix again

Co-authored-by: Ovah <18347559+Ovahlord@users.noreply.github.com>
Co-authored-by: MDIC <joshua.lee.betts@gmail.com>
2022-05-21 23:42:41 +02:00
AzerothCoreBot
92cf37731a chore(DB): import pending files
Referenced commit(s): 1b852b4a0c
2022-05-21 21:33:02 +00:00
avarishd
ee596047d9 fix(DB/Creature): BRD Detention Block - Link mobs in group pack (#11790)
* Create rev_1652731923594016000.sql

* missing `
2022-05-21 23:29:12 +02:00
avarishd
dafba27bac fix(DB/Creature): Horde Scout - console SmartScript::ProcessAction errors (#11783)
* Create rev_1652715563226780200.sql

* Change "!" to ".", from broadcast_text
2022-05-21 23:28:57 +02:00
AzerothCoreBot
9a94042b08 chore(DB): import pending files
Referenced commit(s): fbbb287c29
2022-05-21 21:28:44 +00: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
AzerothCoreBot
fc6d8f1bb7 chore(DB): import pending files
Referenced commit(s): 83bca85694
2022-05-18 07:55:44 +00:00
UltraNix
83bca85694 fix(DB/Quest): Quest "Relic of the Earthen Ring" should be reset on … (#11755)
..faction change.
2022-05-18 04:53:41 -03:00
AzerothCoreBot
8ca980633a chore(DB): import pending files
Referenced commit(s): 213040dfd1
2022-05-18 07:49:06 +00:00
UltraNix
213040dfd1 fix(DB/Spells): Fixed Shaman's Clearcasting proc. (#11754) 2022-05-18 04:47:07 -03:00
AzerothCoreBot
9e35f84187 chore(DB): import pending files
Referenced commit(s): 5dea6b6d1c
2022-05-17 18:47:40 +00:00
Hanabi
5dea6b6d1c fix(DB/Gossips): Earthcaller gossips (#11792)
- created missing gossip menus for npc and changed his flags to allow
  gossips.
- Conditions for when player has either bindings or is on quest 7786
2022-05-17 15:45:13 -03:00
AzerothCoreBot
7870f3d1b3 chore(DB): import pending files
Referenced commit(s): 1cc015b51f
2022-05-17 15:07:51 +00:00
avarishd
1cc015b51f fix(DB/Quest): Coward Delivery... Under 30 Minutes or it's Free (#11734)
Create rev_1652480165040490600.sql
2022-05-17 12:05:40 -03:00
avarishd
691d1d8e14 fix(DB/Creature): Goblin Land Mine playing Hakkar voiceline (#11756) 2022-05-17 12:04:48 -03:00
Christopher Galbraith
9f0bc13ae5 fix(DB/SAI): Fixed crystal fang to spawn 4 spiders on death (#11732)
* Fixed crystal fang to spawn 4 spiders on death

* fixed missing newline

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-17 12:02:19 -03:00
temperrr
758463ffe1 fix(DB/Creature): Hakkar should be taunt immune. (#11777)
* Fix(DB/Creature): Hakkar should be taunt immune

* Update rev_1652689266458530042.sql

* flag_extra
2022-05-17 11:59:17 -03:00
AzerothCoreBot
78f66ce05e chore(DB): import pending files
Referenced commit(s): aab3348e65
2022-05-17 00:38:34 +00: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