Commit Graph
29014 Commits
Author SHA1 Message Date
Shauren cc07a491f6 Core/Spells: Fixed possible null pointer dereference
Coverity CID 1357406
2016-07-18 20:26:05 +02:00
Gacko df53a080fc Fix non pch build. 2016-07-17 20:02:42 +02:00
Shauren 201d09ec34 Build fix for dynamic linking 2016-07-17 17:32:03 +02:00
Shauren a8c412a063 Tools: Added universal TrinityCore banner with git version info to all tools 2016-07-17 17:24:53 +02:00
Ulduar f27e1eea4a Scripts/Blackfathom Deeps: Subjugator Korul - Darkness Calls
Closes #15316
Closes #16557
2016-07-16 17:30:04 +02:00
Shauren 99ecf8e0fb Warning fix 2016-07-16 17:11:59 +02:00
Kito 86275a397a Game/Entities: Players can attack targets when they are not facing them as long as they are in boundaryradius, this also applies for cone effect spells
Signed-off-by: Shauren <[email protected]>
2016-07-16 16:57:43 +02:00
Keader 64f0691a27 Core/Scripts: Hallow's End Pumpkin Treat
Add all 6 spells available from item 20557,
Hallow's End Pumpkin Treat:
- Hallow's End Candy, Orange Giant (24924)
- Hallow's End Candy, Skeleton (24925)
- Hallow's End Candy, Pirate (24926)
- Hallow's End Candy, Ghost (24927)
- Hallow's End Candy, Female Defias Pirate (44742)
- Hallow's End Candy, Male Defias Pirate (44743)

Thanks @Keader for creating the new spell scripts & SQL,
 saved me a lot of time! :-)

(cherry picked from commit cee1c0789acb7d75e453ed355a5d68781a5dec4c)
2016-07-16 16:35:43 +02:00
Shauren 1849a4fcc1 Core/Spells: Implemented SPELL_AURA_MOD_RATING_PCT
* Initial patch by @fatalaim

Closes #16962
2016-07-16 16:04:42 +02:00
Krudor 649e3a9ac5 Core/Instances: Add functionality for modifying instance entrance locations
Instances have since MoP (Possibly even Cataclysm) been able to set new locations for players when they zone into the instance.
A theoretic example of this could be after a certain boss has been defeated, a new entrance location is set to bring players entering the instance closer to the relevant content.
A real example would be Siege of Orgrimmar changing entrance locations many times as the raid progresses.

Added SetEntranceLocation for setting entrance locations that will be saved to DB the next time the instance is saved, and SetTemporaryEntranceLocation for when you don't want the value to be saved to the database.

