Commit Graph

2398 Commits

Author SHA1 Message Date
Skjalf
822aff29e6 fix(Scripts/World): fix nullptr crash (#11770) 2022-05-15 18:28:40 +02:00
acidmanifesto
e60b953a7a add (core): Additional Helper (#11731)
Anticheat Helper for knock back
2022-05-13 13:16:36 -04:00
acidmanifesto
11f151a962 fix (core): Prevent Forced UpdateObjectVisibility Before in World (#11730)
fix (Core): Prevent Forced UpdateObjectVisibility Before in World

TC Cherry Pick: 38dc5667ba

Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Jurgis <326232+chemicstry@users.noreply.github.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Jurgis <326232+chemicstry@users.noreply.github.com>
2022-05-13 13:02:43 -04:00
acidmanifesto
06a62538cf fix (core\crash): fix client crash dk starter (#11726)
* fix (core\crash): fix client crash dk starter

Fixing it again. Something regressed.

* adjust timer and text playing

* improved timing

* Update chapter1.cpp
2022-05-13 13:00:59 -04:00
天鹿
0c0a2eac3b fix (core): Build Fix (#11723)
* Update Spell.cpp
2022-05-12 10:43:07 -04:00
Skjalf
b658ba582e feat(Core/Map): Allow disabling the blizzlike PvP line of sight checks (#11692) 2022-05-11 13:06:56 -03:00
UltraNix
930db5d2ae fix(Core/Spells): Everlasting Affliction should be considered as shad… (#11678)
…ow spell.
2022-05-11 03:26:19 -03:00
UltraNix
203450e949 fix(Scripts/BlackwingLair): Warrior Class Call should not restore to default stance on removal. (#11671) 2022-05-10 22:54:11 -03:00
IntelligentQuantum
981ec9d013 fix(Scripts/Outland): boss_kaelthas (#11701)
* .

* Update boss_kaelthas.cpp
2022-05-10 22:38:27 +02:00
UltraNix
0d4adf5a3e fix(Core/Spells): Blink. (#11663)
* fix(Core/Spells): Blink.

Fixes #6427
Fixes #7571

* Update.
2022-05-10 22:37:53 +02:00
Kitzunu
763a521da8 fix(Core/PacketIO): Stop WorldSession packet processing loop immediat… (#11680)
* fix(Core/PacketIO): Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player

* cherry-pick commit (0d0cb23a63)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* Update WorldSession.cpp

* Update src/server/game/Server/WorldSession.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-10 17:17:07 +02:00
UltraNix
27fe28083c fix(Core/Spells): Fixed rank 6 of Flametongue Weapon. (#11689)
Fixes #8351
2022-05-10 17:02:45 +02:00
天鹿
32b7531295 fix(Scripts/Spells) charge Auto attack (#11693)
* Update MotionMaster.h

* Update MotionMaster.cpp

* Update SpellEffects.cpp

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update SpellEffects.cpp

* Update Spell.cpp

* Update Spell.cpp

* Update SpellEffects.cpp
2022-05-10 08:21:43 +02:00
avarishd
edcb9ff3a9 fix(Script/Ulduar): Change the way Elders are despawned
Despawns the elders
2022-05-09 08:25:17 -03:00
avarishd
6e9d470876 fix(Scripts/Auriaya): Move hardcoded text/gossips to DB (#11658)
* auriaya

* Update boss_auriaya.cpp

* cs

* Update boss_auriaya.cpp
2022-05-09 01:52:22 +02:00
IntelligentQuantum
a31a30566e feat(Tools/Mapextractor): Implemented liquid object detection (#11402)
* .

* .

* .

* .

* .

* .

* .

* Delete Utils.cpp
2022-05-08 23:38:22 +02:00
UltraNix
933bf7b633 refactor(Core/Movement): Rewritten fleeing movement generator. Source: TrinityCore. (#11586)
* fix(Core/Movement: Rewritten fleeing movement generator.

Fixes #5980
Fixes #9314

* Update.
2022-05-08 23:35:40 +02:00
Grimgravy
0bb789232e fix(Scripts/Quest): improved You'll Need a Gryphon (#11651)
* fix(Scripts/Quest): improved You'll Need a Gryphon

* Update rev_1651846511304338500.sql
2022-05-08 23:24:02 +02:00
avarishd
4ce3515c60 fix(Core/Spells): Allow spells with SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET attribute to go through deterrence. (#11644)
* Update settings.json

* Revert "Update settings.json"

This reverts commit 1f6724477db4cff361c800b858d3bc1a6d11d6bb.

* detter
2022-05-08 23:19:39 +02:00
avarishd
9144cab27d fix(Scripts/Ignis): Move hardcoded text/gossips to DB (#11655)
* ignis

* cs

* revert victim
2022-05-08 23:15:41 +02:00
avarishd
7b01b27bb2 fix(Scripts/XT002): Move hardcoded text/gossips to DB (#11652)
* xt

* xt

* codestyle

im bad

* cs

* update
2022-05-08 23:14:57 +02:00
Kitzunu
969cb68c35 fix(Core/Auras): INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE… (#11588)
* ore/Auras: INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW

* cherry-pick commit (230f40f359)

Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com>

* Update Object.h

* Update Object.h

Co-authored-by: Meji <2695278+meji46@users.noreply.github.com>
2022-05-08 23:10:10 +02:00
avarishd
8f485cb5d4 fix(Scripts/Freya): misc improvements (#11665) 2022-05-08 23:02:15 +02:00
avarishd
4df92b553c fix(Scripts/RazorScale): Move hardcoded text/gossips to DB and minor fixes (#11694)
* Update boss_razorscale.cpp

* cs

* questionable fix, but it works
2022-05-08 22:54:38 +02:00
Nefertumm
6ca5938d75 fix(Scripts/AQ): Rewrite bug trio fight (#11565)
* fix(Core/AQ): Rewrite bug trio fight

* update sql to newest

* with a comment

* fix build

* finish?

* build

* add evade boundary
2022-05-08 10:49:23 +02:00
Kitzunu
33f6486180 fix(Core/ItemHandler): fix selling items over gold limit (#11673)
* cherry-pick commit (d0b8fb87f2)

Co-Authored-By: okfok <44704482+okfok@users.noreply.github.com>

Co-authored-by: okfok <44704482+okfok@users.noreply.github.com>
2022-05-08 10:42:35 +02:00
Kitzunu
ca0de49df2 fix(Core/Spells): Paladin's Judgements can be applied on different targets at the same time (#11672)
* cherry-pick commit (4bff223851)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>

Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2022-05-08 10:42:10 +02:00
Christopher Galbraith
f32aa0992c fix(Scripts/Ahune): Removed hardcoded emotes (#11674)
* Added missing entries for Ahune in creature_text. Removed hardcoded emote text and pointed towards DB.

* fixed missing semi-colons

* add new line at end

* fixed SQL

* added broadcast_text values

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-08 10:20:43 +02:00
UltraNix
56982f9eba fix(DB/Quest): Krolmir, Hammer of Storms. (#11661)
* fix(DB/Quest): Krolmir, Hammer of Storms.

Fixes #11637

* Buildfix.

* Update src/server/game/Spells/SpellInfoCorrections.cpp

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-08 10:19:26 +02:00
Christopher Galbraith
ac8a6b4328 fix(Script/Skadi): Emotes (#11625)
* Added Grauf deep breath emote

* Renamed flame visual to properly reflect spell name Freezing Cloud

* Removed defined text, now uses creature_text for emotes

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-07 23:20:34 +02:00
UltraNix
aeb260c3cc fix(Core/Guardian): Crashfix. (#11659) 2022-05-07 10:35:19 +02:00
avarishd
56955f792b refactor(Core/Creature): Move hardcoded text/gossips to DB - boss_general_vezax (#11649) 2022-05-06 10:21:14 -03:00
Kitzunu
2e13ad75e2 refactor(Core/Spells): make DoCast functions use SpellCastResult (#11546)
* refactor(Core/Spells): make DoCast use SpellCastResult

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update UnitAI.cpp

* Update UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.h
2022-05-06 00:43:27 -03:00
Tralenor
6cf82e3bd6 feat(Core/DB): Add Hooks On creature/game object save to db (#11246)
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks

* fix Whitespaces in ScriptMgr.h

Co-authored-by: Timothée Moos <t1997.m@gmx.net>
2022-05-06 00:42:49 -03:00
SilentCLD
7975bc63ca fix(Core/Commands): Fix removing item from player account (#11041)
The additem command would silently return when trying to remove an item
from a player security level account
2022-05-06 00:33:18 -03:00
Charlton Lau
6a58d1ee69 fix(Script/Quest): A Pawn on the Eternal Board freezing world (#11616) 2022-05-05 05:04:53 +02:00
Skjalf
e7531fa2a9 fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be ski… (#11596)
* fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be skippable

* Update instance_temple_of_ahnqiraj.cpp
2022-05-03 07:26:42 -03:00
Skjalf
12a0c6f1bc fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing playe… (#11595)
* fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing players in the floor underneath

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

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

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-03 07:18:45 -03:00
Skjalf
3c851c059a fix(Scripts/BlackwingLair): Prevent Chromaggus cage from looking (#11603) 2022-05-03 07:10:09 -03:00
UltraNix
3c1e76e55d fix(Core/Duel): Player during duel countdown is not a valid attack target. (#11509) 2022-05-03 02:36:03 -03:00
Maelthyr
0363b95919 fix(Script/ZulGurub): High Priestess Jeklik improvements (#11458) 2022-05-02 21:02:40 -03:00
UltraNix
4e977d9ada fix(Scripts/BWL): Razorgore's Orb of Domination should not be usable during 2nd phase of the encounter. (#11580) 2022-05-02 21:01:00 -03:00
Skjalf
0ffa270c94 fix(Scripts/TempleOfAhnQiraj): Correct Battleguard Sartura spell ids (#11597) 2022-05-02 07:55:55 -03:00
acidmanifesto
cc6528ad7b Fix (core) water level and ground level correction (#11552)
We do not need to excessively have ground level be -2 below the player when underwater. ground level is ground level. no need for a lower adjustment. Most likely left over from from when the shallow water calculations was wrong entirely that lead to false hits with water walking detection due to core side calculations.
2022-05-01 08:44:03 -04:00
UltraNix
8900cab657 fix(Core/Minions): Crashfix. (#11592) 2022-05-01 10:28:20 +02:00
UltraNix
43db8a6d13 fix(Core/Movement): Improved pet's follow movement. (#11585)
Fixes #9254
2022-05-01 07:01:10 +02:00
Patrick Lewis
94123e60f6 chore(CI): add macos-12 (#11242)
* chore(CI): add macos-12

* Update SECURITY.md

* test changing googletest git_tag to main

* update utf8cpp

* Update DBCStorageIterator.h

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-01 07:00:40 +02:00
UltraNix
bbd760cc1a fix(Scripts/IcecrownCitadel): Increases radius of Sindragosa's boundary. (#11579)
Fixes #11439
2022-04-30 21:41:25 +02:00
Skjalf
26c66e0d79 chore(Scripts/Spells): Remove a few aura types being passed as spells in the validator (#11576) 2022-04-29 20:17:03 -03:00
Kitzunu
2bef6b497d fix(Scripts/Spells): Validate some spells in spell_generic (#11549)
* fix(Scripts/Spells): Validate some spells in spell_generic

* Update src/server/scripts/Spells/spell_generic.cpp
2022-04-28 15:49:56 -03:00