Commit Graph

2587 Commits

Author SHA1 Message Date
Nefertumm
2933a535ff Fix(Core/Instance): Chromaggus reset (#10473)
* Fix(Core/BWL): Chromaggus reset

* add comment
2022-02-11 15:33:35 +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
5d8b472ed7 fix(Core/Misc): Remove Clang 7 workaround (#10521) 2022-02-11 04:03:29 +01: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
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
Kitzunu
27df910cb7 refactor(Script/Event): convert midsummer into new system (#9607) 2022-02-10 04:26:37 +01: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
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
Francesco Borzì
65a1fbfd35 fix(Core/BG): store correct faction id (#10576) 2022-02-09 01:20:55 -08:00
Nefertumm
50ef9872af Fix(Core/Crash): possible crash due uninitialized value (#10602) 2022-02-09 09:07:17 +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
Kitzunu
ef2440eb44 fix(Core/Spells): Revert an oopsie (#10598) 2022-02-08 19:49:40 -03:00
Kitzunu
fea438c60a refactor(Core/Spells): Move SpellInfoCorrections to its own file (#10587)
* refactor(Core/Spells): Move SpellInfoCorrections to it's own file
2022-02-08 16:05:29 +01:00
Kitzunu
13643c969c refactor(Core/Spell): Use ApplySpellFix with SpellInfo (#9938) 2022-02-08 14:09:15 +01:00
Francesco Borzì
cfd9ebe107 fix(Core): macOS build (part 2) (#10586) 2022-02-08 12:41:31 +01:00
Kargatum
11006041ac fix(Core/Build): macOS build (part 1) (#10549) 2022-02-08 11:21:17 +01:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
acidmanifesto
b0b9fece99 fix: (core) Game Hook Correction (#10572) 2022-02-07 13:18:47 -05: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
acidmanifesto
cfb171efda fix (conf): Added additional Cateloge NPC IDS (#10547)
* fix (conf): Added additional Cateloge NPC IDS

This is soo we can get a proppery pass\fail status on npc catelog modules dealing with hard coded gossip

* Update worldserver.conf.dist
2022-02-05 16:32:25 -05: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
UltraNix
6c0113c9a5 fix(Core/Spells): Wolverine Bite (#10312)
- Closes #10293
- Source: TrinityCore
2022-02-04 19:13:30 +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
Kitzunu
f4c6a4ce27 fix(Core/Misc): Remove c++ check for c++11 (#10439) 2022-02-04 19:00:33 +01:00
Nefertumm
aa6ecec2ab feat(Core/Map): add DoForAllPlayers method (#10371) 2022-02-04 18:54:29 +01:00
Kitzunu
b50984e9bf feat(Core/Player): Stats limitation (#10403)
Co-authored-by: Corbi <12052933+corbi@users.noreply.github.com>
2022-02-04 17:56:53 +01:00
Nefertumm
1dbbed0c50 fix(DB/Quest): move Lost In Battle to DB (#10378) 2022-02-04 17:53:18 +01:00
IntelligentQuantum
799c9cec5c refactor(Core/GuildHandler): remove unused function (#10375) 2022-02-04 17:53:00 +01:00
Bogir[rus]
0b4d483783 feat(Core/Conf): handle custom creatures IDs and exclude them from checks (#10367) 2022-02-04 17:52:23 +01:00
IntelligentQuantum
e85e556d19 feat(Core/Conditions): CONDITION_DIFFICULTY_ID (#10332) 2022-02-04 17:43:31 +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
Skjalf
c45c23ffe7 fix(Core/Player): Align SaveSeasonQuestStatus() with TrinityCore (#10503) 2022-02-02 21:14:02 -03:00
acidmanifesto
48ad8b519b Revert "fix (core): Smart Script Clean up\Code Reduction (#10491)" (#10494)
This reverts commit 0a218c975f.
Memory Leak Issue is being identified by a few fellow devs in response to the clean up.
2022-02-02 13:43:48 -05:00