Commit Graph

21193 Commits

Author SHA1 Message Date
Aokromes
8170d3957e Core/Creature: Better formations implementation
By Malcrom
(cherry picked from commit f84655cac7)
2015-09-25 00:23:12 +02:00
Aokromes
6667977edf Merge pull request #15587 from Pirricli/patch-1
minor typo
(cherry picked from commit 2eafbe6bf0)
2015-09-25 00:22:37 +02:00
Carbenium
512c2ab83c Merge pull request #15538 from pete318/combat_bug
Combat with distant creatures (Mk II)
(cherry picked from commit a40d855337)
2015-09-25 00:22:05 +02:00
Duarte Duarte
a53a8fff98 Merge pull request #15582 from mthsena/3.3.5
Config: Typo/Cosmetic changes
(cherry picked from commit 0720414042)
2015-09-25 00:21:17 +02:00
Duarte Duarte
c65aa4cbbe Merge pull request #15579 from M-Pan/3.3.5
Config ; Minor Typo
(cherry picked from commit 7c4dd4059e)
2015-09-25 00:20:39 +02:00
Duarte Duarte
3b1ae19371 Merge pull request #15577 from M-Pan/3.3.5
Revise MaxPrimaryTradeSkill comment

Closes #15575
(cherry picked from commit f7e9acb6ed)
2015-09-25 00:20:12 +02:00
Aokromes
78b1923da2 Core/Creature: Fixes Issue with Formations with 2 waypoints
By Malcrom
(cherry picked from commit 75842fb1a5)
2015-09-25 00:19:34 +02:00
Shauren
ef5e3fff04 Merge pull request #15554 from MrSmite/AHBot_Buyer
Fix AHBot Buyer to stop counting own auctions
(cherry picked from commit 811b557b3b)
2015-09-25 00:17:57 +02:00
Aokromes
0eace20ac3 Core/Creature: Fix formations to prevent crossover
By Malcrom
(cherry picked from commit 57fabc78e4)
2015-09-25 00:16:55 +02:00
Shauren
074b00af37 Core/PacketIO: Updated and enabled SupportTicketSubmitComplaint, SupportTicketSubmitSuggestion 2015-09-25 00:11:54 +02:00
Shauren
5cf28316ff Merge pull request #15503 from Treeston/3.3.5-patchwerk
Creature/BossAI/Patchwerk: Fix Hateful Strike behavior
(cherry picked from commit ce2aa49715)
2015-09-25 00:09:34 +02:00
treeston
888c4c07b6 Scripts/Naxxramas:
Fixed bugs with Sapphiron encounter:
- Sapphiron will now properly re-engage if the previous attempt ended while he was in flight.
- Sapphiron will now properly be hovering while in the air phase instead of standing idly on the ground.
- Move Frost Resistance achievement check from custom script to spell 60539 (Sapphiron Achievement Check), thanks to @Shauren for the heads up.

(cherry picked from commit a90ae075c9)
2015-09-25 00:07:34 +02:00
jackpoz
f2ca107fc8 Scripts/Ulduar: Fix issue reported by static analysis
Coverity defect ID: 1316690

(cherry picked from commit 4cdab0cdcb)
2015-09-25 00:06:30 +02:00
Duarte Duarte
eb65c8051c Merge pull request #15452 from Treeston/3.3.5
Core/Unit: Allow mounting for certain transformations
(cherry picked from commit 6cdfe9dc09)
2015-09-25 00:03:23 +02:00
jackpoz
7893ac6baf Core/Spells: Fix crash happening when using items to cast spells
Fix a crash happening when using items casting spells like Item ID 37198
Fix #14900

(cherry picked from commit 166e66cc06)
2015-09-24 23:58:26 +02:00
Carbenium
5147c70c35 Core: Fix build 2015-09-24 23:57:13 +02:00
jackpoz
97f9a3f816 Core/Dungeon Finder: Fix groups queuing broken by 1e71aba2ee
Fix queuing in LFG with 5-men groups leaving the party in queue forever, caused by group GUID being added to list of party members.

(cherry picked from commit 42a71133fa)

Conflicts:
	src/server/game/DungeonFinding/LFGQueue.cpp
