Commit Graph

8432 Commits

Author SHA1 Message Date
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
AzerothCoreBot
0ed66168b4 chore(DB): import pending files
Referenced commit(s): be877a4e5d
2022-05-30 07:22:26 +00: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
a0da7417a0 fix(Core/Units): Clear any movement on charm - vol. 2. (#11897)
* fix(Core/Units): Clear any movement on charm - vol. 2.

Fixes #11880

* Update.
2022-05-30 04:19:53 -03:00
UltraNix
1e79b10b79 fix(Scripts/ZulGurub): Massive Geyser should not attack players. (#11909)
Fixes #11563
2022-05-30 04:18:02 -03:00
AzerothCoreBot
94e7338fe6 chore(DB): import pending files
Referenced commit(s): 1aca5a9bca
2022-05-29 19:30:00 +00:00
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
Stefano Borzì
6a6418f232 fix: temporary workaround for the googletest issue (#11902)
* fix: temporary googletest issue

* chore: use main branch

* fix: typo

* chore: update reference
2022-05-28 17:12:42 +02:00
Axel Cocat
fbd5e981ca fix(Scripts/Commands): fix baninfo command issues (#11871) 2022-05-27 00:21:43 -03: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
UltraNix
7b4e1ef7d3 fix(Core/Spells): Shadow Weaving should not proc off from DoTs. (#11825) 2022-05-25 05:00:05 -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
UltraNix
b638d44693 fix(Core/Units): Clear any movement on charm. (#11826)
Fixes #10343
2022-05-23 06:04:27 -03:00
AzerothCoreBot
c331d8822b chore(DB): import pending files
Referenced commit(s): dfc6adb081
2022-05-23 08:53:53 +00:00
Maelthyr
dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03: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
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
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
914ea4f9c3 fix(Core/Items): Properly transfer enchantment durations from old to … (#11828)
fix(Core/Items): Properly transfer enchantment durations from old to newly created/summoned items.

Fixes #11687
2022-05-23 04:27:53 -03:00
UltraNix
99f1cd84e2 fix(Core/Spells): Improvements to Far Sight spell: (#11683)
* fix(Core/Spells): Improvements to Far Sight spell:

Far Sight should not interrupt while casting another spell.
Corrected setting Far Sight object as an active object.
Fixed grid activation range for active dynamic objects.
When Far Sight is over, the camera be reset to player.
Enable swapping camera between Far Sight and Sentry Totem.
Fixes #6368

* Update.

* Update.
2022-05-23 04:26:51 -03:00
UltraNix
0c209dae75 fix(Core): Crashfix. (#11821) 2022-05-23 04:25:55 -03: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
Kargatum
b1c5b44500 feat(Cmake/FindMySQL): add support MariaDB 10.9 (#11835) 2022-05-23 04:04:04 +07:00
Kargatum
464eda37e7 fix(Tools/Vmap): correct build (#11834) 2022-05-23 04:03:48 +07: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