Commit Graph

10346 Commits

Author SHA1 Message Date
StormBytePP
94f69fb1bc Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely 2015-08-16 17:15:38 +02:00
DDuarte
90c9290761 Add a missing include of d5cf594bfe 2015-08-16 01:09:29 +01:00
DDuarte
233615c785 Fix build warnings addded in d5cf594bfe 2015-08-16 00:45:50 +01:00
Shauren
cdbd563157 Core/Logging: Refactored appender creation to allow using logging without mysql dependency in tools (future task)
Conflicts:
	src/server/bnetserver/Main.cpp
	src/server/worldserver/Main.cpp
2015-08-16 00:09:02 +01:00
joschiwald
c1e3fdc826 Merge pull request #15156 from LuqJensen/Ice-barrier
Core/Spells: Fix Shattered Barrier triggering on dispel
2015-08-15 20:02:46 +02:00
Laintime
79cd2f9bb9 Core/Achievement: Fix Save The Day
Closes #15202
Closes #15211
2015-08-15 19:50:30 +02:00
DDuarte
e1b534e40f Core/Object: Add changes to ObjectGuid from 6.x
copy and move cctor
assignment and assig move operators

Ref 81abfe93bb and 89a8a7e1a4
2015-08-15 18:09:12 +01:00
jackpoz
43e8c841f5 Core/Spells: Fix potions exploit
Fix an exploit that allowed to consume different potions even if they share the same cooldown.
Closes #15265
2015-08-12 23:43:24 +02:00
Incorrect
071b2c68e8 Core/Misc: Add a few consts to methods 2015-08-12 22:49:21 +03:00
jackpoz
ea4d9c0d9e 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
2015-08-12 14:05:14 +02:00
jackpoz
d243630acf Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit
2015-08-12 12:48:33 +02:00
jackpoz
5f0f152345 Scripts/Misc: Fix possible crash
Fix possible NULL-dereference exception happening in PlayerOrPet checks used in Ulduar and Temple Of Ahn Qiraj
2015-08-12 12:43:59 +02:00
David Carlos Manuelda
e3c3b8f08f Core/Misc: Added some missing overrides 2015-08-11 12:44:35 +02:00
Rochet2
12931f4762 Core/RestState: Check area trigger radius instead of 1.0f distance
Closes #15016
Closes #15052

Signed-off-by: jackpoz <giacomopoz@gmail.com>
2015-08-10 18:12:22 +02:00
jackpoz
eb2e8f873a Merge pull request #15058 from Golrag/rorface
Scripts/Rotface: Fix Ooze flood targets.

Fixes #15031
2015-08-09 18:35:17 +02:00
Unholychick
226a737233 [3.3.5] Core/Spells: Fix Shattered Barrier triggering on dispel
Prevents Shattered Barrier talent from triggering when Ice Barrier is dispelled. It should only trigger when Ice Barrier is removed by damage(destroyed).
Closes #14555
Closes #14605
2015-08-08 22:11:07 +02:00
jackpoz
3f3ff8b36b Merge pull request #15119 from robinsch/grounding
Core/Spells: Grounding totem fix

Fixes #15108
2015-08-08 21:11:55 +02:00
jackpoz
efc4c60c53 Scripts/Kalimdor: Remove unused script
Remove unused C++ script replaced by d69a31d238
2015-08-08 19:36:41 +02:00
jackpoz
a8ceb18cdf 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.
2015-08-08 19:23:10 +02:00
jackpoz
ca5a2785f7 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
2015-08-08 12:51:45 +02:00
jackpoz
a8f447b9ef Merge pull request #15219 from SeTM/patch-2
Core/Spells: Fix some taxi paths not being available to players.

This allows players to use the taxi paths used already by spells 29376, 29377, 31752, 34578, 47851.
Fixes https://github.com/TrinityCore/TrinityCore/issues/12832
2015-08-07 22:50:49 +02:00
MrSmite
fed67f5bc1 Core/AHBot: Add missing AHBot quality price ratio to config
Signed-off-by: jackpoz <giacomopoz@gmail.com>
2015-08-07 21:58:40 +02:00
jackpoz
143026ed19 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.
2015-08-05 19:58:19 +02:00
MitchesD
578bb8452f Core/SmartScript: removed initial timer of SMART_EVENT_IC_LOS and SMART_EVENT_OOC_LOS
Closes https://github.com/TrinityCore/TrinityCore/issues/14516

(cherry picked from commit e83a1c6b35)
2015-08-05 16:57:33 +02:00
Alex
1b4818684f Fixed load taxi nodes.
Spell nodes not have prices.
to #12832
2015-08-05 00:25:18 +03:00
Rushor
ce4bd3c2de Core/Spells: Magic Suppression - Set ProcCharges
* closes #15194
2015-08-01 23:37:40 +02:00
jackpoz
177b6319d1 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.
2015-08-01 18:48:55 +02:00
LuqJensen
59fe55dfc9 Scripts/Spells: Fix Rapid Recuperation
Closes #15180
2015-08-01 17:21:42 +02:00
Kittnz
b42cf8755b Core/Script: Fix Corporal Keeshan 2015-08-01 13:53:32 +02:00
Kittnz
93ca42759d Core/Script: Set Faction at start of escort for Corporal Keeshan
Request by DRJ
2015-08-01 13:38:10 +02:00
DDuarte
d23e2f9cc0 Fix SpellAurasEffects build on GCC 5.1
Closes #14655

