Commit Graph

108 Commits

Author SHA1 Message Date
ZhengPeiRu21
e9143a2c0b Merge branch 'azerothcore:master' into Playerbot 2023-03-21 08:46:26 -06:00
Skjalf
f887e000b7 refactor(Scripts/Mechanar): Modernize Mechano Lord Capacitus script (#15491) 2023-03-19 19:52:08 -03:00
郑佩茹
be7c57507f Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/Player/Player.h
2023-03-16 10:00:13 -06:00
Skjalf
3fa4117195 feat(Core/BasicEvents): Add the possibility to group BasicEvents (#15369) 2023-03-12 21:26:52 -03:00
Skjalf
a5b4aecd52 fix(Scripts/TheBotanica): Rework Laj (#15279) 2023-03-05 11:14:46 -03:00
郑佩茹
4bc9901f16 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.h
2023-02-13 13:07:03 -07:00
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
郑佩茹
03b3f9d051 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/World/World.h
2023-02-09 12:40:25 -07:00
M'Dic
437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
郑佩茹
cab0d6f027 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Guilds/Guild.cpp
2022-11-18 10:21:36 -07:00
Yehonal
77a52b8001 fix(CORE): another attempt to fix the dbimport command line warning (#13449) 2022-10-22 00:21:16 +02:00
M'Dic
e836f08cc4 Revert feat(core): Start Process and DBUpdater (#13465)
Revert "feat(CORE): for Start Process and  DBUpdater

This a selective reverts for commits:
c855e8d227 and  636df19514. To re-enable the windows build to function again while applying updates.

Update DBUpdater.cpp
2022-10-20 07:43:34 +02:00
Yehonal
c855e8d227 fix(CORE/dbupdate)): allow to pass MySQL password via env (#13404)
* fix(CORE/dbupdate)): allow to pass MySQL password via env

+ fixed devContainer override file issue
+ added authserver dry-run in our CI
2022-10-17 10:53:42 +02:00
ZhengPeiRu21
906748cd16 Merge branch 'azerothcore:master' into Playerbot 2022-10-07 09:14:47 -06:00
UltraNix
29ea8a2e59 fix(Scripts/Temple of AhnQiraj): Adjusted Sartura's event timers. (#13187) 2022-10-05 22:36:08 -03:00
Angelo Venturini
00eea376f1 fix(Core/TempleOfAhnQiraj): Huhuran timers + EventMap::Repeat (#13182)
fix(Core/TempleOfAhnQiraj): Huhuran timers + EventMap::Repeat using std::chrono
2022-10-05 01:42:25 +02:00
郑佩茹
32c6babdb7 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.h
2022-08-16 16:13:26 -06:00
Axel Cocat
9aed486eeb feat(Core/Utilities): add event emitter class (#12632) 2022-08-05 09:09:26 -04:00
郑佩茹
6ad65508af Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/Creature/Creature.cpp
#	src/server/game/Entities/Creature/Creature.h
#	src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp
2022-07-27 09:11:50 -06:00
Nefertumm
9b6da94510 fix(Core/AI): more AI factory checks (#12402)
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
Co-authored-by: Aokromes <aokromes@users.noreply.github.com>
2022-07-19 14:31:03 -03:00
qudzy
0e6a5bddbb Declare strToLower method in utilities 2022-05-06 16:55:21 +02:00
Kitzunu
1501445b0a chore(Core/Misc): nullptr cleanup (#11467) 2022-04-21 19:17:20 +02:00
Kitzunu
b05a4eb71e fix(Core/Misc): Remove invalid comment (#10523) 2022-02-11 17:52:48 +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
Kitzunu
5d8b472ed7 fix(Core/Misc): Remove Clang 7 workaround (#10521) 2022-02-11 04:03:29 +01:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01: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
Kitzunu
f4c6a4ce27 fix(Core/Misc): Remove c++ check for c++11 (#10439) 2022-02-04 19:00:33 +01:00
Kargatum
3a0a9ba088 feat(Core/Common): move EventMap to separated files, add support chrono (#10209) 2022-02-04 15:12:45 +01: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
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
Kargatum
6d7f58e6ed feat(Core/Common): delete old Tokenizer (#10121) 2022-01-21 14:59:05 +07:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Francesco Borzì
9dc88def35 refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-17 14:35:07 +01:00
Kitzunu
317e793b12 refactor(Core/Misc): atan2() to std::atan2() (#9793)
- prefer std functions over C functions
2022-01-03 13:24:06 -03:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kaiser
fa46f13b09 feat(Core/Build): Patched to be buildable on FreeBSD 13.0-RELEASE (#9568) 2021-12-08 20:06:26 -03:00
Kargatum
0b507d531d refactor(Scripts/Commands): convert cs_modify to new system (#9474) 2021-12-04 11:56:47 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
UltraNix
67d5452c59 feat(Core/Misc): Added lambda support to EventProcessor. (#9263) 2021-11-20 18:33:57 -03:00
Kargatum
bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kitzunu
ca9605215b feat(Core/Misc): improve enum flags with type safe operators (#7865) 2021-09-17 14:51:01 +02:00
Viste
a9796af174 fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +02:00
Francesco Borzì
d8b8e123f6 refactor(Core/Common): code cleanup (part 12) (#7520) 2021-08-26 18:02:08 +02:00
Kargatum
dc1945196a feat(Core/Logging): add support fmt::format logging (#6893) 2021-07-31 23:54:55 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
Francesco Borzì
ebb80145b3 refactor(Core): replace boost::filesystem with std::filesystem (#6800) 2021-07-09 16:43:51 +02:00