Commit Graph

6513 Commits

Author SHA1 Message Date
Spp
1d7adbfc7f Core/AI: Fix crash in SmartScript
Closes 8340
2012-11-21 12:36:00 +01:00
Subv
17071df235 Merge pull request #8383 from blipi/lfg_fixes
Core/Dungeon Finder: Properly save old state for LfgPlayerData
2012-11-20 19:35:45 -08:00
Blipi
ae507e5cc6 Core/Dungeon Finder: Properly save old state for LfgPlayerData 2012-11-21 04:31:21 +01:00
Subv
a17d44bcc2 Merge pull request #8381 from blipi/lfg_fixes
Core/Dungeon Finder: Old state should be saved, not the new one
2012-11-20 19:19:30 -08:00
Blipi
441712fbba Core/Dungeon Finder: Old state should be saved, not the new one 2012-11-21 04:11:58 +01:00
Vincent-Michael
84d88cbcec Core: Fix warnings 2012-11-21 00:43:24 +01:00
Vincent-Michael
695836cb01 Core: Fix non pch build 2012-11-21 00:15:58 +01:00
ZxBiohazardZx
8bd462b6d1 Core/scritps: change enum to fix compile 2012-11-20 23:20:14 +01:00
ZxBiohazardZx
074b2e3936 Merge pull request #8371 from Gacko/creaturetext
Core/DB: Some script to creature text conversions...
2012-11-20 13:53:55 -08:00
Gacko
1e5e7056dc Core/DB: Converted 7 more scripts to creature text 2012-11-20 22:03:10 +01:00
Spp
cd2b79f8d4 Fix compile under windows 2012-11-20 20:45:10 +01:00
Spp
08b7439f48 Typo Fix after 81606e5 (Thanks to vlad852 for noticing) 2012-11-20 19:02:58 +01:00
Gacko
9dc06f8bd9 Core/DB: Some script to creature text conversions... 2012-11-20 18:08:18 +01:00
Spp
7bef4ce401 Core/Misc: Reduce header dependencies - Step III 2012-11-20 15:03:56 +01:00
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