Commit Graph

19310 Commits

Author SHA1 Message Date
DDuarte
079ebe4d5d Fix build after recent cherry picks 2015-06-26 04:01:26 +01:00
DDuarte
02df39f791 Fix build and SQL import after recent cherry picks 2015-06-26 02:42:24 +01:00
Warpten
aade16a2f4 Scripts/RubySanctum: Updates to Halion.
* Fixed Living Embers not spawning.
* Meteor Strike is now randomized.

(cherry picked from 1447875cac)

Scripts/RubySanctum: Fix a mathematical mistake.
SQL: Do not use MAX(Id), hardcode it.

(cherry picked from 7a5bc9e1fe)

Scripts/RubySanctum: Correctly spawn Living Embers.

(cherry picked from 7c4b8b0e82)

Scripts/RubySanctum: Remove duplicate code.

(cherry picked from 1d29328769)

Core/Misc: Warning fixes

(cherry picked from dc53dad8a4)
2015-06-26 01:52:17 +01:00
Shauren
2538a84d0c Core/Units: Changed SPELL_AURA_MOD_MINIMUM_SPEED to always be applied, not only if under a slow aura (SPELL_AURA_MOD_MINIMUM_SPEED can set the minimum speed higher than base speed)
(cherry picked from commit d2142ac380)
2015-06-26 01:26:22 +01:00
DDuarte
24b5dfcb4d Core/BattlegroundIC: Removed 1 hack:
* Parachute spell is now blizzlike
* Also restored "The battle will begin in 2 minutes."

(cherry picked from commit 8a4afad63a)

Conflicts:
	sql/updates/world/2015_05_01_00_world.sql
	src/server/game/Miscellaneous/Language.h

Rename 2015_05_01_00_world.sql to 2015_06_13_00_world.sql

(cherry picked from commit 74eeefa5be)
2015-06-26 01:24:21 +01:00
Shauren
5fe819462f Core/GameObject: Removed unneeded argument from GameObjectModel::Relocate and renamed it to UpdatePosition
(cherry picked from commit 6e9ab38fcc)
2015-06-26 00:53:12 +01:00
DDuarte
80695181b9 Core/LootMgr: Remove dead validation code from LoadLootTable
CID 1288389 Operands don't affect result

(cherry picked from commit 47a119e4fa)
2015-06-26 00:51:16 +01:00
DDuarte
ae64c11b28 Core: Fix multiple Coverity issues
(cherry picked from commit b8c681c776)

Conflicts:
	src/server/game/Garrison/Garrison.cpp
	src/server/game/Server/Packets/CharacterPackets.h
	src/server/game/Server/Packets/MovementPackets.h
	src/server/game/Spells/SpellInfo.cpp
