Commit Graph

4011 Commits

Author SHA1 Message Date
Aokromes
862d068cde * DB/Graveyards: Added a comment field to describe the graveyards in graveyard_zone 2016-05-25 19:08:52 +02:00
Shauren
9612ac0e27 Core/Spells: Fixed Eclipse after recent proc cooldown changes
Closes #17166
2016-05-24 18:37:46 +02:00
mik1893
5b8e68ee63 Core/Spells: Proc handler script converions (#17122)
* Blazing Speed (Mage)
* Blessed Recovery (Priest)
* Druid Forms Trinket
* Idol Of Mutilation
* Nature's Guardian (Shaman)
* Nether Protection (Warlock)
* Piercing Shots and Bonus 4P T9 Hunter
* Lightning Shield (Shaman)
* Acclimation (DK)
* Move DK T10 4P Melee Bonus
* Move DK Improved Blood Presence triggered heal (DK)
* Rogue T10 2P Bonus
* Illumination (Paladin)
* Soul Preserver
* Death Choice trinket
* stack trinket scripts (ToC25 Caster Trinket, Lightning Capacitor, Thunder Capacitor)
* Battle Experience (ICC - Gunship)
* Blood Reserve (enchant proc)
* Darkmoon Card Greatness
* Charm of the Amani Witch Doctor
* Mana Drain
2016-05-20 19:27:15 +02:00
joschiwald
ab2466ac01 Makes travis happy 2016-05-16 21:17:16 +02:00
joschiwald
d812505fc2 Scripts/Freya: removed obsolete code 2016-05-16 18:45:44 +02:00
vincent-michael
a01fd52267 Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
2016-05-15 18:08:59 +02:00
r00ty-tc
de918a0f64 Core/Maps - Improvements to Cinematic function
- Moves to own class for reading, storage and player subclass
 - Proper destruction handling for player (ensure cinematic is ended)
 - Timeout for cinematic if it reaches past the end without completing
 - boost::filesystem::path used for path/filename transform
 - Correct for assert trigger under certain circumstances
 - Other changes previously suggested
2016-05-11 11:56:25 +02:00
treeston
7e48a02398 Merge branch '3.3.5-commandfixes' into 3.3.5 (PR #16335) 2016-05-11 02:14:19 +02:00
treeston
0e1eb460d6 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.
2016-05-10 15:09:18 +02:00
Kittnz
f5c142482f Merge pull request #16481 from sirikfoll/muru
Script/SWP Full rework of the M'uru encounter
2016-05-09 22:36:13 +02:00
Kittnz
42611e65d0 Merge pull request #16474 from Asterc/Isle
[3.3.5][6.x] Core/Battleground Script for Isle of Conquest Bosses
2016-05-09 22:25:36 +02:00
sirikfoll
20b3feb559 Implement Quest Riding the Red Rocket 2016-05-09 15:33:37 -03:00
asterc
c1ed002b4b Core/Battleground Script for Isle of Conquest Bosses
by @gerripeach
2016-05-09 09:51:16 -03:00
Vincent-Michael
993f6b393c Core: Fixed warning
(cherry picked from commit b29005925e)
2016-05-08 16:12:20 +02:00
Vincent-Michael
3a74b52ddc Core/Commands: Cleanup in 0940f3e077
(cherry picked from commit a3b4c40073)
2016-05-08 16:12:11 +02:00
Vincent-Michael
797a168f9a 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

(cherry picked from commit 0940f3e077)
2016-05-08 16:12:03 +02:00
Kito
033f4cddea Scripts/Icecrown Citadel: Sindragosa - Ice Tomb should always deal damage to all other ice tombs too
Closes #7808
Merges #16863
2016-05-04 17:18:57 +02:00
Trond B Krokli
d82534a7bb Core/Scripts/DB: remove hardcoded text from npc_beaten_corpse (#16907)
- remove hardcoded text from script npc_beaten_corpse
- remove OnGossipHello() hook, gossip text moved to DB
- use sGossipSelect() hook instead of OnGossipSelect()
- add npc_text 3557 and 3558 as text_id to gossip_menu
- add gossip_menu_option 2871 to NPC 10668 Beaten Corpse
- add condition for gossip_menu_option 2871 in Quest ID 4921

Tested on 4 different characters/classes, male & female.
Thanks to joschiwald for the sGossipSelect() script change.
2016-05-02 22:22:17 +02:00
Duarte Duarte
7c82f83c0d Scripts/SWP: Remove unused #defines
(cherry picked from commit 71a7f96e22)
2016-05-02 03:12:59 +01:00
Incorrect
1aa30d3cce Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:31:55 +02:00
KarrokDC
775b03bf6f 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
2016-04-30 01:06:05 +02:00
Shauren
bee6525d1b Core/Misc: Fixed -Wmisleading-indentation warnings
(cherry picked from commit 3ac33163db)

# Conflicts:
#	src/server/game/Server/Protocol/PacketLog.cpp
2016-04-28 16:22:51 +01:00
joschiwald
9e371b766c Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator 2016-04-24 01:15:56 +02:00
jackpoz
3e73ba9da5 Core/Misc: Fix issues reported by static analysis 2016-04-23 18:20:18 +02:00
DevQuad
5ac000f1e9 Core/Scripts: Process the reset of Mandokir (ZulGurub)
* Closes #16640
2016-04-23 17:20:55 +02:00
joschiwald
029527365f Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866
2016-04-23 13:53:07 +02:00
DDuarte
91671a26e8 Scripts: Add missing override 2016-04-19 01:31:19 +01:00
Gacko
eda6254d47 Scripts: Add missing overrides.
(cherry picked from commit aac868a6d9)
2016-04-19 00:37:34 +02:00
tkrokli
acdfc36a4e 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
2016-04-16 18:58:47 +01:00
Gustavo
d1a053e4f5 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968) 2016-04-16 15:42:07 +02:00
treeston
b115458001 Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865) 2016-04-16 11:16:28 +02:00
chaodhib
383cc4d94b Scripts/Naxxramas: Rework of Gluth
1) Gluth should be able to eat zombies close to him, one at the time, during the whole fight.
2) Gluth should be able to eat zombies at an accelerated rate after each Decimate.
3) The zombies should put the "Infected Wound" debuff on their auto-attack targets.
4) Zombies should have a normal threat table before decimate and should loose all kind of aggro behavior and walk toward Gluth after decimate.
5) Gluth shouldn't be affected by the decimate damage.
6) Newly poped zombies should have all players in their aggro list as soon as they spawn. So far, they were not moving and were only aggroed by proximity.
7) and several minor fixes (emotes, useless data in db).
2016-04-16 10:54:13 +02:00
treeston
37067ad390 Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884) 2016-04-16 01:47:45 +02:00
treeston
75f7b5ae4b Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975) 2016-04-16 01:44:42 +02:00
Chaouki Dhib
dc3327f9c5 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.
2016-04-16 01:36:32 +02:00
sirikfoll
918b2fafae Core/Spells Fix Spell Inferno, used by boss Baron Geddon
This is based on the cmangos fix 7556165b3e