Closes #17167
2016-07-16 14:58:33 +02:00
Shauren e2d6c362f2 Core/Commands: Allow .cooldown command to work on player pets
(cherry picked from commit 9509aac38b29cf47ee2ea99e41e73b82b22cff7a)
(cherry picked from commit 86a594a4dd9b37d7a8428e2c54acd78836e9474d)
2016-07-16 14:14:43 +02:00
Aokromes 030c0b21b7 DB/Quest: Whitebark's Memory
Closes #16606, by tkrokli
2016-07-16 09:16:03 +02:00
Shauren 8f9f1cc77e Core/Quests: Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory
(cherry picked from commit 8460285f9442c41615f4bac80e9810a6eab8c252)
2016-07-15 20:09:05 +02:00
Brian 7b5373adb3 Core/Quests: Remove quest items that were looted if they are unique, bound, quest items, when abandoning a quest. (#17556)
(cherry picked from commit 3c0d7fd744d618d01e96851ab27473198328d0b6)
2016-07-15 20:06:37 +02:00
Aokromes 8b9dc06ffc Rename sql/updates/world/3.3.5/2016_07_05_02_world.sql to sql/updates/world/6.x/2016_07_05_02_world.sql 2016-07-15 15:33:52 +02:00
Aokromes 18a8d46e63 Rename 2016_05_13_00_world.sql to 2016_07_15_00_world.sql 2016-07-15 14:40:37 +02:00
Mihapro b7c2d309e6 [6.x] Core/Battlefield: Tol Barad (#17124) 2016-07-15 14:39:41 +02:00
Shauren a5b6d1992a Build fix 2016-07-14 09:40:36 +02:00
Shauren 28983c3ae0 Core/PacketIO: Fixed building ITEM_DYNAMIC_FIELD_MODIFIERS update 2016-07-14 08:52:36 +02:00
Naios 58dd647a88 Core/Scripting: Fix acquiring of references between script swaps
* Delay unloading of shared libraries to the next update tick
  to prevent crashes in the destructor of the last referenced
  script instance.
* Closes #17557

(cherry picked from commit 445746c402485fcac60c02842d0cb5e0dd605e5c)
2016-07-13 22:01:14 +02:00
Shauren db85bad1ff Core/PacketIO: Fixed dynamic updatefield handling when values get removed 2016-07-13 00:07:09 +02:00
Shauren cb803e58ff Core/PacketIO: Fixed sending ITEM_DYNAMIC_FIELD_MODIFIERS, value count must always match numbers of bits set in ITEM_FIELD_MODIFIERS_MASK 2016-07-12 20:56:09 +02:00
Krudor cf60c492ec Core/AI: Add better support for tracking DynObjs (#17562) 2016-07-12 18:04:19 +02:00
madoKun 03c5e7207b Core/PacketIO: Fixed guild tabard displaying in characters list (#17573) 2016-07-12 09:53:10 +02:00
Shauren 9b14e8248c Core/PacketIO: SMSG_UPDATE_OBJECT optimization - removed unneccessary memory allocation by dynamic_bitset 2016-07-11 17:14:42 +02:00
Shauren 22d29ce049 Core/Players: Fixed crash happening during character creation added in previous commit 2016-07-10 11:27:38 +02:00
Shauren a78aa3cf4e Core/PacketIO: Refactored building SMSG_UPDATE_OBJECT to append directly to final buffer and removed UpdateMask class 2016-07-10 00:11:19 +02:00
Shauren dd20865cd7 Build fix 2016-07-09 22:46:51 +02:00
w1sht0l1v3 e47d4de6ec Core/Scripts: Corrections after 14b93c04ee07e9fe6e2767460e7fc7cc2b3e6808
(cherry picked from commit fcfb7b96b2f6f56382243560ed319a1cec1c2b05)
2016-07-09 21:21:43 +02:00
Shauren b63e0769a5 Core/Units: Fixed autoattack range
Closes #17539

(cherry picked from commit 14b93c04ee07e9fe6e2767460e7fc7cc2b3e6808)
2016-07-09 20:47:45 +02:00
Shauren c2f6c4d2bd Core/Auras: Renamed spell aura 333 to better describe its purpose 2016-07-08 23:19:38 +02:00
Shauren ebff8cb342 Core/PacketIO: Fixed crash happening when someone sends too small packet that is processed directly in WorldSocket
Closes #17536
2016-07-07 18:12:50 +02:00
Ivan Beňovic 7fb6c4839d Core/Unit: Fixed warning about comparison of mixed types. (#17541) 2016-07-07 16:47:14 +01:00
et65 f293994ef4 Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)
* Core/MMaps: Fix crash introduced in commit 32e8b6506f
* Also fix remaining memory leaks scenarios.
2016-07-07 15:04:52 +02:00
Ovah 2bede7bffd Core/Instances: implemented handling for SMSG_BOSS_KILL_CREDIT (#17525) 2016-07-07 13:30:24 +02:00
Krudor 147d77102c [6.x] Fix camera and player collision not updating when object scale changes (#17529) 2016-07-06 21:30:59 +02:00
Shauren be461280d2 Build fix 2016-07-06 10:44:43 +02:00
Shauren 9958af7095 Core/Items: Optimize allowed item spec check for quest rewards from QuestPackageItem 2016-07-06 09:38:17 +02:00
Aokromes a7fcae9328 Rename 2016_06_11_00_world.sql to 2016_07_05_00_world.sql 2016-07-05 19:28:58 +02:00
Ulduar 48f0f47dd2 [6.x] Scripts/Spells: K'ure & Decimatus, SAI + spell scripts
* Core/DB Add SAI for Decimatus.

Add Decimatus SAI and Dark Siphon spell condition target.

* Decimatus spell script for 169869.

Decimatus Transformation Sickness.

* Replace caster on target. Compiling fine!

And then you never know what comes into head Blizzard.

* Add three spell scripts.

Add support spell scripts for 189549, 189512 and 189491.
2016-07-05 19:27:59 +02:00
Shauren b63346a25e Core/Spells: Fixed spell dest range check failing on 0 distance max range requirement even if standing directly on top of destination
(cherry picked from commit ba63361d7c20bf93a7089c517cd707c005949f62)
2016-07-05 17:02:34 +02:00
DDuarte b9ec8ae328 Scripts/Commands: Fix build warning
(cherry picked from commit 42028a18421f672a3292733cac73840c4e766089)
2016-07-05 11:56:04 +01:00
DDuarte 7ab5145321 Scripts/Commands: Remove unused argument of .cometome command
(cherry picked from commit 1100fe60572b186eee98b6b7cbdccf5a2d67b7e1)

# Conflicts:
#	sql/updates/world/3.3.5/2016_07_05_01_world.sql
2016-07-05 11:23:04 +01:00
Naios a2ac2b3cc7 Core/EventProcessor: Check whether an event was aborted before aborting it.
* Fixes an assertion introduced in commit 1ad73212dca0cf.
* Use itr = std::unordered_map<...>::erase for updating the iterator.

(cherry picked from commit d9755c637c39e600f145f5ecb7ff0ccf3724b1ad)
2016-07-05 00:19:53 +02:00
Naios 80fe552894 Core/EventProcessor: Wait for non deletable events to get deletable.
* Immediate deletion caused issues with the SpellEvent,
  so we delete it at one of the next update ticks now.
* Only affects the unforced cancellation of events.
* Ref #16675

(cherry picked from commit 1ad73212dca0cf8a829d15ffdbcc4cd611e64d4e)
2016-07-05 00:19:45 +02:00
Naios 1a891f3a5e Core/Scripting: Don't force event cancellation when swapping creatures.
* EventProcessor::KillAllEvents(force = false) should only be used
  by the EventProcessor.

(cherry picked from commit d68316fcd2fc71343edfbd387249b75bd6e8a90f)
2016-07-05 00:19:38 +02:00
Shauren c0df972768 Core/Spells: Fixed crash with DEST targets added in b3d814ee50 2016-07-05 00:02:04 +02:00
Shauren d0d76abc9d Core/Achievements: Implemented all criteria tree operators 2016-07-04 22:52:07 +02:00
Shauren 9645f868ed Core/Auras: Defined more aura types 2016-07-03 22:35:14 +02:00
Shauren 77f980035a Core/Items: Implemented scaling item enchants with player level 2016-07-02 22:44:03 +02:00