Commit Graph

3026 Commits

Author SHA1 Message Date
ZhengPeiRu21
2d7cba14db Merge branch 'azerothcore:master' into Playerbot 2022-06-10 08:51:40 -06:00
UltraNix
9dd4123ff0 fix(Scripts/ZulGurub): Fixed Edge of Madness tablets. (#11959)
Based on @offl work.
Fixes #11610
2022-06-09 20:30:07 -03:00
UltraNix
e951208610 fix(Scripts/ZulGurub): Gah'zranka's Slam should reset threat. (#11910) 2022-06-09 20:28:57 -03:00
Kargatum
94528cd44d feat(Tools/DbImport): implement separated app for importing DB (#11614) 2022-06-09 08:23:38 -03:00
ZhengPeiRu21
d8a2665867 Merge branch 'azerothcore:master' into Playerbot 2022-06-08 11:10:38 -06:00
avarishd
9aa3fef4a8 fix(Script/Quest): Mystery of the Infinite minor adjustments & zone_dragonblight move to db from hardcode (#11810)
* Update zone_dragonblight.cpp

* add IsFlying check to Future/past NPC & better randomizer

* ocd ( align =)

* Add Nozdormu "phasing"

* cs
2022-06-08 08:32:57 -03:00
UltraNix
bab2c6291b fix(Core/Spell): Fixed Divine Shield not granting immunity to spell s… (#11954)
...chools.
2022-06-07 23:43:36 -03:00
UltraNix
f312600513 fix(Core): Crashfix. (#11956) 2022-06-07 23:38:33 -03:00
Eddy Vega
70f3891352 fix(Scripts/ZulGurub): Update Gahzranka's abilities (#11849) 2022-06-06 16:12:20 -03:00
Stefano Borzì
6535c943e6 refactor: remove useless ternary operator (#11907) 2022-06-06 16:11:22 -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
avarishd
75858bd786 fix(Script/Instance): Ulduar - Fix Keeper's missing gossips and remove hardcode (#11831)
* Ulduar-Keepers-Gossip

* codestyle
2022-06-06 09:47:11 -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
UltraNix
228b2f6f6b fix(Core/Movement): Improved fleeing movement generator. (#11896)
* fix(Core/Movement): Improved fleeing movement generator.

Fixes #11850

* Update.
2022-06-06 09:19:27 -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
UltraNix
f28c678c14 fix(Core/Spells): Hunter traps should not be activated by targets not… (#11971)
fix(Core/Spells): Hunter traps should not be activated by targets not in LoS.

Fixes #11432
2022-06-06 09:03:24 -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
3f8bf7f994 fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods. (#11911)
* fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods.

Fixes #11570

* buildfix.
2022-06-06 09:01:32 -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
ZhengPeiRu21
427f0afaaf Merge branch 'azerothcore:master' into Playerbot 2022-06-03 10:02:54 -06: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
郑佩茹
b314b3a711 Merge branch 'master' into Playerbot 2022-05-31 09:11:39 -06: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
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
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
ZhengPeiRu21
2442fc6ad7 Merge branch 'azerothcore:master' into Playerbot 2022-05-29 21:07:57 -06: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
郑佩茹
650e71728a Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2022-05-25 08:51:01 -06:00
UltraNix
7b4e1ef7d3 fix(Core/Spells): Shadow Weaving should not proc off from DoTs. (#11825) 2022-05-25 05:00:05 -03: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
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
ZhengPeiRu21
882359297d Merge branch 'azerothcore:master' into Playerbot 2022-05-23 09:04:16 -06:00
UltraNix
b638d44693 fix(Core/Units): Clear any movement on charm. (#11826)
Fixes #10343
2022-05-23 06:04:27 -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
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
Kargatum
b1c5b44500 feat(Cmake/FindMySQL): add support MariaDB 10.9 (#11835) 2022-05-23 04:04:04 +07:00