Takenbacon
fd262c3ab1
feat(Core/Config): Improvements to config caching ( #21647 )
2025-06-30 17:14:12 +02:00
Patrick Müssig
f89a8e0b81
fix(UnitTest): fixes unit tests not compiling under windows ( #21299 )
2025-02-17 06:17:51 +01:00
Takenbacon
edcfaeb845
refactor(Core/World): Create WorldSessionMgr to split session logic out of World ( #21400 )
2025-02-13 07:04:38 +01:00
Anton Popovichenko
f6a0433297
feat(Core/Arena): Add support for arena seasons completion with progression in runtime. ( #19858 )
...
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
2025-02-12 07:09:31 -03:00
Kitzunu
9e9a2fe5e3
refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… ( #21213 )
...
...ring
2025-02-01 22:46:42 +01:00
Kitzunu
bb7765d91e
refactor(Core/World): Move SendGMText to ChatHandler and allow fmt ( #19490 )
...
* refactor(Core/World): Move SendGMText to WorldSession and allow `fmt`
- Move SendGMText from World to WorldSession
- Make SendGMText use fmt
- Make SendGMText parse acore_string entries
* Update cs_message.cpp
* tokenize the string only once
* Move to chathandler
* Update WorldSession.cpp
* make sure we have a session
2024-08-08 20:12:33 -03: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
87f4adf634
refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and … ( #19501 )
...
* refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and allow `fmt`
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
2024-07-29 14:44:13 -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
Andrew
e3fd42f3d4
feat(Core/World): Implement DoForAllPlayers() helper for all online p… ( #18060 )
...
* feat(Core/World): Implement DoForAllPlayers() helper for all online players
* Update src/server/game/World/World.cpp
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
* Update src/server/game/World/World.cpp
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
* rename
* Update WorldMock.h
* Update WorldMock.h
---------
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
2024-01-01 13:57:57 +01:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files ( #17860 )
...
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
2023-12-02 21:13:20 +01: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
Kitzunu
39ec7464ef
fix(build): macOS ( #17007 )
...
* fix(build): macOS
* Revert "fix(build): macOS"
This reverts commit 612c41e41b2aea55069c0cfaf751c3ba7205e52f.
* Update Config.cpp
2023-08-14 23:38:30 +02:00
Anton Popovichenko
d69ee90ed3
feat(Core/Config): Implement config override with env vars ( #16817 )
...
* Core/Config: Implement config override with env vars
Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export TC_DATA_DIR=/usr
$ AC_WORLD_SERVER_PORT=8080 ./worldserver
* Add tests for env vars config
2023-08-14 22:07:43 +02:00
Kitzunu
c866e17406
refactor(Core/Motd): Move motd to MotdMgr ( #16933 )
2023-08-06 23:02:54 +02:00
Kitzunu
99f5fa79aa
refactor(Core/Autobroadcast): Move autobroadcast to it's own file ( #15147 )
2023-02-21 20:18:25 +01:00
Kitzunu
0c4feb6744
refactor(Core/Motd): Move motd from conf to db ( #15111 )
2023-02-20 22:07:26 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Kitzunu
026941c39e
refactor(DB): Handle SQL files in a new way ( #11494 )
...
* refactor(DB): Handle SQL files in a new way
* remove proof that it works files
* Update rev_1650721405699287200.sql
* Update rev_1650721339143444200.sql
* Update rev_1650721386624384400.sql
* fix build
* fix
2022-04-28 14:37:37 -03:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
IntelligentQuantum
725b1266b4
refactor(Core/Packet): Chat ( #9509 )
...
* Chat
* .
* Update GameObject.cpp
* Update Object.cpp
* Update Player.cpp
2022-01-08 07:11:06 -03:00
IntelligentQuantum
e57582accb
Core/Packet: WorldState ( #9435 )
...
* Core/Packet: WorldState
* Test
* WRONG
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
2022-01-03 11:50:56 -05:00
Skjalf
58302e4196
feat(Core/Player): Implement player specific settings ( #9483 )
2021-12-26 08:39:15 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Skjalf
3d95308d40
feat(Scripts/Commands): Implement restart/shutdown reasons ( #9242 )
2021-11-20 16:47:41 -03:00
Skjalf
731d256420
refactor(Core/Cache): move the GlobalPlayerCache to its own class ( #9166 )
2021-11-18 16:53:36 +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
8568c4fb33
feat(Core): replace ACE network with Boost.Asio ( #6574 )
2021-07-16 10:43:56 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Kitzunu
ae665f7ec3
feat(Core/Command): server debug ( #6007 )
...
* initial work
* fix query
* load
* clean up
* remove from startup
* ACE
* remove static
* Update MySQLThreading.cpp
* not used
* Update MySQLThreading.cpp
* unit testing
* Update WorldMock.h
* show Boost ver
* Update WorldMock.h
* include
* Now we have boost::filesystem woo
* fix build
* fix typo
2021-05-30 21:12:01 +02:00
Kargatum
ea5f5f2072
feat(Core/RealmList): port TrinityCore realm api ( #5626 )
...
* feat(Core/RealmList): port TrinityCore realm api
* 1
* whitespace cleanup
* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* 1
* 2
* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* `
* 1
* small corrects
* finish maybe
* realm.Id.Realm
* ws
* 1
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-05-27 00:12:46 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +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
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Petric
4b4805779b
fix(Core/Tets): Removed duplicated mock method ( #4219 )
2021-01-29 10:08:22 +01:00
Francesco Borzì
d513d8064a
refactor(Core/sWorld): improve singleton management ( #3862 )
2020-12-30 10:20:39 +01:00
Francesco Borzì
1b156ef7eb
chore(Core): forgot to add copyright in new files + small correction ( #3861 )
2020-12-07 21:05:13 -06:00
Francesco Borzì
9facd81e54
refactor(Core/sLog): improve singleton management ( #3801 )
2020-12-06 15:59:08 +01:00
Francesco Borzì
d503ba0d71
test(Formulas.h): GetGrayLevel, GetColorCode, GetZeroDifference ( #3734 )
2020-11-29 19:50:44 +01:00
Erdem MEYDANLI
9e5c3f78af
test: add code coverage report ( #3312 )
2020-08-18 16:34:45 +02:00
Erdem MEYDANLI
da1725cfc3
test: fix unit test linking problem in ubuntu 18.04
2020-08-17 14:48:34 +02:00
Francesco Borzì
c2b40b126d
feature(testing-automation): unit tests with Google Framework ( #3273 )
2020-08-15 22:34:45 +02:00