Commit Graph

11769 Commits

Author SHA1 Message Date
Mike Delago
b1c92f498a refactor(Core): Source config more aggressively from env, rephrase a few of the messages (#17114)
* refactor(Core): Let modules source config from env

* create a cache of configs from env

* Update src/common/Configuration/Config.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/common/Configuration/Config.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* enforce new function name

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:55:46 +02:00
github-actions[bot]
c4c5e0b438 chore(DB): import pending files
Referenced commit(s): 8e2f02b361
2023-09-20 20:53:03 +00:00
Tereneckla
8e2f02b361 fix(DB/Item) Update some mismatched items from 12340 (#16452)
---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-09-20 22:51:59 +02:00
AG
540eda2af9 fix(Core/Unit): Added bluewall AoE check (#17064)
* Added bluewall AoE check

- AoE spells/abilities done by non-flagged players now has no effect on pvp flagged players.

* Crash fix

* Update Unit.cpp

Allow spells with flag "SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK" to pass this check.
2023-09-20 22:48:23 +02:00
github-actions[bot]
0e7d49529b chore(DB): import pending files
Referenced commit(s): 7169215a88
2023-09-20 20:42:35 +00:00
daobashun
e02554a232 fix(DB/Quest): Script The Binding (#17042)
* Added smatAI to creatures for Warlock Pet Summoning Quests

* Attackers: Trigger incidents

* Modify the spelling of comments

* Modify the comment again

* Fix spelling errors
Adjust time

* Modified the time of bio disappearance and video in roughly the same as  10:53-12:00

* Update rev_1692493990178861500.sql

Modify the commentary

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:42:28 +02:00
github-actions[bot]
6750d8eed0 chore(DB): import pending files
Referenced commit(s): 4e270c4c1e
2023-09-20 20:42:10 +00:00
Christopher Galbraith
586cc1ee0f fix(DB/SAI) Add spore burst with 15% trigger chance (#16985)
* add spore burst with 15% trigger chance

* add new line at eof

* ready for merge

---------

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:41:35 +02:00
Roddan
ea0500df65 fix(DB/Quest): Return To Obadei (#16891)
* Create ReturnToObadei

Fixed Creature Text

* Delete ReturnToObadei

* fix(DB/Quest): Return To Obadei

Fixed NPC Text after quest completion.

* Rename ReturnToObadei to ReturnToObadei.sql

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:41:25 +02:00
github-actions[bot]
085dddbe53 chore(DB): import pending files
Referenced commit(s): 0796df57ac
2023-09-20 20:41:16 +00:00
Roddan
7169215a88 fx(DB/Quest): The Stories Dead Men Tell Quest Fix (#16887)
* fx(DB/Quest): The Stories Dead Men Tell Quest Fix

Added script to the graves.

* Create test.txt

* Delete test.txt

* go for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:41:10 +02:00
wowquester
4e270c4c1e fix(DB/Quest): Return to Brock completion text (#16711)
* fix(DB/quest): 6392 - Return to Brock - incorrect completion text

This fixes the incorrect completion text for 6392.

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:41:00 +02:00
wowquester
190dc93d7e fix(DB/Quest): Soothing Turtle Bisque POI (#16710)
* fix(DB/questpoi): 7321 -Soothing Turtle Bisque - correct POI for Horde

This fixes POI area for 7321 which shares it with the 555 (aliance version) which has the correct ones. Please beware of my SQL skill, although it fixes the problem, I encourage you to review this code and if necessarry, make it more compact. The basic idea is just to duplicate entries from 555 to 7321 - this results in correct behavior of the quest poi on the world map.

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:40:44 +02:00
Tralenor
0796df57ac feat(Core/Player): Addition of a Hook in CanFlyInZone check (#16590)
---------

Co-authored-by: tmoos <tmoos@meteomatics.com>
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:40:08 +02:00
github-actions[bot]
152429867b chore(DB): import pending files
Referenced commit(s): 3cfb1d3bf6
2023-09-20 00:39:52 +00:00
Skjalf
74353a3c83 fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place (#17311)
* fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place

* Update boss_terestian_illhoof.cpp
2023-09-19 21:39:07 -03:00
Skjalf
3cfb1d3bf6 fix(Scripts/Karazhan): Move Aran's elemental AI to SAI (#17312) 2023-09-19 21:38:41 -03:00
github-actions[bot]
90ba895cff chore(DB): import pending files
Referenced commit(s): 3a51249bf5
2023-09-19 23:33:31 +00:00
Skjalf
3a51249bf5 fix(Scripts/Karazhan): Fix fear immunity for Strawman (#17307) 2023-09-19 20:32:25 -03:00
Skjalf
7dd9ca01c5 fix(Scripts/Karazhan): Regen Curator mana on reset (#17310) 2023-09-19 20:30:34 -03:00
github-actions[bot]
8b5869d50b chore(DB): import pending files
Referenced commit(s): ae5b7538b1
2023-09-19 21:40:44 +00:00
Dan
ae5b7538b1 fix(DB/Creature): make infernal helper targets in Kara invisible to players (#17309)
* initial

* add bench's bunny
2023-09-19 18:39:40 -03:00
Dan
373fdd68bf fix(Scripts/Karazhan): fix visual of infernals on Malchezaar (#17304)
* test

* remove comment
2023-09-18 20:35:41 -03:00
github-actions[bot]
13c57a31c3 chore(DB): import pending files
Referenced commit(s): b378b191a2
2023-09-18 20:25:10 +00:00
Kitzunu
b378b191a2 chore(CI): revert previous changes to import_pending.yml (#17303)
* chore(CI): revert previous changes to import_pending.yml

* Update import_pending.yml
2023-09-18 22:24:01 +02:00
Skjalf
89d0db3a93 fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions (#17296)
* Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)"

This reverts commit c709e2e7d3.

* fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions

* Revert "Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)""

This reverts commit 7075437947203943872aa7606c07c82ae4c8c93c.

* Update rev_1695004374973517300.sql
2023-09-18 15:55:15 -03:00
Skjalf
5b3c5740fb fix(Scripts/Karazhan): Fix Terestrian Illhoof not summoning any imps (#17297)
* fix(Scripts/Karazhan): Fix Terestrian Illhoof not summoning any imps

* Update rev_1695008245587651800.sql

* Update boss_terestian_illhoof.cpp

* make kilrek immune to enslave demon
2023-09-18 15:54:52 -03:00
Gultask
f9b0eea0fd fix(DB/SAI): Worldserver Error in Dalaran (#17292)
Co-authored-by: daobashun <49193927+fangshun2004@users.noreply.github.com>
2023-09-17 22:52:52 -03:00
Skjalf
9ac71a4e2a fix(Scripts/MagistersTerrace): Script Kalecgos' appearance after usin… (#17286) 2023-09-17 19:00:09 -03:00
daobashun
9b4f8b0240 fix(DB/Creature): Godrick Farsan event (#16607)
* Added emoticons and dialogue events to Warlock Quest NPC Godrick Farsan (ID 5693).

* Update UnitFlags

* Modify the delay

* Fix syntax errors

* Try the fix again

* The delay of task emoticons is increased by 200ms, preventing the loss of missing emoticons when preparing tasks after cache clearing

* Update unit_flags in smatscript

* Update the comment

* quest_offer_reward emote ported to SmartAI

* Remove Directional Coordinate Update and wait for sniffing
set_unit_flag Update to use SMATAI

* Update rev_1687513981074967100.sql

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-17 23:36:20 +02:00
AzerothCoreBot
3d29ccad70 chore(DB): import pending files
Referenced commit(s): 9523081c32
2023-09-17 20:39:17 +00:00
Julio A. Leyva Osorio
7d59378b6b fix(DB/Quest) Know Thine Enemy RP event (#16258)
* Create 62896.sql

Co-Authored-By: Rushor <Rushor@users.noreply.github.com>

* Update 62896.sql

---------

Co-authored-by: Rushor <Rushor@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-17 22:14:50 +02:00
Kitzunu
63b10f34a6 chore(CI): Hello Github Bot and Update actions version (#17285) 2023-09-17 17:14:04 -03:00
AzerothCoreBot
18f20edbfa chore(DB): import pending files
Referenced commit(s): ca95b4a129
2023-09-17 20:05:22 +00:00
daobashun
533b36406e fix(DB/Creature): move Fairbanks gossip to the database (#16974)
* Add gossip_menu_id for fairbanks

* npc_text ID uses the npc_text_broadcast_text Datasheet ID in CMANGOS

* Some emoticons will hold the weapon in your hand when used, so use smartAI instead.

* Only if there is an inventory or equipment Ashbringer will the gossip_menu_option be displayed

* Remove the code from the script

* Update the data

* Code formatting Remove comments

* Replace ## with --
Replace npc_text_broadcast_text with npc_text_broa*dcast_text

* Replace npc_text_broadcast_text with npc_text_broa*dcast_text

* Modify the comment
2023-09-17 21:48:25 +02:00
AzerothCoreBot
9523081c32 chore(DB): import pending files
Referenced commit(s): 24c97c5f2f
2023-09-17 19:45:47 +00:00
TuriansNotBad
89ba87495e fix(Core/Position): Normalize Position.GetRelativeAngle (#16825)
Normalize GetRelativeAngle

Normalize angle returned by both Position.GetRelativeAngle functions.
2023-09-17 21:35:34 +02:00
Skjalf
ca95b4a129 fix(Scripts/Karazhan): Fix Enfeeble hitting more than 5 targets (#17290)
* fix(Scripts/Karazhan): Fix Enfeeble hitting more than 5 targets

* reorder so there are no cases where only 4 players are hit

* missing override
2023-09-17 16:32:06 -03:00
LJFP
6a7a516e63 fix(DB/Creature): Removed duplicated fire festival Flame Wardens (#16671)
* fix(DB/GameEventCreature): Removed duplicated fire festival Flame Guards.

* Also removed the NPCs from the creatures table

* Removed reference to old table.
2023-09-17 21:19:22 +02:00
Grimgravy
24c97c5f2f fix(Scrpits/Quest): Improve Recharging the Batteries (#16597)
* fix(Scrpits/Quest): Improve Recharging the Batteries

* Update zone_netherstorm.cpp

* update
2023-09-17 21:16:43 +02:00
Matthew M Dean
bc6a744538 fix(Core/Item): Reduce amount of excessive logging for enforeDBCAttributes (#16508)
bypass code block if enforceDBCAttributes is set to false
2023-09-17 21:00:37 +02:00
Kitzunu
1621da00da chore(misc): Mordenize maths (#17273) 2023-09-17 17:00:53 +02:00
Dan
52744e6032 fix(Scripts/Karazhan): Shade of Aran now no longer casts spells whilst he should be drinking (#17282)
* initial

* remove redundancy

* remove method

* space gone

* indentación
2023-09-17 11:50:21 -03:00
Skjalf
0bf559f975 feat(Core/Instance): Add TaskScheduler to the InstanceScript class (#17284)
feat(Core/Instance): Add TaskScheduler to the instancescript class
2023-09-17 10:56:02 -03:00
AzerothCoreBot
655f2bb15b chore(DB): import pending files
Referenced commit(s): c709e2e7d3
2023-09-17 13:27:00 +00:00
Tereneckla
1eb573be1c fix(Scripts/Karazhan): Curator fixes (#17270)
* stop channeling on enrage

* Create rev_1694861198470600600.sql

* Update boss_curator.cpp

* Update src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-17 10:26:26 -03:00
Gultask
764611eaf6 fix(DB/SAI): Rework Sethekk Halls SAI (#17257)
* Create rev_1694744446848459200.sql

* Update rev_1694744446848459200.sql

Co-Authored-By: offl <11556157+offl@users.noreply.github.com>

* Update rev_1694744446848459200.sql

Co-Authored-By: offl <11556157+offl@users.noreply.github.com>

* Update rev_1694744446848459200.sql

Co-Authored-By: offl <11556157+offl@users.noreply.github.com>

---------

Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2023-09-17 10:25:54 -03:00
Kitzunu
c709e2e7d3 chore(Worldserver/Config): Clean up and reorganize config file (#17272)
* chore(Worldserver/Config): Clean up and reorganize config file

* Update worldserver.conf.dist

* \n\n\n
2023-09-17 10:25:32 -03:00
Kitzunu
f1111be152 chore(misc): cleanup (#17274) 2023-09-17 10:19:09 -03:00
Skjalf
71de2e5c26 fix(Core/GameObject): Also send EventInform() calls for GAMEOBJECT_TY… (#17283)
fix(Core/GameObject): Also send EventInform() calls for GAMEOBJECT_TYPE_CAMERA

- This allows object and zone AI to process events called by camera objects as well (previously only possible through event_scripts)

(cherry-picked from commit 6904073c9c)
2023-09-17 10:18:13 -03:00