Commit Graph

8448 Commits

Author SHA1 Message Date
ZhengPeiRu21
08118e168f fix(DB/pathing): Badlands Missing Pathing (#11324)
* fix(DB/pathing): Badlands Missing Pathing

* Add correct movement flag to Badlands Buzzards

* Remove old format version line
2022-06-03 21:24:01 -03:00
AzerothCoreBot
e9e5613f9b chore(DB): import pending files
Referenced commit(s): 8e0b1ca286
2022-06-03 12:28:15 +00: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
Meramaf
c027e907e1 fix(DB/Item): Fix ProcChance of Charred Twillight Scale Trinket (#11487) 2022-06-03 09:24:37 -03:00
AzerothCoreBot
24a80a16e6 chore(DB): import pending files
Referenced commit(s): cca4b90c93
2022-06-02 13:50:54 +00:00
Malcrom
cca4b90c93 fix (Conditions): Loh'atu gossip (#11922) 2022-06-02 09:48:35 -04:00
AzerothCoreBot
2de12c7937 chore(DB): import pending files
Referenced commit(s): c0c85ebf0a
2022-06-02 13:13:59 +00: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
天鹿
40a5eef152 refactor(Core/Instances): Update CHAR_DELETE_INSTANCE_SAVED_DATA (#11866)
* Update InstanceSaveMgr.cpp

* Update Group.cpp

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.h

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.h

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.h

* Update InstanceSaveMgr.cpp

* Update Group.cpp

* Update PlayerMisc.cpp

* Update InstanceSaveMgr.h

* Update Group.cpp

* Update PlayerMisc.cpp

* Update Group.cpp

* Update Group.cpp

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.h

* Update Group.h

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.cpp

* Update InstanceSaveMgr.cpp
2022-05-30 15:27:50 -03:00
AzerothCoreBot
d44cea93e7 chore(DB): import pending files
Referenced commit(s): a8eb0ef7b5
2022-05-30 09:44:50 +00:00
temperrr
a8eb0ef7b5 fix(DB/Loot): Zul'Gurub boss loot (#11844)
* Fix(DB/Loot): Zul'Gurub boss loot

* Update rev_1653289483708667578.sql
2022-05-30 06:42:49 -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
AzerothCoreBot
9c6bcf9e28 chore(DB): import pending files
Referenced commit(s): 75a27c02ce
2022-05-30 07:26:55 +00:00
avarishd
75a27c02ce fix(DB/Creature): Leviathan Mk II's Plasma Blast BroadcastTextId (#11874)
Create rev_1653602942462997500.sql
2022-05-30 04:24:49 -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
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