Commit Graph
28009 Commits
Author SHA1 Message Date
Armano 8a8f4fa0d4 Cleanup some whitespaces 2015-07-04 11:31:07 +02:00
DDuarte 678a08c8c5 Core: Fix multiple warnings
Travis should be building again now
2015-07-04 02:43:43 +01:00
DDuarte 0f082e8f92 Core/Executables: Add --version and -v to worldserver and bnetserver arguments
Closes #14993
2015-07-04 00:45:52 +01:00
DJScias 7e906d7b19 Tools/ConnectionPatcher: Add 'versions' file patching method
* This is necessary to allow connection to 6.1.2 after the 6.2.0 update released. Patching is version aware.
* Link is hardcoded to a github page after suggestion from Aokromes, it is not tied to any server this way
* The usage is optional. To patch use the "-e" option
* OOP-ify the tool a bit

Original implementation by DJScias

Closes #14980
2015-07-03 22:15:52 +02:00
DDuarte 58adb74717 Dep: Disable 2 warnings in zmqpp and CascLib 2015-07-03 02:23:58 +01:00
DDuarte ccfaf663aa Fix build and SQL import after cherry-picks 2015-07-03 02:10:54 +01:00
jackpoz dbf51eee46 Scripts/EyeOfEternity: Fix crash added in d1853f693b
Close https://github.com/TrinityCore/TrinityCore/issues/14984#issuecomment-118044904

(cherry picked from commit 275bb9303438a3e6e21e90de514723fd4aba7b05)
2015-07-03 01:16:58 +01:00
mik1893 ee168cae9b Merge pull request #14797 from czw/3.3.5
Core/Spells: Fix DK Death rune selection
(cherry picked from commit 94bb71e5a1f2b341e94aa6adc661f1200b2b10aa)

Conflicts:
	src/server/game/Spells/Spell.cpp
2015-07-03 01:16:12 +01:00
robinsch aac7374a09 Core/Unit: Fix issue with Divine Shield immunities
Closes #14910

(cherry picked from commit 2263cb9e1015ed0f6dbf83b63d8f0332bcbe6205)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-07-03 01:13:24 +01:00
mik1893 d5b1c3c2f9 Merge pull request #14898 from tkrokli/improved_devouring_plague
[3.3.5] Core/Spells: Improved Devouring Plague spell direct damage
(cherry picked from commit 551c61b7ceaabed198dc3f4f06006cbc9e15a146)

Conflicts:
	src/server/game/Spells/Auras/SpellAuras.cpp
2015-07-03 01:09:38 +01:00
mik1893 bc59f27e0d Merge pull request #14969 from chaodhib/taunt_threat_fixes
[Spell] Fix bugged amount of threat given by Taunt
(cherry picked from commit aacd8feb61e5b596c4af7dc3d2f530b944437424)

Conflicts:
	src/server/game/Spells/SpellEffects.cpp
2015-07-03 01:07:44 +01:00
mik1893 587baa9409 Merge pull request #14976 from robinsch/wgTimer
Core/WorldState: WG Interface timer
Closes issue  #14913
(cherry picked from commit c8df10dbc00c10fc81535e2904a3092465d654e4)
2015-07-03 01:07:14 +01:00
Mik1893 c7ca739711 Core/Creature: Fix UNIT_FLAG_IMMUNE_TO_PC validity for player pets
related to #14780 and #14744

(cherry picked from commit accab5451d3e62739e4aa376d25bc6623f0d3c52)
2015-07-03 01:06:33 +01:00
jackpoz 0b745370dc 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

(cherry picked from commit d123c811623fcedcf125f56101b6aea773f460e0)

Conflicts:
	src/server/game/Texts/CreatureTextMgr.cpp
2015-07-03 01:05:22 +01:00
MitchesD 2400ce05e0 Merge pull request #14748 from Rushor/druid
Scripts/Spells: Curing the Sick - Add Questcredit
(cherry picked from commit d898ade5a98e9654493c04ea616434d486570db8)
2015-07-03 00:55:11 +01:00
joschiwald 80bc699874 Core/BG/SOA: fixed interaction with flags and titan relic
Closes #13091

(cherry picked from commit 8afa15ef15b3d540208e89dd8e9072bd75af041d)

Conflicts:
	src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
2015-07-03 00:28:22 +01:00
Shauren 37e69b6954 Tools/Mapextractor: Updated dbc list 2015-07-02 00:31:40 +02:00
Shauren 9be3985b5c Core/PacketIO: Enabled auth opcodes 2015-07-02 00:31:25 +02:00
Kinzcool 4bbbd9540a Core/Quests: Calculate the RewardMoney value with QuestMoneyReward.dbc and defined an unknown field 2015-07-01 17:57:09 -04:00
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 4335611010de3e1f6c0903b4a46508b8e22db5d3)
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 836ec5a6e6109abe9491e204c1221e21ba9fcc81)
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 https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b
Fix 2 warnings.

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

(cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6)

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 cb4d1574e05b0d50368da03c42edeac46590d14f)
2015-06-26 03:32:40 +01:00
Rushor f535d59f0f Game/GameObject: Fix Spellcast for 'Silithyst'
by @Whoami
updates #14637

(cherry picked from commit 8f3a9b7fe338456dff08e1fccdb2b672d9d19299)
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 c6c09423fd226a970b0b39cdd2586e9ae3a07f6b)
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 c544e88437106fb79dba14bbf8469deadb679e8a)
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 91c399cad239b20dac68629587e7c8b4ec612be3)
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 0b9cd22a6b5a0cca6e3c07dd5ae077ddbdfc3992)
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 6d7339e7a3daf302d6bed1c8c0a4584a69a9316b)
2015-06-26 03:27:54 +01:00
ariel- 7ee455df59 Spell logging corrections
(cherry picked from commit fe83ecb2cfe610e608092d4a480339559d1e8f29)

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 81cec13a586c1d7e84d0936b4a385934f5f91ef1)
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 f166dc3cab3f5325984c9f0fcf9ed1406ae6eae6)
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 239f0b4ad0e83da9d31c8031aa2e50c294bfc913)
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 a7847728a59a9a6925a75cb01d789d9f778163cd)
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 6a637f6b1c186eb15373fce443d729dcc74e5361)
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 83cf1e6aec0594f7d92bdebf52239867c3fd3abc)

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 125d839a1878d3d3d0cbc193298f385560e268c9)
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 1a5051a9c3b8246e92543962c04c3883c4d03f5f)
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 6d87f96e21f515b1500ecdd10576517d23b30cd4)
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 b5cc8c5b17c96f281728ee08576acfff507d8039)
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 1161295f4f933661ea9738e0c57049a1e38ec8f2)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-06-26 02:56:20 +01:00