aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-12-28Scripts/ICC: Fix teleporter not removing players from Gunshipjackpoz
A more generic solution might be better, maybe depending on spell flags Ref #25652
2020-12-28Core/Maps: Attempt to fix picking the wrong min height (#25771)Giacomo Pozzoni
Close #25652
2020-12-28Core/Vehicles: Add missing caster guid checkSevi
Merges #25773 (cherry picked from commit e26122dc54b5c5a356a97a842718168dab97a0aa)
2020-12-28Core/Vehicles: Treat entering other vehicles mounted on main vehicle as ↵Shauren
swapping seats (cherry picked from commit 110564e757fefbfbddfab876a96ca9eb5aa7dd7b)
2020-12-27Core/SmartAI: Reserve a param for SMART_ACTION_SOUND master branch specific ↵Shauren
functionality, for compatibility reasons
2020-12-27Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75jackpoz
Revert define to constexpr as this also broke some calculations
2020-12-27Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75jackpoz
The development will continue in a PR
2020-12-27COre/Misc: Remove whitespacejackpoz
2020-12-27Core/Maps: Use the same logic to calculate grid coords to avoid mismatchesjackpoz
Use the same logic of (CENTER_GRID_ID - x / SIZE_OF_GRIDS) in GridMap::getMinHeight() as Map::GetGrid() to avoid coord grid mismatches caused by floating point precision, i.e. getting the wrong grid. Replace defines with constexpr in grids to make debugging easier. Closes #25652
2020-12-27Scripts/Commands: Include map min height in ".gps" commandjackpoz
2020-12-27Core/Scripts: Add missing spells to Black Morassoffl
2020-12-27DB/Spell: Add effects to more spells from Violet Holdoffl
Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged
2020-12-27Core/Units: do not send power update packets when gaining power via energize ↵Ovah
spell effects to match retail behavior (#25599) This fixes possible clientside visual issues where power is being added twice until the next update_object packet is being sent
2020-12-26Core/SAI: implement new smart actions to change AI Animkits and to ↵Ovah
enable/disable hover movement (#25623) * Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement for units SMART_ACTION_SET_AI_ANIM_KIT (parameter 1: animKitId) SMART_ACTION_SET_HOVER (parameter1: enable/disable) * Update SmartScriptMgr.cpp * Update SmartScript.cpp * removed SMART_ACTION_SET_AI_ANIM_KIT since it's reserved for master
2020-12-26Core/Visibility: Split BG/Arena visibility settings (#25690)Gildor
2020-12-26Core/Spells: Implemented personal summons (#19231) (#25765)Giacomo Pozzoni
* Core/Spells: Implemented personal summons (#19231) * By default determined by summon property flag SUMMON_PROP_FLAG_PERSONAL_SPAWN Closes #18254 (cherry picked from commit b7bb5e6a98119512702519adecf559ecedc20743) # Conflicts: # src/server/game/Combat/ThreatManager.cpp # src/server/game/DataStores/DBCEnums.h # src/server/game/Entities/Creature/TemporarySummon.cpp # src/server/game/Entities/Creature/TemporarySummon.h # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/Object/Object.cpp # src/server/game/Entities/Object/Object.h # src/server/game/Maps/Map.h # src/server/game/Spells/SpellEffects.cpp * Build fix * Implement feedback * Fix parameters passed in wrong order
2020-12-26Core/Scripts: Add missing spells to Violet Holdoffl
2020-12-10Game/ChatCommands: Make sure ChatHandler::extractPlayerTarget populates the ↵Treeston
strtok buffer for non-nullptr returns. Closes #25692, supersedes #25698.
2020-12-09Core/Movement: Add a debug log when a player falls below the mapjackpoz
2020-12-08DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAINoffl
Closes #25674
2020-12-06Improve multithreading of mmaps_generator (#25625)Giacomo Pozzoni
* Build/Misc: Add a few *San CMake flags Add the following flags for the related tools: - MSAN for Memory Sanitizer - UBSAN for Undefined Behavior Sanitizer - TSAN for Thread Sanitizer * Remove unused parameter * Fix UBSan reported issue * Disable G3D buffer pools when using Thread Sanitizer as it has its custom locking mechanisms * Code cleanup * Move threads from maps to tiles * Move tile building logic to TileBuilder class * Fix memory leak in TileBuilder * Fix build * Store TileBuilder as raw pointer for now, it will be changed later on to use modern C++ constructs * Fix crash on shutdown * Revert pvs-studio change * Fix generating 1 single tile not closing the program
2020-11-26DB/Instance/Arcatraz: More adjustmentsoffl
2020-11-21Core/Player: Adjust fall damage logjackpoz
Move fall damage log to "entities.player.falldamage" category and include the usual debug info
2020-11-18[3.3.5] Scripts/Commands: .learn adjustments (PR #25454)Treeston
2020-11-17Core/Maps: add new FLAG_ALLIANCE_ONLY and FLAG_HORDE_ONLY for instance spawn ↵Ovah
groups (PR #25656)
2020-11-17Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* (#25655)Ovah
# Conflicts: # src/server/game/Instances/InstanceScript.cpp # src/server/game/Instances/InstanceScript.h # src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/instance_blackrock_caverns.cpp # src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp # src/server/scripts/EasternKingdoms/TheStockade/instance_the_stockade.cpp # src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp # src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp # src/server/scripts/Maelstrom/Stonecore/instance_stonecore.cpp # src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-11-11DB/Spells: Move conditions for spell 'Gor'drek's Ointment' from item script ↵offl
to DB
2020-11-11DB/Creature: Convert & update support for Tonk Mine to SAIoffl
2020-11-10DB/Quest: Update support for 'Merciful Freedom' (11676)offl
2020-11-10DB/Quest: Convert & update support for 'Prison Break' (11587) to SAIoffl
2020-11-09DB/Quest: Convert & update support for 'The Spider God' & 'Hive in the ↵offl
Tower' to SAI
2020-11-08DB/Instance/The Arcatraz: Update auras, scripts & statsoffl
2020-11-05build fixKeader
2020-11-05Scripts/Black Temple: Some little fixesKeader
- Fixed Reliquary of Souls ignoring boundary - Fixed Maiev texts timer - Fixed Shadow Prison hitting every single npc on black temple Many thanks to Ovahlord
2020-10-30Core/Commands: Exclude ambigious cast operator overloads from command VariantShauren
Closes #25618
2020-10-28Scripts/ScarletMonastery: Decrease boss numberKeader
Headless Horseman do not use BossAI anymore (since it can be done multiple times)
2020-10-26Scripts/ScarletMonastery: Headless Horseman Rewrite (#25614)Keader
2020-10-25Core/AI: Fix CorpseRemoved() and SMART_EVENT_CORPSE_REMOVED not being called ↵jackpoz
for creatures without m_respawnCompatibilityMode Fixes #24958
2020-10-25CI/GitHub: Switch to GCC 8 (#25610)Giacomo Pozzoni
* CI/GitHub: Switch to GCC 8 Build on GitHub Actions using GCC 8 as it's the oldest supported GCC * Core/Misc: Attempt to fix GCC 8 build
2020-10-25Scripts/Stormwind City: Tyrion talks to player (#25613)Trond B. Krokli
Add player parameter to the `Talk()` command to resolve an issue where the creature_text `SAY_TYRION_1` shows $n in-game during the course of events of the quest "The Attack!" in Stormwind City. Soon to be replaced by SAI scripting. This is a temp solution. Ref. #25608 & #24735 Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-10-25DB/Instance/AQ40: Update gossipsoffl
Closes #25577
2020-10-24Core/DBLayer: Fixed memory leaks with existing SQLQueryHolder uses and ↵Shauren
eliminated the possibilty of adding more in future (replaced manual memory management with smart pointers)
2020-10-19Game/Player: Fixed Backlash/Backdraft priority (#25564)Keader
Update #18516
2020-10-14Scripts/ICC: Some fixes in Valkyr Shadowguard (#25572)Keader
- Added missing transformation spell - Fixed Soul Siphon casted in random targets. It should always cast in top threat player. - Fixed combat reach of transformation
2020-10-13AI/CreatureAI: Properly update Victim even while spell focusingTreeston
2020-10-12Scripts/ICC: Fixed Chocking Gas killing Abomination (#25565)Keader
2020-10-12Script/Commands: .character changeaccount now disconnects player before ↵Gildor
transferring (PR #25560)
2020-10-11Scripts/UtgardPinnacle: Implemented Beast's Mark (#25557)Keader
2020-10-11Scripts/IcecrownCitadel: Implemented Vampiric Might spell (#25556)Keader
Closes #21294
2020-10-10Core/MMAPs: Restore single slope angle of 55°jackpoz
Re-generating MMAPs IS required. Partially reverts 995a443da219ec773febd7dd29d18f3cefaa1f3b . Having 2 different slope angles of 55° and 85° created too many polygons to fit in the current mmtile structure. This caused some polygons to become disconnected from each other, creating the old "invisible walls" effect. Because of this and because of the performance hit when loading a mmtile caused by the increase of polygon numbers, this commit reverts the recent changes and sets by default the slope angle to 55°. Feel free to restore the previous behaviour by running .\mmaps_generator --maxAngle 85 --maxAngleNotSteep 55 , specifying the map id as number if a single map should have different slope values. This is the last commit that will change MMAPs version to force re-generating them. Any future change that will affect only the generation settings will be optional (but recommended).