Commit Graph

13993 Commits

Author SHA1 Message Date
Shauren 70d44f97dc Core/ObjectMgr: Fixed crash on shutdown
Closes #8362
2012-11-20 12:48:00 +01:00
Spp b5c9ab8802 Core/Misc: Reduction of header dependencies - Step II 2012-11-20 12:30:30 +01:00
Spp 81606e5d1e Core/Misc: Define some methods const 2012-11-20 09:29:52 +01:00
MrSmite ced723a53a Core/Pets: Pet "at rest" distance from owner is now closer as it should be
Original PR modified

Closes #8358
Closes #8181

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-19 23:55:42 +00:00
horn 4a86b83cb6 Core/Calendar: Minor change. 2012-11-19 22:28:53 +01:00
Vincent-Michael 7aa967e966 Scripts/AQ: Fix warnings (thx razhael) 2012-11-19 16:24:59 +01:00
Spp bf8b642a47 Fix compile without PCH (Also added some minor changes to minimize differences with 4.3.4) 2012-11-19 12:02:33 +01:00
Subv d42212b595 Core/Battlegrounds: Add methods for determining the winner of a BG if it has ended due to not enough players.
Implemented for Arathi Basin, Alterac Valley, Warsong Gulch and Eye Of The Storm.
All other BGs winner are currently decided based on the number of players of each side, they will be implemented later.
2012-11-18 22:07:44 -05:00
Subv a337abc436 Scripts/Instances: Added missing definition from previous commit. 2012-11-18 20:53:27 -05:00
Subv bbe146d104 Scripts/Instances: Save Magister's Terrace door (and statue) state.
Closes #6889
2012-11-18 20:33:03 -05:00
Nay 27cf98dac1 Scripts/AQ: Fix non PCH build 2012-11-19 01:02:31 +00:00
Nay 4294ccf95d Misc: Whitespace and tabs cleanup 2012-11-19 01:00:47 +00:00
tibbi 1f9db80b69 Scripts/ToC: Trial of the Crusader rewrite
Closes #8272
Closes #7013
Closes #7552
Closes #5561
Closes #4221
Closes #2701
Closes #2079
Closes #5082
Closes #6503
Closes #6784

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-19 00:42:25 +00:00
krofna aea5fec30d Scripts/AQ: Implement Ossirian the Unscarred
Fix yell on kurinaxx death

Warning fix

Closes #8254

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-19 00:37:43 +00:00
Gacko 45b07f0931 Scripts&DB: Nexus - Ormorok
Following improvements:
- Spellscript for crystal spikes
- Spawn crystal tanglers with spell
- Usage of event map
- Correct usage of frenzy
- Heroic spells
- Target selection for crystal tanglers

Details for the spell script:
There are 4 spells. Each of them spawns the same trigger but in another direction. The trigger gets an aura which triggers the spell which summoned him after 250ms. This time is too long, so it triggers on apply. Don't worry - test ingame first, it's working blizzlike (I watched some videos on YT to find out which is the best amount of time difference between spawn and next summon).

Some summon types don't store the spell id which summoned them. The trigger is one of them which are not doing so. So I had to move the line, which stores the spell id in the summon out of the if. This could be done more specific, but it works fine. This improvement is required to find out which spell the aura applied to the summoned trigger has to cast to keep the right direction.

Closes #8193

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-18 23:46:03 +00:00
horn 771aafc499 Core/Calendar: Completely rewrite and fix most of the calendar system
There are still some issues that need to be fixed, for more info see CalendarHandler.cpp TODO part.
Some unblizzlike behaviour possible, we don't have a lot of sniffs.
Big thanks to @Warpten, he joined my project and helped a lot.

