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
sudlud
e2353a1c9f
fix(Core/PlayerQuest): Introduce flag QUEST_SPECIAL_FLAGS_NO_LOREMAST… ( #19962 )
...
* fix(Core/PlayerQuest): Introduce flag QUEST_SPECIAL_FLAGS_NO_LOREMASTER_COUNT
- this allows flagging quests so that they will not count towards Loremaster achievement
- update Corrupted Flower Quests in Felwood accordingly as a first use case
* load Specialflags as uint32 from DB
2024-09-15 18:15:21 -03:00
Kitzunu
1df989f780
chore(Core/Achievement): cleanup offline achievement ( #19976 )
2024-09-15 16:11:24 -03:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Anton Popovichenko
9999a80c96
feat(Core/Achievements): Add possibility to complete achievements and update achievement criteria for offline players. ( #19851 )
2024-09-03 13:05:23 -03:00
Benjamin Jackson
f88812443d
refactor(Core): Correct typo. ( #19830 )
...
Init.
2024-08-31 17:38:03 -03:00
Benjamin Jackson
2b636adc2f
fix(Core/AchievementMgr): Check for null achievement before being derefenced. ( #19504 )
...
* Init.
* Reviewed changes.
2024-07-28 16:40:21 -03:00
Kitzunu
5bfeabde81
chore(Core/Misc): rename spellInfo pointers ( #17914 )
...
* Rename all
2023-12-02 06:03:15 -03:00
Ludwig
fcd58da08c
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID ( #17316 )
2023-09-22 00:54:08 +02:00
Ludwig
056ea323f3
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT ( #17319 )
2023-09-22 00:50:39 +02:00
Ludwig
f633eb8592
fix(Core/Achivement): Implement ACHIEVEMENT_FLAG_AVERAGE ( #17263 )
2023-09-21 18:56:28 +02:00
Ludwig
8ba8f0fe9e
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK ( #17180 )
...
* fix(Core): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
* fix(Core): LoadAchievementCriteriaData(): Add ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
- fixes minor oversight of ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK implementation
- this enables DB achievement_criteria_data check for ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
2023-09-14 22:27:39 +02:00
Tralenor
21cab04232
feat(Core/Achievements):Add getter for completed achievement map in AchievementManager ( #16662 )
...
* add getCompletedAchievementMap
* fix Function naming
* remove useless whitespace change from MR
* Update src/server/game/Achievements/AchievementMgr.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* fix const placement in header (review finding)
---------
Co-authored-by: tmoos <tmoos@meteomatics.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-07-03 12:22:42 +02:00
天鹿
ab7c12fe41
chore(core): Cleanup code p2 ( #16041 )
...
* Update AchievementMgr.cpp
* Update M2Stores.cpp
* Update LFGHandler.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update ScriptMgr.cpp
* Update SpellAuras.cpp
* Update Spell.cpp
* Update SecretMgr.cpp
* Update SpellScript.cpp
* Update SecretMgr.cpp
* Update Spell.cpp
* Update SpellAuras.cpp
* Add files via upload
* Update PetHandler.cpp
* Update PetHandler.cpp
* Update CalendarMgr.cpp
* Update LFG.h
* Update WaypointMovementGenerator.cpp
* Update MapScripts.cpp
* Update Unit.cpp
* Update SmartScript.cpp
2023-05-13 15:00:29 -03: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
Kitzunu
fd2fcc1275
fix(Core/Achievements): Add log for missing achievement ( #15425 )
...
* fix(Core/Achievements): Add log for missing achievement
* cherry-pick commit (af5bd270c3 )
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-03-17 10:24:15 +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
Axel Cocat
a104f397d9
feat(Core): move achievement manager and criteria progress getters to public ( #14387 )
2022-12-29 13:41:47 +01:00
Maelthyr
735fb46ce6
refactor(Core/Achievement): Remove Hungarian notation ( #13991 )
2022-12-02 05:52:25 -03:00
M'Dic
967f8ce6d6
update (core): Startup console capitalizations ( #13195 )
2022-10-01 13:09:34 -04: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
ZhengPeiRu21
e21011c223
fix(Core): Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY ( #12246 )
...
* fix(Core): Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY
* Missing DB values from TrinityCore
* Fix DELETE to include all added entries
* Fix AchievementCriteriaData validation
* Correctly check criteria data for receive item achievements
2022-07-07 12:45:50 -04:00
ZhengPeiRu21
2b6284d1c9
fix(Core): Fix Achievement Packets ( #12255 )
2022-07-07 12:45:08 -04: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
5143872aed
feat(Core/Battleground): split Arena and Battleground score ( #10616 )
2022-02-18 05:20:04 +07:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -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
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07: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
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +02:00
Kitzunu
b96cecf98d
refactor(Core/Achievement): Achivement earned message will use broadc… ( #8485 )
...
* refactor(Core/Achievement): Achivement earned message will use broadcast text instead of acore_string
* cherry-pick commit (465e4a0b0f )
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com >
* sql
* fix build
* build
* restore gender
2021-10-14 13:11:13 +02:00
UltraNix
06e50a9690
fix(Core/Achievements): Fixed showing achievement statistics of inspected player. ( #8093 )
...
* fix(Core/Spells): Implemented SPELL_ATTR0_CU_NO_PVP_FLAG.
Fixes #7938
* fix(Core/Achievements): Fixed showing achievement statistics of inspected player.
Fixes #7979
2021-10-03 18:12:12 +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
e5b8dbeb29
fix(Core/Achievements): new achievement criteria type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_TEAMS_SCORES ( #7756 )
...
- Closes #7613
2021-09-11 11:02:38 +02:00
Kargatum
9ac6fddcae
feat(Core/Database): port TrinityCore database API ( #5611 )
2021-06-22 06:21:07 +02:00
Kitzunu
1be561e03b
fix(Core/Player): Use SkillLineAbility.dbc to determine player initia… ( #6015 )
...
* fix(Core/Player): Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table `playercreateinfo_skills`
* Cherry-pick 2a3546ca36
* Cherry-Pick d28b66bca8
* Cherry-Pick 193408f335
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/1659
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/6036
- Closes https://github.com/chromiecraft/chromiecraft/issues/693
Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: Rothend 67004168+Rothend@users.noreply.github.com
Co-Authored-By: claudiodfc claudio.daniel.f.c@gmail.com
2021-06-21 21:23:18 +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
Yehonal
baf437bb98
feat(Core): improved some hooks ( #6302 )
2021-06-13 10:23:24 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Kargatum
1011594a6a
chore(Core/AchievementMgr): add GetAchievement helper ( #6121 )
2021-06-01 18:48:14 +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
robinsch
a75b84ab2e
fix(Core): CFBG achievements ( #5900 )
2021-05-22 15:14:29 +02:00
UltraNix
8dd58ebb5b
fix(Core): Memleaks fixes - Part II. ( #5760 )
2021-05-14 10:15:45 +02:00