Commit Graph

17844 Commits

Author SHA1 Message Date
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
jackpoz
1a5051a9c3 Core/CrashHandler: Make crashhandler tread-safe
Handle only 1 exception in the whole process lifetime and create only 1 crash report.
2015-06-01 21:43:57 +02:00
robinsch
198ffba5ee Core/Auras: Fixed SPELLMOD_DOT not being applied
Closes #14817

Signed-off-by: Shauren <shauren.trinity@gmail.com>
2015-06-01 18:33:01 +02:00
DDuarte
08b8dd10d1 Core/GOs: Correct type of lowGuid when loading gameobject_addons
Coverity IDs: 1302436 1302437 1302438

Issue introduced in 95b5e35745
2015-06-01 02:09:45 +01:00
DDuarte
1e54097084 Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks
(cherry picked from commit b0c4268a6b)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
2015-06-01 00:44:11 +01:00
Shauren
b239cadf41 Core/Misc: Removed some old unused enums
(cherry picked from commit 2f0c293266)
2015-06-01 00:41:54 +01:00
MitchesD
db8fdd94ed Merge pull request #14782 from doctaweeks/fixes-for-6.x
Minor fixes for 6.x
(cherry picked from commit 0cf0209741)

Conflicts:
	src/server/bnetserver/Main.cpp
	src/server/game/Battlegrounds/Zones/BattlegroundBFG.h
	src/server/game/Battlegrounds/Zones/BattlegroundTP.h
	src/server/game/Chat/Channels/Channel.h
	src/server/game/Entities/Player/Player.h
	src/server/game/Quests/QuestDef.h
	src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
	src/server/shared/Cryptography/SHA256.h
2015-06-01 00:39:56 +01:00
Duarte Duarte
be2fb616c7 Update worldserver.conf.dist
Fix typo in ClientCacheVersion
(cherry picked from commit fc85f0e30f)
2015-06-01 00:34:38 +01:00
Naios
da77a90aa9 Shared/Util: Introduce a task scheduler which schedules task with c++11 techniques.
* Use std::function as callback (methods, lamdas & std::bind).
* Uses std::chrono::duration as duration type (Milliseconds, Seconds...)
  - With c++11 user defined literals we could just write "11s" for example (MSVS 2015, gcc & clang).
* Provides a lot of overloads for easier usage:
  - Static durations or random durations between min and max.
  - Named (with group ids - group id 0 is possible) or anonymous tasks.
  - Asynchronous tasks.
* Is adapted to the current needs of scripting:
  - Repeat tasks through the TaskContext
  - Schedule new tasks from the context.
  - Provides access to the times repeat counter of a task,
    this will help to schedule multi step events (dialogs for example).

See https://gist.github.com/Naios/6d143538abdc3d32fd2b for usage examples.
2015-05-31 19:32:09 +02:00
jackpoz
1e429f3b4c Core/Misc: Fix build warning
Fix build warning
2015-05-31 00:04:26 +02:00
jackpoz
391c81d86c Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023115
2015-05-31 00:01:31 +02:00
jackpoz
25881ca95f Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1022861, 1022862, 1022863, 1302435, 1302439, 1302440
2015-05-30 23:09:34 +02:00
sirikfoll
309de9e71b Core/Spell Add Spell Script Needed for quest Torch Tossing/More Torch Tossing
Updated
2015-05-29 19:01:05 -03:00
Sarah Alexander
b3c8c4f34d Merge pull request #14753 from Rushor/Ihaveadream
DB/Quest: No Mere Dream
2015-05-29 13:27:49 -03:00
Rushor
3625d83cd9 DB/Quest: No Mere Dream
closes #11252
2015-05-29 17:40:28 +02:00
Jens Bäckman
50d435ff28 Core/Spells: Fix DK Death rune selection 2015-05-29 12:11:54 +02:00
glkrlos
fd660d725d Core/Updater: Fix issues when connecting through unix sockets.
* closes #14766
* closes #14759

Signed-off-by: Naios <naios-dev@live.de>
2015-05-28 18:30:03 +02:00