IMPORTANT NOTE: Read / append packed time functions in ByteBuffer.h are not correct, they need to be fixed in order to have event times accurate

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-18 22:42:28 +00:00
Nay 47fcf4ce58 Merge pull request #8330 from MrSmite/PetAI_TargetSelect
[Core/Pet] PetAI_TargetSelect
2012-11-18 13:52:58 -08:00
Nay bb8e31d1bd Merge pull request #8259 from Warpten/supLion
Scripts/Ruby Sanctum: Tweaks and stuff.
2012-11-18 13:51:58 -08:00
Spp e60d26f36b Another crash fix after b99c347 2012-11-18 13:50:14 +01:00
MrSmite 0dfac02446 Fix PetAI missing aggressive pet target select
PetAI minor cleanup of target selection
2012-11-18 00:24:24 -05:00
LordUsagi cee9c3885d Core/Entities: AoE spells should be able to hit invisible targets.
Closes #7712
2012-11-17 19:46:05 -05:00
Subv b768ebc68f Fixed build.
Thanks vincent-michael
2012-11-17 15:21:05 -05:00
Subv 01d2126e7c Core/SAI: Allow the actions CALL_KILLEDMONSTER, CALL_GROUPEVENTHAPPENS and CALL_AREAEXPLOREDOREVENTHAPPENS to be used on vehicles, affecting all of their passengers. 2012-11-17 14:57:20 -05:00
Spp db4a69f773 Crash Fix after b99c347 2012-11-17 14:34:25 +01:00
Spp b99c347747 Core: Remove Player.h dependency from all the possible headers 2012-11-17 05:18:37 +01:00
Subv d55771267a Core/EventAI: Removed table creature_ai_summons. 2012-11-16 12:30:48 -05:00
Shauren dd80b76cbb Merge pull request #8247 from ille/recursivedeadlock
Core/Maps: Use Thread-Safe Interface design pattern to allow recursive calls on non...
2012-11-16 08:44:48 -08:00
Subv ecf3f6c2c7 Merge pull request #8291 from Gacko/utgardekeep
Core/DB: Utgarde Keep
2012-11-16 05:33:16 -08:00
Gacko c95228fcf8 Core: Utgarde Keep - Fix warning/error 2012-11-16 14:21:48 +01:00
Subv d13ca54ecc Core/Log: Added more information to the log in MoveSplineInitArgs::Validate 2012-11-15 08:27:23 -05:00
Spp d10ba397b6 Core/Warden: Remove warning 2012-11-15 14:13:58 +01:00
Spp 58c60c70cc Core: Move a couple of log messages to debug 2012-11-15 13:42:24 +01:00
Spp 01a745d279 Core/Battleground: Crash fix after ba20aa809f 2012-11-15 13:38:12 +01:00
Spp ba20aa809f Core/Battleground: Fix arena battlemaster gossip (reverts 028b6e7)
Closes #8046
2012-11-14 19:33:56 +01:00
Subv cb9dd9bd7e Merge pull request #8280 from DjYXA/patch-1
Daze mechanics Fix - By Arrakio
2012-11-14 07:59:17 -08:00
Subv 6325060804 Core/Spells: Enslave Demon shouldn't be usable on player pets.
Closes #7133
2012-11-14 10:33:56 -05:00
Subv 10a8a4f8f6 Missing variable in the function call. 2012-11-14 09:42:05 -05:00
Subv 51414967c4 Core/Build: Fixed a little mistake. 2012-11-14 09:35:45 -05:00
vlad852 a8ef3013f0 Core/SAI: Fix SMART_ACTION_SIMPLE_TALK for players. 2012-11-14 09:15:31 -05:00
kaelima c9801e83c6 Script/Emerald Dragons: Fixed a couple of issues with emerald dragon world bosses and some cleanup.
Renamed one sql from yesterday
2012-11-14 09:02:17 +01:00
kaelima 3c3d4f4c99 Script/Commands: Reimplemented ".lookup map" command. 2012-11-13 15:56:15 +01:00
Gacko 4e95c64bad Core: Utgarde Keep - Codestyle 2012-11-12 19:16:26 +01:00
Shauren 85f5a189de Core/Warden: Add minimal verification of OS used by client for warden module loading 2012-11-12 00:31:08 +01:00
Gacko 5126c0ad8b Core/DB: Utgarde Keep - Proto Drake 2012-11-11 18:43:04 +01:00
Shauren 63076ae58b Merge pull request #8260 from Warpten/cleanup
Core/Scripts: Cleanup alterac_valley.cpp.
2012-11-11 06:20:19 -08:00
Pitcrawler 660f7e72be DB/SAI: Fix some Howling Fjord gossips
Closes #4973
2012-11-11 12:28:31 +01:00
Gacko a2748fde4b Core/DB: Utgarde Keep - Corrections 2012-11-10 18:08:40 +01:00
Gacko cc0842f46b Core/DB: Utgarde Keep
- Script areatrigger near Ingvar to activate the proto drake
- Assign heroic spells
- Mount proto drake rider to proto drake
2012-11-10 17:33:07 +01:00
Spp 6bd90626ea Core/Build: Fix compile using mysqllite included with core
Closes #8283
2012-11-10 14:49:28 +01:00
Warpten 51b23af98d Core/Scripts: Cleanup alterac_valley.cpp. 2012-11-09 18:14:30 +01:00