Commit Graph
28665 Commits
Author SHA1 Message Date
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 ff8a54ab928c00968266d0b1a574f81536152758)
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 10bc41c91e96b51aac4d811d20b535fff9562edd)
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 b91bed017bb59e1783330f61a48a8d2b3af857cf)
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 81cee237758e5e83ae58efbb5bf7e6ca819dfe0e)
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 e82a934387b03a0a70e4d402eb5729c24728a698)
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 410cf0dd05e2765cf7806a9165f976a2bcc199d2)
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 131ef5f2d682763e301102047f2f0118c88ac42d)
2016-04-11 23:18:51 +02:00
Naios 926dfd1b57 Core/Scripting: Fix another warning when building statically
(cherry picked from commit 498c1e22cae6f98053432e34458a8d8c8febfb6c)
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 1b909f9dacf21c7d3a6f9eb48afd168f52801bd4)
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 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 f93d91aa1b7e49edb1b7fd1380abaf83083e6acc)

# Conflicts:
#	sql/updates/world/2016_04_10_00_world.sql
2016-04-11 01:24:59 +01:00
Shauren a82f6aa4cc Core/Misc: Build fix for dynamic linking 2016-04-10 17:58:05 +02:00
pete318 7d5d79aa01 Implement AuctionHouse features: GetAll scan and search throttling
Implements two standard features of the Auction House.
* GetAll scan, retrieves all auctions and sends them in a single packet.
  There's a limitation on how often a player can do this (Max 55000 items)
* Search throttling. For normal searches, the server can send a time
  in milliseconds to the client, the client will wait that long between
  searches. Delay set in config

Closes #16469

(cherry picked from commit 3aaeb574050668e5a240078f6e40337c3975d110)
2016-04-10 17:48:29 +02:00
Gacko b23a6aeaff Add missing configuration key LoginDatabase.SynchThreads. 2016-04-10 16:45:22 +02:00
Gacko f5c46c78d3 Add missing configuration key BanExpiryCheckInterval. 2016-04-10 16:40:59 +02:00
MitchesD e7ea44cdb2 DB/Creature: fixed few spawns masks from recent commits 2016-04-10 16:37:10 +02:00
Shauren f41b9484b7 SQL import fix 2016-04-10 15:28:03 +02:00
treeston 6dfe9d34f3 Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524)
(cherry picked from commit f37682b7edd0d711e1120cbdd9d627fb5b9dbde1)
2016-04-10 15:27:49 +02:00
Dr-J 280f1258f8 DB/Misc: More Hellfire fixes
1) Rescript Natural Remedies with all visuals and event rather than only spawning Goliathon
2) Raging Colossus will now summon Raging Shardling
3) Added missing spells to event with Earthbinder Galandria when the Earthbinder is turned in, also ensuring that the whisper takes places when quest taken from Tola'thion
(cherry picked from commit 7f00d185f4dd9fbb9da867c840b39f1174586ee3)
2016-04-10 14:41:26 +02:00
Dr-J 6c91baf86f DB/Quest: Taken in the Night
CPP > SAI conversion of script for http://www.wowhead.com/quest=10873/taken-in-the-night

Also closes #16098
(cherry picked from commit 546c8a5b8ead9d198f13e9a22cb7e573317b350a)
2016-04-10 14:41:01 +02:00
treeston dc07c24c0c Scripts/Naxxramas: Fix an edge case crash in Gothik. Closes #16575.
(cherry picked from commit a23ccc1b83ded39501d690e288be49be8f32b539)
2016-04-10 14:39:32 +02:00
Killyana d0dce8c8dd DB/Creature: Fix some DB errors 2016-04-10 14:34:20 +02:00
treeston c344feed96 Merge branch '3.3.5-horsemen' into 3.3.5-base (PR #16194)
(cherry picked from commit e8a79737a530fe9b605fa6d62a84c1531d56965b)
2016-04-10 14:32:51 +02:00
Shauren 500d5db81e Renamed PublicKeyFile -> CertificatesFile 2016-04-10 14:05:30 +02:00