Commit Graph
31197 Commits
Author SHA1 Message Date
Shauren cd3feb00d5 Core/Bnet: Fixed another uninitialized variable (just to shut up static analysis tools, its never uninitialized when used) 2017-10-17 22:40:25 +02:00
Naios e7ec5bead1 Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a
* Rename cppformat to fmt in the PackageList.txt

(cherry picked from commit 5077c8289cd52108bf9aeb8fb6ab2742ae3e0b95)
2017-10-16 22:54:23 +02:00
Naios c7f0dfd262 Dep/efsw: The current version is equal to the one we have in the source tree
(cherry picked from commit 81b65fef45f458d74a28635507169e7c3a2038de)
2017-10-16 22:54:23 +02:00
Naios 01355dc101 Build: Require CMake 3.2
* This is below current package version of
  debian stretch stable CMake on which we
  orientate at.
* Required for CMake target features

(cherry picked from commit e5e7919b64f8b6dc1c872871175ae1e30e25c555)
2017-10-16 22:54:23 +02:00
Naios 561169d8df Misc: Add an editorconfig
* This is a platform independent config which is
  supported in many editors to set the charset and intendation
  automatically on a per project basis.
* The latin1 charset is a workaround for the MSVC
  editorconfig support which stores utf-8 with bom
  instead of none.

