Commit Graph

318 Commits

Author SHA1 Message Date
Kitzunu
e68faf71fe fix(Core/Log): fmt output for appender (#21043) 2024-12-25 23:17:25 +01:00
Kitzunu
7714ca31a2 refactor(Core/Time): Introduce GetExpirationTime instead of calculati… (#21006) 2024-12-22 09:42:39 +01:00
Kitzunu
0bc70670d2 refactor(Core/Misc): Use steady_timer instead of deadline_timer (#20940) 2024-12-19 18:00:03 +01:00
Takenbacon
a23b13defe fix(Core/Database): Gracefully close database workers (#20936)
* Gracefully close database workers

* Change init order. Such a silly compiler flag

* Fix hang if db connection failed to open
2024-12-18 20:24:17 +01:00
Stefano Borzì
83b8bf7288 ci: fix codestyle and cppcheck reports (#20962) 2024-12-18 10:34:42 +01:00
Exitare
7fd8b04a56 feat(Core/Motd): Allow localized motd (#20542)
* Initial commit for localized motd

* Rename function that created world packages

* Update to satisfy code check

* Update code to accomodate localized motd

* Update command to support multiple optionales & adjusted db

* Code cleanup

* Update sql name

* Fix codestyle issues

* Remove hardcoded schema

* Add check for valid player in reload command

* Update to better code style

* Add missing include

* Fix redundant code usage

* Add missing include

* Remove sql files and create new rev sql files

* Address minor code reviews

* Fix code style

* Update code to address code revisions.

- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant

* Fix code style

* Add check for base motd and update locale to DEFAULT_LOCALE

* Code docs

* Removed some docs, readd defaultd motd formatting

* Fix oversight in variable declaration

* Code style fix

* Update code based on code review

* ready for merge

* Fix set motd command due to changes to DEFAULT_LOCALE

* Fix CI

* Fix trailing whitespace

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-12-15 19:50:02 +01:00
Jelle Meeus
2d616ce0e8 fix(Core/Vmaps): Do not ignore model rotation when calculating liquid level (#20760)
cherry-picked from:
53b4501ce9

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-12-01 17:09:47 -03:00
Andrew
ab7f49b220 feat(Core/Scripting): Implement TaskScheduler GetNextGroupOccurrence() (#20714) 2024-11-24 12:02:56 -03:00
Grimdhex
156f634637 fix(Build/Deps): Increase minimal Boost versions and remove old compatibilities (#20287)
* fix(Core/Common): remove conditions for unsupported boost versions

* fix Cmake version requiert acording to wiki
2024-11-11 16:54:32 -03:00
Francesco Borzì
4dcaee1816 refactor(src/common|server): remove unused import (big part 2) (#20388) 2024-11-01 08:42:31 +01:00
Francesco Borzì
c06cadfe75 refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Francesco Borzì
2317004417 refactor(src/server/database|shared): remove unused import (#20316) 2024-10-28 10:04:42 +01:00
Kitzunu
386aea03ee chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
2024-09-21 19:34:31 +02:00
天鹿
19264bea0b Fix(Core/Misc): Acore::StringFormat to fmt format (#19867)
Update MMapMgr.cpp
2024-09-05 06:54:44 -03:00
Anton Popovichenko
9999a80c96 feat(Core/Achievements): Add possibility to complete achievements and update achievement criteria for offline players. (#19851) 2024-09-03 13:05:23 -03:00
Kitzunu
de2bcbdabf refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-09-03 07:59:37 -03:00
Tereneckla
1fd59e2831 feature(Core/Chat): allow fmt-chrono formatting (#19794) 2024-08-30 07:44:45 -03:00
Grimdhex
a0689fb4ef fix(Dep/Boost): corrects a warning about path changes in boost process (#19629) 2024-08-18 13:39:06 +02:00
Kitzunu
fdd8ff6e04 refactor(Deps/OpenSSL): Deprecate OpenSSL 1.x (#19452)
* EOL
2024-08-07 18:13:31 +02:00
Francesco Borzì
8cfb338328 fix(Core/Common): add missing import (#19535)
* fix(Core/Common): add missing import

* chore: fix mistake
2024-07-31 09:10:12 +02:00
Francesco Borzì
02a05fbd4c refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports

* fix: build

* chore: fix build

* chore: size_t -> std::size_t

* chore: fix fuckup from previous commit

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build with std::size_t

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build
2024-07-30 20:06:46 -03:00
Kitzunu
21f86d1c3c chore(Core/Misc): Remove deprecated code (#19413)
* Config - Deprecated for 3 years
* ChatCommand - Deprecated for 2 years
* getLevel() - Deprecated for 2 years
* SendGlobalText - Deprecated for 8 years +
2024-07-20 09:11:01 +03:30
Kitzunu
5c09a3194e fix(Core/Config): Allow # outside of comments (#19447) 2024-07-19 21:54:47 -03:00
Kitzunu
bd29e9e1b3 fix(Core/Spell): Implement SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT (#19254)
feat(Core/Spell): Implement SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19248
2024-07-04 14:30:59 -03:00
Kitzunu
6031ae2eb9 chore(Core/Conf): Show better logging when fatal config options are m… (#19236)
chore(Core/Conf): Show better logging when fatal config options are missing

* Show better log when the server halts due to missing fatal config option

* Change error to warning for missing config options. As they are not errors

* Update output when autoupdater is disabled for all databases
2024-07-04 14:25:28 -03:00
Vitaly Kogogin
02b58ff02e fix(core/character-creation): get main part of cyrillic name (#18971)
fix(character/creation): get main part of cyrillic name
2024-06-29 10:56:06 -03:00
Emmanuel Ferdman
4884e33f07 fix(LICENSE): update license file paths (#18972)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-05-29 20:10:39 +02:00
Winfidonarleyan
1768e4a633 chore(Common/Debugging): change report codestyle (#18383) 2024-02-25 12:07:40 -03:00
Kitzunu
ef1b3c2ea0 chore(Core/Misc): Clean up workarounds (#17870)
* Clean advstd to use std c++20 features
* Use ABORT instead of std::abort

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-11-27 00:07:39 +01:00
Winfidonarleyan
9ecb85acb5 chore(Cleanup): added new lines to the end of files where they are not present (#17774) 2023-11-19 11:57:37 +07:00
Winfidonarleyan
e90d7a2f92 chore(Core/Misc): sort includes (#17776)
* chore(Cleanup): sort includes

* fix build

* fix build again
2023-11-18 17:51:26 +01:00
Winfidonarleyan
130d7ce148 chore(Core/Misc): delete double include (#17775) 2023-11-18 15:39:02 +01:00
Tristan 'Natrist' Cormier
c827a0c1c1 fix(Core/Misc): Mac build (#17714) 2023-11-15 13:37:14 +01:00
AG
61fd3eebf9 fix(Metric/Misc): Change default updatetime to 1s (#17627)
* Update default metric interval

* codestyle

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-11-12 16:37:16 +01:00
Winfidonarleyan
c5564e1363 feat(Deps/Fmt): update fmt lib to 10.1.1 (#17643) 2023-11-05 13:15:45 +07:00
Ovahlord
52d37a927d fix(Build): nopch build (#17617) 2023-10-30 00:24:18 +01:00
Kitzunu
5357a31a01 chore(Core/Misc): warhead -> acore (#17447) 2023-10-08 09:06:57 +02:00
Mike Delago
b1c92f498a refactor(Core): Source config more aggressively from env, rephrase a few of the messages (#17114)
* refactor(Core): Let modules source config from env

* create a cache of configs from env

* Update src/common/Configuration/Config.cpp

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

* Update src/common/Configuration/Config.cpp

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

* enforce new function name

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-20 22:55:46 +02:00
Kitzunu
1621da00da chore(misc): Mordenize maths (#17273) 2023-09-17 17:00:53 +02:00
Kitzunu
f1111be152 chore(misc): cleanup (#17274) 2023-09-17 10:19:09 -03:00
Kitzunu
4b21f01b91 fix(Core/TaskScheduler): warning (#17275) 2023-09-17 10:14:28 -03:00
Kitzunu
fbf7ba2191 chore(Core/enumutils): regenerate enumutils (#17087)
* chore(misc/enumutils): update enumutils

* fix build

* latest update
2023-09-16 14:26:08 +02:00
Kitzunu
66066f508b fix(Scripts/Chat): Fix chat logger (#17102)
* fix(Scripts/Chat): Fix chat logger

* Update chat_log.cpp

* Update worldserver.conf.dist

* Update chat_log.cpp

* fix build

* oopsie

* fix clang
2023-09-16 08:17:42 +02:00
Kitzunu
ecf85a2f3e chore(Core/Misc): Silence compile warning in boost::process with vers… (#17251)
chore(Core/Misc): Silence compile warning in boost::process with version 1.83

* Cherry-pick commit d8c98579d4

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-09-15 02:32:36 +02:00
Christian Lohr
c43f62f6a9 fix(Core/Conf): log error in case configuration not found for DBImport (#17066)
* fix: log error in case configuration not found

* fix: register dbimport configuration file
2023-09-10 01:15:20 +02:00
Kitzunu
5c0a051fd5 fix(Core/Crypto): fix crash (#17100) 2023-08-28 19:15:22 +02:00
Francesco Borzì
5d01b700fd refactor(Core): remove unused imports (#17094) 2023-08-28 13:39:43 +02:00
Francesco Borzì
eaa6487fc2 refactor(Scripts): remove unused imports (#17097) 2023-08-27 22:25:22 -03:00
Kitzunu
3eb2463c69 chore(Core/Misc): Correct some fmt outputs (#17091) 2023-08-27 06:23:26 +02:00
Synful-Syn
6b583089f3 fix(Core/Spell): Stop Blink from the falling player to move upward by 1y and stop moving backward when facing a wall (#16657)
* blink-bad-warps

* Change formatting of an if
2023-08-25 09:14:27 -03:00