Benjamin Jackson
e6b203f184
refactor(Core/World): Move various worldstate related functions to worldstate class. ( #22086 )
2025-05-09 12:29:09 +02:00
Benjamin Jackson
da55f05cfc
refactor(Core/WorldState): Initial addition of world state definition file. ( #21875 )
...
Many world states had their enums from script's header and hardcoded values to their respective header file (WorldStateDefines.h)
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
2025-04-26 19:31:30 +01:00
Anton Popovichenko
f6a0433297
feat(Core/Arena): Add support for arena seasons completion with progression in runtime. ( #19858 )
...
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
2025-02-12 07:09:31 -03:00
Kitzunu
47c5ff904f
refactor(Core/Disables): Convert from Namespace to Class Structure ( #21109 )
2025-02-01 22:48:52 +01: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
87f4adf634
refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and … ( #19501 )
...
* refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and allow `fmt`
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
2024-07-29 14:44:13 -03: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
Skjalf
90675cab30
fix(Core/Battleground): Fix auto arena flush interval ( #16877 )
2023-08-02 14:45:59 -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
f5948b5fe4
fix(Core/Battlegrounds): Fixed battleground queue announcer. ( #11348 )
2022-04-24 16:55:00 -03:00
Kargatum
78bdc89881
feat(Core/Battleground): rework bg queue system ( #10817 )
2022-03-15 14:36:49 -03:00
Bogir[rus]
75439773d0
fix and bringing to a unified style warnings of server loading logs to be more visible at server startup ( #10970 )
2022-03-12 04:57:26 -03: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
UltraNix
400caec709
feat(Core/Battlegrounds): Min level of selected random bg must be lower than pvp bracket level. ( #10752 )
2022-02-21 02:36:48 -03:00
Kargatum
5143872aed
feat(Core/Battleground): split Arena and Battleground score ( #10616 )
2022-02-18 05:20:04 +07:00
Francesco Borzì
65a1fbfd35
fix(Core/BG): store correct faction id ( #10576 )
2022-02-09 01:20:55 -08: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
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
Francesco Borzì
cbc7e5466a
refactor(Core): remove unused imports ( #9767 )
2021-12-19 19:41:14 +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
UltraNix
08f1e86195
fix(Core:Battlegrounds): fixes some Arathi Basin achievements. ( #8009 )
...
* fix(Core:Battlegrounds): fixes some Arathi Basin achievements.
Fixes #7775
* minor change.
2021-10-01 10:11:10 +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
a7f52e9019
feat(Core/Battlegrounds): Implemented new timed config for queue anno… ( #8053 )
...
* feat(Core/Battlegrounds): Implemented new timed config for queue announce system.
Closes #6637 .
* Update.
* typo.
* Update.
2021-09-28 19:18:23 +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
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
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +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
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
b9e84d8278
fix(Core/BGQueue): correct return BattlegroundQueueTypeId ( #5304 )
2021-04-16 12:05:59 +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ì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Kitzunu
879468506f
chore(Core/Global): Fix grouping of Worldserver initialization ( #4130 )
2021-01-25 20:50:53 +01:00
Petric
5984e82f22
feat(Core/Script): Hooks for custom arena teams/types ( #3508 )
2020-11-29 15:04:38 -06:00
aradep
788f8b5257
feat(Core/Config): configurable BG Respawn Timers ( #3569 )
2020-11-17 14:26:58 +01:00
Kargatum
a2b26272d2
refactor(Core/Game): restyle game lib with astyle ( #3466 )
2020-10-12 10:08:15 +02:00
Francesco Borzì
b61ae8abcd
fix(Core/Misc): all GCC warnings ( #3457 )
2020-09-14 17:31:12 +02:00
Kitzunu
1f89282b22
refactor(Core): NULL -> nullptr ( #3275 )
...
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-08-31 11:55:09 +02:00
Kitzunu
0b4af00ab7
feat(Core/Config): Enable/Disable Debug BG/Arena ( #3001 )
2020-06-21 13:17:07 +02:00
Francesco Borzì
ebec48e6fd
fix(Core/Battleground): fix queue issue ( #3116 )
...
* Remove useless code that was only causing issue to the BG queue
* Prevent new Battlegrounds to start if there are already other Battlegrounds that have free slots
Co-authored-by Yehonal <yehonal.azeroth@gmail.com >
2020-06-14 23:12:24 +02:00
IntelligentQuantum
9ca9194d9b
feat(Core/Conf): Move BG rewards to config ( #2798 )
2020-05-07 01:41:39 +02:00
Shard
eadcb1a782
feat(Core/Battlegrounds) Reworked enhanced bg system for modules ( #2521 )
2020-01-19 17:09:02 +01:00
Shard
067d9e791f
fix(Core/Battlegrounds) Rewrite RandomBG and enabling bg/arenas weights ( #2516 )
2019-12-28 09:40:13 +01:00
Kargatum
4a8f1de538
feat(Core/Misc): remove and replace ACE_Singleton ( #2418 )
2019-12-21 00:29:29 +07:00
GMKyle
412905843a
fix(Core): Rand shuffle seed (RandomBattlegroundSystem,ICC-Marrowgar & Deathwhisper) ( #2431 )
2019-12-06 08:52:48 +01:00
Viste
e22d78ecd6
refactor(Core): rename namespaces and macros to acore ( #2454 )
2019-12-01 13:13:31 +01:00