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
c929b95172
fix(Conf): sync default values with core defaults ( #19708 )
...
fix(Conf): sync values with core defaults
2024-09-03 08:02:28 -03:00
Kitzunu
5d31b9f98f
refactor(Core/Item): Add helpers ( #19828 )
2024-08-31 19:38:50 -03:00
Carriola-wotlk
9ae19e5429
fix(DB/Item): Feathermoon Headdress has the wrong stats ( #19814 )
...
* fix(DB/Item): Feathermoon Headdress has the wrong stats
* ITEM_MOD_SPELL_DAMAGE_DONE deprecated check removed
2024-08-31 12:22:18 -03:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Kitzunu
2e02c76399
fix(Core/Creature): quest_greeting_locale ( #19615 )
...
* fix(Core/Creature): quest_greeting_locale
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14845
2024-08-13 21:09:36 +02:00
Kitzunu
4b63aa9015
feat(DB/Module): introduce module_string table ( #19475 )
2024-08-13 19:53:16 +02: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
3fbded8f6b
refactor(Core/Chat): PSendSysMessage to fmt ( #19449 )
...
* refactor(Core/Chat): PSendSysMessage to `fmt`
2024-07-23 23:48:46 +02:00
Kitzunu
0a8175ef03
refactor(Core/ObjectMgr): Handle Profanity & Reserved Names in load ( #19259 )
...
* refactor(Core/ObjectMgr): Handle Profanity & Reserved Names in load
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/18556
* Update ObjectMgr.cpp
* Update ObjectMgr.cpp
* I swear I am not drunk
* We already check all of these
* fix build
* Forgot we dont send the responsecode in senderrormessage
* last commit I swear
2024-07-03 00:23:32 +02:00
Kitzunu
5a4692e45a
chore(Core/Misc): #include cleanup ( #19255 )
2024-07-02 15:52:02 +02:00
Greg Wilkinson
2835f883c8
fix(Core/Misc): fmt ( #19192 )
...
Update LOG_ERROR for Model data query.
2024-06-27 18:06:40 +02:00
Benjamin Jackson
d6d49a9e45
refactor(Core/ObjectMgr): Implement display probabilities. ( #19068 )
...
* Init.
Cherry-picked from TC commits 9d210476e5 and c488fb219a
Co-Authored-By: Traesh <9392905+traesh@users.noreply.github.com >
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* Add brute data.
Needs validation against what existed before, i.e. Classic change prevention.
* Add validation info for brute data.
* Remove incomplete data queries.
* Requested changes.
* Whitespace.
* Requested change.
Table name.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Requested change.
Table name.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Resolve the funny merge conflicts.
I wonder why git blame doesn't work on a file with 20k lines in it that's odd huh champ.
* Remove unused parameter.
* Remove uses of unused parameter.
* Use unused parameter.
Hopefully?
* I will cry.
* Sobbing endlessly.
* Remove comment.
* Adjust table structure query.
Remove length parameters and allow null for build value.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Adjust column datatype and add check constraint.
---------
Co-authored-by: Traesh <9392905+traesh@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-06-16 18:12:16 +02:00
Walter Pagani
64f372fca3
chore. Avoid failures in the tests of custom items ( #18519 )
...
* chore. Avoid failures in the tests of custom items
* Report error but continue with the rest of the item
* change LOG_ERROR for LOG_DEBUG
2024-03-15 20:09:10 -03:00
sudlud
307c1ab09d
refactor(Core): remove some unused variables ( #18538 )
...
- let's get rid of some compiler warnings
2024-03-13 06:52:43 -03:00
Benjamin Jackson
b6c429c5a8
fix(Core/Quests): Create quest money reward config and adjust max level bonus reward function. ( #18222 )
...
* Init.
* Drop RewardBonusMoney column.
How's that for deprecation.
* Add formula source link.
* Remove deprecated info in conf.
* Newline.
2024-01-31 23:21:27 +01:00
sudlud
e447351b0f
fix(Core/Creature): Remove automated z spawn correction ( #18200 )
...
* fix(Core/Creature): Remove automated z spawn correction
* comment out unused parameter
* remove gridLoad parameter from Creature::LoadCreatureFromDB()
2024-01-21 07:33:00 -03:00
Andrew
a11434b24f
refactor(Core/GameObject): Move the GameObject state save handling to… ( #18080 )
...
* refactor(Core/GameObject): Move the GameObject state save handling to instance level
* Update GameObject.h
* remove leftover
* small improvements
2024-01-01 01:51:33 -03:00
IntelligentQuantum
258e369ee5
chore(Core): remove useless includes ( #18036 )
2023-12-23 12:16:27 -03:00
Kitzunu
4fb0464b60
fix(Core/Quest): Throw error if quest_template RewardItemId is not se… ( #17924 )
...
fix(Core/Quest): Throw error if quest_template RewardItemId is not set in order
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17740
2023-12-03 13:38:51 +01: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
Kitzunu
5bfeabde81
chore(Core/Misc): rename spellInfo pointers ( #17914 )
...
* Rename all
2023-12-02 06:03:15 -03:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
KJack
751ffc7c70
feat(Core/Hooks): Add OnAfterDatabaseLoadCreatureTemplates hook ( #17621 )
...
* Add OnAfterDatabaseLoadCreatureTemplates hook
- fix issue where the fast template cache was not updated correctly after a CS reload of a single creature template
* Parameter naming tweak to reduce confusion.
* Refactor to streamline fastcache creation, remove threading concerns
* Remove unneeded resize when loading creature templates
* Update fast cache resizing to highest-performing option
2023-10-31 06:58:45 -03:00
Alyst3r
2e55cad450
refactor(DB/reputation_spillover_template): Reputation spillover table expansion ( #14763 )
...
* Update ObjectMgr.cpp
Rework to `ObjectMgr::LoadReputationSpilloverTemplate()` allowing more factons to be added.
* Create reputation_spillover_template-update.sql
Alteration to `reputation_spillover_template` table, update allowing to add two more factions.
* Update SharedDefines.h
`MAX_SPILLOVER_FACTIONS` is now equal 6 instead of 4.
* Update reputation_spillover_template-update.sql
Now it alters table instead recreating it.
2023-10-22 04:45:50 +02:00
Matthew M Dean
bc6a744538
fix(Core/Item): Reduce amount of excessive logging for enforeDBCAttributes ( #16508 )
...
bypass code block if enforceDBCAttributes is set to false
2023-09-17 21:00:37 +02:00
Benjamin Jackson
358a1e71e0
refactor(DB/Player): Unify two player stat tables. ( #17188 )
...
* Init.
Change query table names, move data to existing table.
* Combine two player stat loading functions.
2023-09-15 02:35:26 +02:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
Kitzunu
a369402f4b
fix(DB/Gossip): Change MenuID to INT from SMALLINT ( #16982 )
...
* fix(DB/Gossip): Change MenuID to INT from SMALLINT
* update cpp
2023-08-12 19:49:43 +02:00
cTrinity
64a7c59b57
fix(Core/ObjectMgr.cpp): Wrong format occurred (invalid format string) ( #16168 )
...
* fix(Core/ObjectMgr.cpp): Wrong format occurred (invalid format string)
Wrong format occurred (invalid format string)
* fix(Core/ObjectMgr.cpp): Wrong format occurred (invalid format string)
* fix(Core/ObjectMgr.cpp): Wrong format occurred (invalid format string)
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com >
---------
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com >
2023-05-13 14:40:46 -03:00
Gultask
64c7c99bda
revert(Core/Player): Revert Delayed Damage System ( #16246 )
...
* Revert "fix(Core/Spells): Delayed Damage system (#16183 )"
This reverts commit d282cce4af .
* Revert "fix: Crash on ProcessDelayedDamages (#16166 )"
This reverts commit 3dbdea5e28 .
* Revert "fix(core\player): Missing combat animation (#14199 )"
This reverts commit a238e5e27b .
2023-05-13 13:50:27 -03:00
Angelo Venturini
d282cce4af
fix(Core/Spells): Delayed Damage system ( #16183 )
2023-05-07 08:58:38 -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
M'Dic
ab2c062f03
feat(core\dbc): item.dbc, sItemStore, item_dbc, item enforcement conf, subclass fix ( #14675 )
...
feat (core\log\db): item.dbc and enforcement
dbc enforcement partial pick from tc: 0c44bd33ee
Custom Item for testing by menevia16a (SPP DEV VEIL)
feat (core\log\db): item.dbc and enforcement
Update Item.sql
Update DBCStores.cpp
Update World.cpp
Update ObjectMgr.cpp
further replacement from template to dbc lookup
further logging and implementation
cherry pick tc fd26c3c87c
replace with db lookup
update (sql): Murder all the backticks
line break fixit
fix (item_template): fix incorrect subclass
fix incorrect subclass matching with dbc enforcement
update: log correction for sub class
update log correction for sub class
add subclass to dbc enforcement
add subclass dbc enforcement since it is part of the item.dbc item_dbc
update (log): additional log
Co-authored-by: blub <trinity.michael_vincent@gmx.eu >
Co-authored-by: Shocker <511388+shocker@users.noreply.github.com >
Co-authored-by: Veil <1913466+menevia16a@users.noreply.github.com >
Co-authored-by: Shocker <43253032+shockerqt@users.noreply.github.com >
2023-04-28 01:26:44 +02:00
天鹿
df77b5f4f7
chore(core): cleanup code p3 ( #16073 )
...
* Update MMapMgr.cpp
* Update UpdateFetcher.cpp
* Update AuctionHouseMgr.cpp
* Update AuctionHouseMgr.h
* Update BattlegroundAV.cpp
* Update ChannelMgr.cpp
* Update ThreatMgr.h
* Update Player.h
* Update PlayerSettings.cpp
* Update ObjectMgr.cpp
* Update Guild.cpp
* Update Guild.h
* Update Map.cpp
* Update World.cpp
* Update boss_nefarian.cpp
* Update boss_prince_malchezaar.cpp
* Update boss_venoxis.cpp
* Update zone_elwynn_forest.cpp
* Update zulfarrak.cpp
* Update boss_novos.cpp
2023-04-24 08:13:07 -03:00
ZhengPeiRu21
0667454dd9
feat: Allow Float Rep Values ( #15818 )
2023-04-22 10:42:00 -03:00
Kitzunu
9eb4b3a336
feat(Core/Character): Implement profanity_name ( #15156 )
2023-03-04 17:43:14 -03:00
Kitzunu
5a9aeada12
feat(Core/DBC): Implement NamesProfanity and NamesReserved DBC ( #14956 )
2023-02-12 10:51:42 +01:00
Skjalf
66f4feb1da
chore(DB/SQL): Correct file to comply with standards ( #14953 )
2023-02-11 19:50:19 -03:00
Pedro Antonio
2e6c28c4d8
feat(Core/Pet): DK Petname generation locale ( #14059 )
2023-02-11 18:21:43 -03:00
Kitzunu
409c7356ea
refactor(Core/ObjectMgr): Load Creatures.CustomIDs into stores ( #14835 )
2023-02-05 09:32:41 -03:00
Skjalf
dba8c49bce
chore(Core/Object): Rename GetGOData() to GetGameObjectData() ( #14875 )
2023-02-05 08:35:52 -03:00
Skjalf
c12d56f2d1
feat(Core/ObjectAccessor): Helper to access creature/object by DB GUID ( #14802 )
2023-01-31 06:21:50 -03:00
Benjamin Jackson
916d4f50da
chore(Core/ObjectMgr): Adjust a few comments/logs to reflect recent changes with stat handling. ( #14759 )
2023-01-26 05:29:44 -03:00
Benjamin Jackson
4e2270c935
feat(Core/ObjectMgr): Add handling specific to heroic player level stats (DKs). ( #14378 )
2023-01-25 13:14:31 -03:00
M'Dic
437d93926f
fix (core): macos12 depreciation workflow error / security CWE-120 ( #14746 )
...
* fix (core): macos12 depreciation workflow error
Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%02X", bytes[i]);
* Update BattlegroundAV.cpp
* more macos12 fixit
* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
Kitzunu
aecf278cbe
chore(Core/Docs): Remvoe old comment ( #14684 )
...
* fixed in e322c017ea
2023-01-15 14:30:48 +01:00
Alvin Zhu
e322c017ea
fix(Core/Gossip): quest_greeting_locale doesn't work #10913 ( #14532 )
...
* fix issue #10913
fix GetQuestGreetingLocale typeIndex just like GetQuestGreeting
* Update ObjectMgr.h
* fix Core/Gossip: gossipMenuLocale doesn't work
* Revert "fix Core/Gossip: gossipMenuLocale doesn't work"
This reverts commit f59f07d1504f21cf2ae1eaa37aa088100c352e3b.
2023-01-07 20:21:47 +01:00
Revision
1c523bd611
feat(Core/Config): Allow disable points of interest for quests ( #14501 )
2023-01-04 20:30:57 -03:00