Francesco Borzì
2ce2c8cf3a
refactor(src/server/game/*): remove unused imports (big part 3) ( #20315 )
2024-10-27 13:10:28 +01:00
Stefano Borzì
f6de601ddd
new BattlegroundDesertionTypes for hook OnBattlegroundDesertion ( #20039 )
...
* new BattlegroundDesertionTypes for hook OnBattlegroundDesertion
* chore: minor improvements
---------
Co-authored-by: laasker <79991768+laasker@users.noreply.github.com >
2024-09-27 22:19:56 +02:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Kitzunu
4b63aa9015
feat(DB/Module): introduce module_string table ( #19475 )
2024-08-13 19:53:16 +02:00
Kitzunu
e4df159f5c
refactor(Core/Chat): Move SendNotification to ChatHander ( #19491 )
...
* refactor(Core/Chat): Move SendNotification to ChatHander
* Update Battleground.cpp
* fix build
* Update src/server/game/Chat/Chat.h
2024-08-10 11:39:46 -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
6c0afe1810
refactor(Core/WorldSession): Make SendNotification use fmt and parse acore_string ( #19489 )
...
* refactor(Core/WorldSession): Make SendNotification use `fmt`
* Make SendNotification use `fmt`
* Make SendNotification parse acore_string entries
2024-07-28 01:25:06 +02:00
Nathan Handley
4321b8a4de
feat(Core/Scripting): Implement new hook OnBeforePlayerLogout() ( #18163 )
...
* new hook OnPlayerPreLogout
* Changed PreLogout to BeforeLogout per review
* Renamed OnPlayerBeforeLogout to OnBeforePlayerLogout per review
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-01-14 00:10:49 +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
Tristan 'Natrist' Cormier
4c94f62144
chore(Core/Account): move AccountMgr::IsGMAccount() to class WorldSession ( #17845 )
2023-11-28 21:44:48 +01:00
Tristan 'Natrist' Cormier
f1cb3bfb3b
refactor(Core/Network): remove redundant logging calls from some message handlers ( #17565 )
...
chore: removed redundant logging calls from some message handlers
2023-11-08 21:53:43 +01:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
Tereneckla
9482836e33
fix(Core/Session): don't refund soul shards when logging out with warlock pets ( #16803 )
2023-07-21 19:16:11 -03:00
天鹿
d75bcf0f67
chore(core): Cleanup code ( #16012 )
...
* Update SmartScript.cpp
* Update M2Stores.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update WorldSession.cpp
* Update spell_item.cpp
* Update LoginDatabase.cpp
2023-04-19 21:34:48 -03:00
M'Dic
f10928fa5c
fix (core) : Violating Flag correction ( #15648 )
2023-03-30 06:24:23 -03:00
Skjalf
591511c875
fix(Core/Session): Let movement flags update on their own when disabl… ( #15366 )
2023-03-12 17:39:08 -03:00
Skjalf
cbaa63eb64
fix(Core/Session): Inform the client when we can no longer fly (flyin… ( #15363 )
2023-03-12 13:25:54 -03:00
Kitzunu
cc6fcb6912
fix(Core/PacketIO): Reintroduce requeueing packets that are sent during login but need you to be logged in ( #15145 )
2023-02-21 00:33:18 -03:00
Kitzunu
abedfe245f
fix(Core/PacketIO): Remove wrong QueuePacket() ( #15124 )
2023-02-19 13:33:46 +01:00
Kitzunu
d7e701a1cb
feat(Core/PacketIO): Implement STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT ( #15059 )
...
Co-authored-by: Vladimir Merzliakov <29081+VladimirMangos@users.noreply.github.com >
Co-authored-by: megamage <35114+megamage@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2023-02-17 09:11:11 +01:00
AnchyDev
246b20683f
feat(Core/Warden): Allow sending of custom lua payloads through Warden. ( #14723 )
2023-02-13 00:42:58 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03: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
UltraNix
b9ea8b16af
fix(Core/Session): Fixed loading global account data and tutorials. S… ( #14038 )
...
fix(Core/Session): Fixed loading global account data and tutorials. Source: TrinityCore.
Fixes #11974
2022-12-06 09:08:46 -03:00
Winfidonarleyan
a1a1528cb4
feat(Core/Crypto): add support OpenSSL 3.0 ( #13354 )
2022-11-24 01:12:20 +07:00
M'Dic
8b9541873a
feat(Core/ChatHandler/Conf): Flood Control Addon Messages ( #12603 )
...
* feat(Core/ChatHandler): Flood Control Addon Messages
Original Closed PR by @Kitzunu
https://github.com/azerothcore/azerothcore-wotlk/pull/11675
Cherrypicked TC:
cherry-pick commit (TrinityCore/TrinityCore@5384fc1 )
cherry-pick commit (stoneharry/TrinityCore@a0629fc )
Co-Authored-By: stoneharry 3818405+stoneharry@users.noreply.github.com
Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: stoneharry <3818405+stoneharry@users.noreply.github.com >
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* update: (pr): Review Response
* update: (core): Chathandler
No reason why this case should even exist. Previous or current. This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here.
* update (cleanup): Code Style
suggestion per @Nefertumm
Co-Authored-By: Angelo Venturini <nefertum.dev@protonmail.com >
Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com >
2022-08-17 10:37:34 -04:00
ZhengPeiRu21
631686be7e
fix(Core): Instance Reset Exploit Fix ( #12459 )
...
* fix(Core): Fix Instance Reset Exploit
* Whitespace fix
* Remove unnecessary include
* Check player instance save IDs when adding to map
* Only compare playerBind during login
2022-07-24 14:37:42 -03:00
Kitzunu
763a521da8
fix(Core/PacketIO): Stop WorldSession packet processing loop immediat… ( #11680 )
...
* fix(Core/PacketIO): Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player
* cherry-pick commit (0d0cb23a63 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* Update WorldSession.cpp
* Update src/server/game/Server/WorldSession.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-05-10 17:17:07 +02:00
Revision
a1707b2d14
feat(Core/Player): Allow stay in group when logged out ( #10887 )
...
* Config option
* Extra check
* Fixes
Updated some comments
Removed the config option from the first if since it's not necessary (afaik)
* REVERT
Reverting the if to what I had it at originally until I can get some input on it...
* Updated if
Got some input and this is working as intended
* Update World.cpp
* Update src/server/worldserver/worldserver.conf.dist
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-04-25 09:29:44 -03:00
Kitzunu
1501445b0a
chore(Core/Misc): nullptr cleanup ( #11467 )
2022-04-21 19:17:20 +02:00
Kargatum
78bdc89881
feat(Core/Battleground): rework bg queue system ( #10817 )
2022-03-15 14:36:49 -03:00
IntelligentQuantum
1f90a18a58
feat(Core/Packet): CMSG_SET_SHEATHED
2022-03-11 18:12:21 +01:00
Kargatum
de13bf426e
feat(Core/DBLayer): replace char const* to std::string_view ( #10211 )
...
* feat(Core/DBLayer): replace `char const*` to `std::string_view`
* CString
* 1
* chore(Core/Misc): code cleanup
* cl
* db fix
* fmt style sql
* to fmt
* py
* del old
* 1
* 2
* 3
* 1
* 1
2022-02-05 00:37:11 +01: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
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
Kargatum
c1ebda66ba
fix(Core/Pets): fixed crash happening when current pet is forcibly removed ( #10025 )
2022-01-10 09:19:43 -03:00
IntelligentQuantum
93322bcb4d
refactor(Core/Packet): Character packets ( #9546 )
...
* Character
* Update CharacterHandler.cpp
2022-01-06 08:55:00 -03:00
Kargatum
455372bda4
feat(Core/SavingSystem): remove old player saving system ( #9779 )
2021-12-24 08:37:45 -03:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules ( #9281 )
2021-12-02 20:28:58 +07:00
Kargatum
c0728f6e2d
feat(Core/Packets): rework HandleWhoOpcode ( #8863 )
2021-11-07 09:51:36 +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
Kargatum
8568c4fb33
feat(Core): replace ACE network with Boost.Asio ( #6574 )
2021-07-16 10:43:56 +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