Commit Graph

98 Commits

Author SHA1 Message Date
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Skjalf
8490893647 fix(Core/Scripts): Fix QuestRewarded hook (#9717) 2021-12-15 04:10:38 -03:00
Skjalf
19a3caa5eb fix(Core/Scripts): Fix bool script hooks not executing code (#9699)
* fix(Core/Scripts): Fix bool script hooks not executing code

* warnings
2021-12-14 19:53:46 -03:00
Kargatum
fad214efe0 feat(Core/ScriptMgr): replace macro and cleanup (#9598) 2021-12-10 15:05:28 -03:00
Kargatum
c8809f15c2 feat(Core/ScriptMgr): correct execute bool hooks (#9574) 2021-12-09 10:58:23 -03:00
IntelligentQuantum
caedaa8617 Core/ScriptMgr: Duplicate include (#9511) 2021-12-07 18:37:19 -08:00
Kitzunu
6b6e90d43d feat(Script/Misc): Implement missing FactoryGameObjectScript (#9388) 2021-12-05 07:14:15 -03:00
Kargatum
846487acaa fix(Core/ScriptMgr): Cleanup few scripts (#9497) 2021-12-04 17:33:02 -03:00
Kargatum
aa872743e7 fix(Core/ScriptMgr): correct condition for AreaTrigger (#9491)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-12-04 21:39:54 +07:00
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
Kitzunu
430fa147fd feat(Scripts): Implement generic script loader and registry macros (#8976)
* cherry-pick commit (fb87ac8e8d)

* cherry-pick commit (7d4fbf706a (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764))

* cherry-pick commit (75a6a7a0ad (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764))

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-07 02:21:00 -03:00
UltraNix
70d8b88f3b feat(Core/Modules): Preparation to implement progression-system module. (#8837) 2021-11-06 10:06:12 -03:00
Skjalf
b2ce49135e feat(Core/Scripting): implement OnlyOnceAreaTrigger & Zul'Gurub's in… (#8850)
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
2021-11-03 23:43:03 +01:00
acidmanifesto
0df821cbb0 chore(Core): Code Reduction dealing with Logging, (Cosmetic only). (#8686) 2021-10-24 22:33:16 -03:00
Kargatum
bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
Skjalf
b871bdc708 fix(Core/EventScripts): Credit nearby group members when using the SCRIPT_COMMAND_QUEST_EXPLORED event_scripts command (#8378) 2021-10-14 17:19:07 +02:00
Nefertumm
bcec4191e4 feat(Core/Hooks): Added new hook for pvp flag state (#8336) 2021-10-11 14:40:27 -03:00
Francesco Borzì
775c6744d2 feat(Core: new hook OnPlayerQueueRandomDungeon() and revert (now unnecessary) PR (#8196) 2021-10-02 09:18:33 +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
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
Kaytotes
d18545263f feat(Core/Scripts): new OnBeforeFinalizePlayerWorldSession() hook (#7136)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2021-08-22 13:41:19 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
Kargatum
fbad1f3d6c fix(Core/ScriptsMgr): correct hooks name (#6434)
## Changes Proposed:
- Added `virtual` for `CanSendJoinMessageArenaQueue` and `CanSendExitMessageArenaQueue`
- Rename `CanExitJoinMessageArenaQueue` to `CanSendExitMessageArenaQueue`
2021-06-28 08:34:26 +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
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
4a3af9b140 feat(Core/BGQueue): rework queue announce (#6114) 2021-06-15 17:50:42 +02:00
Yehonal
baf437bb98 feat(Core): improved some hooks (#6302) 2021-06-13 10:23:24 +02:00
UltraNix
2189ac0b08 feat(Core/Anticheat): Preparation to implement new passive anticheat … (#5516) 2021-05-07 18:10:44 +02:00
Yehonal
545a82870e fix(doc): cleanup outdated documentation in ScriptMgr.h (#5488)
* Update ScriptMgr.h

* Update ScriptMgr.h
2021-04-29 00:19:32 +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
Kargatum
2b3d46bd4f feat(Core/Hooks): added collection of hooks to extends AC (#3047)
This collection of hooks comes from the Maelstrom project. It allows to release modules such as :
- 3v3-soloqueue
- 1v1 arena
- pvestats

and many others
2021-04-13 13:26:39 +02: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
dunjeon
8108f78762 feat(Core/Hook): OnSendInitialPacketBeforeAddToMap (#4645) 2021-03-13 23:46:58 +01:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01: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
Francesco Borzì
8915ab1362 feat(Hooks/PlayerScript): ShouldBeRewardedWithMoneyInsteadOfExp (#4445) 2021-02-09 14:09:41 -05:00
Kitzunu
879468506f chore(Core/Global): Fix grouping of Worldserver initialization (#4130) 2021-01-25 20:50:53 +01:00
Kitzunu
b0aff365a9 chore(core): Remove malformed whitespace (#4248) 2021-01-10 18:20:45 +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
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Francesco Borzì
1cf39b3d22 refactor(Core): apply clang-tidy modernize-use-equals-default (#3834) 2020-12-07 19:21:55 +01:00
Francesco Borzì
161302252e refactor(Core): apply clang-tidy modernize-use-nodiscard (#3835) 2020-12-06 19:39:48 +01:00
Francesco Borzì
d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00