Commit Graph

20838 Commits

Author SHA1 Message Date
Shauren
585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
Naios
0df90fa4a4 Core/Updater: Fix mysql cli password prompt when password is empty.
* ref: http://community.trinitycore.org/topic/11510-world-server-bug-enter-password-to-update/

(cherry picked from commit 4335611010)
2015-06-30 23:46:25 +02:00
Naios
a16d3e8eec Core/Utilities: Fix callback invokation when there are no tasks present.
* thx @joschiwald for noticing.

(cherry picked from commit 836ec5a6e6)
2015-06-30 23:46:09 +02:00
Carbenium
63d0a73598 Core/ObjectMgr: Add some constness 2015-06-30 16:38:07 +02:00
MitchesD
d6c77e97eb Scripts/Command: remove unneeded code from .go 2015-06-30 10:41:32 +02:00
Shauren
e5fd75f3d7 Core/Transports: Call GameObject::RelocateStationaryPosition when creating transport gameobject passengers 2015-06-30 00:05:25 +02:00
jackpoz
a48f8f4de9 Core/Dependencies: Update recast
Update recast to 1dd5cf1883
Fix 2 warnings.

These changes have no effect on MMAPs and it's not needed to re-extact them.

(cherry picked from commit dfa556aaa2)

Conflicts:
	dep/PackageList.txt
2015-06-29 15:52:57 +01:00
Shauren
a51300f814 Core/Garrisons: Fixed building gameobject id used for buildings under construction when *ConstructionGameObjectID is empty 2015-06-29 16:31:29 +02:00
Shauren
b5c5442d03 Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_PLACE_GARRISON_BUILDING 2015-06-28 01:02:39 +02:00
Shauren
ccb55fb901 Core/Garrisons: Implemented building spawns 2015-06-27 15:29:42 +02:00
MitchesD
3d6abdb2ff Scripts/Commands: fix compile warning 2015-06-26 17:31:07 +02:00
DDuarte
2ce76a25c3 Fix build after recent cherry picks 2015-06-26 03:57:57 +01:00
jackpoz
9292217ccc 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

(cherry picked from commit cb4d1574e0)
2015-06-26 03:32:40 +01:00
Rushor
f535d59f0f Game/GameObject: Fix Spellcast for 'Silithyst'
by @Whoami
updates #14637

(cherry picked from commit 8f3a9b7fe3)
2015-06-26 03:31:23 +01:00
jackpoz
a3faa57f3b Scripts/Commands: Fix memory leak in ".reload command"
Free commandTableCache object before assigning it the result of malloc()

(cherry picked from commit c6c09423fd)
2015-06-26 03:29:47 +01:00
jackpoz
a5d5f98c38 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

(cherry picked from commit c544e88437)
2015-06-26 03:28:47 +01:00
jackpoz
5254a1e164 Core/Spells: Fix Charge pathing
Fix charge allowing to run to unreachable places
Close #13847

(cherry picked from commit 91c399cad2)
2015-06-26 03:28:39 +01:00
jackpoz
d9133adbb7 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.

(cherry picked from commit 0b9cd22a6b)
2015-06-26 03:28:20 +01:00
jackpoz
e4e903ba95 Merge pull request #14728 from kelno/fixes
Core/SAI: Fixed a math error overflow in SmartScript::DecPhase(int32)
(cherry picked from commit 6d7339e7a3)
2015-06-26 03:27:54 +01:00
ariel-
7ee455df59 Spell logging corrections
(cherry picked from commit fe83ecb2cf)

Conflicts:
	src/server/game/Conditions/ConditionMgr.cpp
2015-06-26 03:27:29 +01:00
jackpoz
d7258abb0e 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.
(cherry picked from commit 81cec13a58)
2015-06-26 03:25:51 +01:00
MitchesD
c6d3b0f250 Merge pull request #14838 from Rushor/stop
Scripts/SmartScripts: Clear Movement on Death
(cherry picked from commit f166dc3cab)
2015-06-26 03:23:59 +01:00
jackpoz
b2a987267d Core/Player: Don't allow to join bg/lfg when frozen by a GM
(cherry picked from commit 239f0b4ad0)
2015-06-26 03:21:30 +01:00
jackpoz
e4c5a210fe Scripts/Auchindoun: Fix distance check in boss Shirrak
Issue added in 88137c07b9

(cherry picked from commit a7847728a5)
2015-06-26 03:21:08 +01:00
pjasicek
fc214b90ff 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.

(cherry picked from commit 6a637f6b1c)
2015-06-26 03:19:29 +01:00
jackpoz
9382678b2b Core/Player: Fix resurrection exploit
Fix an exploit that allowed to resurrect even if corpse was not in range (teleport hack was required too)

(cherry picked from commit 83cf1e6aec)

Conflicts:
	src/server/game/Entities/Player/Player.h