2015-09-24 23:53:20 +02:00
jackpoz
2f0079410d Core/Dungeon Finder: Improve ".lfg queue debug" command
Log roles of every combinations in ".lfg queue debug" output

(cherry picked from commit 16e9882aa8)
2015-09-24 23:43:01 +02:00
jackpoz
ee7039e845 Core/Chat: Allow to sanitize | characters when sending messages to clients
Add an optional parameter "escapeCharacters" to ChatHandler::SendSysMessage() to properly escape | character, otherwise it might freeze the client.

(cherry picked from commit 7c91984a64)
2015-09-24 23:42:23 +02:00
jackpoz
adf6d968ed Core/Dungeon Finder: Remove disconnected players from LFG queue
Fix LFG queue issues by removing disconnected players from LFG queue and their party with them.

(cherry picked from commit b7f9836d22)
2015-09-24 23:40:15 +02:00
jackpoz
f570a0064c Core/Dungeon Finder: Add LFG roles of group members in LFG logs
This changes logs like "(1|18)" to "(1 Healer, Dps|18 Tank, Healer, Dps)"

(cherry picked from commit 1e71aba2ee)
2015-09-24 23:39:23 +02:00
joschiwald
7a2b87cefb Merge pull request #15385 from Tonghost/3.3.5
Core/Scripts: Remove duplicate code
(cherry picked from commit 5c68223ab6)
2015-09-24 23:30:42 +02:00
joschiwald
010b2182c1 Scripts/Ulduar: fixed sara get killed by guardians of yogg saron
(cherry picked from commit 2b21fbb58e)
2015-09-24 23:29:23 +02:00
StormBytePP
bfdaee68ce Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying
(cherry picked from commit 70f029fd0a)
2015-09-24 23:27:19 +02:00
jackpoz
d0ce95fca5 Core/Battleground: Fix issue reported by static analysis
Coverity defect IDs: 1193415

(cherry picked from commit c67118f909)
2015-09-24 23:25:28 +02:00
Trisjdc
93e77bfc7b Core/Players: Improve rest state handling, allow several rest states to be active
Fixes https://github.com/TrinityCore/TrinityCore/issues/15325

(cherry picked from commit c14b66c24c)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/MiscHandler.cpp
2015-09-24 23:24:13 +02:00
Nyeriah
e5eea44e0a Scripts/OnyxiasLair: Force Onyxia to enter evade mode if pulled out of her room
(cherry picked from commit b28849003c)
2015-09-24 22:56:14 +02:00
Nyeriah
4a37edef51 Scripts\MoltenCore: Disable Ragnaros' combat movement
(cherry picked from commit 8b27b61978)
2015-09-24 22:55:34 +02:00
StormBytePP
b3eb1ead96 Core/Misc: Added checks for procSpell nullptr cases
Fixes Coverity Defect ID: 1023036

(cherry picked from commit 424576e098)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-09-24 22:54:17 +02:00
jackpoz
7005089241 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1316687, 1316688

(cherry picked from commit 51a2a3fa93)
2015-09-24 22:36:37 +02:00
joschiwald
a3732aea48 Scripts/Ulduar: fixed hodir kill credit
Closes #15303

(cherry picked from commit 30fc4f9f63)
2015-09-24 22:35:33 +02:00
jackpoz
0fad953852 Scripts/Misc: Replace some unsafe WorldObject* class members in scripts with ObjectGuid
Replace some unsafe WorldObject* class members and derived types in scripts with ObjectGuid.
Code cleanup.

(cherry picked from commit 2f92a2f58e)

Conflicts:
	src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp
2015-09-24 22:34:18 +02:00
Laintime
1bf9b61ffa Core/Achievement: Fix Save The Day
Closes #15202
Closes #15211

(cherry picked from commit 79cd2f9bb9)
2015-09-24 22:14:15 +02:00
jackpoz
4700b24263 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet(), IsTotem(), IsSummon(), IsGuardian(), IsHunterPet() and IsVehicle() from Creature to Unit

(cherry picked from commit ea4d9c0d9e)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Spells/spell_pet.cpp
2015-09-24 22:06:05 +02:00
jackpoz
cacf184822 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit

