Commit Graph

25321 Commits

Author SHA1 Message Date
Naios
81cee23775 Core/Build: Workarround for different path handling in CMake < 3.2
* Closes #16951
2016-04-12 23:08:27 +02:00
Shauren
e2687b31ed Core/Entities: Ported byte field offset naming from 6.x 2016-04-12 20:06:04 +02:00
Naios
e82a934387 Core/Scripting: Fix an assertion which was triggered at lazy unloading
* Also fixes 2 warnings
2016-04-12 16:52:29 +02:00
Naios
410cf0dd05 Core/Scripting: Fix loading of spell/aurascripts
* Broken since 9cc97f226d
* There is still a crash when using lazy unloading which I
  will fix in a later commit (this commit should fix at least
  the static build and normal usage of the dynamic build).
* Closes #16948
2016-04-12 15:42:16 +02:00
Naios
131ef5f2d6 Core/Maps: Fix non PCH build 2016-04-11 23:12:23 +02:00
Killyana
a173920834 DB/Spell: Furious Attacks
Closes #6532
By @sirikfoll
2016-04-11 23:05:20 +02:00
Killyana
29246b2afb DB/Gameobject: Update respawn time for Mangled Human Remains
Closes #16931
2016-04-11 22:52:56 +02:00
Naios
498c1e22ca Core/Scripting: Fix another warning when building statically 2016-04-11 22:13:13 +02:00
Naios
1b909f9dac Core/Scripting: Fix a warning when building statically 2016-04-11 21:58:56 +02:00
Naios
eaf102b3c5 Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
  and finished the PR #15671.
* Split the storage layout to use optimized storages
  for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
  -> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable

(cherry picked from commit 9cc97f226d)
2016-04-11 21:42:28 +02:00
Naios
3123c278b9 Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.

(cherry picked from commit bc0f2b6e5a)
2016-04-11 21:42:16 +02:00
Naios
8660f90bdf Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.

(cherry picked from commit 848b8a4136)
2016-04-11 21:41:58 +02:00
Naios
c5c922da9f Core/Scripts: Move the ragefire chasm scriptloader into the correct file
(cherry picked from commit 4710b1c8fe)
2016-04-11 21:41:33 +02:00
Naios
3b4f754b06 CMake: Fix a misbehaviour of the boost no scoped enums test
* Sometimes added the definition in MSVC although the test
  passed which lead MSVC to rebuild the whole solution
  even on a CMAKE_INSTALL_PREFIX change.

(cherry picked from commit a8ce2b68eb)
2016-04-11 21:41:15 +02:00
Naios
f93617c3c9 Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.

(cherry picked from commit 3497b4960b)
2016-04-11 21:40:59 +02:00
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
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