Commit Graph

26792 Commits

Author SHA1 Message Date
jackpoz
c0f56fbfd8 Core/Misc: Add valgrind support for jemalloc
Set CMake option VALGRIND to add valgrind support to jemalloc. Set CMake parameter VALGRIND_INCLUDE_DIR to the valgrind include directory.

(cherry picked from commit 60a29f7614)
2015-06-26 03:30:11 +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
3c7eee915b Core/Misc: Update helgrind suppressions
(cherry picked from commit abda6840e1)
2015-06-26 03:23:48 +01:00
jackpoz
a8e7bfe05b Core/Misc: Disable G3D buffer pools if jemalloc is enabled
(cherry picked from commit d78eae1eaf)
2015-06-26 03:23:21 +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
Kinzcool
86caa2ebfc DB/Hotfixes: Updated broadcast_text to patch 6.2.0 2015-06-25 13:23:05 -04: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
MitchesD
7e9f4dfe45 Merge pull request #14922 from Rochet2/patch-1
Fix tabard and cloak mirror image models
2015-06-21 11:33:25 +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
Duarte Duarte
4093eee19b Merge pull request #14920 from Exodius/Exodius-readme
Update README.md
2015-06-21 00:38:02 +01:00
Nick
90f9076538 Update README.md
Remove 4.3.4 Build Status from README.md
2015-06-21 01:32:26 +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
Shauren
7c7998440e Core/Misc: Warning fix 2015-06-18 16:01:56 +02:00
Shauren
d2142ac380 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) 2015-06-17 16:45:28 +02:00
Shauren
a4258de0f8 Core/PacketIO: Added a few more server opcodes 2015-06-16 00:03:45 +02:00
Shauren
fd786c8306 Core/Spells: Defined a new spell attribute 2015-06-15 23:43:19 +02:00
Duarte Duarte
859aaa5543 Merge pull request #14890 from Rochet2/mirror_image
Update and enable mirror image packets
2015-06-15 00:41:14 +01:00
Orion
eeb49d238a Update and enable CMSG_GET_MIRROR_IMAGE_DATA, SMSG_MIRROR_IMAGE_CREATURE_DATA, SMSG_MIRROR_IMAGE_COMPONENTED_DATA. 2015-06-15 02:03:00 +03:00
Shauren
66d8ccde7f Core/PacketIO: Fixed chat packet building in CreatureTextMgr
Closes #14871
2015-06-15 00:25:18 +02:00