Also correct the spellId of Armageddon spell
2016-04-15 13:19:19 -03:00
Naios
ff8a54ab92 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.
2016-04-14 20:30:55 +02:00
r00ty-tc
87b4533046 [Core/Maps] Activate creatures and objects during opening cinematics and other flyby
cameras (sunwell etc).

Requires re-running map extractor to extract camera m2 files from data
files. These are very small.

Closes #4755
Closes #16772
2016-04-14 01:34:17 +02:00
Shauren
e2687b31ed Core/Entities: Ported byte field offset naming from 6.x 2016-04-12 20:06:04 +02:00
Naios
eaf102b3c5 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

(cherry picked from commit 9cc97f226d)
2016-04-11 21:42:28 +02:00
Naios
8660f90bdf 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.

(cherry picked from commit 848b8a4136)
2016-04-11 21:41:58 +02:00
Naios
c5c922da9f Core/Scripts: Move the ragefire chasm scriptloader into the correct file
(cherry picked from commit 4710b1c8fe)
2016-04-11 21:41:33 +02:00
Naios
775e0764e8 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

(cherry picked from commit 59e3cf82ac)
2016-04-11 21:40:38 +02:00
Shauren
702cfefddb Buildsystem: Initial changes to support building with vs clang toolset
(cherry picked from commit 4a3a178d7f)
2016-04-09 12:38:20 +02:00
Shauren
b197163a1d Core/Commands: Prevent creating accounts containing '@' character with .account create command
(cherry picked from commit 4a679ba1be)
2016-04-09 12:36:27 +02:00
Shauren
3f7e6af49e Properly rename the stand state method... 2016-04-08 22:32:15 +02:00
Shauren
6dfc4771a1 Core/Misc: Renamed getStandState to minimize differences between branches 2016-04-08 22:21:13 +02:00
Shauren
e52878b6b5 Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-04-02 17:05:46 +02:00
Kittnz
8d992a888c Pet/Misc: Implement Baby Blizzard Bear 2016-03-28 12:30:36 +02:00
Shauren
b2bd181a5f Merge pull request #16848 from P-Kito/debuff_remove
[3.3.5/6.x] Scripts/Spells: Add generic spell to handle ClearDebuffs spell
2016-03-27 19:45:23 +02:00