Commit Graph

31 Commits

Author SHA1 Message Date
Foereaper
5fa027a222 refactor(Core/Conf): Removal of unnecessary .dist file loading (#14707)
* Remove .dist file requirement

* Remove unnecessary string cast

* Add required variables for CI build configs

* More required variables

* Add some more default variables to reduce log output

* One last default value to cut down log spam

* Rewrite conf file bash script

This should use the standard .dest file as a template

* Change dir we copy the dest files from

* actually use the correct file name

* need to use double quotes for variables

* add missing username

* set the correct datadir

* Attempt to fix dbimport

Co-authored-by: Foereaper <foereaper@elunatech.com>
2023-01-21 14:48:22 +01:00
Kitzunu
4870b14b1f refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
M'Dic
967f8ce6d6 update (core): Startup console capitalizations (#13195) 2022-10-01 13:09:34 -04: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
e8f34b2309 feat(Core/Common): add support fmt style for ASSERT and ABORT (#10355)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp
2022-01-25 23:15:51 +01:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Kargatum
e61dbad192 feat(Core/Config): loading modules configs before loading scripts (#9653) 2021-12-12 13:20:39 -03:00
Kargatum
0f1c0c154d feat(Core/Config): implement loading files optional (#8198) 2021-12-10 11:53:31 +01: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
Kargatum
3c24b511f2 refactor(Core/Misc): add braces and impove codestyle (#6402) 2021-06-24 19:50:18 +02:00
Kargatum
8202da358b refactor(Core/Common): alphabetical sorting inlcudes (#6282)
- Part https://github.com/WarheadCore/WarheadBand/pull/37
2021-06-23 01:01:53 +02:00
Kargatum
5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-21 03:07:12 +02:00
UltraNix
c568bdcc42 feat(Modules): load modules configs before Log initialization (#6104)
in order to properly load modules appenders and loggers
2021-06-04 23:57:10 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
681c3237df feat(Core/Config): added info about bad lines in config file (#5813) 2021-05-13 04:03:53 +07:00
Francesco Borzì
ebd757a331 Revert "feat(Core/Config): add abort message if config incorrect (#5438)" (#5761)
This reverts commit 61c87a8ab7.
2021-05-10 15:30:45 +02:00
Kargatum
61c87a8ab7 feat(Core/Config): add abort message if config incorrect (#5438) 2021-05-02 02:06:55 +02:00
Kargatum
4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kargatum
60d684282b fix(Core/Utilites): improve acore::String::Trim (#4704)
- Improve `acore::String::Trim`
- Delete `acore::String::Reduce`
- Skip line comment #4748
2021-03-09 21:02:45 +07:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Kargatum
4734ae81dc feat(Core/Config): Improve config (#3453) 2020-11-11 14:18:35 -06:00
Stefano Borzì
78e2e551e5 fix(build): remove warning (#3205) 2020-08-24 09:48:05 +02:00
Kargatum
94e6ef17a2 feat(Core/Config): rework configs load system (#2566) 2020-07-12 17:47:12 +02:00
Kaev
2fa9f5c249 fix(Core): potential crashes/bugs reported by static analysis #2 (#2622) 2020-02-03 07:52:27 +01:00
Kargatum
4a8f1de538 feat(Core/Misc): remove and replace ACE_Singleton (#2418) 2019-12-21 00:29:29 +07:00
Stoabrogga
205e8eb14e Log unused config options (#999)
Now fixed
2018-09-08 20:26:28 +02:00
BarbzYHOOL
4d7c06c304 Revert "Show default options, missing in config files (#908)"
This reverts commit f122ed57bf.
This commit created a critical errors and made the core instable. The feature should be reimplemented in a better way.
2018-08-05 20:49:51 +02:00
Kargatum
f122ed57bf Show default options, missing in config files (#908) 2018-06-05 07:14:57 -04:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00