Andrew
79cbb00075
feat(Core/Creature): Implement HasFlagsExtra() helper to creature ( #21362 )
2025-02-08 14:07:04 -03:00
Kitzunu
47c5ff904f
refactor(Core/Disables): Convert from Namespace to Class Structure ( #21109 )
2025-02-01 22:48:52 +01:00
Kitzunu
9e9a2fe5e3
refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… ( #21213 )
...
...ring
2025-02-01 22:46:42 +01:00
Grimdhex
edf2959a26
feat(Core/Creatures): implement a sparring system ( #19824 )
2025-01-26 09:40:37 +01:00
Kitzunu
9c43adc445
fix(Core/ObjectMgr): Potential crash in GetModuleString() ( #21211 )
2025-01-19 20:31:54 +01:00
Kitzunu
4b8dca1ea2
fix(Core/Misc): Correct some fmt logs ( #21106 )
2025-01-07 06:08:19 +01:00
Kitzunu
5e4f6ac576
fix(Script/Commands): tele add should only check exact match ( #20785 )
...
* fix(Script/Commands): tele add should only check exact match
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268
* better describe the variable
2024-11-30 20:06:26 -03:00
sudlud
b2c04603f7
feat(Core/SmartAI): add startup error for non existent SmartAI entries ( #20694 )
2024-11-24 21:25:02 +01:00
Jelle Meeus
3565e4a9eb
feat(Core/WorldState): improved WorldState scripting ( #20141 )
...
* implement world state script
based on
0b87ca9d9e
Co-authored-by: killerwife <killerwife@gmail.com >
* refactor to use onleave and onenter instead of spell_area
allows players to right click remove adal's buff
* add MapMgr.h
* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed
* remove lock from WorldState::Update
sWorldState->Update() is only called from World::Update
* remove unsafe SmartAI action of setWorldState
---------
Co-authored-by: killerwife <killerwife@gmail.com >
2024-11-12 12:15:27 -03:00
Francesco Borzì
2ce2c8cf3a
refactor(src/server/game/*): remove unused imports (big part 3) ( #20315 )
2024-10-27 13:10:28 +01:00
Francesco Borzì
2c344fc127
refactor(src/server/game/*): remove unused imports (big part 2) ( #20311 )
2024-10-27 05:06:14 +01:00
Jelle Meeus
859a42a41e
fix(Core/Vehicles): feat vehicle seat addon, vehicle enter/exit positions ( #20082 )
...
* implement initial vehicle_seat_addon
Co-authored-by: Ovah <dreadkiller@gmx.de >
* add more vehicle_seat_addon data
* make exiting passenger visible
fixes "immediate despawn" of travelers mammoth
* style, update comments
* remove hacked pos relocate
* remove sending MSG_MOVE_ROOT/UNROOT on Ack
* set and unset UNIT_NPC_FLAG_PLAYER_VEHICLE on init/entry
* ulduar demolisher: remove flag correction and no longer needed usableseat
* fixup! implement initial vehicle_seat_addon
* fixup! fixup! implement initial vehicle_seat_addon
* re-add AddPassenger Flame Leviathan hack
was commented by mistake
* Update rev_1725993194571320983.sql
add missing ticks
---------
Co-authored-by: Ovah <dreadkiller@gmx.de >
2024-10-11 07:08:14 +02:00
Francesco Borzì
ae30489b23
refactor(src/server/game/Globals): remove unused imports ( #20088 )
2024-10-01 08:06:06 +02:00
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