Commit Graph

12695 Commits

Author SHA1 Message Date
Anton Popovichenko
72e75982be fix(Core/Taxi): Fixes crash when player logins and continues flight (#18270)
* fix(Core/Taxi): Fixes crash when player logins and continue flight

* Update WaypointMovementGenerator.cpp
2024-02-12 08:18:05 -03:00
Dan
a4dc083b42 fix(Scripts/Hyjal): move Hyjal boss waypoints to DB (#18299)
* put anetheron movement in wps

* move all wps to db for bosses
2024-02-12 08:17:39 -03:00
Dan
fb49062a56 fix(Scripts/TheEye): make sure Solarian always get reset to REACT STATE aggressive on reset (#18302)
initial
2024-02-12 08:17:24 -03:00
github-actions[bot]
025602ac8a chore(DB): import pending files
Referenced commit(s): 723dda74d9
2024-02-12 11:17:16 +00:00
Dan
15af4f4d24 fix(DB/Creature): Astromancer and Star Scryer MC immunity (#18303)
initial
2024-02-12 08:17:06 -03:00
Dan
bf71d8e7f1 fix(Scripts/TheEye): some Al'ar fixes (#18305) 2024-02-12 08:16:46 -03:00
github-actions[bot]
0d2cc7d767 chore(DB): import pending files
Referenced commit(s): 6c841df6d1
2024-02-12 11:16:29 +00:00
Dan
723dda74d9 fix(DB/SAI): add abilities to Nether Scryer (#18308)
* initial

* unix EOL
2024-02-12 08:16:24 -03:00
Dan
c494f2ff70 fix(DB/SAI): change the way Phoenix Hawk targets players with its abilities (#18309)
* initial

* update conditions
2024-02-12 08:16:03 -03:00
sudlud
6c841df6d1 fix(DB/Gameobject): Sniffed Values for 201716 'Chemical Wagon' (#18311) 2024-02-12 08:15:35 -03:00
Walter Pagani
f18145ca12 feat(fix/build) ignore mariadb in the conditional (#18310)
* feat(fix/build) ignore mariadb in the conditional

* Parentheses in the second condition
2024-02-11 14:28:43 +01:00
AnchyDev
1d8c4056b3 feat(Core/Hooks): Add the KillRewarder reference to the OnRewardKillRewarder hook. (#18290)
* Another hackfix attempt at warden payload forcechecks ban fix.

* Revert last commit, interrupt all forcechecks instead of just _dataSent ones.

* Add rewarder parameter to OnRewardKillRewarder hook.

* Undo old warden changes.

* Removed too much!
2024-02-10 21:58:49 +01:00
Walter Pagani
6b1dd7e19e fix(Core/Database) mysql_stmt_bind_param deprecated in MySQL 8.3 (#18295)
* feat(fix/build) Test on MacOS

* Syntax error

* Syntax error

* Adding missing parameters

* typo

* deprecated

* Check MySQL version
2024-02-10 21:31:17 +01:00
stoudtlr
04266cc18d fix(Deps): Fixed finding openssl 3.2 on windows (#18284)
* Cherry-pick commit (94aed68968)

Co-authored-by: github.com/Shauren <shauren.trinity@gmail.com>
2024-02-10 18:49:40 +01:00
Nathan Handley
df33a57b78 feat(Core/Unit): New helper IsClass and script hook OnPlayerIsClass (#18243)
* Class Comparison Logic Encapsulation - Parity

* Add Context to IsClass

* Add Unit IsClass script hook

* Replace additional getClass with IsClass

* Update CanUseItem to replace getClass with IsClass

* Add separate context for pet vs ability

* Change Create to Init since not all referenced contexts are creation

* Align spacing in ClassContext

* Drop context on LFGManager max power

* Update IsClass context that wraps around Missle Barrage

* Rename context for swapping weapons

* Be more specific than CLASS_CONTEXT_TALENT

* Remove duplicate context

* Moved IsClass Hook to Player

* Removed unused parameter in virtual base function

* Added maybe_unused to IsClass virtual in order to compile

To match the override signature, the virtual base needs to include the parameter in question, so using [maybe_unused] to signal to the compiler to allow it

* Remove extra blank line

* Add ABILITY_REACTIVE context

* Add context for PET_CHARM

* Remove explicit nullopt check per review

* Code Readability - Change if to if else in pet

Due to the return pattern, this doesn't change functionality in any way

* Add OnPlayer to disambiguate

---------

Co-authored-by: NathanHandley <nathanhandley@protonmail.com>
2024-02-10 12:25:00 -03:00
sudlud
c47c945aa4 fix(Conf): disable LeaveGroupOnLogout by default (#18245) 2024-02-09 13:24:57 -03:00
Nathan Handley
425a490a7b feat(Core/Unit): New helper HasActivePowerType and script hook OnPlayerHasActivePowerType (#18293)
* Create HasActivePower for script intercept

* Replace relevant player-related getPowerType() comparators with HasActivePowerType

* Change OnPlayerHasActivePowerType to regular bool instead of optional

---------

Co-authored-by: NathanHandley <nathanhandley@protonmail.com>
2024-02-09 06:27:02 -03:00
Walter Pagani
ed53ac2feb chore(deps/boost): Update cmake file compatible with new policies (#18283) 2024-02-08 06:07:14 -03:00
Dan
d42e04097c fix(Scripts/TheEye): Solarian movement (#18268)
* first implementation

* better implementation

* don't move before first spell

* chase in p2 again

* Update boss_astromancer.cpp

* oops
2024-02-08 06:05:38 -03:00
github-actions[bot]
51c414b9d5 chore(DB): import pending files
Referenced commit(s): 65d6bd0472
2024-02-08 06:42:14 +00:00
Kalimist
65d6bd0472 fix(Core/Creature): hardcoded gossip in zone_azshara (#18289)
* Changing hardcoded text in #define to enum member

- Changing #define to new enum member for AddGossipItemFor method

* Adding SQL Query File

* Forgot to add ';' in DELETE FROM
2024-02-08 07:41:23 +01:00
github-actions[bot]
c841ec5b74 chore(DB): import pending files
Referenced commit(s): bc25ade498
2024-02-08 02:44:15 +00:00
Dan
af880d516f refactor(Scripts/ZulAman): refactor Halazzi (#18267)
* initial

* some fixes

* last booboos

* fixes after test

* finale

* actual final

* blegh
2024-02-07 23:43:38 -03:00
Dan
bc25ade498 fix(Scripts/TheEye): refactor Al'ar (#18264)
* initial

* restore quill event

* with ismoving and debug

* final before timers

* clear all debuffs

* remove justreachedhome bossai

* huh?

* some fixes

* more fixes

* add 2 extra platforms for p1

* fix coords

* finalise

* change melt armor timer so it is not delayed

indefinitely - this is because we have a dive after 30 secs
that delays all timers. So at 30 secs we will have melt armor at
33 seconds, which then gets an extra 15 seconds from the delay all and another dive
after 30 so it gets pushed back even more before being able to be cast
2024-02-07 23:43:19 -03:00
Dan
b8118fa06b fix(Scripts/TheEye): Re-factor Kael'thas (#18272)
* restructuring base files and instance files

* small fix

* some fixes

* fix

* some fixes

* up until kael phase

* weapon despawn fix

* final for now

* some minor details

* fix weapon despawn

* fix by clearing validator

still has debug statements to check how far we get

* finalise with stop casting

* codestyle

* remove redundant delay
2024-02-07 23:42:20 -03:00
github-actions[bot]
e2f1648941 chore(DB): import pending files
Referenced commit(s): c513da85c8
2024-02-06 16:48:31 +00:00
Dan
c513da85c8 fix(Scripts/SSC): some Vashj fixes (#18276)
* initial

* script tainted elemental

* sql

* codestyle
2024-02-06 17:47:37 +01:00
github-actions[bot]
401c0e045a chore(DB): import pending files
Referenced commit(s): 71557b4274
2024-02-05 23:19:46 +00:00
Dan
71557b4274 fix(DB/Karazhan): remove smart_script linking so Mana Warps properly die even when stunned (#18255)
initial
2024-02-06 00:18:52 +01:00
github-actions[bot]
e87ab150d3 chore(DB): import pending files
Referenced commit(s): 4d695b61c2
2024-02-05 21:59:30 +00:00
sudlud
4d695b61c2 fix(DB/Creature): 'Shaman Bonfire Bunny' spawns with sniffed values (#18275) 2024-02-05 22:58:41 +01:00
github-actions[bot]
62a5d607ac chore(DB): import pending files
Referenced commit(s): af8d960277
2024-02-05 17:39:25 +00:00
sudlud
af8d960277 fix(DB/Gameobject): Update 'Campfire' spawns with sniffed values (#18235)
* fix(DB/Gameobject): Update 'Campfire' spawns with sniffed values

* reorder sql comments
2024-02-05 18:38:31 +01:00
github-actions[bot]
083f50703e chore(DB): import pending files
Referenced commit(s): 74222d364f
2024-02-05 16:08:07 +00:00
sudlud
74222d364f fix(DB/Creature): Sniffed Values for 25924 'Twilight Speaker Viktor' (#18273) 2024-02-05 17:07:17 +01:00
github-actions[bot]
9ad39d8e21 chore(DB): import pending files
Referenced commit(s): 6b9d98b2c9
2024-02-05 16:06:18 +00:00
sudlud
6b9d98b2c9 fix(DB/Creature): reassign equipment_id to creatures 25949, 26221 (#18274) 2024-02-05 17:05:02 +01:00
github-actions[bot]
f72174c622 chore(DB): import pending files
Referenced commit(s): 1ec72ae6dc
2024-02-04 14:12:06 +00:00
Dan
26d0c137a9 fix(DB/ShadowmoonValley): add Arcane Explosion to Arcane Bursts and make them despawn (#18271)
arcane burst
2024-02-04 11:11:31 -03:00
Dan
1ec72ae6dc fix(Scripts/TheEye): add Kael adds to the cpp script (#18257)
* initial

* add sql file to change to script

* make sure scheduler runs

* fix focus gaze mechanic

* leftover tabs

* remove comment
2024-02-04 11:11:12 -03:00
github-actions[bot]
4a9289e14c chore(DB): import pending files
Referenced commit(s): 186cb58a0f
2024-02-03 14:12:32 +00:00
sudlud
186cb58a0f fix(Scripts/Dalaran): Update Toy Shop Toy Plane behaviour based on sniffs (#18239)
* fix(Scripts/Dalaran): Update Toy Shop Toy Plane behaviour based on sniffs

* update comments and waypoints for smoother movement

* move initalization to Reset() function
2024-02-03 15:11:36 +01:00
Kalimist
1324f420f2 Fix(Core/CharacterHandler): Incorrect behavior using an equipment set… (#18253)
* Fix(Core/CharacterHandler): Incorrect behavior using an equipment set if it will result in a full inventory.

* Fixing the error message to -Equiment swap failed - inventory is full- like the Blizzlike error message
2024-02-03 14:34:33 +01:00
github-actions[bot]
3113ba2bd0 chore(DB): import pending files
Referenced commit(s): 30a34154c5
2024-02-03 10:54:58 +00:00
sudlud
30a34154c5 fix(DB/Midsummer): disable unrelated debris spawns in front of the Ex… (#18252)
fix(DB/Midsummer): disable unrelated debris spawns in front of the Exodar
2024-02-03 11:54:01 +01:00
3ster
000ec142a2 Check if triggered spell has cast time (#18231)
* Check if triggered spell has cast time

* Fix client crash upon manually cancelling finished spell
2024-02-03 11:52:34 +01:00
github-actions[bot]
37cc649ba0 chore(DB): import pending files
Referenced commit(s): ef54219be4
2024-02-03 10:51:58 +00:00
sudlud
ef54219be4 fix(DB/Creature): Sniffed Values for 26221 'Earthen Ring Elder' (#18263) 2024-02-03 11:51:07 +01:00
github-actions[bot]
7ce0cc3523 chore(DB): import pending files
Referenced commit(s): 4121daa8be
2024-02-03 10:49:41 +00:00
sudlud
a216a114c1 fix(DB/Creature): Sniffed Values for 25949 'Ice Caller Briatha' (#18262) 2024-02-03 11:49:24 +01:00