(cherry picked from commit 850fbbd6a939a7a577bdd8fe840b0baa66b1ec99)
2017-10-16 22:54:23 +02:00
Naios 24d3260ab8 Build: Fix the in-source build prevention
(cherry picked from commit 4aa476cbcc3530be937f79696fd6d5d69d7e7dce)
2017-10-16 22:54:23 +02:00
Evgeny Frolov 55105c2f87 Contrib/Grafana: updated dashboards (#20563)
Add a single page dashboard including all graphs, useful for Grafana Cloud since it allows to created only a limited number of dashboards.
2017-10-16 13:57:11 +02:00
ariel- 3447b2790d Core/Unit: CalculateMeleeDamage should use unmodified damage to compute HitInfo
d3a71a83387f757f87c7d27e1054498c8cc49c8f follow-up

(cherry picked from commit 8da43fb7c7b9d072c924a741900162584e026970)
2017-10-15 17:28:02 +02:00
joschiwald 9c615059f8 Fixed build 2017-10-15 17:22:30 +02:00
ariel- fe2e3b67a8 Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks
Closes #18135

(cherry picked from commit d3a71a83387f757f87c7d27e1054498c8cc49c8f)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_misc.cpp
2017-10-15 16:59:56 +02:00
ariel- a932e44847 DB/Creature: fix Prince Valanar (ICC) respawn health
(cherry picked from commit acc6688d36a567015a48efbfd5f0a8f13e0dbc70)
2017-10-15 16:59:55 +02:00
ariel- 8cc9360da6 Core/Globals: abort server startup if there are wrong factions in DB
Closes #18127

(cherry picked from commit d66a809b8e8c3c7530822489865f416741399fcb)
2017-10-15 16:59:55 +02:00
ariel- 175bc752e8 Core/Unit: fix chain cc's not being diminished properly
Logic fail in 9b0fa51022fba3d5ece96dd0ac8399be01ea5b0f (now diminishing info is always initialized)

(cherry picked from commit 2f03d502f34d0e9f69fd2d23cfb69b1ec8bb8891)
2017-10-15 16:59:55 +02:00
ariel- 54c0a01062 Core/Spells: moved handling of SPELL_ATTR0_CU_DONT_BREAK_STEALTH inside proc system.
Fixes additional issues with spells that shouldn't be breaking stealth and had this attribute

(cherry picked from commit bea0c019644b06a06ab07f150de87a1496898459)
2017-10-15 16:59:54 +02:00
SnapperRy 662c98456d DB/Quest: remove wrong repeatable flag from some quests.
(cherry picked from commit de22843bcbe13ea2ba1ef89605a96aaaac6a3587)
2017-10-15 16:22:32 +02:00
Keader bc9b3b4928 Scripts/Trial of the Crusader: Fixed crash in Snobold Vassal script (#18124)
Closes #18122

(cherry picked from commit cdc5a36dbb8c3498fcdab43ce568548d3b60ccfa)
2017-10-15 16:18:21 +02:00
ariel- dc6eef8027 Core/Unit: prematurely abort GetFactionTemplateEntry instead of returning a null pointer
Factions should never be invalid for players/spawned creatures anyways

Ref #18113

(cherry picked from commit 5f580c9d3d3d34be13e24000c1aeb5640dc4cc27)
2017-10-15 16:16:06 +02:00
Killyana 66e756b52a DB/SAI: Duggan Wildhammer
By Staleness89
Closes #18112

(cherry picked from commit 3ab164f4add62c30d14b3f4b9b1e60d9560fd004)
2017-10-15 16:15:17 +02:00
SnapperRy 25c7849262 Script/Spell: remove cosmetic effect for Water Bucket item at login if it expired after the player logged out.
(cherry picked from commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870)

Add forgotten override.
(cherry picked from commit c6f94ba42ec7e66419b636ac09aacc1ee7320a77)

Fix non-PCH build.
(cherry picked from commit 02cea9c0bac2f999b461d3679a32672b6f0ac2da)
2017-10-15 16:13:44 +02:00
SnapperRy 1283e21726 DB/Spell: fix cosmetic effect triggered when a Water Barrel is used.
(cherry picked from commit e78cb6ac5c96c41dbded43f7f648ab8642eeac09)
2017-10-15 16:12:30 +02:00
Ivan Bakula 08c45b48c5 Core/Arena: Fix lag caused by arena distribution (#17989)
Avoid queueing unneeded queries to save arena teams and arena team members data if nothing was changed during that week.

(cherry picked from commit 3f3dee804904042486741320519553a49c3149bb)
2017-10-15 16:11:11 +02:00
Kittnz 227dc49f5a DB/GameObject: Change position of the Candy Bucket in Bor'gorok Outpost
Updates #18104

(cherry picked from commit f1cced96b3094273e29adbf72de58617c538402d)
2017-10-15 16:08:52 +02:00
SnapperRy b3dedb11fe DB/Quest: Stinking Up Southshore should not be repeatable.
(cherry picked from commit 005e5537ea5646d1e22f2d6a3d22fe2e443bf2c1)
2017-10-15 16:05:07 +02:00
ariel- 1350989628 Core/Spell: do positivity spell checks only against actually hitted effects instead of the whole spell
Closes #18097

(cherry picked from commit 5c1dfce168e31f473418930fdd09eb800c64c44c)
2017-10-15 16:02:40 +02:00
Killyana 2ecc372658 DB: Add some Npcs/Gobs related to Hallow's End
(cherry picked from commit 0285486603a0364f8dfe2b6bec1391880adcede4)
2017-10-15 16:02:09 +02:00
SnapperRy be1a3884bc DB/Quest: Hallow's End Treats for Spoops! should not be repeatable.
Also the item Hallow's End Pumpkin Treat should only be available from vendor after turning in that quest.

(cherry picked from commit 489e5b60dbe2faeb3fc0c7f4c359d2e75a1c9472)
2017-10-15 15:22:28 +02:00
Killyana 595bd609fc DB/GameObjects: Remove Apple Bob duplicate spawns
(cherry picked from commit f3dcdc4e647ef3e573c9e8892109dd36bc0b11f4)
2017-10-15 14:39:39 +02:00
SnapperRy c784e3a26a DB/Creature: assign core script to creature Magister Aledis.
Forgotten in 94c41c9.

(cherry picked from commit 50011d7e2d8b78f2fc58b5b1048f744f197eed6d)
2017-10-15 14:37:13 +02:00
Ovah 020825902c Core/AI: implemented AI hook for interrupting spells (#20610) 2017-10-13 22:17:04 +02:00
Shauren 644af37f96 Core/Realms: Made realmlist threadsafe 2017-10-11 22:42:03 +02:00
Shauren b09bd8d702 Core/Bnet: Fixed uninitialized value 2017-10-10 23:08:54 +02:00
Shauren 1292a987f1 Core/Mails: Fixed mail_items entries being left in database after deleting expired mails
Closes #20194
Closes #20461

(cherry picked from commit 1f3cf8bcf4ff786bea691a6460239a4127b2f97f)
2017-10-09 21:23:52 +02:00
Roc13x a6d1b34472 Core/Creature: Refactor and improve vendor items (#20328)
* Implement item bonuses in vendors.
* Implement the PlayerConditionID and IgnoreFiltering DB columns.
* Fix loading referenced vendor items
* Allow adding bonuses in .npc add item command
2017-10-09 21:03:25 +02:00
Shauren 6d07f55c00 Tools/Patcher: Changed -launcherlogin patch for mac 2017-10-08 11:15:53 +02:00
Aokromes 513b2768dc Update RBAC.h 2017-10-08 10:21:37 +02:00
Štefan Lazový c8974a91a6 Core/DataStores: Implemented [] operator on DB2Storage (#20494) 2017-10-07 22:48:05 +02:00
Gacko b34f5f9eab Fix non-PCH build. 2017-10-04 19:30:25 +02:00
joschiwald e6f8821bd0 Dropped obsolete code added in 2d75d8071b 2017-10-03 22:15:41 +02:00
ariel- 88ae5f6068 Core/Unit: Change aura proc pair container to vector
(cherry picked from commit 34f734c89047900da30c8bfea61af1be567bf7c8)
2017-10-03 21:14:28 +02:00
ariel- 93973b87b1 Core/Spell: clear auras of channeled spells if channeling is cancelled due to invalid targets (dead or w/e)
Closes #14859
Closes #15186

(cherry picked from commit 2d0fb356de5b2dda06b008a875c6d4ea31eb5dfd)
2017-10-03 21:14:28 +02:00
ariel- caf47b846f Core/Spells: mark Arcane Missiles aura as negative. Was downranking the spell when targetting low level mobs due to effect 1 flagged as possitive.
Closes #12152

(cherry picked from commit 2b9f807fd94db40568baa3d780ba7c218cccdd69)
2017-10-03 21:14:28 +02:00
ariel- 702d823179 DB/Spell: some proc fixes
- Glyph of Totem of Wrath should proc from triggered casts (fixes aura not applied when summoning through Call of the xx spells)
- Fix Deadly brew not proccing at all
- Fix Light's Beacon not healing with Holy Shock

by xjose93

(cherry picked from commit c6d77e02860073e40a09cd1c847c73c02299eb29)
2017-10-03 21:14:27 +02:00
ariel- efaa33b599 Core/SpellMgr: some changes in default proc generation. Fix an issue of stealth breaking with positive and/or healing spells
(cherry picked from commit 531904afffa010a07ed866b2ae76d97ef1f935e4)
2017-10-03 21:14:27 +02:00
Shauren e9d3d2c3a2 Warning fix 2017-10-03 21:04:58 +02:00
ariel- 2d75d8071b Core/Globals: compute aura diminishing return info at startup and cache it
Core/Entities: Save diminish return on an array instead of a linked list

(cherry picked from commit 9b0fa51022fba3d5ece96dd0ac8399be01ea5b0f)
2017-10-03 20:53:49 +02:00
Shauren 4d5eacd3af Core/Bnet: Added support for -launcherlogin logins (external client launcher required) 2017-10-03 18:03:57 +02:00
joschiwald 0b36d80115 Fixed build 2017-10-03 17:57:59 +02:00
ariel- 6505747f50 Core/AuctionHouseBot: ahbot characters subsystem shake-up
Bonus: fix moar static analysis issues
(cherry picked from commit f4a10571f74450daf26a5b0c5bd0f3114c231120)
2017-10-03 17:56:42 +02:00
SnapperRy 8a4bfe94f9 Core/Spell: allow SPELL_EFFECT_QUEST_COMPLETE to set a quest to rewarded only if that quest is used as internal flag by the server (has flag 1024 - QUEST_FLAGS_TRACKING).
(cherry picked from commit 551a8ff8ae4c5949bd5ff47c0544713e405bedce)
2017-10-03 17:48:10 +02:00
SnapperRy f0ddceeff4 Core/Quest: show DIALOG_STATUS_AVAILABLE instead of DIALOG_STATUS_REWARD for non-repeatable autocomplete quests.
(cherry picked from commit 7666296f5460670e075c290778377676a614cc53)
2017-10-03 17:47:19 +02:00