Exitare
98ceb1c067
fix(Core/PlayerScript) Align player script function names ( #21020 )
...
Co-authored-by: sudlud <sudlud@users.noreply.github.com >
2025-02-16 14:59:41 +01:00
Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Anton Popovichenko
c2986977d9
fix(Core/Items): Fix duplication exploit where a player could loot infinitely from bags containing gold. ( #21394 )
2025-02-11 17:23:01 +01:00
Kitzunu
47c5ff904f
refactor(Core/Disables): Convert from Namespace to Class Structure ( #21109 )
2025-02-01 22:48:52 +01:00
sudlud
9d422136f6
fix(Core/LootMgr): add startup error for unsupported reference minCou… ( #20725 )
2024-11-30 11:31:02 +01:00
Francesco Borzì
a9f0f371e5
refactor(src/server/game): optimise imports ( #20541 )
2024-11-13 11:37:20 +01:00
Francesco Borzì
2c344fc127
refactor(src/server/game/*): remove unused imports (big part 2) ( #20311 )
2024-10-27 05:06:14 +01:00
Angelo Venturini
9487b30ad7
refactor(Core/Misc): Use emplace_back instead of push_back to avoid extra copy/m… ( #20114 )
...
refactor: Use emplace_back instead of push_back to avoid extra copy/move operations
2024-10-10 21:55:58 +02:00
Anton Popovichenko
7dd460581d
fix(Core/Loot): Fix crash for round robin loot mode when solving quest item for offline loot owner. ( #20033 )
2024-09-24 08:21:38 -03:00
Kitzunu
5d31b9f98f
refactor(Core/Item): Add helpers ( #19828 )
2024-08-31 19:38:50 -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
atrapalis
138c18dbd3
fix(Core/LootMgr): Improved drop checks for items that start quests ( #19463 )
...
* fix(Core/LootMgr): Improved drop checks for items that start quests to prevent unnecessary or inappropriate drops
* Tweaked 2nd condition to only be valid for unique items
2024-07-27 07:18:37 -03:00
Jason Mok
d34f64a832
fix(Core/Misc): Correct typo when loading reference loot templates ( #18872 )
...
- Fix typo when loading reference loot templates
- Closes #18870
Co-authored-by: Jason Mok <jasonmok@Jasons-MacBook-Air-4.local >
2024-05-09 13:19:28 +02:00
Hasn
e644dd949f
feat(Core/Scripting): Implement hook OnAfterCalculateLootGroupAmount() ( #17456 )
...
Add hook 'OnAfterCalculateLootGroupAmount' to GlobalScript, similar to existing hook 'OnAfterRefCount'. Allows for dynamic modification of the group loot rate
2023-10-08 17:18:44 -03:00
Walter Pagani
c676a82837
chore(Core/ScriptMgr):Add Hook OnBeforeFillQuestLootItem ( #16509 )
...
* chore(Core/ScriptMgr):Add Hook OnBeforeLootItem
* Change name. Credit Anchy
2023-06-13 08:10:35 -03:00
Keller (KJack)
7fcb57e5ab
feat(Core/Loot): Add Rate.Drop.Item.GroupAmount to increase loot generated from loot groups ( #16220 )
...
* Adds the `Rate.Drop.Item.GroupAmount` setting to the world config. Causes top-level loot groups to drop multiple items. Does not affect references.
* Don't multiply a group if a quest item gets selected. Avoids strange situations like Arcanist Doan having three hearts.
* Resolve syntax error.
* Fix whitespace
* Fix code style issue
2023-05-14 12:26:12 +02:00
M'Dic
7e58650cf5
revert(Core): ChrRace.dbc full implementation ( #16114 )
...
* revert (core): ChrRace.dbc full implementation
we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that there is
* revert
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic
3eae4c5713
fix(core/dbc): improve ChrRace DBC handling ( #14843 )
...
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508
Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2023-04-28 01:29:33 +02:00
Stefano Borzì
034b521501
feat(CI): add cppcheck ( #15211 )
...
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2023-03-05 18:47:18 +01:00
Skjalf
a4dcec5e42
feat(Core/Disables): Implement DISABLE_TYPE_LOOT ( #15136 )
2023-02-19 19:20:15 -03:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Mickaël Mauger
21700f2760
fix(Core/Loot): Fix too many quest items visible by master looter ( #14510 )
...
* Fix too many quest items visible by master looter
* Fix typo
2023-01-07 13:27:28 -03:00
Mickaël Mauger
e35078a1f8
fix(Core/Loot) Fix master looter invisible quest items ( #14103 )
2023-01-02 21:47:08 -03:00
UltraNix
6345958769
fix(Core/Loot): Disenchanted, milled or prospected items should be se… ( #14273 )
...
fix(Core/Loot): Disenchanted, milled or prospected items should be sent as retrieval mail in case of full bags.
Fixes #10798
2022-12-27 21:43:12 -03:00
Mickaël Mauger
868053d4ce
fix(Core/Loot): Fix quest items looting system ( #13720 )
...
* Fix quest items loot
* Fix coding conventions
2022-12-06 12:42:44 -03:00
UltraNix
6278072b16
fix(Core/Loot): Fixed processing duplicated loot item within different groups. ( #13038 )
...
Fixes #13038
2022-11-12 13:31:29 +01:00
M'Dic
967f8ce6d6
update (core): Startup console capitalizations ( #13195 )
2022-10-01 13:09:34 -04:00
Skjalf
3cfdc7e678
fix(Core/Loot): Unique items shouldn't be hidden indiscriminately ( #12759 )
2022-08-16 15:52:01 -03:00
Maelthyr
2c7b274bc5
refactor(Core): Improve struct alignment and codestyle ( #12335 )
...
refactor(Core): improve struct alignment and codestyle
2022-07-10 14:19:11 -04:00
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