acidmanifesto
69e2f2e3aa
fix/feat: (Core/PacketIO): updated sound and creature addon ( #10813 )
...
* fix\feat: (Core/PacketIO): updated sound and creature addon
updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com >
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
2022-02-26 10:05:58 -05:00
UltraNix
534920ada2
fix(Core/Creatures): correct applying swimming moveflag to creatures in water ( #10756 )
...
Fixed #10709
2022-02-24 17:25:04 +01:00
UltraNix
a980bd38a9
fix(Core/Spells): auto attack only selected target when charge is over ( #10541 )
...
Fixes #10353
2022-02-24 15:54:43 +01:00
acidmanifesto
7435805860
fix (core): server.log dump ( #10742 )
2022-02-22 14:53:22 -03:00
UltraNix
4509a36e91
fix(Core): Crashfix. ( #10744 )
...
Fixes #10601
Fixes #10733
2022-02-22 11:15:50 -05:00
UltraNix
ccc9bb6679
fix(Core/Battlegrounds): Fixed Alterac Valley quests. ( #10754 )
2022-02-22 03:36:20 -03:00
Nefertumm
33b0183440
fix(Core/Spells): Don't allow to purge Azuregos' Reflect ( #10723 )
2022-02-22 02:39:29 -03:00
Nefertumm
25c824e8d8
fix(Core/Spells): Azuregos' Mana Storm should not be interruptable ( #10721 )
2022-02-22 01:23:27 -03:00
UltraNix
400caec709
feat(Core/Battlegrounds): Min level of selected random bg must be lower than pvp bracket level. ( #10752 )
2022-02-21 02:36:48 -03:00
Skjalf
57b9b296d8
feat(Scripting/Hooks): Implement OnGameEventCheck() hook ( #10761 )
2022-02-20 17:39:08 -03:00
UltraNix
2dc40d1a7d
fix(Core/Battlegrounds: Fixed doubled score in Alterac Valley battleground. ( #10743 )
2022-02-20 15:44:18 -03:00
UltraNix
9d12652c3e
fix(Core/Misc): Remove from LFG/batleground queues when teleported to battleground/LFG dungeon. ( #10740 )
...
Players cannot queue up for battleground during LFG dungeon.
Players cannot queue up for LFG dungeon during battleground/arena match.
Fixes #10635
2022-02-20 12:33:04 -03:00
UltraNix
982be6de00
fix(Core/GameObjects): move activation code of traps to GO_ACTIVATED ( #10537 )
...
- Original author: @Gacko
2022-02-19 22:26:26 +01:00
UltraNix
b97869edb8
fix(Core/Spells): Deep Freeze should damage only permanent stun-immuned targets ( #10452 )
...
Fixed #10386
Co-authored-by: temperrr <temperrr@users.noreply.github.com >
2022-02-19 13:47:42 +01:00
Malcrom
da5258bd0b
fix(Core/Creature): Allow Multi id in areas with zone script ( #10735 )
2022-02-18 16:11:40 -05:00
acidmanifesto
881760821e
fix (core): Final Override to Final ( #10731 )
...
PT2, codefactor was green and then decided to complain about the other final overrides in BG
2022-02-18 14:08:11 -05:00
Malcrom
47a4d0c054
fix(Core/Creature): Allow setting no equipment. ( #10730 )
...
* Core(Creature Equipment): Fix core to allow assigning no equipment
2022-02-18 12:27:33 -05:00
acidmanifesto
c64c0a2945
fix (core): BG Final Override to Final ( #10729 )
...
* fix (core): BG Final Override to Final
2022-02-18 09:37:23 -05:00
Nefertumm
aef1bed593
fix(Core/Guild): Guild bank handling issues ( #10724 )
...
* fix(Core/Guild): Guild bank right issues
* and slots too
2022-02-17 19:22:28 -05:00
Kargatum
5143872aed
feat(Core/Battleground): split Arena and Battleground score ( #10616 )
2022-02-18 05:20:04 +07:00
UltraNix
1366838a05
fix(DB/Creatures): Nat Pagle should display vendor icon if player completed Nat's Measuring Tap quest. ( #10657 )
...
Moved c++ script to DB. Original author: @offl
Fixes #10559
2022-02-17 01:13:39 +01:00
Francesco Borzì
fa02edb0ae
fix(Core/Battleground/PvPstats): correct bracket_id for AV ( #10677 )
2022-02-16 23:11:58 +01:00
Nefertumm
abccbcb4be
fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz ( #10701 )
...
* fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz
2022-02-16 06:54:08 -05:00
acidmanifesto
a7d17a5bb6
fix (core\db): SAI Error Reporting ( #10698 )
...
* fix (core\db): SAI Error Reporting
* formatting
2022-02-15 17:00:33 -05:00
IntelligentQuantum
38a33e7ef0
feat(Core/SmartScripts): Warn when an unused parameter is set in the database ( #10124 )
2022-02-15 18:02:39 +01:00
UltraNix
77bab657e5
fix(Core/Spells): Base spell resistances from auras should apply to pets. ( #10562 )
...
- Closes #10555
2022-02-15 17:49:13 +01:00
UltraNix
0fea133f09
fix(Scripts/BlackwingLair): Chromaggus should cast the same affliction spell among players. ( #10644 )
...
Brood Affliction: Bronze should stun players in random intervals.
- CLoses #10584
Co-authored-by: temperrr <temperrr@users.noreply.github.com >
2022-02-15 01:07:46 +01:00
Nefertumm
b5b4891470
fix(Core/Scripts/BWL): Vaelastrasz Burning Adrenaline ( #10626 )
2022-02-15 00:47:17 +01:00
Kitzunu
3501ceb710
refactor(Core/DB/playercreateinfo_spell_custom): Load empty ( #10595 )
2022-02-14 20:21:56 +01:00
Kitzunu
665919d010
refactor(Core/Misc): rename some variables that can be confusing ( #10592 )
2022-02-14 20:06:59 +01:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Francesco Borzì
6aa727c455
feat(Core/Conf): Rate.MissChanceMultiplier ( #10639 )
2022-02-13 11:12:08 +01:00
UltraNix
89deb60d43
fix(Core/Spells): Flasks should not be overridden by elixirs. ( #10301 )
...
* fix(Core/Spells): Flasks should not be overridden by elixirs.
2022-02-12 15:51:27 +01:00
UltraNix
61125a1ba1
fix(Scripts/BlackwingLair): Razorgore The Untamed misc improvements ( #10205 )
...
- Closes #10151
2022-02-12 13:22:47 +01:00
UltraNix
5febb28b4c
fix(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY, SMART_ACTION_DISABLE_EVADE and SMART_ACTION_GO_SET_GO_STATE are valid actions. ( #10538 )
2022-02-11 22:33:18 +01:00
Kitzunu
7e8b021db3
feat(Core): Enable C++20 support ( #10440 )
...
* feat(Core): Enable C++20 support
* Update Duration.h
* Revert "Update Duration.h"
This reverts commit 177093e992c5d47d8c3b978c84857f5ecba12889.
* maybe fix GCC
* cherry-pick https://gcc.gnu.org/pipermail/gcc-cvs/2020-June/299715.html
* Update Duration.h
* Update Duration.h
* Update Duration.h
* Update Duration.h
* Update Duration.h
* Update Duration.h
* Update Duration.h
* Revert "Update Duration.h"
This reverts commit dc4e2ce281dd1a33cfac5be56488a3b96131bfd5.
* Update Duration.h
* Update Duration.h
* Update Duration.h
* cleanup
* more cleanup
* maybe fix build
* restore advstd::type_identity because GCC8 is garbage
* Update advstd.h
* fix gcc8 💤
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update src/common/Utilities/advstd.h
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2022-02-11 14:37:24 +01:00
Nefertumm
8a9a3c6fac
fix(Core/Spells): Shadowflame should not be interruptable ( #10437 )
...
* Fix(Core/Spells): Shadowflame should not be interruptable
2022-02-11 13:17:42 +01:00
Kitzunu
ead906c58f
refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL to new packet class ( #10590 )
...
* refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL
* cherry-pick commit (c0f516caee )
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
Co-Authored-By: DJScias <439655+DJScias@users.noreply.github.com >
* handle crash check in DoRandomRoll()
* Update MiscPackets.h
* Update Player.h
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
Co-authored-by: DJScias <439655+DJScias@users.noreply.github.com >
2022-02-11 10:30:49 +01:00
Nefertumm
c9ac48e824
fix(Core/Events): Apothecary Hummel ( #10615 )
...
* Fix(Core/Events): Apothecary Hummel
Co-authored-by: sirikfoll <sirikfoll@hotmail.com >
Co-authored-by: Killyana <Killyana@users.noreply.github.com >
* missed return
* Missing include
* Fixed delete
Co-authored-by: sirikfoll <sirikfoll@hotmail.com >
Co-authored-by: Killyana <Killyana@users.noreply.github.com >
2022-02-11 06:00:10 -03:00
Kitzunu
9d166722c4
refactor(Core/Creature): More functions capitalized ( #10012 )
...
* GetLeader
* IsFormed
* build
2022-02-10 18:40:00 +01:00
UltraNix
0fa4a90aa8
fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENE… ( #9844 )
...
* fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENERATE_POWER` auras.
Fixes #2042
2022-02-10 15:34:00 +01:00
Kitzunu
210029095a
fix(Core/GameObjects): Do not allow players to interact with gobs that use "Point" icon ( #9800 )
...
- cherry-pick commit (c52c0f0b7d )
- This was confirmed in sniffs, see TrinityCore/TrinityCore@c52c0f0#commitcomment-34342342
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
2022-02-10 14:50:33 +01:00
Kitzunu
d505381106
fix(Scripts/Spell): Don't use invalid spells for the Magic Rooster mount ( #9797 )
...
* fix(Scripts/Spell): Don't use invalid spells for the Magic Rooster mount
- cherry-pick commit (246a8661fd )
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
2022-02-10 13:40:07 +01:00
Nefertumm
520f0c6a50
fix(Core/WorldBoss): Azuregos rewrite ( #10369 )
2022-02-10 07:51:35 -03:00
Axel Cocat
7eec7486e9
fix(Chat): session null check for isavailable ( #10613 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2022-02-10 05:03:44 -03:00
acidmanifesto
c50f7feda0
feat (core): Add Teleport Helpers ( #10611 )
...
* feat (core): Add Teleport Helpers
* Lower case the things
2022-02-09 20:54:46 -05:00
IntelligentQuantum
759b945a13
feat(Core/Grids): Allow arbitrary containers in grid searchers that support push_back
2022-02-09 20:08:57 -03:00
Skjalf
fb890b3310
feat(Core/Player): Implement option to convert excess honor points int… ( #10565 )
2022-02-09 18:04:56 -03:00
Kitzunu
cf65cd6baf
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() ( #9792 )
2022-02-09 11:59:30 +01:00
Francesco Borzì
65a1fbfd35
fix(Core/BG): store correct faction id ( #10576 )
2022-02-09 01:20:55 -08:00