aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-01-15DB/Creature: Remove UNIT_FLAG_STUNNED in more casesoffl
Ref #25764
2021-01-14Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and ↵xvwyh
TARGET_UNIT_NEARBY_PARTY (#25837) * Update SharedDefines.h * Update SpellInfo.cpp
2021-01-14Update LootMgr.cpp (#25849)Trond B. Krokli
Typo correction for console & log output `>> Loaded reference loot templates in %u ms` `refence` --> `reference`
2021-01-10Scripts/Diremaul - Dire Maul crystal and forcefield fix (#25332)Jinnaix
* Scripts/Diremaul Diremaul Crystal and Forcefield fix * Apply suggestions from code review Apply suggestions Co-authored-by: MaxtorCoder <warsongkiller.s8@gmail.com> * Fix stuff * _private member * use std array instead of c-arrays and standartized guid container namings * Process feedback * finalize * blubb * small changes * whoops * Process feedback * Missing include * Process feedback * Apply suggestions from code review Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> * remove unused field Co-authored-by: MaxtorCoder <warsongkiller.s8@gmail.com> Co-authored-by: Ovah <dreadkiller@gmx.de> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-01-10Core/Unit: Fix movement hiccups in water (#24020)Giacomo Pozzoni
* Core/Unit: Allow to define Units which can enter water but cannot swim Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea. * Add UNIT_FLAG_SWIMMING to creatures when entering combat * Fix charmed creatures not entering water * Always allow Creatures controlled by players to enter water * Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after. When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required.
2021-01-10DB/Creature: Remove remaining UNIT_FLAG_PACIFIED part 1offl
Ref #25764
2021-01-08Split all addon chat logs into separate log streams (#25816)Kyle Phelps
* Split all addon chat logs into separate log streams * Add missing channels (cherry picked from commit ee6e71bbd3338042a3bb56574e7952df52a69f19) # Conflicts: # src/server/scripts/World/chat_log.cpp
2021-01-08Scripts/Utgarde Pinnacle: Svala Sorrowgrave Intro and Ritual of the Sword ↵wotlk-enthusiast
(#24503) * Scripts/Svala SorrowGrave - Fix broken intro event and Ritual of the Sword * Added missing header for non-PCH build. * Added error checking for Svala's targeting, and tightened up the timing on the intro event. * Update WorldDB\Creature_Template_Movement for Svala * Fix movement during intro and ritual event * Rename SQL file for merge Co-authored-by: Carbenium <carbenium@outlook.com>
2021-01-08DB/Creature: Add UNIT_FLAG2_UNK1 (CREATURE_DIFFICULTYFLAGS_2_HIDE_BODY)offl
2021-01-06Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating ↵Mikhail Redko
Deviate Fish (#25802) * Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish * Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_08_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-01-06Scripts/Spells: Implement hunter pet talent "Improved Cower" (#25804)Mikhail Redko
* Scripts/Spells: Implement hunter pet talent "Improved Cower" Closes #25600 * Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_07_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-01-04Core/Warden: Max packet size 500 -> 450Treeston
2021-01-04Core/Misc: Remove unneeded null-terminator after switch from wchar_t to ↵Mikhail Redko
std::wstring in 309851e. Fixes creation characters with declined russian names (#25797) Closes #23775
2021-01-03Core/Commands: Add .reload vehicle_templateShauren
(cherry picked from commit 4ca15ec065289e12ce95962b3afd89445e141a97) # Conflicts: # sql/base/auth_database.sql # src/server/game/Accounts/RBAC.h
2021-01-03Core/Vehicles: add a way to delay the Vehicle despawn Time if its needed.Sevi
* New database table `vehicle_template` holds info for despawn delay with option to extend it in the future (cherry picked from commit c7b10d3c5fd082faf6c2835239e340babc3dfc76) # Conflicts: # src/server/game/Entities/Unit/Unit.cpp # src/server/game/Entities/Vehicle/Vehicle.cpp # src/server/game/Globals/ObjectMgr.cpp # src/server/game/Globals/ObjectMgr.h
2021-01-03Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf
2021-01-02Core/Player: auto-attacked player stands up from sit or sleep state (#25684)Aurelio Arcabascio
* Fixed Auto Attack bug on sitting player * Victim now stands during sleep and stand emotes
2021-01-01Core/Maps: Move some more Map internals to actually be... internals.Treeston
2020-12-31Core/Misc: Fix Windows 32 bits buildjackpoz
Close #25789
2020-12-31Core/Maps: All RespawnInfo* handed to outside code are now RespawnInfo ↵Treeston
const*, to signify that outside code has zero business changing these.
2020-12-31Core/RBAC: Reserve permission idShauren
2020-12-30Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when ↵Giacomo Pozzoni
specifying a chance (and other SMART_ACTION_CAST fixes) (#25778) * Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance, always making the action trigger. * Fix SMART_ACTION_CAST with SMART_EVENT_FLAG_NOT_REPEATABLE not casting the spell at all if rolled chance was successful but creature couldn't cast the spell * Prevent linked actions if SMART_ACTION_CAST couldn't be completed and will be retried later
2020-12-30Core/Maps: move pooling hand-off outside of Map::CheckRespawn (PR#25785)Treeston
fixes #25777
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