Commit Graph

26466 Commits

Author SHA1 Message Date
Naios
775e0764e8 Core/Game: Move scheduled map scripts counter methods into MapManager
* Since those have nothing to do with core scripts and are
  not wished inside the ScriptMgr

(cherry picked from commit 59e3cf82ac)
2016-04-11 21:40:38 +02:00
Naios
518692b4cb Core/Game: Move MapScripts to game/Maps
* Since this class implements methods of the Map class

(cherry picked from commit 26dcde94b3)
2016-04-11 21:39:31 +02:00
Naios
fc106eba51 Core/Misc: Replace tc's optional with boost::optional. (very partial cherry-pick)
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.

(cherry picked from commit 800d5d8939)
2016-04-11 21:00:26 +02:00
Shauren
f9697cb86a Core/Auras: Fixed a visual issue with combat log appearing to deal negative damage with SPELL_AURA_PERIODIC_LEECH if the spell does more damage than target has health (before calculating resist) and any damage is resisted.
Closes #16495
2016-04-11 20:48:24 +02:00
Dustin Paul
bdeeab13bd Core/LFG: Readd players to queue when proposal fails because someone else declined it (#16279) 2016-04-11 18:33:25 +02:00
Chaouki Dhib
97b053d203 Core/Movement: Added a wrapper method in MotionMaster for a unit to move toward another unit and stop once it reaches the target at a certain distance. (#16806) 2016-04-11 16:52:23 +02:00
DDuarte
048a01f778 Update revision_data.h.in.cmake and the updates in base SQLs 2016-04-11 03:22:51 +01:00
DDuarte
2f84939522 TDB 335.61 - 2016/04/11 TDB335.61 2016-04-11 02:40:33 +01:00
Gacko
070bedae0c Add missing configuration key LoginDatabase.SynchThreads.
(cherry picked from commit b23a6aeaff)

# Conflicts:
#	src/server/bnetserver/bnetserver.conf.dist
2016-04-11 01:20:47 +01:00
Dr-J
f93d91aa1b DB/Creature: More exterminations
This time in the Halls of Anguish in Black Temple
ALso script Mutant War Hound
2016-04-10 22:17:03 +01:00
treeston
7b1560fccb Entities/Unit: Finally fix no-path evasion.
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health.
- If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH.
- Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants.
2016-04-10 19:49:40 +02:00
Killyana
6ca400b35e DB/Object: Restore removed object spawns 2016-04-09 23:23:07 +02:00
Shauren
c0b6b164f0 Build fix 2016-04-09 18:58:06 +02:00
Killyana
2fe8175bac DB/Conditions: Add target for "Collect Data" and "Bluff" used by Iron Golem
Closes #16502
By @Saben65
2016-04-09 18:39:49 +02:00
Shauren
836788ed3c Core/Misc: MSVC /W4 warning fixes
(cherry picked from commit 08c27d3205)
2016-04-09 18:25:53 +02:00
Shauren
39abb8acb3 Core/Misc: MSVC warning fixes
(cherry picked from commit 70412e7e25)
2016-04-09 18:13:30 +02:00
Killyana
697749aafc DB/Faction: Fix Rivern Frostwind Faction change issue
And fix a DB error
By @meji46
Closes #16761
2016-04-09 17:55:19 +02:00
Killyana
3a130e94cd DB/Spells: Fix Spell damage item procs scalling with spellpower
By @Keader
Closes #16867
2016-04-09 16:48:59 +02:00
Killyana
84f544fd0b DB: Revert last DB commit 2016-04-09 15:36:40 +02:00
Shauren
a9b4375bb7 Core/Spells: Don't report spell errors to client when spell was triggered and failed some internal condition 2016-04-09 15:31:26 +02:00
Killyana
f731572cf8 DB/Conditions: Fix Mid-screen error spam in Blade's Edge Mountains
Closes #16889
By @tkrokli
2016-04-09 15:17:42 +02:00
Aokromes
f0ee67e210 DB/Misc: Fix startup error 2016-04-09 12:41:04 +02:00
Shauren
43fb6b2209 Buildsystem: Improved logic for _BUILD_DIRECTIVE in msvc builds
(cherry picked from commit 509a27fd51)
2016-04-09 12:39:03 +02:00
Shauren
702cfefddb Buildsystem: Initial changes to support building with vs clang toolset
(cherry picked from commit 4a3a178d7f)
2016-04-09 12:38:20 +02:00
Shauren
25b3564a9d Travis: Configure fake user for tagging
(cherry picked from commit 373d7104c1)
2016-04-09 12:36:53 +02:00
Shauren
6a8e926584 Travis: Fixed git version info output
(cherry picked from commit 03917c79cd)
2016-04-09 12:36:46 +02:00
Shauren
b197163a1d Core/Commands: Prevent creating accounts containing '@' character with .account create command
(cherry picked from commit 4a679ba1be)
2016-04-09 12:36:27 +02:00
Shauren
b841546574 Core/Common: Moved MessageBuffer to common
(cherry picked from commit a81a204678)
2016-04-09 12:31:04 +02:00
Shauren
778f1725f8 Core/Misc: Moved RealmList to shared
(cherry picked from commit cfe8a6a58b)
2016-04-09 12:30:00 +02:00
Shauren
3f7e6af49e Properly rename the stand state method... 2016-04-08 22:32:15 +02:00
Shauren
6dfc4771a1 Core/Misc: Renamed getStandState to minimize differences between branches 2016-04-08 22:21:13 +02:00
Dr-J
76e4d418f4 DB/Quest: The Seer's Relic
Closes #16923
2016-04-08 18:10:52 +01:00
Killyana
7834d339ad DB: Fix a DB error 2016-04-06 00:14:01 +02:00
Dr-J
d59e1b2a29 DB/Misc; corrections 2016-04-05 10:57:59 +01:00
Dr-J
4546fa118f DB/Quest: Fhwoor Smash!
Closes #16850
2016-04-04 20:39:59 +01:00
treeston
476eb19f21 DB/Gameobject: Fix respawn time for quest GO "Daggerfen Poison Manual" 2016-04-03 23:54:59 +02:00
Dr-J
7491caca88 DB/Misc; Updates
1) "Crowleg" Dan closes #16903
2) Dead Man's Debt closes #16902
3) Proto-Drake egg closes #16900
2016-04-03 15:54:32 +01:00
treeston
a189da7108 DB/Creature: Remove a duplicate spawn 2016-04-03 03:44:25 +02:00
Shauren
a2344fba67 Core/DataStores: Fixed creating entries in sEmotesTextSoundMap if passed invalid arguments (also a data race, if done in multiple threads) 2016-04-02 19:12:14 +02:00
Shauren
e52878b6b5 Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-04-02 17:05:46 +02:00
treeston
bf4d8ad310 Entities/Unit: Fix aggression checks when testing player pets vs neutral creatures. Pets will no longer be able to attack unattackable creatures in some situations. Fixes and closes #16659. 2016-04-02 15:42:14 +02:00
joschiwald
e241ff45c5 DB/Spells: Fixed Shadow Crash haste and mana reduce
Closes #16893
2016-04-02 14:42:48 +02:00
Dr-J
9ed4bb4ad1 DB/Misc: Misc Updates
1) Despawn npcs summoned by flight masters when ooc
2) Demon Portal Guardian Script by @Kodekc
3) Correct Broadcast text id for Vim'gol the Vile by @tkrokli closes #16882
2016-04-02 13:04:27 +01:00
Dr-J
1f7d6ee93a DB/Misc: Exterminate some NPCS
Closes #16891