2015-06-26 00:49:38 +01:00
ShinDarth
f8230a59a9 DB/Characters: Backport schema changes from 6.x branch (renames)
Closes #14951
2015-06-26 00:28:32 +01:00
mik1893
49809bd404 Scripts/VioletHold: Fix codestyle and unwanted crash in Violet/Hold
closes #14952 and #14953
2015-06-26 00:30:04 +02:00
MitchesD
e34f74dace Scripts/VioletHold: fixed non-pch build and codestyle 2015-06-25 15:26:02 +02:00
MitchesD
83954fb999 Merge pull request #14860 from mik1893/violethold
Core/Scripts: Violet Hold, full rework
2015-06-25 14:45:13 +02:00
jackpoz
cb4d1574e0 Core/Instances: Make achievements and loot rolls instance-wide
Make achievements, loot rolls, master loot at money loot instance-wide, removing the previous limit for 74.f yards
2015-06-24 22:40:57 +02:00
MitchesD
0cba5558cf Scripts/Spells: fix codestyle
thanks @whoami
2015-06-24 11:05:36 +02:00
mik1893
0bb7f89e82 Core/Scripts: Rework Violet Hold bosses adding missing spells/mechanics:
- Cyanigosa, Arcane Vacuum
- Ichoron, globules mechanic
- Moragg, optic link visuals
- Lavanthor, minor changes
- Zuramat, correctly implement void sentries
- Erekem, implement Windfury and correct management of Erekem Guards
- Script for the pre-event
Thx @ManuFe
2015-06-23 16:32:50 +02:00
Rushor
8f3a9b7fe3 Game/GameObject: Fix Spellcast for 'Silithyst'
by @Whoami
updates #14637
2015-06-23 15:28:51 +02:00
MitchesD
8197467c87 Merge pull request #14776 from sirikfoll/SpellMidsummer
Core/Spells Add support for quest Torch Tossing/More Torch Tossing
2015-06-23 11:34:35 +02:00
ShinDarth
6b43e72f01 DB/World: Backport schema changes from 6.x branch (renames)
Closes #14899
2015-06-23 00:16:15 +01:00
Naios
3d95aba2b3 Core/Utilities: TaskScheduler: add a task validator and on update success callback.
* makes it possible to block tasks if there is an active spellcast.
* requested by @joschiwald
2015-06-21 18:19:17 +02:00
Naios
bd661b58fd Core/Updater: Fix a wrong formatter introduced in 0d095109ee
* thanks @Aokromes for noticing
2015-06-21 18:13:01 +02:00
MitchesD
a35ec4c35a Core/Creature: fixed loading of creature auras on respawn, deathState needs to be set to ALIVE before trying to AddAuras (which fails with different deathState than ALIVE)
Closes https://github.com/TrinityCore/TrinityCore/issues/4150

(cherry picked from commit 530074f453)
2015-06-21 13:44:01 +02:00
jackpoz
c6c09423fd Scripts/Commands: Fix memory leak in ".reload command"
Free commandTableCache object before assigning it the result of malloc()
2015-06-20 22:42:30 +02:00
Naios
a5b3862bc1 Core/Updater: Add some info about the count of applied updates.
* some minor improvements
* add a log message when database updates are disabled.
2015-06-20 14:33:31 +02:00
Shauren
d04c9d55ac Scripts/Zul'farrak: Fixed summoning Gahz'rilla
Fixes #5782 regression

(cherry picked from commit cec05ff07d)
2015-06-19 17:29:09 +02:00
robinsch
9147c12114 [3.3.5] Core/Spells: Improved Devouring Plague spell direct damage
by @robinsch; closes #14869 (Improved Devouring Plague error in direct damage)

Pct damage bonus is not applied because in SpellDamageBonusDone,
it just returns 1.0f for DamageType DoT. Because Improved Devouring Plague direct damage
is based on DoT damage from plague, it should also be modified when DoT damage is.
2015-06-18 20:22:03 +02:00
jackpoz
c544e88437 Core/Players: Fix converting quests on faction change
Fix quests not being converted on faction change due to table world.player_factionchange_quests not loaded on startup
2015-06-17 21:36:04 +02:00
jackpoz
91c399cad2 Core/Spells: Fix Charge pathing
Fix charge allowing to run to unreachable places
Close #13847
2015-06-17 19:39:37 +02:00
jackpoz
0b9cd22a6b Core/ChatCommands: Allow to use "tele" command inside of a battleground
Allow GameMasters with ".gm on" tag to use ".tele" command inside of a battleground to tele around.
2015-06-15 21:35:05 +02:00
jackpoz
6d7339e7a3 Merge pull request #14728 from kelno/fixes
Core/SAI: Fixed a math error overflow in SmartScript::DecPhase(int32)
2015-06-14 18:34:11 +02:00
jackpoz
5b666ee393 Merge pull request #14611 from ariel-/spells
Core/Spell: Spell logging corrections
2015-06-14 18:09:22 +02:00
jackpoz
81cec13a58 Merge pull request #14250 from xjose93/SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED
Core/Unit: Fix snare/daze immunities versus SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED

Fix SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED modifying speeds of bosses that are immune to changes of speeds.
2015-06-14 16:34:49 +02:00
joschiwald
34a721ba84 Scripts/VioletHold: picked some things from pull request #11399 (thx MitchedD for initial work) 2015-06-14 16:03:17 +02:00
xjose93
6f2b086048 Core/Unit: Fix snare/daze immunities versus SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED. 2015-06-14 13:45:29 +02:00
jackpoz
718c238524 Dep/libmpq: Update libmpq to d59b4cf1d1
Update libmpq to d59b4cf1d1 and add some custom change to fix additional build warnings, diff is included.

Extracting dbcs, maps, vmaps and mmaps is not required.
2015-06-13 19:16:10 +02:00
jackpoz
d123c81162 Core/Texts: Fix race conditions in CreatureTextMgr repeat group
Fix race conditions in CreatureTextMgr repeat group happening with MapThreads > 1 reported by helgrind by moving Creature-GUID-base data from CreatureTextMgr to Creature.
Issues added in bbf86641a1
2015-06-13 12:27:19 +02:00
MitchesD
f166dc3cab Merge pull request #14838 from Rushor/stop
Scripts/SmartScripts: Clear Movement on Death
2015-06-11 10:57:10 +02:00
Nyeriah
d86ff08145 Scripts/TheEye: Clean up instance script 2015-06-10 01:07:24 -03:00
Shauren
9ecef15057 Core/Auth: Fixed authserver not shutting down correctly when started as windows service 2015-06-10 00:22:34 +02:00
Shauren
ee4ace8c34 Core/Auth: Implemented starting authserver as a windows service 2015-06-06 13:04:31 +02:00
pete318
f9cba93985 Core/Spells: Support for targetting spells onto in flight units
* This adds support to spell_custom_attr to allow a spell to be cast
  upon a unit on a taxi/in flight.
* This will allow the Issue #11880 with Horde quest Test At Sea (11170) to be corrected.
* closes #14235

Signed-off-by: Naios <naios-dev@live.de>
2015-06-04 13:35:05 +02:00
jackpoz
239f0b4ad0 Core/Player: Don't allow to join bg/lfg when frozen by a GM 2015-06-03 22:08:01 +02:00
jackpoz
a7847728a5 Scripts/Auchindoun: Fix distance check in boss Shirrak
Issue added in 88137c07b9
2015-06-03 20:40:08 +02:00
Naios
151a0f5c5e Core/Shared: Hide the internal shared_ptr of the TaskContext
* use . operator instead of -> to access the TaskContext now.
* Add TaskContext::IsExpired to check whether the owner has expired.
2015-06-03 18:24:21 +02:00
robinsch
cb280ec5dd Scripts/SmartScripts: Clear Movement on Death 2015-06-03 14:54:01 +02:00
pjasicek
6a637f6b1c Core/Matchmaking: Fix Discard Time overflow on server start
Description:

When server starts and RatingDiscardTimer config is set to some value, discardTime being unsigned int overflows for the time of RatingDiscardTimer value and causing all rated arena matches ignore matchmaking rating for that time.
2015-06-03 02:44:36 +02:00
Carbenium
fa6a063329 Core/Creature Fix compiler warning 2015-06-02 20:13:12 +02:00
jackpoz
83cf1e6aec Core/Player: Fix resurrection exploit
Fix an exploit that allowed to resurrect even if corpse was not in range (teleport hack was required too)
2015-06-02 19:16:42 +02:00
Carbenium
52ea75c735 Merge pull request #14811 from tkrokli/Knockback_flying_mount
Core/Movement: Knockback Effect on Flying Mount
2015-06-02 15:14:03 +02:00
Carbenium
125d839a18 Merge pull request #14780 from mik1893/immune_to_npc_flag
Core/Creature: UNIT_FLAG_IMMUNE_TO_NPC check only vs non-player targets
2015-06-02 14:40:11 +02:00
robinsch
81111116fa Core/Movement: Knockback Effect on Flying Mount
by @robinsch; closes #6099

Keep the mounted player flying after the knockback effect cast on mounted player.

Before these changes, the flying mount behaves like a ground mount after the knockback.
From large enough heights, the fall causes damage or death to the falling (mounted) character.
2015-06-02 04:26:40 +02:00