(cherry picked from commit 57ced3ccbd)
2015-07-31 16:29:17 +01:00
Warpten
80ec3e1515 Scripts/RubySanctum: Widen random angles for meteor flames.
Don't QQ because "OMG you're not testing any of your stuff", I can't build TC atm.

Memo: Meteor Flames have
```
[12] UNIT_CREATED_BY_SPELL: 74689/1.046616E-40
```

which isn't in DBCs, exists, but is not seen in sniffs.
(cherry picked from commit 0dc6ea161d)
2015-07-28 20:36:21 -03:00
jackpoz
0a94382637 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
2015-07-28 21:11:55 +02:00
jackpoz
10620b4e11 Core/Config: Describe better Wintergrasp.Enable option in worldserver.conf 2015-07-28 20:28:32 +02:00
jackpoz
f07fe63e50 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 2015-07-28 20:23:18 +02:00
jackpoz
a7ee951d9e 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
2015-07-28 19:54:49 +02:00
Warpten
ef93d1174d Scripts/RubySanctum: Fixed Meteor Flames
(cherry picked from commit 982b59d2ec)

Update boss_halion.cpp
(cherry picked from commit 50c23bbcb8)
2015-07-27 17:37:28 -03:00
DDuarte
b63082971f Build: Add missing include to MapScripts.cpp
Fixes linker error in GCC/Clang
2015-07-27 01:37:04 +01:00
Shauren
92b5b2e09a Travis build fix
(cherry picked from commit a7d9c4e720)
2015-07-27 01:13:29 +01:00
Jameyboor
b85b0c221b Fix UpdateMovementFlags ignoring DynamicTree height. 2015-07-26 15:08:33 +02:00
joschiwald
66bbdfb82c Merge pull request #15164 from LuqJensen/mimiron
Scripts/Ulduar: Fix a visual issue with Mimirons Rocket Strike and Fix Mimiron DB target attacking players
2015-07-26 03:35:40 +02:00
Unholychick
0d5a0c81a8 Scripts/Ulduar: Fix a visual issue with Mimirons Rocket Strike
In p2 he should fire left or right rocket at random, not always left one. ref https://www.youtube.com/watch?v=oY-nZ0EjDRw

Fix Mimiron DB target attacking players.
2015-07-26 03:30:29 +02:00
Vincent-Michael
fd26c3c87c Core/Misc: Added new error logs for gameobject_questitem / creature_questitem tables
(cherry picked from commit 2fcab335df)
2015-07-26 01:21:13 +01:00
Vincent-Michael
730ddaf0bf Core: Fix non pch build 2015-07-25 23:21:25 +02:00
Vincent-Michael
d2d4bc2668 Core: Header cleanup in game/*/*.cpp
(cherry picked from commit 2e586bc520)

Conflicts:
	src/server/game/Battlegrounds/Battleground.cpp
	src/server/game/Battlegrounds/BattlegroundMgr.cpp
	src/server/game/Battlegrounds/Zones/BattlegroundBFG.cpp
	src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
	src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp
	src/server/game/Chat/Chat.cpp
	src/server/game/Combat/ThreatManager.cpp
	src/server/game/DataStores/DB2Stores.cpp
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/Entities/Creature/Creature.cpp
	src/server/game/Entities/Creature/GossipDef.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Object/ObjectGuid.cpp
	src/server/game/Entities/Object/Updates/UpdateData.cpp
	src/server/game/Entities/Pet/Pet.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Globals/ObjectAccessor.cpp
	src/server/game/Handlers/BankHandler.cpp
	src/server/game/Handlers/CombatHandler.cpp
	src/server/game/Handlers/GroupHandler.cpp
	src/server/game/Handlers/GuildHandler.cpp
	src/server/game/Handlers/ItemHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Handlers/PetitionsHandler.cpp
	src/server/game/Handlers/QueryHandler.cpp
	src/server/game/Handlers/SpellHandler.cpp
	src/server/game/Handlers/TokenHandler.cpp
	src/server/game/Handlers/VoiceChatHandler.cpp
	src/server/game/Maps/Map.cpp
	src/server/game/Movement/Spline/MoveSplineInit.cpp
	src/server/game/Quests/QuestDef.cpp
	src/server/game/Server/Packet.cpp
	src/server/game/Server/Packets/SpellPackets.cpp
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/game/Spells/SpellScript.cpp
	src/server/game/Warden/Warden.cpp
	src/server/game/Warden/WardenWin.cpp
	src/server/game/Weather/WeatherMgr.cpp
2015-07-25 21:53:30 +01:00
Shauren
130878c1a5 Core/Collision: Removed direct GameObject references from collision project
(cherry picked from commit a029f97c82)

Conflicts:
	src/server/collision/Models/GameObjectModel.cpp
2015-07-25 16:22:33 +01:00
MitchesD
c40d3be6dc Core/SmartScripts: added new action SMART_ACTION_COMBAT_STOP
* this avoid using hacks like evade, faction change or rooting. I wonder how SAI could be without this

(cherry picked from commit d68df33c76)
2015-07-25 16:54:25 +02:00
joschiwald
8a9f1b871a Scripts/Ulduar: fixed freya loot and added missing conditions
thanks @Keader

Closes #15098
2015-07-25 15:28:39 +02:00
Warpten
a82e55f684 Scripts/RubySanctum: Halion: Correctly spawn X-shaped flames. 2015-07-24 17:11:30 +02:00
Vincent-Michael
9f04cbad21 Fix non pch build for Visual Studio 2015 compiler
(cherry picked from commit df1f4969d8)
2015-07-24 12:05:26 +01:00