Commit Graph

28678 Commits

Author SHA1 Message Date
Aokromes
0f867ab6d7 Update worldserver.conf.dist
(cherry picked from commit afaa8e2c60)
2016-04-16 01:53:01 +01:00
Shauren
9a799d7563 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

(cherry picked from commit f9697cb86a)
2016-04-16 01:31:59 +01:00
Dustin Paul
38cc1b902d Core/LFG: Readd players to queue when proposal fails because someone else declined it (#16279)
(cherry picked from commit bdeeab13bd)
2016-04-16 01:31:36 +01:00
Chaouki Dhib
d26b0419c3 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)
(cherry picked from commit 97b053d203)
2016-04-16 01:31:15 +01:00
Aokromes
4ab56dc309 Misc: Update issue template to avoid false incorrect hash error 2016-04-16 01:14:22 +02:00
Shauren
c8b3ee3dd6 Core/Bnet: Fixed LoginREST.* address selection 2016-04-16 00:20:20 +02:00
Killyana
020a091901 DB/SAI: Fix phasing action for The Brothers Bronzebeard 2016-04-15 19:05:45 +02:00
Killyana
385b9d5b89 DB: Fix Typo 2016-04-15 16:43:19 +02:00
Shauren
bf8637cf9d Core/Toys: Warning fix 2016-04-15 00:07:10 +02:00
Naios
8f78b1ed87 Core/Scripting: Fix a typo in b970a684
(cherry picked from commit ea627589d6)
2016-04-14 22:17:54 +02:00
Naios
19bf0513bc Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
* Thanks Shauren for the IsDebuggerPresent() hint.

(cherry picked from commit b970a68473)
2016-04-14 21:30:52 +02:00
Naios
2038c31100 Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces,
  since it seems like a CMake specific issue.
* Closes #16947

(cherry picked from commit 42eeb28a8b)
2016-04-14 21:30:43 +02:00
Naios
48776d9ce9 Core/Worldserver: Correct the default comment of HotSwap.EnableReCompiler
* Thanks jackpoz for noticing

(cherry picked from commit 9e43e50fa7)
2016-04-14 21:30:36 +02:00
Naios
ea4ac00ac7 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.