(cherry picked from commit d243630acf)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
jackpoz
6193b8a28d Scripts/Misc: Fix possible crash
Fix possible NULL-dereference exception happening in PlayerOrPet checks used in Ulduar and Temple Of Ahn Qiraj

(cherry picked from commit 5f0f152345)
2015-09-24 20:39:42 +02:00
Rochet2
c3c7ab6ec7 Core/RestState: Check area trigger radius instead of 1.0f distance
Closes #15016
Closes #15052

Signed-off-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit 12931f4762)

Conflicts:
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/MiscHandler.cpp
2015-09-24 20:29:55 +02:00
jackpoz
bfb373ef22 Merge pull request #15119 from robinsch/grounding
Core/Spells: Grounding totem fix

Fixes #15108
(cherry picked from commit 3f3ff8b36b)
2015-09-24 19:59:09 +02:00
jackpoz
175b0bcfb5 Core/Gameobjects: Move a log from FATAL to DEBUG
The log is triggered when a mage creates a portal to another map, uses it and then the portal despawns.

(cherry picked from commit a8ceb18cdf)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
2015-09-24 19:57:31 +02:00
jackpoz
4ee081f7bc Core/Battlegrounds: Move a log from ERROR to DEBUG
The "error" is a false positive happening every time a player in a Battleground logs out because WorldSession::LogoutPlayer() notifies the bg twice

(cherry picked from commit ca5a2785f7)
2015-09-24 19:54:22 +02:00
MrSmite
d9a3bdca61 Core/AHBot: Add missing AHBot quality price ratio to config
Signed-off-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit fed67f5bc1)
2015-09-24 19:51:52 +02:00
jackpoz
57328c69aa Core/Spells: Fix damage done by SPELL_EFFECT_NORMALIZED_WEAPON_DMG
Fix a rare case that would cause SPELL_EFFECT_NORMALIZED_WEAPON_DMG to do 4 billions damage or to trigger an assertion in Unit::CalculateDamage() depending by Unit base damage.
To reproduce the issue cast spell 25816 on a level 1-14 warrior, then make the warrior cast spell 694 on a Creature.

(cherry picked from commit 143026ed19)
2015-09-24 19:51:05 +02:00
jackpoz
cf67b7d375 Core/AHBot: Adjust AHBot bid and buyout chances
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter
Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k)
k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions.

(cherry picked from commit 177b6319d1)

Conflicts:
	src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-09-24 19:48:31 +02:00
jackpoz
8a5d92726a Core/Spells: Fix Charge "no path" error with even bigger targets
Addition to a328a11978 , clamp object size to [0,4] in case of very huge Creatures like Lord Marrowgar entry 36612

(cherry picked from commit 0a94382637)
2015-09-24 19:28:00 +02:00
jackpoz
cde1141fb4 Core/Config: Describe better Wintergrasp.Enable option in worldserver.conf
(cherry picked from commit 10620b4e11)
2015-09-24 19:25:01 +02:00
jackpoz
16da2c8d95 Core/Threading: Handle CMSG_BATTLEFIELD_MGR_ENTRY_INVITE_RESPONSE only in WorldSession update because it removes the Player from his Group which is not thread-safe
(cherry picked from commit f07fe63e50)

Conflicts:
	src/server/game/Server/Protocol/Opcodes.cpp
2015-09-24 19:24:02 +02:00
jackpoz
cd72a243af Merge pull request #15168 from jameyboor/3.3.5
Core/Creature: Fix Creature::UpdateMovementFlags() ignoring DynamicTree height

Fix Creature::UpdateMovementFlags() checking only maps/vmaps height and skipping GameObject height stored in DynamicTree
(cherry picked from commit a7ee951d9e)
2015-09-24 19:17:06 +02:00
Shauren
8c761b2877 Core/PacketIO: Verified and enabled a bunch of opcodes that already had their structures ported to packet classes 2015-09-24 18:47:33 +02:00
Shauren
91f2bef235 Core/PacketIO: Fixed creature teleports not working clientside 2015-09-23 00:05:18 +02:00
Shauren
a338aa408e Core/Misc: Fixed various possibly uninitialized value warnings
CID: 1324648, 1324649, 1324650, 1324651, 1324652
2015-09-22 00:07:05 +02:00