2015-06-26 03:18:38 +01:00
Carbenium
4a9bbbda14 Merge pull request #14780 from mik1893/immune_to_npc_flag
Core/Creature: UNIT_FLAG_IMMUNE_TO_NPC check only vs non-player targets
(cherry picked from commit 125d839a18)
2015-06-26 02:59:41 +01:00
jackpoz
edc2476e84 Core/CrashHandler: Make crashhandler tread-safe
Handle only 1 exception in the whole process lifetime and create only 1 crash report.

(cherry picked from commit 1a5051a9c3)
2015-06-26 02:59:27 +01:00
joschiwald
985e417f47 Core/Spells: fixed creatures stucks at 1 hp when a health increasing aura gets removed
Closes #13639

(cherry picked from commit 6d87f96e21)
2015-06-26 02:56:58 +01:00
jackpoz
d423747037 Scripts/ToC: Fix doors opening/closing during Dreadscale fight
Fix doors opening/closing during Dreadscale fight by sending a CloseDoor command instead of toggling the door state when Dreadscale resets its movement.
Note that bounding the door state to boss movement makes poor sense and should be changed. Other bosses in ToC have this logic and should be updated if they show the same bug.

(cherry picked from commit b5cc8c5b17)
2015-06-26 02:56:40 +01:00
jackpoz
6df2d03f72 Merge pull request #14641 from tkrokli/Fix_cast_on_fear_while_rooted
Core/Spells: Fix being able to cast while feared and rooted at same time

Disallow to cast if feared and rooted at same time
(cherry picked from commit 1161295f4f)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-06-26 02:56:20 +01:00
jackpoz
133d6cd85f Scripts/VioletHold: Fix crash
Fix crash in Violet Hold happening when crystals were activated without killing trash mobs.
Crash added in cba6515acb and f4531c5a58 .
Closes #14629

(cherry picked from commit 09aed25659)
2015-06-26 02:51:08 +01:00
Shauren
0f6788c3df Core/Achievements: Fixed linking criteria with achievements 2015-06-26 01:13:35 +02:00
Shauren
6ae0162390 Core/Spells: Fixed spell effect selection depending on map difficulties 2015-06-25 00:20:25 +02:00
Shauren
acc45bcf5d Core/Garrisons: Implemented a method to delete garrisons 2015-06-24 00:03:57 +02:00
Gacko
d799e0cee0 Fix non pch build. 2015-06-23 20:17:26 +02:00
MitchesD
66056b2f8a Core/PacketIO: updated SMSG_SET_AI_ANIM_KIT and SMSG_SET_PLAY_HOVER_ANIM 2015-06-23 15:03:49 +02:00
Shauren
37142deae4 Merge pull request #14937 from xerkoss/patch-2
Core/Spell: Fix shaman reincarnation
2015-06-23 11:41:59 +02:00
Shauren
73384e56d4 Core/Garrisons: Implemented spawning "Finalize Garrison Plot" gameobjects when building under construction is ready 2015-06-23 00:05:51 +02:00
xerkoss
3eeb77a8f3 Core/Spell: Fix shaman reincarnation 2015-06-22 21:27:48 +02:00
Shauren
812fa65c61 Core/Garrisons: Implemented activating buildings 2015-06-22 00:02:43 +02:00
Naios
881ebccdc4 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

(cherry picked from commit 3d95aba2b3)
2015-06-21 18:20:12 +02:00
Naios
5e47ae7e73 Core/Updater: Fix a wrong formatter introduced in 0d095109ee
* thanks @Aokromes for noticing

(cherry picked from commit bd661b58fd)
2015-06-21 18:17:00 +02:00
MitchesD
530074f453 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
2015-06-21 13:40:24 +02:00
Rochet2
abf3d22870 Fix tabard and cloak mirror image models
Apparently the order of the two items changed.
Mirror image and clone weapon spells are still likely missing transmogrification support.
2015-06-21 12:04:50 +03:00
Shauren
dbe2051056 Core/Threading: Significantly reduced the severity of possible data race during player login
* This commit changes a data race on a pointer value to data race on integers (guid)
2015-06-21 02:15:13 +02:00
Shauren
f6bc87fe5d Core/Threading: Fixed possible data races after making auth queries async by moving their processing to boost::asio::io_service::run threads 2015-06-21 02:13:08 +02:00
Naios
0d095109ee Core/Updater: Add some info about the count of applied updates.
* some minor improvements
* add a log message when database updates are disabled.

(cherry picked from commit a5b3862bc1)
2015-06-20 15:18:31 +02:00
Shauren
0e49eefe85 Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
* Implemented base for loading account wide data
2015-06-20 00:59:31 +02:00
Shauren
cec05ff07d Scripts/Zul'farrak: Fixed summoning Gahz'rilla
Fixes #5782 regression
2015-06-19 17:28:24 +02:00