(cherry picked from commit ff8a54ab92)
2016-04-14 21:30:27 +02:00
Killyana
6217cb4bf3 DB/Misc: The Prison full respawn 2016-04-14 18:57:06 +02:00
Shauren
6536a5ecf7 Core/DataStores: Renamed unknown dbc field 2016-04-14 17:13:51 +02:00
Killyana
981c22c6d8 DB/Creature: Fix some npc triggers auras 2016-04-14 13:54:56 +02:00
Razi Alexis
462842a303 Fixed typo in worldserver.conf.dist (#16958) 2016-04-13 20:44:03 +01:00
Lopfest
5478647185 Core/Spells: Implemented spell effects SPELL_EFFECT_UPDATE_PLAYER_PHASE and SPELL_EFFECT_UPDATE_ZONE_AURAS_AND_PHASES (#16957) 2016-04-13 20:24:51 +02:00
Vincent-Michael
1c7515524d Core/Pets: Fixed issues reported by static analysis 2016-04-13 19:29:36 +02:00
Shauren
d16314e600 Typo fix 2016-04-13 18:32:27 +02:00
Shauren
51e2d7f997 Core/Toys: Check whether player has the toy he is attempting to use and if that toy has the spell that player is trying to cast 2016-04-13 17:35:03 +02:00
Naios
f4a19fe795 Core/Scripting: Fix detection of source changes when using inotify.
* This fixes the source change detection in linux.
* Also simplifies the detection of observed modules
* Fixes the script rebuilding on linux
* Escape windows paths to (maybe) fix paths with spaces (#16947)

(cherry picked from commit 10bc41c91e)
2016-04-13 14:00:07 +02:00
Naios
b75696289a GitHub: Add the linking model to the issue template
* Until most bugs of the dynamic build are fixed

(cherry picked from commit b91bed017b)
2016-04-12 23:12:09 +02:00
Naios
86344e1843 Core/Build: Workarround for different path handling in CMake < 3.2
* Closes #16951

(cherry picked from commit 81cee23775)
2016-04-12 23:12:01 +02:00
Naios
a3936c143d Core/Scripting: Fix an assertion which was triggered at lazy unloading
* Also fixes 2 warnings

(cherry picked from commit e82a934387)
2016-04-12 16:54:11 +02:00
Naios
89a3fc2167 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

(cherry picked from commit 410cf0dd05)
2016-04-12 15:43:27 +02:00
Shauren
fa74fa1f4d Config: Extended description of LoginREST.*Address values 2016-04-12 00:13:30 +02:00
Naios
dac0773759 Core/Maps: Fix non PCH build
(cherry picked from commit 131ef5f2d6)
2016-04-11 23:18:51 +02:00
Naios
926dfd1b57 Core/Scripting: Fix another warning when building statically
(cherry picked from commit 498c1e22ca)
2016-04-11 22:37:28 +02:00
Killyana
c625ebe198 DB/Misc: Grim Batol Updates 2016-04-11 22:23:37 +02:00
Shauren
03d50a8d46 Warning fix 2016-04-11 22:14:51 +02:00
Naios
b88074086b Core/Scripting: Fix a warning when building statically
(cherry picked from commit 1b909f9dac)
2016-04-11 21:59:37 +02:00
Naios
9cc97f226d 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
2016-04-11 21:14:00 +02:00
Naios
bc0f2b6e5a 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.
2016-04-11 21:13:59 +02:00
Naios
848b8a4136 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.
2016-04-11 21:13:58 +02:00
Naios
4710b1c8fe Core/Scripts: Move the ragefire chasm scriptloader into the correct file
* This commit targets 3.3.5 and just reduces the diff to 3.3.5 on 6.x.
2016-04-11 21:13:24 +02:00
Naios
a8ce2b68eb 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.
2016-04-11 21:13:05 +02:00
Naios
3497b4960b 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.
2016-04-11 20:07:24 +02:00
Naios
59e3cf82ac 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
2016-04-11 20:07:24 +02:00
Naios
26dcde94b3 Core/Game: Move MapScripts to game/Maps
* Since this class implements methods of the Map class
2016-04-11 20:07:24 +02:00
Shauren
c1c0253560 Build fix 2016-04-11 18:36:16 +02:00
Andrew Letson
45ea01fe5c Core/AHBot: Improve AHBot seller math (#16123)
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
2016-04-11 18:30:40 +02:00
Shauren
9db2b786b0 Add missing characters.updates, also build fix 2016-04-11 18:27:43 +02:00
Gigi1237
c19172cad9 Core/Blackmarket: Implemented black market 2016-04-11 18:22:09 +02:00
KarrokDC
116c807076 Tools/VMapExtractor: Fix an unitialized access to casc if locale isn't found
Fix Coverity issue CID 1341054
2016-04-11 16:10:24 +01:00
Killyana
45f86729f0 DB/Misc: Spawn Firelands portal and fix Captain Beld map
Closes #16340
2016-04-11 16:07:32 +02:00
DDuarte
92905cdaae Update revision_data.h.in.cmake and the updates in base SQLs 2016-04-11 03:28:07 +01:00
DDuarte
a1f59c9d8d TDB 6.04 - 2016/04/11 TDB6.04 2016-04-11 02:42:03 +01:00
DDuarte
580773dc1a DB/Creature: More exterminations
This time in the Halls of Anguish in Black Temple
ALso script Mutant War Hound
(cherry picked from commit f93d91aa1b)

# Conflicts:
#	sql/updates/world/2016_04_10_00_world.sql
2016-04-11 01:24:59 +01:00