Commit Graph

4625 Commits

Author SHA1 Message Date
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
Kitzunu
4b21f01b91 fix(Core/TaskScheduler): warning (#17275) 2023-09-17 10:14:28 -03:00
Dan
45d6009cb7 fix(Scripts/Darkshore): ensure Kerlonian Evershade is always in bear form (#17062)
initial
2023-09-17 09:42:07 -03:00
Dan
d15d72c812 fix(Scripts/BlackwingLair): Orb of Domination can no longer be used when you are controlling a pet (#16880)
initial
2023-09-17 07:50:43 -03:00
Dan
a0a06a6d18 refactor(Scripts/SSC): Hydross the Unstable boss script updated (#17081)
* initial

* fix timers

Water tomb and vile sludge timers homogenised. I did this because the sniffs turn him into the pure form quite quickly. So I am assuming the initial timer is the same for both, and then taking some kind of average for the water tomb and also using that for vile sludge. We may need testing where we keep him in the first form for a bit just to look at the timers
2023-09-17 07:43:30 -03:00
Angelo Venturini
be5db26d24 fix(Scripts/MagtheridonLair): Magtheridon Debris (#17249)
* fix(Core/Scripts): Magtheridon Debris

* unhack

* cleanup

* eof line

* unused variable

* more cleanup
2023-09-17 07:43:10 -03:00
Dan
9b438731fd fix(Scripts/Karazhan): remove redundant spellcasting check on Netherspite to ensure he moves back to phase 1 (#17269)
initial
2023-09-17 07:38:53 -03:00
Kitzunu
b84596fcab chore(Scripts/DK): Move CheckCast to spell_dk_raise_ally script (#17221)
* chore(Scripts/Spell): Move CheckCast to spell_dk_raise_ally script

* Update spell_dk.cpp

* Update spell_dk.cpp
2023-09-17 03:05:10 +02:00
Kitzunu
fbf7ba2191 chore(Core/enumutils): regenerate enumutils (#17087)
* chore(misc/enumutils): update enumutils

* fix build

* latest update
2023-09-16 14:26:08 +02:00
Kitzunu
66066f508b fix(Scripts/Chat): Fix chat logger (#17102)
* fix(Scripts/Chat): Fix chat logger

* Update chat_log.cpp

* Update worldserver.conf.dist

* Update chat_log.cpp

* fix build

* oopsie

* fix clang
2023-09-16 08:17:42 +02:00
Tereneckla
edaf38c6c3 refactor(Scripts/Spells): Check for existence of AD debuff instead of adding a custom cooldown to heal (#17265)
* Update spell_paladin.cpp

* whitespace
2023-09-15 20:30:15 -03:00
Dan
d18368ad60 fix(Scripts/Karazhan): decrease Aran cast cooldown on normal spells (#17260)
initial
2023-09-15 05:57:53 -03:00
Benjamin Jackson
358a1e71e0 refactor(DB/Player): Unify two player stat tables. (#17188)
* Init.

Change query table names, move data to existing table.

* Combine two player stat loading functions.
2023-09-15 02:35:26 +02:00
Kitzunu
ecf85a2f3e chore(Core/Misc): Silence compile warning in boost::process with vers… (#17251)
chore(Core/Misc): Silence compile warning in boost::process with version 1.83

* Cherry-pick commit d8c98579d4

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-09-15 02:32:36 +02:00
Ludwig
8ba8f0fe9e fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK (#17180)
* fix(Core): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK

* fix(Core): LoadAchievementCriteriaData(): Add ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK

- fixes minor oversight of ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK implementation
- this enables DB achievement_criteria_data check for ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
2023-09-14 22:27:39 +02:00
Skjalf
44d1df01c3 fix(Scripts/Karazhan): Should always be able to talk to chess pieces … (#17246)
fix(Scripts/Karazhan): Should always be able to talk to chess pieces regardless of faction
2023-09-14 01:10:36 -03:00
Dan
a469cb5956 fix(Scripts/Karazhan): Malchezaar infernals now spawn in the correct locations under the right conditions (#17237)
* initial
test

Co-authored-by: <100873791+Gultask@users.noreply.github.com>

* change spawnMask

* better failsafe

* get list once

* extend search range for relays

* put infernal spawn in separate method for

readability

* add more methods

* remove leftover method

* dumb and dumber mistakes
2023-09-13 20:58:19 -03:00
Gultask
e422583132 feat(Core/SmartAI): Implement a few more stuff (#17090)
* init

* init2

* attempt to fix WP delays

* init3

* init4

* buildfix

* Create rev_1693093120417899200.sql

* workflow

* Underbat

* castflag power mana

* did not work

* Update SmartScriptMgr.cpp

* ugly

* port range to new system

* attempt

* simplify cast

simplify cast
add iteration for aura_not_present
recalc timer if already castig spell

* Update SmartScript.cpp

* attempt

* attempts

* HP PCT

* missing aura to targetselector

* Update rev_1693093120417899200.sql

* Update SmartScriptMgr.h

* Update SmartScriptMgr.h

* Update SmartScript.cpp

* remove not_attacking, fix behind_me

* revert is_behind_me

* Update SmartScriptMgr.h

* Update underbog.cpp

* Update underbog.cpp
2023-09-10 13:12:55 +02:00
Christian Lohr
c43f62f6a9 fix(Core/Conf): log error in case configuration not found for DBImport (#17066)
* fix: log error in case configuration not found

* fix: register dbimport configuration file
2023-09-10 01:15:20 +02:00
Kitzunu
f6d11d526b fix(Core/AuctionHouse): fix crash in BuildListAuctionItems (#17222)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17150
2023-09-08 23:09:35 -03:00
Skjalf
8d08a861aa feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook (#17209)
* chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up

* Revert "chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up"

This reverts commit f841ef9da313976179fb788d9573ff8ced05ecb9.

* feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook

* Update GlobalScript.cpp
2023-09-08 01:52:02 -03:00
Dan
76d1d02dce fix(Scripts/Magtheridon): add correct way to reset threat list (#17198)
* test

* fix but check

* fix?
2023-09-06 18:33:34 +02:00
Christopher Galbraith
4147418a7a refactor(Scripts/TheEye): Refactor Void Reaver boss script to new scheduler (#17044)
* WiP draft of void reaver refactor

* linting

* remove UpdateAI override

* add delay after pounding

* separate arcane_orb into group to delay

* clang fix

* removed unused context param

---------

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2023-09-05 13:16:31 -03:00
Yunfan Li
e7ac00b586 Merge branch 'master' into Playerbot 2023-09-05 19:24:48 +08:00
Dan
189818e781 fix(Scripts/Ulduar): update Winter Jormungar and Snow Mound creature script (#17054)
* initial

* add auras

* spacing
2023-09-05 06:39:44 -03:00
Eddy Vega
056b28ea21 fix(Scripts/Magtheridon): Remove ThreatList before release (#17128)
init
2023-09-05 06:37:04 -03:00
Anton Popovichenko
52d07bbfae fix(Core/InstanceMap): Stop using deleted player in RemovePlayerFromMap (#17069) 2023-09-05 06:36:34 -03:00
Kitzunu
1ed1cd0c73 fix(Core/Player): Allow to swap bags when they are filled (#17086) 2023-09-05 06:35:15 -03:00
Dan
dd647da913 fix(Scripts/MagtheridonsLair): make it so no attack is being done during Quake and fix p1 cheese tactic (#17136)
* initial

- adds condition for taunt speech
- makes it so no attack happens whatsoever during quake

* fix p1 channeler skip bug

* initialise channelers

* doforallminions

* thisiswhathappenswhenyoucodeinbrowser

* Update src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-09-04 21:20:09 -03:00
Skjalf
0c90bfcf70 fix(Scripts/Karazhan): Remove redundant Garrote cast and despawn gues… (#17152)
fix(Scripts/Karazhan): Remove redundant Garrote cast and despawn guests on evade
2023-09-04 21:15:18 -03:00
Skjalf
cdc06e1703 fix(Scripts/Karazhan): Remove hacked knockback effect from Aran Flame… (#17174)
fix(Scripts/Karazhan): Remove hacked knockback effect from Aran Flame Wreath
2023-09-04 21:15:03 -03:00
Skjalf
5abfbdff42 fix(Scripts/Karazhan): Fix Nightbane health phase percentages (#17173)
* fix(Scripts/Karazhan): Fix Nightbane health phase percentages

* Update boss_nightbane.cpp
2023-09-04 21:11:58 -03:00
Yunfan Li
28fcb40b88 Merge branch 'master' into Playerbot 2023-09-05 00:13:44 +08:00
Dan
cacb32f423 fix(Scripts/Karazhan): change to right gossip menu for Barnes (#17151)
* initial

* make sense of ids
2023-09-03 09:44:43 -03:00
Dan
4886dac963 fix(Scripts/Karazhan): make it so door closes when Big Bad Wolf is engaged in Little Red Riding Hood in the Opera (#17172)
* initial

* not a boolean
2023-09-03 09:44:13 -03:00
Skjalf
4ce43d3f1f fix(Scripts/Karazhan): Maiden of Virtue repentance should have a cast… (#17153)
fix(Scripts/Karazhan): Maiden of Virtue repentance should have a cast time
2023-09-03 09:43:16 -03:00
Yunfan Li
cc4ac0ab57 Merge branch 'master' into Playerbot 2023-09-03 14:38:52 +08:00
Dan
6ff5f3811e fix(Scripts/Karazhan): fix gossip from the Grandmother in the Big Bad Wolf fight (#17155)
* initial

* switch is better

* add correct menu ids cmangos cherrypick

...

Co-authored-by:  <7995382+killerwife@users.noreply.github.com>

* remove sql
2023-09-02 18:51:28 -03:00
Yunfan Li
c6bcda8b9d Merge branch 'master' into Playerbot 2023-08-29 20:50:49 +08:00
Kitzunu
280822cb83 chore(Deps/Misc): Print an EOL Deprecation warning for MySQL 5.7 and … (#17101)
chore(Deps/Misc): Print an EOL Deprecation warning for MySQL 5.7 and OpenSSL 1.1
2023-08-29 00:24:41 +02:00
Kitzunu
5c0a051fd5 fix(Core/Crypto): fix crash (#17100) 2023-08-28 19:15:22 +02:00
Francesco Borzì
5d01b700fd refactor(Core): remove unused imports (#17094) 2023-08-28 13:39:43 +02:00
Francesco Borzì
eaa6487fc2 refactor(Scripts): remove unused imports (#17097) 2023-08-27 22:25:22 -03:00
Dan
3ce2627c05 fix(Scripts/Karazhan): allow Moroes and adds to reset when an add is pulled out of the room (#17072)
* initial

* doforallsummons

* error fix
2023-08-27 16:08:34 -03:00
Kitzunu
3eb2463c69 chore(Core/Misc): Correct some fmt outputs (#17091) 2023-08-27 06:23:26 +02:00
Yunfan Li
e2019033c1 Merge branch 'master' into Playerbot 2023-08-27 00:42:24 +08:00
Christopher Galbraith
aea540181b fix(Spell): set torment of the worgen to have 3% proc chance (#17005)
Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2023-08-26 17:35:56 +02:00
pvp100
856d17ac36 fix(Core/MiscHandler): Dungeon requirements Message (#16701)
* fix(DB/Gameobject): fix towercanno error location in Flamewatch Tower

adjusted wintergrasp towercanno position

* fix(Core/MiscHandler): dungeon access requirements message parameter

requirements level variable always 0
requirements item cannot get from locale

Co-authored-by: aviar <aviar@sina.com>

* revert: random edits

---------

Co-authored-by: aviar <aviar@sina.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2023-08-25 09:16:47 -03:00