Commit Graph
4732 Commits
Author SHA1 Message Date
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 775b03bf6f345ac2bdc4936bb0ead5b0ad4fb193)
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 c1905771f064e374a09720f470116f04b03e5a42)
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 3e73ba9da5e9d09017cb48389adc930d9c9c3a55)
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 9e371b766c75faf899cbbe24515b8b5c01716a50)
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 029527365f1763c45e8668c16ecd25ba7553bb22)

# 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 acdfc36a4e93dc422d5bb9015d5b2b673fbdb242)
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 d1a053e4f5a29f96b3300397e16d3e63a1cf9bae)

Rename sql

(cherry picked from commit 41e776fe64e2072d165b990cc9e9d2bfdd698855)
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 b11545800190795de5573fb917e81f61b774427b)
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 75f7b5ae4baa4eeb8f6e28e2270536274bfecd4c)
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 37067ad3905059753f38254e72dae62cd2db2ce6)
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 dc3327f9c5f80c36000356829159c060d916f62b)

# 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 ff8a54ab928c00968266d0b1a574f81536152758)
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 f37682b7edd0d711e1120cbdd9d627fb5b9dbde1)
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 a23ccc1b83ded39501d690e288be49be8f32b539)
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 e8a79737a530fe9b605fa6d62a84c1531d56965b)
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 d23ef5d6d073ecc9a0a401875f216449e031998e)
2016-04-10 14:01:37 +02:00
Kittnz a4c223a300 Pet/Misc: Implement Baby Blizzard Bear
(cherry picked from commit 8d992a888c6618737e5324b4c424f0a5e324b531)
2016-04-09 17:42:50 +02:00
Shauren 07a0a57ffb Merge pull request #16848 from P-Kito/debuff_remove
[3.3.5/6.x] Scripts/Spells: Add generic spell to handle ClearDebuffs spell
(cherry picked from commit b2bd181a5f5e183c0f22695f0ea094c8045b3f08)
2016-04-09 17:40:20 +02:00
treeston d25ba64b4c Scripts/Karazhan: Hackfix the Opera event script to make Wizard of Oz actually completable.
Doing it in script instead of removing the flags from DB because I'm pretty sure that the DB flags are correct and there's some RP event missing before she becomes attackable.

(cherry picked from commit dc39de01416cfd9a7c0416ed38964b753098ca8e)
2016-04-09 17:35:45 +02:00
Aokromes b359eda9b9 Core/Misc: Remove no longer used code
(cherry picked from commit 00aeec820ac2223ff0697b7334413c70cf1f8ff0)
2016-04-09 17:29:10 +02:00
Vincent-Michael 179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223bff8a467d6f1ce18f6f08aa05e17019)
2016-04-09 17:14:08 +02:00
joschiwald 94c33ea43c Merge pull request #16785 from Keader/AlgalonStars
[3.3.5/Core/Scripts] Fix Living Constellation not activating during Algalon encounter
(cherry picked from commit 3e7b7e415e3abdad9bde459c83cb25548130b1f6)
2016-04-09 17:09:27 +02:00
r00ty-tc 0bf70423f8 Core/Maps: Implement optional pre-loading of maps.
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead

(cherry picked from commit 971f4ccab87ba95e584d5761f686cc2a86f5af9d)
2016-04-09 17:08:41 +02:00
ForesterDev 1ef3b52433 Scripts/Commands: Modify ".debug anim" command to target any selected unit
(cherry picked from commit f719338a9c6e203e6e6985fdf76235deb8d6f941)
2016-04-09 17:06:41 +02:00
Shauren 5c0517c6ef Merge branch 'Golrag-sindragosa_ice_tomb_target' into 3.3.5
(cherry picked from commit 895878010e7dc3fb342bcae5e216bc1543828213)
2016-04-09 17:05:24 +02:00
Dr-J 7cf6eca425 Remove Lady Jaina Proudmores CPP script from zone_dustwallow_marsh.cpp
(cherry picked from commit c9f9e93c227103b405b382bd2aadb6dd83fa3c72)
2016-04-09 17:04:02 +02:00
jackpoz 76bbf5fc0c Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 510bb30b2ca44f082354504b7092eee67a994ecf)
2016-04-09 00:26:41 +02:00
Shauren 911e81ed9e Warning fix
(cherry picked from commit 7fe5a77f5eb01e55db9b242e444dcb69c0c23189)
2016-04-09 00:25:40 +02:00
Shauren 593bbb0c99 Core/Commands: Fixed a crash in .wp mod by @Magnifikator
Closes #16732

(cherry picked from commit 3d0b065135d36c6496c911c7c7fa355bb6f74a58)
2016-04-09 00:23:38 +02:00
Shauren d92cad6973 Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
Updates #16732

(cherry picked from commit e73d5a7bf4d7c0b5eded5d7f7a822cf009200ad7)
2016-04-09 00:23:35 +02:00
sirikfoll c66d3714f1 Core/Scripts: Fixed Yogg-Saron Portals
Closes #16390
Closes #16708

(cherry picked from commit c4e4ee3ae10b1276b214c8b1da1281aba23ae57a)
2016-04-08 23:57:12 +02:00
Nyeriah bedd2f4236 Scripts/Karazhan: Use the correct method to access Opera's side entrance door
(cherry picked from commit ecd9dec384750cc9c3e7bb31f7d2ea42642fb6ca)
2016-04-08 22:47:50 +02:00
Nyeriah 39c6f1ce3b Scripts/Karazhan: Clean up instance script
Closes: #16533
(cherry picked from commit f9eff81388b12f6f8275f892c67bf197188c3450)
2016-04-08 22:22:32 +02:00
Aokromes 8adf24605d Merge pull request #16692 from tkrokli/headless_horseman_emote
Core/Scripts/boss_headless_horseman: remove hardcoded text
(cherry picked from commit 5accd69863133432b2166ec4e906a55730d94741)
2016-04-08 22:02:11 +02:00
Aokromes 9bf507e592 Merge pull request #16699 from tkrokli/triple_zone_cleanup
Core/Scripts: triple zone cleanup
(cherry picked from commit 2387dbdda92fc01b8cbbcfe03046dadec6769a66)
2016-04-08 22:01:40 +02:00