Commit Graph

10367 Commits

Author SHA1 Message Date
StormBytePP 5406f82044 Scripts/VioletHold: Fix correct boss erekem repeat time interval
Updates coverity issue #1318019
2015-08-25 13:24:27 +02:00
jackpoz 95bae7143f Scripts/VioletHold: Fix issue reported by static analysis
Coverity defect IDs: 1318019
2015-08-24 22:37:59 +02:00
jackpoz f50df72820 Scripts/VioletHold: Fix crash in Xevozz boss fight
Fix crash happening during Xevozz boss fight caused by passing a local list by reference to a lambda expression
Closes #15345
2015-08-24 14:52:18 +02:00
StormBytePP 405f823f68 Core/BuildSystem: Merged crypto and gitrevision into common, cleaned include directory lists (to mimic 6.x buildsystem) 2015-08-24 03:38:54 +02:00
David Carlos Manuelda 603f49a551 Merge pull request #15327 from Trisjdc/fix_rest_state
Core/Players: Improve rest state handling, allow several rest states to be active
2015-08-23 20:32:54 +02:00
StormBytePP 3a4f54197c Scripts/Build: Fixed noPCH compile 2015-08-23 16:43:44 +02:00
joschiwald df21162fe4 Scripts/VioletHold: rewrote the whole instance
thanks @MitchesD for help
2015-08-23 14:43:11 +02:00
Trisjdc c14b66c24c Core/Players: Improve rest state handling, allow several rest states to be active
Fixes https://github.com/TrinityCore/TrinityCore/issues/15325
2015-08-23 10:47:16 +01:00
StormBytePP 68e6c95f16 Core/Scripts: Fix noPCH compile 2015-08-22 21:05:37 +02:00
Nyeriah b28849003c Scripts/OnyxiasLair: Force Onyxia to enter evade mode if pulled out of her room 2015-08-22 00:14:46 -03:00
Nyeriah 8b27b61978 Scripts\MoltenCore: Disable Ragnaros' combat movement 2015-08-21 23:20:45 -03:00
Nyeriah fe07614916 Scripts/TheEye: Update Kael'thas Sunstrider's script
Closes #4180
Closes #4181
Closes #8479
Updates #1885
2015-08-21 22:57:29 -03:00
Carbenium c7079ecb8e Merge pull request #15318 from StormBytePP/3.3.5_fix_possible_nullpointer_dereference
Core/Misc: Added checks for procSpell nullptr cases
2015-08-21 23:29:32 +02:00
jackpoz 5e1722c2f4 Script/Commands: Add new "debug loadcells" command
Closes #15292
2015-08-21 22:54:59 +02:00
StormBytePP 424576e098 Core/Misc: Added checks for procSpell nullptr cases
Fixes Coverity Defect ID: 1023036
2015-08-20 16:29:36 +02:00
StormBytePP 6051d0c4f8 Core/Build: Fixed bitshift undefined behavior
Coverity defect ID: 1193414
2015-08-20 15:42:27 +02:00
joschiwald 30fc4f9f63 Scripts/Ulduar: fixed hodir kill credit
Closes #15303
2015-08-17 23:27:42 +02:00
StormBytePP 0cc3d883e1 Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present 2015-08-16 23:08:01 +02:00
jackpoz 2f92a2f58e 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.
2015-08-16 22:29:56 +02:00
StormBytePP 1f66d719f2 Core/BuildSystem: Merge collision, debugging, threading, utilities and configuration into "common" which does not depend on shared anymore and moved database out of shared library
These changes enables to build tools only without even having MySQL installed
2015-08-16 21:23:15 +02:00
Shauren 222eaccc51 Build fix for WheatyExceptionReport, c++ exceptions must not be thrown in SEH handlers 2015-08-16 18:08:03 +02:00
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