Condition is to shut up Wintersorn Berserker which otherwise still speaks ooc.
2016-04-02 12:39:31 +01:00
treeston
1cf1d4a1ea - Clean up spell facing behavior a bit. Visual target behavior should now be a lot smoother.
- Clean up Creature.cpp. NULL -> nullptr, gotta love it.
- Renamed some recently added members of Creature to match code style.
2016-04-02 02:51:06 +02:00
Dr-J
ddb5c0bf96 DB/Misc: Grizzly Hills
* Few Updates for Grizzly Hills Giant and Runed Giant so these actually enter into combat and fight each other
* Grizzly Hills Giants above Thor Modan will throw the occasional tree as well as boulders
* Player texts for the Runic Prophecys
2016-04-01 22:40:54 +01:00
Dr-J
3a2dd76de2 DB/Creature: Recruitment Officer Carven
Script http://www.wowhead.com/npc=25222/recruitment-officer-carven
2016-04-01 21:07:02 +01:00
DDuarte
c9e3f2aa9a Core/Config: Fix 3 more missing config warnings
Closes #16861

Thanks tkrokli

(cherry picked from commit 0afcefea27)
2016-03-31 03:31:51 +01:00
DDuarte
9aadd97fba Core/Config: Error logging for ptree_bad_data
Ref 6487e2f2d6 (commitcomment-16888976)

(cherry picked from commit 9431b94bff)
2016-03-31 03:31:46 +01:00
Treeston
8a050c574f Merge pull request #16839 from chaodhib/spell_facing_fix
Adjustments to spell facing
2016-03-30 00:10:23 +02:00