aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-06-21Script/ScarletEnclave: Eye of acherus now rooted at spawn (#24725)NoName
2020-06-21Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is ↵Gildor
negative (#24862)
2020-06-21Fix non-PCH buildCarbenium
2020-06-20DB/Account: update account_access table (#24788)ForesterDev
* DB/Account: update account_access table: - rename fields id -> AccountID, gmlevel -> SecurityLevel - add Comment field - rename command .acc set gmlevel to .acc set seclevel * Update auth database * Fix primary key * Temporary restore old command account set gmlevel with same handler as account set seclevel Use Optional for realmID - if not set, use -1 (for all realms) * Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql * Update auth_database.sql * Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-20Script: Remove npc_avatar_of_martyred converted to SAIKillyana
Ref https://github.com/TrinityCore/TrinityCore/commit/5924e038d648e2074191ffc322732e875d37c39c
2020-06-20Scripts/VioletHold: Limit the number of current summons before the waves startjackpoz
2020-06-20Log number of Creatures and GameObject per map (#24809)Giacomo Pozzoni
* Shared/Metric: Allow to specify tags in metrics * Core/Metric: Log number of Creatures and GameObject per map * Apply feedback * Codestyle changes * Codestyle changes * Remove whitespace * Update Grafana dashboards to v7.0.3 * Fix missing filter on realm * Include Creatures and Gameobjects in Maps dashboard * Show instances with a different color
2020-06-19Core/Spells: Fix Shadowstep (Rogue), remove 4yd forced radius (#24838)Gildor
2020-06-19Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if ↵Gildor
TargetType or Basepoints are negative (#24837)
2020-06-19Core/Unit: SPELL_INTERRUPT_FLAG_ABORT_ON_DMG should only affect player ↵Gildor
spells (#24836)
2020-06-19Additional cmake entry for configsipriver
Closes #24812 Co-authored-by: Carbenium <carbenium@outlook.com>
2020-06-18Core/Players: do not update position data on character creationOvahlord
Retail does not have a zone id for newly created character until their first login so we do the same as well. This will drastically improve performance on character creations as we no longer unnecessarily load grids and map data.
2020-06-17Creature/Scripts: Remove deprecated scriptsKillyana
Ref https://github.com/TrinityCore/TrinityCore/commit/bd609caf09bc29f0b20ffad52118a46a8d884d02
2020-06-17Handle different slopes in mmaps (#24765)Giacomo Pozzoni
* Tools/MMAPs: Remove input argument --maxAngle Remove input argument --maxAngle . This should be just hardcoded in MapBuilder::GetMapSpecificConfig() so all settings are easily found in the same place instead of being spread around. * Tools/MMAPs: Add new area type NAV_AREA_GROUND_STEEP Add new area type NAV_AREA_GROUND_STEEP for ground with slope in the range (55, 70] . NAV_AREA_GROUND is used for ground with range [0, 55] . NAV_AREA_GROUND_STEEP takes priority over NAV_AREA_GROUND. * Tools/MMAPs: Fix NAV_GROUND_STEEP flag not being saved in the mmtile * Core/PathFinding: Implement NAV_GROUND_STEEP flag Implement NAV_GROUND_STEEP flag, used only by Creatures that are in combat or evading. * Distinguish between RC_WALKABLE_AREA and NAV_AREA_GROUND. * Allow mobs in combat to walk on steeps up to 80° * Allow mobs in combat to walk on steeps up to 85°. Disable rcFilterLedgeSpans() filter as it removed long steep spans. * Increase cost of steep spans to try making creatures walk around obstacles instead of walking on them * Revert last commit
2020-06-17Worldserver/CLI: console printf fix (#24802)Max Drosdo.www
* Remove extra cli printf call for non-Windows systems * Codestyle changes Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-17Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it ↵Rothend
as base object for actions and targeting (#24817) * Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting. Closes #23669 Closes #24791 Closes #24792 Closes #24793 * Apply suggested changes. * Initialize atPlayer in the constructor Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-17Script/Spell: properly round damage of Seal of Righteousness (on-hit proc). ↵Rothend
(#24821)
2020-06-16game/AI: Convert SelectAggroTarget to enum class (#24818)Peter Keresztes Schmidt
* game/AI: Convert SelectAggroTarget to enum class * game/AI: Rename SelectAggroTarget to SelectTargetMethod
2020-06-14Core/SAI: implement SMART_ACTION_ATTACK_STOPOvahlord
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction
2020-06-14DB/Instance: Convert some Uldaman scripts to DBoffl
Closes #24744
2020-06-14DB/Quest: Convert & update support for 'All Along the Watchtowers' to SAIoffl
Closes #24732
2020-06-14DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAIoffl
Closes #24730
2020-06-14DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAIoffl
Closes #24728
2020-06-14Scripts/Commands: Add .debug objectcount <optional map id> chat commandjackpoz
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects
2020-06-14Core/Misc: Add .Size() to TypeUnorderedMapContainer for stats/debuggingShauren
(cherry picked from commit d53a2dea5f133c479fbe23d435bd6db8a0c242b7)
2020-06-13Core/DBLayer: Fix build using TRINITY_DEBUGShauren
(cherry picked from commit d6d67a9766c7e6e07198f4f43e2f9d47be7e266d)
2020-06-12Core/Spells: Prevent manual cancelling of channelled spells that have ↵Shauren
SPELL_ATTR0_CANT_CANCEL
2020-06-09kill white space in last commitKeader
2020-06-09Scripts/ShadowfangKeep: Fixed a crash in spellscriptKeader
2020-06-07Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)Gildor
2020-06-07Core/AI: refactor SpellHit and SpellHitTarget. (#24691)ForesterDev
* Core/AI: refactor SpellHit and SpellHitTarget. - now caster/target is WorldObject instead of Unit - remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget) - rename parameters in scripts according parent methods * Restore logic in Algalon script * Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2 * Fix build after merge
2020-06-06Scripts/Naxxramas: Noth the Plaguebringer improvements (#24724)Gildor
2020-06-05Tools/MMAPs: Output the time spent in a human readable formatjackpoz
2020-06-03Core/Misc: Fixed resistance calculate for Mutated Transformation and ↵Keader
Twilight Bloodbolt (#24717) Ref: 9f7b464a6aa5b64bf5ec5c0f586853fbc71029c6 - Implemented a new SpellScript hook that allow control Resistance/Absorb amount of a damage spell.
2020-06-03Core/Misc: Fix static analysis issues reported by Coverity Scanjackpoz
2020-06-02Core/Spells: Fix ammo consumption (#24736)Gildor
2020-06-01Core/PacketIO: Validate AddonInfo sizeShauren
Closes #24734
2020-06-01Core/Units: flight and hover checks will now consider movement template data ↵Ovah
as well as manually set flight states - manually set flight states via auras and scripts will no longer be ignored - restored movement template consideration when generating pathings - renamed IsLevitating to IsGravityDisabled to reflect the referenced movement flag's name
2020-05-31Core/Misc: Fix Clang 10 build warningsjackpoz
2020-05-31Cherry-pick some cmake commits (#24720)Giacomo Pozzoni
* Build system: Support new in cmake 3.17 Ninja Multi-Config generator (cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5) * Build system: Fixed PCH with MSVC & Ninja generator (cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b) * Core: Fix clang 10 warnings (cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546) # Conflicts: # src/common/Utilities/Util.h # src/server/bnetserver/REST/LoginRESTService.cpp # src/server/game/Entities/Object/Position.h # src/server/game/Entities/Player/Player.cpp # src/server/game/Guilds/GuildFinderMgr.h # src/server/game/Movement/Spline/MoveSplineFlag.h # src/server/shared/Dynamic/LinkedList.h * Build system: Set -Wno-deprecated-copy only for clang 10 (cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981) * Core/Misc: GCC build and warning fixes (cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006) # Conflicts: # src/common/Utilities/Util.cpp # src/server/database/Database/MySQLConnection.cpp # src/server/game/Battlefield/Zones/BattlefieldTB.cpp # src/server/game/DataStores/M2Stores.cpp # src/server/game/DungeonFinding/LFGMgr.cpp # src/server/game/DungeonFinding/LFGPlayerData.cpp # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/Item/Item.cpp # src/server/game/Entities/Object/Updates/UpdateFields.h # src/server/game/Entities/Player/Player.cpp # src/server/game/Entities/Player/RestMgr.cpp # src/server/game/Entities/Unit/Unit.cpp # src/server/game/Handlers/PetHandler.cpp # src/server/game/Server/Packets/GuildPackets.h # src/server/game/Spells/Auras/SpellAuraEffects.cpp # src/server/game/Spells/Auras/SpellAuras.cpp # src/server/game/Spells/Spell.cpp # src/server/game/Spells/SpellInfo.cpp # src/server/game/Spells/SpellMgr.cpp # src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp # src/server/scripts/Kalimdor/HallsOfOrigination/instance_halls_of_origination.cpp # src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp # src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp # src/server/scripts/Northrend/zone_sholazar_basin.cpp # src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp # src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp # src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp # src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp # src/tools/vmap4_extractor/gameobject_extract.cpp # src/tools/vmap4_extractor/model.cpp # src/tools/vmap4_extractor/vec3d.h * Build system: Print found git version when warning about it being too old (cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb) * Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73 (cherry picked from commit 161944b7643c62f9e7705c64e42d42e5d07f1959) # Conflicts: # dep/boost/CMakeLists.txt * Remove some code that was already removed from 335 and then cherry-picked into master Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-05-30Scripts/Ulduar: Codestyle fixKeader
* Making jackpoz happy xD
2020-05-30Cherry pick some db commits (#24713)Giacomo Pozzoni
* Core/DBLayer: Implement async transaction completion callbacks (cherry picked from commit 0f0ca3a9194d76afa0227943e86469ad8368c5e2) # Conflicts: # src/server/bnetserver/REST/LoginRESTService.cpp # src/server/bnetserver/Server/Session.cpp # src/server/bnetserver/Server/Session.h # src/server/database/Database/Transaction.cpp # src/server/game/Handlers/CharacterHandler.cpp # src/server/game/Handlers/SpellHandler.cpp # src/server/game/Server/WorldSession.cpp # src/server/game/Server/WorldSocket.cpp # src/server/game/Server/WorldSocket.h * Core/Misc: Fixed char enum packet sometimes not showing newly created character when client latency is too low (cherry picked from commit fc9d2e728e5c21bd2a1645a29be60d0e280ad940) # Conflicts: # src/server/game/Handlers/CharacterHandler.cpp * Fix no-pch build * Core/Player: Wait for correct transaction on character creation (cherry picked from commit 01c68b2aa2ed25ea9b4c007f238a0e958f6525b1) # Conflicts: # src/server/game/Entities/Player/Player.cpp * Fix warning * Remove unused login transaction Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-05-30Scripts/BloodFurnace: Fixed Broggok stopping work after wipeKeader
By: Rushor
2020-05-30Scripts/Ulduar: Fixed XT002 Heart health regenerationKeader
2020-05-30DB/SAI: Convert & update support for Forest Frog to SAIoffl
Closes #24714
2020-05-30Scripts/Pet: Fixed Mirror Image trying attacking invalid targetsKeader
2020-05-30Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement (#24715)Gildor
2020-05-29Core/PacketIO: Create BankHandler & update bank opcodes to new packet class ↵ForesterDev
(#24695) * Core/PacketIO: Create BankHandler & update bank opcodes to new packet class (cherry picked from commit 478e86c074cc9c6a19f6c83d2a265eb1ccd705fc) * fix nopch build * Update SMSG_BUY_BANK_SLOT_RESULT * fix naming * fix copypaste error Co-authored-by: Luzifix <luzifix19@gmail.com>
2020-05-29Core/Networking: Switch to intrusive variant of MPSC queue to halve the ↵Shauren
number of memory allocations for packet sending (#24659)
2020-05-26Core/PacketIO: Fixed the problem of not displaying random properties of ↵Paraciusz
equipment when inspecting other player equipment. (#24696)