Commit Graph

102 Commits

Author SHA1 Message Date
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Kargatum
c0728f6e2d feat(Core/Packets): rework HandleWhoOpcode (#8863) 2021-11-07 09:51:36 +01:00
Kargatum
21214d12c8 feat(Core/Socket): make world OnSocketAccept like auth (#8946) 2021-11-04 18:42:34 +01:00
Kargatum
a650fd495c feat(Core/Metrics): implement real time statistic visualization (#8663) 2021-10-28 14:47:29 +02: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
UltraNix
1bf4f54b32 fix(Core/Combat): Creatures should evade if its only victim is teleporting to other map (#7975) 2021-09-20 16:05:45 -06:00
Kitzunu
5ceeeb0d98 fix(Core/Misc): SendAuthWaitQueue typo (#7868)
* cherry-pick commit <a832a1fe90>

Co-Authored-By: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>

Co-authored-by: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>
2021-09-19 18:44:27 +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
lineagedr
f538eaceba fix(Core/Chat): muteTime for players that were muted when offline (#7375)
This reverts commit 23beddb209314d6a6ef20c9e7ca7229ee7a1905b
2021-08-19 12:00:55 +02:00
Kitzunu
556d91a2ea feat(Core/Network): Add conf to allow/disallow storing IP address (#7168)
* feat(Core/Network): Add conf to allow/disallow storing the IP address

* cherry-pick commit (68bf7e6d12)

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-08-19 00:20:07 +02:00
Kargatum
da1fd680f3 fix(Core/WorldSocket): add missing hook OnLastIpUpdate (#7272) 2021-08-12 22:58:08 +02:00
Kitzunu
275b107fea fix(Docs/Doxygen): improve some comments (#7118) 2021-07-30 23:25:38 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
UltraNix
0f4a942825 fix(Core/PetHandler): prevent crash (#6805) 2021-07-10 00:21:26 +02:00
Kitzunu
5d66e57181 chore(Core/Spell): SpellId's should always be uint32 (#6466)
* chore(Core/Spell): SpellId's should always be uint32

* Update spell_item.cpp
2021-06-25 02:11:36 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +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
Francesco Borzì
23e9b85d0e refactor(Core): code cleanup (part 3) (#6380) 2021-06-19 01:25:29 +02:00
Kargatum
3da83cc0e6 feat(Common/IPLocation): replace ip2nation by ip2location (#5653) 2021-06-17 22:02:08 +02:00
Kargatum
2ba258a88b feat(Core/Logging): Changed format of packet log file from .bin to .pkt (#5949) 2021-06-17 16:51:45 +02:00
Bogir[rus]
e3a5727222 chore(Core): typo fixes (#6272)
Co-authored-by: Bogir <m-000@bk.ru>
2021-06-16 11:28:00 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
d8911d816f feat(Core/PacketIO): correct parsing some opcodes (#6051) 2021-05-28 00:34:54 +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
Francesco Borzì
3716ddf3e4 fix(Core/WorldSession): prevent crash in SendPacket (#6045) 2021-05-25 18:05:13 +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
Francesco Borzì
aab32e5f30 feat(TOTP): use feature toggle via authserver.conf (#5978)
* Revert "Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)"

This reverts commit fe6db2ff96.

* feat(TOTP): use feature toggle via authserver.conf

* chore(wip): wip

* Update src/server/authserver/authserver.conf.dist

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-21 09:56:52 +02:00
Kitzunu
fe6db2ff96 Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)
This reverts commit e50754d804.
2021-05-20 23:23:50 +02:00
Kargatum
e50754d804 feat(Core/Auth): add AccountInfo helper (#5640) 2021-05-20 10:16:50 +02:00
UltraNix
8dd58ebb5b fix(Core): Memleaks fixes - Part II. (#5760) 2021-05-14 10:15:45 +02:00
Axel Cocat
0e8e21b812 fix(Core/Groups): fix group enchanting level not resetting properly (#5501) 2021-05-07 13:51:39 +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
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
Kargatum
b2861be1cd feat(Core/Threading): replace ace threading (#4821) 2021-04-16 19:45:29 +02:00
r0m1ntik
2f2d84ac5c fix(Core/FriendStatus): Alerted when friends log in/out (#4995) 2021-04-06 14:17:07 +02:00
Kargatum
10fa49f5bd feat(Core/Sockets): replace ACE_ASSERT to default core ASSERT (#4950) 2021-03-24 20:09:13 -06:00
UltraNix
485f7e7639 feat(Core/DB/Authserver): remove sha_pass_hash (#4827) 2021-03-21 15:17:57 +01:00
Francesco Borzì
8bacb39d53 feat(Core/Hooks): OnLastIpUpdate(accountId, ip) (#4913) 2021-03-20 18:26:35 +01:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Kargatum
b9e132a941 chore(Misc): correct double includes (#4647) 2021-02-26 17:44:08 +07:00
Kitzunu
dbc0ff6554 refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Francesco Borzì
a4115862de feat(Core/Hooks): OnBattlegroundDesertion (#4619) 2021-02-21 22:12:25 +01:00
FALL1N1
0181b73bc2 feat(Core/Opcodes): Implement CMSG_CHANNEL_MODERATE (#4021)
* Core/Opcodes: Implement CMSG_CHANNEL_MODERATE

* Cleanup, prettify

* fix build

* whitespaces
2021-01-18 19:37:50 +01:00
Andrius Peleckas
2794842553 feat(Core/Warden): optimization + PQR detection (#3875)
* Update AuctionHouseHandler.cpp

* feat(warden): block PQR

* wip

* Update Warden.cpp

* Core/Warden: minor preperation

* Core/Misc: implemented some needed container wrapper functions

* Core/Warden: more preperations

* Core/Warden: more rework
* LUA checks now are splitted to seperate config
* LUA checks are always in front of queue
* Fixed "Other" checks
* Fixed PQR detection

* Core/Warden: adjusted and optimized

* Core/Warden: optimization

* Core/Warden: more optimization

* Core/Warden: use warden comments in ban reason

* Core/Warden: more warden work

* Core/Warden: more optimizations

* Core/Warden: more refactors

* Core/Warden: some more refactors + use default SHA definitions

* Core/Warden: more refactoring

* Core/Warden: fixed PQR detection again

* Core/Warden: improved detection logging

* Core/Misc: removed SmartEnums - we do not need it here + maybe should go as seperate commit

* Core/Warden: fixed some warnings

* Core/Warden: codestyle

* Core/Warden: include warden check comment to console logs

* Core/Warden: minor adjustment for previous commit

* Core/Warden: fixed static analysis warning

* Core/Warden: compilers, you're drunk this time... function is not unused...

* Core/Warden: minor correction for logs

* Core/Warden: one more improvement for logs

* Core/Warden: added missing overrides

* Core/Warden: some codestyle

* Core/Misc: more codestyle

* Core/Misc: more codestyle!

* Core/Warden: restored default config options... (if you change it, change in core source too)

* Core/Warden: addition to previous commit

* DB/Warden: added EWT and WOWPlus checks (provided by lineagedr)

* DB/Warden: addition to previous commit

* fix: codestyle

* Core/Warden: fixed build when extra logs are enabled in cmake

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-01-17 18:36:35 +01:00
Kitzunu
da4edd547d chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00