Commit Graph

2122 Commits

Author SHA1 Message Date
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
avarishd
38509d2b3a fix(Core/Spells): Apply AURA_STATE_FAERIE_FIRE to Lambent Blood. (#16103) 2023-05-13 14:11:04 -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
d7bdf5f717 fix(Vehicle): Crash (#16184) 2023-05-10 10:32:15 -03:00
avarishd
3aedf2fbf8 fix(DB/SAI): Void Baron Galaxis encounter. (#15312)
* fix(DB/SAI): Void Baron Galaxis encounter.

* remove item cast + add void storm cloud
2023-05-10 06:29:51 -03:00
Angelo Venturini
d282cce4af fix(Core/Spells): Delayed Damage system (#16183) 2023-05-07 08:58:38 -03:00
AnchyDev
444793346d feat(Core/Hooks): Add parameter to detect XP origin for OnGiveXP hook. (#16109)
Added enum parameter to detect where XP originated from.
2023-05-05 22:39:36 -03:00
Angelo Venturini
3dbdea5e28 fix: Crash on ProcessDelayedDamages (#16166) 2023-05-03 06:27:44 -03:00
M'Dic
1c7ac83a1c feat(Core/Unit): anticheat helper (#16115)
this covers a case with SPELL_AURA_CONTROL_VEHICLE being used. commonly in dk starter spot and northrend.
2023-04-30 01:27:15 +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
a238e5e27b fix(core\player): Missing combat animation (#14199) 2023-04-29 12:27:13 +02:00
M'Dic
e5665c32f8 update (core\store): sLFGDungeonStore update (#15325)
* update (core\store): sLFGDungeonStore update

update (core\store): sLFGDungeonStore update

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* update (core\store): sLFGDungeonStore update

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-04-29 12:25:49 +02:00
M'Dic
7b0efe01e5 chore(core/instance): Move to switch case (#16084)
This has just sloppy. Moved to Case switch with log error and else debug logging
2023-04-28 01:31:09 +02: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
avarishd
a275a7c464 fix(Core/SmartScripts): Add Triggered Flags for CAST & INVOKER_CAST (#16045)
* cast/invoker_cast

* Update SmartScript.cpp

* {}
2023-04-25 06:21:16 -03: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
Gultask
3dc7a89ad2 fix(DB/ShatteredHalls): Re-Construct Shattered Halls (#15990)
* init

* Legionnaire Gauntlet

* barracks pt1

* barracks done

* sewers

* Sparring Hall spawns

* Update rev_1680974634766349300.sql

* Update rev_1680974634766349300.sql

* Update rev_1680974634766349300.sql

* Update rev_1680974634766349300.sql

* Update rev_1680974634766349300.sql

* rest of spawns

* cleanup and linking

* errors and leftovers

* tweak

* Update data/sql/updates/pending_db_world/rev_1680974634766349300.sql

* more emotestates

* dont remove executioner
2023-04-22 10:12:11 -03:00
ZhengPeiRu21
1e26cdbee9 fix(Core): Save bonus talent points to DB (#14099)
* fix(Core): Save bonus talent points to DB

* fix(Core): Save bonus talent points to DB

* Oxford comma in comment
2023-04-22 10:09:18 -03:00
UltraNix
790417b1b1 fix(Core/Spells): Fixed somed Druid idols not being modified by spell… (#15452)
fix(Core/Spells): Fixed somed Druid idols not being modified by spell power coefficients.

Fixes #14479
2023-04-22 10:08:01 -03:00
Tereneckla
2e9cb71987 fix(Core/Player): Reduce Health Regeneration bonus while sitting to 33% (#15954)
Update Player.cpp
2023-04-21 15:18:23 -03:00
Tereneckla
67125caeb0 fix(Core/Player): Food healing does not increased by sitting down (#15959) 2023-04-21 14:54:44 -03:00
UltraNix
197b053eb4 fix(Scripts/ShadowLabirynth): Fixed Blackheart's Incite Chaos. (#15583) 2023-04-21 08:29:32 -03:00
Tereneckla
d5c89657a1 fix(Core/Player): Apply SPELL_AURA_MOD_HEALTH_REGEN_PERCENT to in combat health regen (#15961) 2023-04-21 07:49:08 -03:00
Kitzunu
7eafd35190 chore(Spell/Effects): Small improvement to EffectDistract (#15920)
* chore(Spell/Effects): Small improvement to EffectDistract

* Update SpellEffects.cpp
2023-04-21 07:41:01 -03:00
Gultask
b86cf11499 fix(Core/Creature): Adjust IGNORE ASSISTANCE CALL flag to prevent assistance on initial aggro only (#16046)
init
2023-04-20 18:16:31 -03:00
天鹿
d75bcf0f67 chore(core): Cleanup code (#16012)
* Update SmartScript.cpp

* Update M2Stores.cpp

* Update PetHandler.cpp

* Update WaypointMovementGenerator.cpp

* Update WorldSession.cpp

* Update spell_item.cpp

* Update LoginDatabase.cpp
2023-04-19 21:34:48 -03:00
Angelo Venturini
c84123b607 fix: Channel Crash (#15909) 2023-04-18 22:51:58 -03:00
AnchyDev
570c0e8498 fix(Core/Hook): Fix OnAuraRemove not being called for owned auras. (#15930)
* Fix OnAuraRemove hook not being called for owned auras.

* Removed OnAuraRemove from multiple places and moved to singular call.
2023-04-17 22:10:57 -03:00
IntelligentQuantum
87ea455bec feat(Core/SmartScripts): SMART_ACTION_SELF_CAST (#14371)
* feat(Core/SmartScripts): SMART_ACTION_SELF_CAST

* Update SmartScriptMgr.cpp
2023-04-17 21:07:59 -03:00
ZhengPeiRu21
5af67b384b feat: Add CanPlaceAuctionBid hook (#15154)
* feat: Add CanPlaceAuctionBid hook

* Codestyle fix
2023-04-17 21:06:04 -03:00
M'Dic
8aa2a2ac0f chore (core): Clean up (#15977)
* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
Skjalf
f3c63f9662 feat(Core/SAI): Implement SMART_ACTION_SET_GUID (#15978)
* feat(Core/SAI): Implement SMART_ACTION_SET_GUID

* Update SmartScript.cpp

* Update src/server/game/AI/SmartScripts/SmartScriptMgr.h

* Update SmartScript.cpp
2023-04-16 21:00:44 -03:00
Skjalf
8fa0953671 feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTR… (#15976)
feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTRY_SAI
2023-04-16 19:45:09 -03:00
Gultask
aaa548df0b Revert "fix(Core/SAI): Set minions in combat with their master's vict… (#15967)
Revert "fix(Core/SAI): Set minions in combat with their master's victim (#14959)"

This reverts commit 1e17eaae0b.
2023-04-15 19:49:03 -03:00
Gultask
fd6941de7c fix(Core/SmartAI): Prevent MOVE_TO_POS from creating large distances between target (#15899)
Update SmartScript.cpp
2023-04-09 23:44:52 -03:00
Skjalf
78384368ba fix(Scripts/Steamvault): Rework Mekgineer Steamrigger (#15896) 2023-04-09 16:26:35 -03:00
Skjalf
d47e93830f feat(Core/Scripts): Allow scheduling multiple hp checks at once for i… (#15897)
feat(Core/Scripts): Allow scheduling multiple hp checks at once for identical phases
2023-04-09 15:37:04 -03:00
Skjalf
a695d00932 fix(Scripts/Steamvault): Rework Kalithresh (#15883) 2023-04-08 21:56:09 -03:00
Gultask
d851e79a90 fix(DB/ShadowLab): Re-Construct Shadow Labyrinth (#15635)
* Create rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* WIP

* build

* more random spawns

* reorganize spawns to be more readable

* equip_id

* All scripted up to Murmur

* Murmur RP

* avoid many reschedulings

* Missing heroic ritualists

* Update rev_1679869717906181100.sql

* leftovers

* variables
2023-04-05 23:52:52 -03:00
Kitzunu
5a55cb9522 fix(Core/Spell): Remove channeled auras when caster and target are no… (#15419)
fix(Core/Spell): Remove channeled auras when caster and target are not on the same map

* Chery-pick commit (d23c839998)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-02 15:36:13 -03:00
UltraNix
b42075f849 fix(Core/SmartScripts): Fixed SMART_EVENT_FRIENDLY_HEALTH_PCT event. (#15579)
Fixes #15515
2023-04-02 15:34:01 -03:00
Kitzunu
e91d62dce6 fix(Core/Players): Added error message for death knights attempting to lea… (#15420)
Core/Players: Added error message for death knights attempting to leave their starting zone early

* cherry-pick commit (2dc1b69a70)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-02 15:32:47 -03:00
Kitzunu
29d79e080f fix(Core/Guilds): Improve HandleRoster performance (#15421)
* cherry-pick commit ee6bbd68bd

* takes call time from ~400 microseconds to ~260 microseconds on my machine in a guild with 900 members

Co-authored-by: ihm-tswow <76849026+ihm-tswow@users.noreply.github.com>
2023-04-02 15:32:25 -03:00
Kitzunu
f80fb9b482 fix(Core/World): Remove artificially high minimal update intervals an… (#15422)
fix(Core/World): Remove artificially high minimal update intervals and Allow specifying minimum world updates diff in config

* Allow specifying minimum world updates diff in config
* Remove artificially high minimal update intervals

* cherry-pick commit (29a4153f00)
* cherry-pick commit (de4920de81)
* cherry-pick commit (32cef906b0)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-04-02 15:31:50 -03:00
Kitzunu
511c1918bd fix(Core/Item): Fixed incorrect damage mod for Heirloom 2H weapons (#15443)
* cherry-pick commit (13fa60ab86)

Co-authored-by: robinsch <robinsch@users.noreply.github.com>
2023-04-02 15:30:47 -03:00
Kitzunu
a0c51a45fb fix(Core/Player): Send player's own auras before all visible objects (#15445)
* fix(Core/Player): Send player's own auras before all visible objects

* cherry-pick commit (c6cd272505)

Co-Authored-By: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com>

* Update Map.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Maps/Map.cpp

---------

Co-authored-by: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com>
2023-04-02 15:30:26 -03:00
UltraNix
a72f5f97e6 fix(Core/Spells): Implemented ENCHANT_PROC_ATTR_EXCLUSIVE. (#15476)
Fixes #12132
2023-04-02 15:28:23 -03:00
UltraNix
d029ffe3ab fix(Core/Spells): Fixed Battlegear of Eternal Justice set bonus. (#15593)
Fixes #14696
2023-04-02 15:28:03 -03:00