Skjalf
32ba21d029
feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook ( #12316 )
...
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook
* reverse logic
2022-07-09 00:10:04 -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
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
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
UltraNix
d0f8cf3dd4
fix(Core/Loot): Proeprly handle UNIT_DYNFLAG_LOOTABLE flag. ( #9761 )
...
Fixes #9741
2021-12-24 06:04:43 -03:00
Skjalf
086b20edbc
fix(Core/Unit): fix quest items not dropping if they are the only thi… ( #9723 )
2021-12-15 13:26:02 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Skjalf
39425e0c1f
feat(Core/Loot): Implement player_loot_template ( #9198 )
...
* Also fix AV player loot
2021-11-17 08:07:21 -03:00
acidmanifesto
006ee3b7e2
chore(Core): remove duplicate comment ( #9140 )
2021-11-15 12:51:15 +01:00
patou01
0076535905
fix(Core/Loot): players can roll on unique items they already own ( #8003 )
...
Players should not be able to roll on items they already have.
This commit removes that.
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/7896
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2021-10-02 13:19:14 +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
UltraNix
a314d6091a
fix(Core/Loot): properly handle referenced group loot templates ( #7539 )
2021-09-09 11:48:17 +02:00
UltraNix
02b0b29ffa
fix(Core/Loot): Quest items should not be lootable/visible if quest objective already fulfilled ( #7700 )
...
- Closes #6442
2021-09-06 15:33:13 +02:00
Andrius Peleckas
dd14c63088
fix(Core/Vendors): incorrect check which allowed/disabled alliance players ( #7507 )
2021-08-26 15:41:17 +02:00
UltraNix
1b7d3708a6
fix(Core/Loot): ( #7452 )
...
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104 .
2021-08-24 23:48:22 +02:00
天鹿
fdfa9e3c57
fix(Core/LootItemStorage): missing write of 'conditionLootId' ( #6950 )
2021-07-23 13:16:14 +02:00
robinsch
a3e3fd029f
fix(Core/Item): prevent possible items dupe ( #6943 )
2021-07-21 12:05:12 +02:00
Kitzunu
a61f7a128f
fix(Core/Loot): allow master looter to see and distribute all quest items ( #6417 )
...
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-07-09 19:40:34 +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
UltraNix
289f140ab1
fix(Core/Loot): Fixed loading conditioned item loot. ( #6337 )
...
- Fixes #6326
2021-06-18 17:07:24 +02:00
Francesco Borzì
466cdb68d6
refactor(Core): code cleanup (part 2) ( #6374 )
2021-06-16 20:40:42 +02:00
Yehonal
baf437bb98
feat(Core): improved some hooks ( #6302 )
2021-06-13 10:23:24 +02:00
UltraNix
6dacfc0717
fix(Core/Loot): properly save and load from DB loot from items ( #6151 )
...
- Closes #5472
- Closes https://github.com/chromiecraft/chromiecraft/issues/456
2021-06-08 19:26:34 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Kargatum
78e1719c80
feat(Core/Misc): includes cleanup ( #5953 )
2021-05-26 19:00:08 +07:00
Necropola
f239908840
fix(Core/Loot): make Loot::AddItem() honor LootItem::AllowedForPlayer() ( #5774 )
...
Original Author: @Wyrserth
2021-05-17 00:15:51 +02:00
Kargatum
26f2abaaa9
feat(Core/Authserver): TOTP rewrite ( #5620 )
2021-05-12 18:57:10 -06:00
Axel Cocat
f70ed8b8ca
fix(Core): fix chests not despawning when opened in group (2) ( #5387 )
...
* fix(Core): fix chests not despawning when opened in group
* fix(Core): fix crashes in pr #5371
* Replaced nullptr checks
* Used if with initializer instead of separate scope
2021-05-01 07:03:59 +02:00
Kitzunu
5954d9c739
refactor(Core/Misc): Define & Rename Attributes ( #5311 )
2021-04-28 14:55:24 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Francesco Borzì
2c5cb29ad4
Revert "fix(Core): fix chests not despawning when opened in group ( #5371 )" ( #5386 )
...
This reverts commit cd6ee1c644 .
2021-04-21 10:32:32 +02:00
Axel Cocat
cd6ee1c644
fix(Core): fix chests not despawning when opened in group ( #5371 )
2021-04-20 22:51:55 +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
UltraNix
c19ea1f7ad
fix(Core/Loot): Items below group threshold should not be blocked by master looter. ( #5041 )
2021-04-07 13:30:34 +02:00
AbraKabastard
e4aa9be1f7
fix(Core/Loot): Gold should always be lootable, even if it's the only loot ( #4842 )
2021-03-20 17:26:57 +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
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Walter Pagani
5106e8234b
fix(Core): loot party ( #4409 )
2021-02-12 13:03:49 +01:00
Francesco Borzì
c5a35efd7b
refactor(Core): apply clang-tidy modernize-use-default-member-init ( #3827 )
2020-12-07 13:34:06 -06:00
Francesco Borzì
1cf39b3d22
refactor(Core): apply clang-tidy modernize-use-equals-default ( #3834 )
2020-12-07 19:21:55 +01:00
Francesco Borzì
cba126fa84
refactor(Core): apply clang-tidy modernize-use-nullptr ( #3819 )
2020-12-06 20:55:11 +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
Kargatum
a2b26272d2
refactor(Core/Game): restyle game lib with astyle ( #3466 )
2020-10-12 10:08:15 +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