Kitzunu
ca9605215b
feat(Core/Misc): improve enum flags with type safe operators ( #7865 )
2021-09-17 14:51:01 +02:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr ( #6910 )
...
* Rename MapManager.h to MapMgr.h
* Rename BanManager.h to BanMgr.h
* Rename MapManager.cpp to MapMgr.cpp
* Rename BanManager.cpp to BanMgr.cpp
* Rename MapRefManager.h to MapRefMgr.h
* Rename ThreatManager.h to ThreatMgr.h
* Rename GridRefManager.h to GridRefMgr.h
* Rename ThreatManager.cpp to ThreatMgr.cpp
* Rename GroupRefManager.h to GroupRefMgr.h
* Rename HostileRefManager.h to HostileRefMgr.h
* Rename HostileRefManager.cpp to HostileRefMgr.cpp
* Rename MMapManager.h to MMapMgr.h
* Rename FollowerRefManager.h to FollowerRefMgr.h
* Rename VMapManager2.h to VMapMgr2.h
* Rename IVMapManager.h to IVMapMgr.h
* Rename MMapManager.cpp to MMapMgr.cpp
* Rename VMapManager2.cpp to VMapMgr2.cpp
* Rename RefManager.h to RefMgr.h
* Rename WaypointManager.h to WaypointMgr.h
* Rename WaypointManager.cpp to WaypointMgr.cpp
* Rename MPQManager.h to MPQMgr.h
* Rename MPQManager.cpp to MPQMgr.cpp
* Rename IMMAPManager.h to IMMAPMgr.h
* fix build
* Update Main.cpp
* chore(Core/Misc): Remove toxic language
* Revert "chore(Core/Misc): Remove toxic language"
* fix build
* build
2021-09-15 17:50:28 +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
UltraNix
a8c0a2cc89
fix(Core/Movement): ( #7008 )
...
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.
Original source: TrinityCore.
- Closes #5086
- Updates #2208 .
2021-08-25 12:41:20 +02:00
UltraNix
261d5c62cd
fix(Core/Collision): typo in VMap BIH generation. ( #7066 )
...
* Core/Collision: Fix typo in VMap BIH generation.
Fixed #5768 .
* Bump vmap and mmap versions.
* chore: update data version in the bash installer
2021-08-08 12:21:29 +02:00
Kargatum
dc1945196a
feat(Core/Logging): add support fmt::format logging ( #6893 )
2021-07-31 23:54:55 +02:00
Necropola
c7129fa0dd
fix(CMake): find std::filesystem across platforms ( #6914 )
...
* fix(CORE): Find std::filesystem across platforms
Closes #6889
* Squeeze blank lines to make check-codestyle happy
* Move find_package(Filesystem ...) to deps/stdfs
* CMAKE_CXX_STANDARD gets already set in ConfigureBaseTargets.cmake
2021-07-17 11:41:36 +02:00
Kargatum
8568c4fb33
feat(Core): replace ACE network with Boost.Asio ( #6574 )
2021-07-16 10:43:56 +02:00
Kitzunu
511227fa6b
fix(Core/WheatyExceptionReport): for c++20 ( #6875 )
2021-07-12 00:47:40 +02:00
Francesco Borzì
d92a2ce58b
fix(Core/Common): -Wdeprecated-enum-float-conversion warning ( #6870 )
2021-07-11 18:05:07 +02:00
Francesco Borzì
ebb80145b3
refactor(Core): replace boost::filesystem with std::filesystem ( #6800 )
2021-07-09 16:43:51 +02:00
Kargatum
2d2857ce81
feat(Core/DBUpdater): implement db auto update ( #6576 )
...
* feat(Core/DBUpdater): implement db auto update
* 1
* 2
* 3
* Some minor improvements
* add find bin for mysql 8.0
* lic
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-27 18:59:44 +02:00
Kitzunu
b84f9b8a4b
refactor(Collision): update some methods to UpperCamelCase ( #6486 )
2021-06-27 16:37:22 +02:00
Kargatum
3c24b511f2
refactor(Core/Misc): add braces and impove codestyle ( #6402 )
2021-06-24 19:50:18 +02:00
Kitzunu
065d403b72
feat(Core/Misc): Add .Size() to TypeUnorderedMapContainer for stats/debugging ( #6080 )
...
* cherry-picked commit (TrinityCore/TrinityCore@d53a2de )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2021-06-23 22:28:41 +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
5991b2769a
feat(Core/Scripts): split the huge scriptloader into smaller pieces ( #5346 )
...
* feat(Core/Scripts): split the huge scriptloader into smaller pieces
* AddSC_swamp_of_sorrows del
* 1
* add mod info
* 1
* 039f0e0faa
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-22 23:19:02 +02:00
Kargatum
9ac6fddcae
feat(Core/Database): port TrinityCore database API ( #5611 )
2021-06-22 06:21:07 +02:00
Kitzunu
5d9db23608
chore(Common/Misc): Replace old macros with modern C++ attributes ( #6462 )
...
* chore(Common/Misc): Replace old macros with modern C++ attributes
* cherry-pick commit (5ae2a0f47d )
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
* fix build
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-06-21 17:26:01 +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
Kargatum
3da83cc0e6
feat(Common/IPLocation): replace ip2nation by ip2location ( #5653 )
2021-06-17 22:02:08 +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
Kargatum
55bea7eb79
feat(Core/Thread): move Processpriority to separated files ( #5638 )
2021-06-02 19:18:24 +02:00
Kargatum
584b8d908e
feat(Core/Apps): add support dynamic lib for EnumUtils ( #6120 )
2021-06-01 17:58:01 +02:00
Kargatum
d398c34c61
chore(Core/Common): delete macro UNUSED ( #6119 )
2021-06-01 17:22:29 +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
Kitzunu
07d0f654d5
feat(Core/Containers): MapGetValuePtr ( #6111 )
...
* feat(Core/Containers): MapGetValuePtr
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
(cherry picked from commit a1e3b54e07 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2021-05-30 06:19:37 +02:00
Kitzunu
a9ed64e600
feat(Core/Util): AsUnderlyingType ( #6117 )
...
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
(cherry picked from commit fdd9227b23 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2021-05-30 03:46:04 +02:00
Kargatum
c1e96064e9
feat(Core/Common): add Asio network threading ( #6063 )
2021-05-27 16:09:31 +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
Kargatum
78e1719c80
feat(Core/Misc): includes cleanup ( #5953 )
2021-05-26 19:00:08 +07:00
Kargatum
50adcf2065
feat(Deps/Boost): add boost support ( #5676 )
...
* feat(Deps/Boost): add boost support
* 1
* 2
* to 1.74
2021-05-23 13:53:15 +02:00
Kargatum
63a273507c
feat(Core/Packets): Port packet handling from TrinityCore ( #5617 )
...
* feat(Core/Packets): Port packet handling from TrinityCore
* 1
* 2
* 3
* 1
* 2
* #3670
* 3
* 1
* codestyle
* fix msvc warnings
2021-05-22 00:10:46 +02:00
Kitzunu
5ea56d79fc
fix(Core/Banner): Add missing space ( #5881 )
2021-05-20 13:49:10 +02:00
Kargatum
13f71c9c4d
feat(Core/Random): port random system from TrinityCore ( #5454 )
...
* feat(Core/Random): port random system from TrinityCore
* lic
* logic correct
* MultimapErasePair move
* whitespace
17:13:34 1. 'Containers.h'. Replace (1)
17:13:40 2. 'LootMgr.h'. Replace (1)
17:13:44 3. 'World.cpp'. Replace (1)
17:13:47 4. 'instance_scholomance.cpp'. Replace (1)
* correct debug build
2021-05-16 21:53:21 +02:00
Kargatum
26f2abaaa9
feat(Core/Authserver): TOTP rewrite ( #5620 )
2021-05-12 18:57:10 -06: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
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running ( #5572 )
2021-05-08 12:39:09 -06:00
Kargatum
db7d754f3f
feat(Core/Common): delete lib game-interface inherited ( #5333 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-05-07 02:16:44 +07:00
Kargatum
61c87a8ab7
feat(Core/Config): add abort message if config incorrect ( #5438 )
2021-05-02 02:06:55 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Chaouki Dhib
2d21bfc915
feat(Core/Movement): time synchronisation to better interpret client timestamps ( #5300 )
2021-04-23 15:53:09 +02:00
Kargatum
325dcfc9a6
feat(Core/Build): add the possibility to link libraries dynamically ( #5348 )
2021-04-21 22:16:12 +02:00
Kargatum
a278fd7340
feat(Cmake/Database): separate database lib from common ( #5334 )
...
* feat(Core/Database): separate databse lib from common
* 1
2021-04-20 12:08:23 +02:00
Kargatum
8263faa288
feat(Core/Debugging): Allow to show a message when aborting ( #5228 )
2021-04-18 14:36:54 +02:00
Kitzunu
86192f38b7
refactor(Core/Server): Move Banner into separate file ( #5207 )
...
* refactor(Core/Server): Move Banner into separate file
* fix build
* Update Banner.cpp
* indent
* build
* build
* log
* LOG_INFO
* Update Banner.cpp
* Update Banner.h
* Update Main.cpp
* Update Main.cpp
* Update Master.cpp
* yes
* tes
2021-04-18 00:35:35 +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