aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-02-06Core/Spells: Fix Seed of Corruption (Warlock) target selection (#26019)Gildor
* Core/Spells: Fix Seed of Corruption (Warlock) target selection * unneeded things
2021-02-06Core/Unit: Fix crash when exiting a vehiclejackpoz
Ref #25649
2021-02-06Core/Unit: Set stand state on damage only to playersjackpoz
2021-02-05Core/SAI: Reserve SmartScriptType for master branchShauren
2021-02-04Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DBoffl
2021-02-01DB/GameObject: Matrix Punchographoffl
Closes #25881
2021-01-31DB/Creature: Remove UNIT_FLAG_PACIFIEDoffl
Ref #25764
2021-01-31Core/Player: remaining XP logging overflow correction (#25934)Matan Shukry
(cherry picked from commit 6dbaba76699400e5c2ef64a0fb478258cd1560b7) # Conflicts: # src/server/game/Handlers/CharacterHandler.cpp # src/server/game/Server/WorldSession.cpp
2021-01-30Scripts/EoE: Attempt to fix players getting stuck after dyingjackpoz
Attempt to fix players getting stuck after dying caused by a hack that calls SetControlled(true, UNIT_STATE_ROOT) by calling the opposite when a dead player leaves the instance, i.e. on releasing. Close #24458
2021-01-30Core/Creature: Allow to skip Rate.Corpse.Decay.Looted when calling ↵Giacomo Pozzoni
SetCorpseDelay() (#25989) Add a second parameter to SetCorpseDelay() that specifies if Rate.Corpse.Decay.Looted setting should be ignored, false by default (aka don't ignore by default). Add a second parameter to SMART_ACTION_SET_CORPSE_DELAY to specify if Rate.Corpse.Decay.Looted should be included, false by default (aka ignore by default).
2021-01-30Core/Warden: Send Lua checks only when ingame (#25977)Giacomo Pozzoni
2021-01-28Core/Commands: Implemented command to teleport character to npcMatan Shukry
Closes #25870
2021-01-26Core/Scripts: Verify & migrate spell school immunities to DBoffl
Some already are stored in DB. Looks like they all are still valid for master
2021-01-25Core/SAI: Add new action SMART_ACTION_SET_HEALTH_PCT (#25932)Giacomo Pozzoni
* Core/SAI: Add new action SMART_ACTION_SET_HEALTH_PCT Add new action SMART_ACTION_SET_HEALTH_PCT (142) with one single parameter "percent" to set the Unit health. Close #25317 * Do not allow 0%
2021-01-25Core/Spells: Fixed spell effect 43 (SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER) ↵Meji
(#25945)
2021-01-24Core/Misc: Fix static analysis issues (#25924)Giacomo Pozzoni
* Core/Misc: Fix static analysis issues * Fix infinite loop in ".debug send opcode" Fix using uninitialized memory in ".debug send opcode"
2021-01-24DB/Item: Remove Plans: Goblin Rocket Boots (7192) from loot & exclude from ↵illfated
being sold by AHbot Closes #25930
2021-01-23Scripts/Commands: Improve ".debug objectcount"jackpoz
Include the number of SetActive objects in ".debug objectcount" command
2021-01-22Core/Creature: Add new db field InteractionPauseTimer (#25880)Giacomo Pozzoni
* Core/Creature: Add new db field InteractionPauseTimer Add new db field InteractionPauseTimer to allow to define different interaction pause timers for each creature (the previous system was a global setting in worldserver.conf Creature.MovingStopTimeForPlayer) * Set all columns in creature_template_movement as optional (can be NULL, default NULL). Fill only the columns that should override the default C++ value * Use the InteractionPauseTimer value throughout the code instead of Creature.MovingStopTimeForPlayer * Handle InteractionPauseTimer set to 0 as "don't stop at all" * Implement InteractionPauseTimer in creature_movement_override creature_movement_override allows NULL values, in which case the values from creature_template_movement will be used for those columns that are NULL, falling back to default C++ values if creature_template_movement has NULL values too (or no rows for the creature) * Read default InteractionPauseTimer from worldserver.conf * Rename 2021_99_99_99_world.sql to 2021_01_22_00_world.sql
2021-01-18Core/Misc: Fix typo in SendAuthWaitQue method name (#25887)Jan Van Buggenhout
2021-01-18Core/Misc: Update WorldSocket::OnRead to WorldSocket::ReadDataHandler in ↵Jan Van Buggenhout
comments and logging (#25885)
2021-01-18Core/PacketIO: Change size of SMSG_AUTH_CHALLENGE WorldPacket from 37 to 40 ↵Jan Van Buggenhout
in WorldSocket::HandleSendAuthSession (#25886)
2021-01-17Core/logs: added xp info on login & logout (#25867)Matan Shukry
* Core/logs: added xp info on login & logout * - Moved getters to header - Changed %s to %u (cherry picked from commit bb24c6a11b2410f6dd4ef34f2b7fb87e4b01ba37) # Conflicts: # src/server/game/Entities/Player/Player.h # src/server/game/Handlers/CharacterHandler.cpp # src/server/game/Server/WorldSession.cpp
2021-01-17Build fixShauren
(cherry picked from commit 28d470c50ef6ea72d7609375856e5da005df19ae) # Conflicts: # src/server/game/Entities/Unit/Unit.cpp
2021-01-17Core/Spells: Defined new spell attributesjackpoz
(cherry picked from commit b2ddf547ff7acd3dab7c93579d8a44fe825c7ecf) # Conflicts: # src/server/game/Miscellaneous/SharedDefines.h
2021-01-17Scripts/Priest: Fixed Lightwell getting removed in first damageKeader
* Spell should drop charge, only when damage > 30% of total health.
2021-01-16CI/CircleCI: Expose binaries built on Circle CI as docker images in the ↵Giacomo Pozzoni
Circle CI artifacts (#25832) Co-authored-by: Shauren <shauren.trinity@gmail.com>
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