Commit Graph

4751 Commits

Author SHA1 Message Date
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Shauren
9a6c08efa2 Core/Spells: Fixed Fulmination and Shaman T18 bonuses related to it 2016-05-20 21:11:43 +02:00
joschiwald
c194daf0b5 Scripts/Freya: removed obsolete code
(cherry picked from commit d812505fc2)

Makes travis happy
(cherry picked from commit ab2466ac01)
2016-05-17 21:22:06 +02:00
Shauren
316afd97e0 And nopch fix too 2016-05-16 16:35:15 +02:00
Shauren
0be1e269f6 Build fix for VS2013 - pls stop using it, upgrade to 2015. 2016-05-16 16:32:39 +02:00
Vincent-Michael
0139d83e28 Core/Spells: Fixed non pch build 2016-05-14 21:27:22 +02:00
Gacko
5cb2ca5c81 Spell/Shaman: Fix non PCH linking.
Thanks @Shauren.
2016-05-14 16:09:51 +02:00
Shauren
791e0f0513 Core/Spells: Fixed Lightning Shield dropping charges when attacked 2016-05-12 16:47:45 +02:00
Vincent-Michael
cccdbf4755 Core/Spells: Fixed warning 2016-05-10 19:57:20 +02:00
Shauren
9fa5906c40 Core/Spells: Fixed Elemental Blast random buff (shaman) 2016-05-10 17:06:39 +02:00
Vincent-Michael
b29005925e Core: Fixed warning 2016-05-08 00:43:17 +02:00
Vincent-Michael
a3b4c40073 Core/Commands: Cleanup in 0940f3e077 2016-05-08 00:26:30 +02:00
Vincent-Michael
0940f3e077 Core/Commands: Allowed .server idlerestart / idleshutdown / restart / shutdown to take another parameter structure:
e.g.:
* .server idlerestart 12d3h13m13s
* .server idleshutdown 46m13s
* .server restart 45h56m
* .server shutdown 323m42s
2016-05-08 00:02:15 +02:00
Shauren
c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Shauren
a49b348d62 Core/Spells: Removed code for handling SPELL_AURA_OVERRIDE_CLASS_SCRIPTS whose miscvalue cases were removed from the game 2016-05-04 18:25:30 +02:00
funjoker
7eab3d3716 Core/Units: Updated armor damage reduction calculation
Merge #17069
2016-05-03 14:09:57 +02:00
Duarte Duarte
71a7f96e22 Scripts/SWP: Remove unused #defines 2016-05-02 03:09:08 +01:00
Incorrect
c28e6a8c16 Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:53:39 +02:00
Naios
b4c12d2699 Core/Scripts: Fix 2 warnings
* Ref d9f7692c2e
* Ref 0fbcddcb4f
2016-05-01 02:19:55 +02:00
KarrokDC
da186daf02 Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858

(cherry picked from commit 775b03bf6f)
2016-05-01 02:00:44 +02:00
Nyeriah
afa8cfa092 Scripts/Command: Solve several format exception crashes introduced in a recent commit
Ref #16648
Closes #16751

(cherry picked from commit c1905771f0)
2016-05-01 02:00:43 +02:00
Shauren
d9f7692c2e Core/Spells: Updated existing shaman spell scripts 2016-05-01 00:09:01 +02:00
Shauren
d92f529d93 Core/Spells: Fixed Stealth and Vanish
Closes #15779
2016-04-29 21:21:58 +02:00
Shauren
cc262ec12e Core/Spells: Updated Eviscerate and Envenom formulas
Closes #16886
Closes #16887
2016-04-29 20:05:41 +02:00
edea
2b411aa148 Core/Spells: Fix PvP trinkets animations
Closes #16890
2016-04-28 22:34:57 +02:00
jackpoz
b8f10a514f Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 3e73ba9da5)
2016-04-28 17:08:42 +01:00
Shauren
77d3dde36f nopch build fix 2016-04-28 18:01:04 +02:00
Shauren
4953ee20a5 Core/Spells: Fixed Crackling Jade Lightning, initial pull request by @Infamous-devel
Closes #17050
2016-04-27 18:17:03 +02:00
joschiwald
803473fb64 Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator
(cherry picked from commit 9e371b766c)
2016-04-24 20:19:42 +02:00
Vincent-Michael
4fbe380639 Core/Items: Fixed build 2016-04-23 19:35:49 +02:00
joschiwald
9fc5ea81e0 Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866

(cherry picked from commit 029527365f)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/GroupHandler.cpp
2016-04-23 16:54:28 +02:00
Shauren
3ac33163db Core/Misc: Fixed -Wmisleading-indentation warnings 2016-04-23 13:22:03 +02:00
DDuarte
e7c203334b Scripts: Add missing override 2016-04-19 01:37:17 +01:00
Gacko
aac868a6d9 Scripts: Add missing overrides. 2016-04-18 23:52:39 +02:00
tkrokli
d82a2cf471 Core/Scripts: zone_shattrath_city cleanup
- restore missing text lines for Sal'salabim and Raliq the Drunk
- replace hardcoded text with DB gossip ID enum sections
- move gossip ID, quest ID, spell ID (and so on) into enum
- remove core script for Ishanah, High Priestess of the Aldor

Closes #16684

(cherry picked from commit acdfc36a4e)
2016-04-16 19:05:32 +01:00
DDuarte
4e0b0e76c9 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968)
(cherry picked from commit d1a053e4f5)

Rename sql

(cherry picked from commit 41e776fe64)
2016-04-16 18:22:35 +01:00
DDuarte
e8179e107b Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865)
(cherry picked from commit b115458001)
2016-04-16 18:21:22 +01:00
DDuarte
00da19ed9e Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975)
(cherry picked from commit 75f7b5ae4b)
2016-04-16 18:20:11 +01:00
DDuarte
98a8f539b4 Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884)
(cherry picked from commit 37067ad390)
2016-04-16 17:20:57 +01:00
Vincent-Michael
3cd19d3b30 Core: Removed Whitespaces 2016-04-16 12:19:23 +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
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
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
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
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
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
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