Commit Graph

900 Commits

Author SHA1 Message Date
IntelligentQuantum
5d51b0060c fix(Scripts/Commands): solve crash in .npc move (#10825) 2022-03-02 14:56:48 +01:00
avarishd
a2b2b26056 fix(Scripts/Ulduar): Flame Leviathan first time engage (#10809) 2022-03-02 00:03:31 +01:00
Skjalf
cb7f3d50ed fix(Scripts/Kalimdor): fix Azuregos respawn timer not persisting after restarts (#10823) 2022-02-26 18:36:01 -03:00
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
4509a36e91 fix(Core): Crashfix. (#10744)
Fixes #10601
Fixes #10733
2022-02-22 11:15:50 -05:00
Nefertumm
9a67c0f0b0 fix(Core/Spells): Azuregos teleport should only drop threat for hit units (#10722) 2022-02-22 01:35:11 -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
Kitzunu
3e6424151a fix(Scripts/Scholomance): Darkmaster Gandling crash (#10546)
* fix(Scripts/Scholomance): Darkmaster Gandling crash

* Update boss_darkmaster_gandling.cpp

* Update boss_darkmaster_gandling.cpp

* Update boss_darkmaster_gandling.cpp

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
Co-authored-by: UltraNix <80540499+UltraNix@users.noreply.github.com>
2022-02-20 10:19:56 +01:00
ZhengPeiRu21
d7ae312af4 fix(DB/npc_text): Fix Kraz Gossip Text (#10720)
* fix(DB/npc_text): Fix Kraz Gossip Text
2022-02-18 17:31:55 -05: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
UltraNix
a92708686d fix(Core/Spells): Crown Parcel Service Uniform should dismount players (#10654)
- Closes #10652
2022-02-15 12:46:53 +01:00
UltraNix
d2ec0f5d99 fix(Scripts/Spells): revive pets always with full health during battlegrounds (#10647)
- Closes #10632
2022-02-15 12:41: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
UltraNix
d3e0445939 fix(Scripts/BlackwingLair): Razorgore adds should spawn 45 seconds after Razorgore's combat engagement (#10641)
- Closes #10581

Co-authored-by: temperrr <temperrr@users.noreply.github.com>
2022-02-15 00:52:02 +01:00
Nefertumm
b5b4891470 fix(Core/Scripts/BWL): Vaelastrasz Burning Adrenaline (#10626) 2022-02-15 00:47:17 +01:00
Nefertumm
6daaffa924 fix(Scripts/BWL): Blast Wave timer (#10622) 2022-02-14 20:45:29 +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
Skjalf
e1711e28f7 fix(Scripts/Kalimdor): Azuregos should respawn within 2 and 3 days (#10645) 2022-02-12 23:31:48 -03:00
UltraNix
b971d16d49 fix(DB/Creatures): Death Talon Wyrmguard should gain extra auras. (#10456)
* fix(DB/Creatures): Death Talon Wyrmguard should gain extra auras.

Fixed #10425
2022-02-12 19:45:34 +01:00
UltraNix
61125a1ba1 fix(Scripts/BlackwingLair): Razorgore The Untamed misc improvements (#10205)
- Closes #10151
2022-02-12 13:22:47 +01:00
Kitzunu
7d43d7db91 fix(Scripts/Commands): Improve server debug command (#10528) 2022-02-11 22:10:39 +01:00
Skjalf
8e04e47b67 fix(Scripts/UBRS): fix crash with Solakar minions (#10638) 2022-02-11 17:32:27 -03:00
Benjamin Jackson
246babb12c fix(Scripts/ThousandNeedles): Add final waypoint dialog for quest 4904 "Free at Last" (#10517) 2022-02-11 17:32:54 +01:00
Nefertumm
2933a535ff Fix(Core/Instance): Chromaggus reset (#10473)
* Fix(Core/BWL): Chromaggus reset

* add comment
2022-02-11 15:33:35 +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
Nefertumm
bffe838163 fix(Core/Quest): For The Horde! (#10330)
* Fix(Core/Quest): Fix For The Horde! quest

* fix build

* Change the methods
2022-02-10 17:40:20 -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
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
Kitzunu
27df910cb7 refactor(Script/Event): convert midsummer into new system (#9607) 2022-02-10 04:26:37 +01:00
TheDdraig
336967b324 Fix (Core/Scripts): Warrior T3 8P Bonus Fix (#10561)
* Fix (Core/Scripts): Warrior T3 8P Bonus Fix

* Update spell_warrior.cpp

* Update spell_warrior.cpp
2022-02-09 13:56:24 -05:00
Skjalf
7bed30a52d chore(Scripts/Events): fix typo (#10604) 2022-02-09 11:11:13 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Skjalf
4b32ad1853 fix(Scripts/Events): Fix not being able to start the Apothecary Trio … (#10596)
* fix(Scripts/Events): Fix not being able to start the Apothecary Trio encounter

* ops

* Update love_in_air.cpp

* Update love_in_air.cpp
2022-02-09 04:13:38 -03:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Nefertumm
87f76587d8 fix(Scripts/MoltenCore): Ragnaros dying while submerging (#10535)
* Fix(Core/MC): Ragnaros dying while submerging

* Don't die on submerge

* Update boss_ragnaros.cpp
2022-02-07 06:39:50 -03:00
IntelligentQuantum
3f85eb9ac6 fix(Scripts/Commands): cs_list crash (#10480)
* Update cs_list.cpp

* This way? not tested

* Update cs_list.cpp
2022-02-05 18:43:39 +01:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Nefertumm
efce657db4 fix(Core/BWL): do not open Nefarian door until Chromaggus is defeated (#10472) 2022-02-04 19:05:26 +01:00
Nefertumm
1dbbed0c50 fix(DB/Quest): move Lost In Battle to DB (#10378) 2022-02-04 17:53:18 +01:00
Nefertumm
634e41fc1c fix(Core/Spells): delete creatures threat list after taming them for t… (#10224) 2022-02-04 15:27:20 +01:00
Kargatum
3a0a9ba088 feat(Core/Common): move EventMap to separated files, add support chrono (#10209) 2022-02-04 15:12:45 +01:00
Nefertumm
40d233a9f6 fix(Scripts/MoltenCore): Separate teleport timers for Majordomo Executus (#10348) 2022-02-04 02:19:33 -03:00
Kitzunu
c63ebde9d7 feat(Guild/Commands): guild rename (#10323)
* feat(Guild/Commands): guild rename

* cherry-pick commit (678cade116#)

* Update cs_guild.cpp
2022-02-03 06:01:16 -03:00
UltraNix
89d3a4d6b3 fix(Scripts/Pets): Increased Shadowfiend hp. (#10304)
Fixed #4792
2022-02-01 05:54:46 -03:00
Skjalf
2d7434f767 feat(Scripts/Commands): Implement go quest starter/ender command (#10442)
* feat(Scripts/Commands): Implement go quest starter/ender command

* Update cs_go.cpp
2022-01-31 08:56:37 -03:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

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

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00