Commit Graph

134 Commits

Author SHA1 Message Date
IntelligentQuantum
66f301bcea feat(Core/Packets): SMSG_WORLD_STATE_UI_TIMER_UPDATE (#11047) 2022-03-27 01:31:21 -03:00
IntelligentQuantum
a5cb274222 Core/Packet: MIRROR_TIMER (#10885) 2022-03-27 01:19:26 -03:00
IntelligentQuantum
6a6d0e5907 feat(Core/Packet): SMSG_DURABILITY_DAMAGE_DEATH (#10894) 2022-03-23 13:35:30 +01:00
IntelligentQuantum
86e438a1e7 Core/Packet: SMSG_LEVELUP_INFO (#10884) 2022-03-21 04:43:45 +07: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
IntelligentQuantum
8eeb6ef1b7 feat(Core/Packet): SMSG_CROSSED_INEBRIATION_THRESHOLD (#10893) 2022-03-06 15:49:55 -05:00
IntelligentQuantum
d6b9639259 Core/Packet: LFG (#9420)
* Core/Packet: LFG

* Update LFGHandler.cpp
2022-03-06 12:05:46 -05:00
IntelligentQuantum
b275499de4 refactor(Core/Packet): Pet (#9473)
Co-authored-by: temperrr <temperrr@users.noreply.github.com>
2022-03-01 13:50:50 +01:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
Kitzunu
ead906c58f refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL to new packet class (#10590)
* refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL

* cherry-pick commit (c0f516caee)

Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-Authored-By: DJScias <439655+DJScias@users.noreply.github.com>

* handle crash check in DoRandomRoll()

* Update MiscPackets.h

* Update Player.h

Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-authored-by: DJScias <439655+DJScias@users.noreply.github.com>
2022-02-11 10:30:49 +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
e8f34b2309 feat(Core/Common): add support fmt style for ASSERT and ABORT (#10355)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp
2022-01-25 23:15:51 +01:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Francesco Borzì
9dc88def35 refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-17 14:35:07 +01: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
aaf85d0984 refactor(Core/Packet): Combat log (#9673) 2022-01-09 05:21:41 +01: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
acidmanifesto
d504a62293 fix(Core\OpCode): HandleFarSightOpcode (#9965)
* Change TO ThreadUNSAFE

This will process the far sight packet as a is not thread-safe - process it in World::UpdateSessions() compared to the former packet is thread-safe - process it in Map::Update().
This matches up with tc in everything we have with the HandleFarSightOpcode.

* Further Adjustments

* Move to Debug Loggin

TC has it as move to Debug Logging. Stating its a weird opcode handling issue which is not really known why.
2022-01-06 09:22:08 -03:00
IntelligentQuantum
93322bcb4d refactor(Core/Packet): Character packets (#9546)
* Character

* Update CharacterHandler.cpp
2022-01-06 08:55:00 -03:00
IntelligentQuantum
fb249836e9 Core\Packet\Misc: Weather (#9648) 2022-01-04 13:52:13 -05: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
IntelligentQuantum
0556f0b3d5 refactor(Core/Packets): Totem (#9451)
* Totem

* Update WorldSession.h
2021-12-31 10:23:38 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03:00
IntelligentQuantum
53a6fb7513 refactor(Core/Packets): Bank packets (#9627) 2021-12-30 16:00:24 -03:00
Kargatum
455372bda4 feat(Core/SavingSystem): remove old player saving system (#9779) 2021-12-24 08:37:45 -03:00
UltraNix
d87d0a2ae8 fix(Core/Pets): Improved Revive Pet should affect dead despawned pet. (#9625)
* fix(Core/Pets): Improved Revive Pet should affect dead despawned pet.

Fixes #9589
2021-12-15 05:32:16 -03:00
IntelligentQuantum
3591f69662 refactor(Core/Packet): Guild (#9411)
* Core/Packet: Guild

* Winfi
2021-12-11 10:00:06 +01: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
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