Commit Graph

14165 Commits

Author SHA1 Message Date
Lopfest
ff3e176eb1 Core/Spells: enabled SPELL_EFFECT_160 (#16987) 2016-04-16 15:24:57 +02:00
Vincent-Michael
3cd19d3b30 Core: Removed Whitespaces 2016-04-16 12:19:23 +02:00
Henry Gordon
a4b0088671 Core/Instances: If a boss kills itself, still save the group to the instance (#16978) 2016-04-16 12:02:47 +02:00
Chaouki Dhib
3cbbcdb51a Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
(cherry picked from commit dc3327f9c5)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
#	src/server/scripts/Kalimdor/zone_azshara.cpp
#	src/server/scripts/Kalimdor/zone_durotar.cpp
#	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00
treeston
213c6b73c8 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.
(cherry picked from commit bf4d8ad310)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2016-04-16 01:54:40 +01:00
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
Shauren
c8b3ee3dd6 Core/Bnet: Fixed LoginREST.* address selection 2016-04-16 00:20:20 +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
Shauren
6536a5ecf7 Core/DataStores: Renamed unknown dbc field 2016-04-14 17:13:51 +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
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
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
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
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 3aaeb57405)
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
treeston
6dfe9d34f3 Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524)
(cherry picked from commit f37682b7ed)
2016-04-10 15:27:49 +02:00
treeston
dc07c24c0c Scripts/Naxxramas: Fix an edge case crash in Gothik. Closes #16575.
(cherry picked from commit a23ccc1b83)
2016-04-10 14:39:32 +02:00
treeston
c344feed96 Merge branch '3.3.5-horsemen' into 3.3.5-base (PR #16194)
(cherry picked from commit e8a79737a5)
2016-04-10 14:32:51 +02:00
Shauren
500d5db81e Renamed PublicKeyFile -> CertificatesFile 2016-04-10 14:05:30 +02:00
treeston
43c3b1b2e0 Merge branch '3.3.5-gothik' into 3.3.5-base (PR #16142)
(cherry picked from commit d23ef5d6d0)
2016-04-10 14:01:37 +02:00
Gacko
7c3df3f5d3 Make private key and public key configurable.
Defaults to the files installed to the bin directory.
2016-04-10 13:31:39 +02:00