Commit Graph

4146 Commits

Author SHA1 Message Date
megamage
e3fa04823d Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire the lock. 2011-10-31 17:25:12 -04:00
Shocker
6f054bdb12 Scripts/Icecrown Citadel: Fix a possible crash in Sindragosa's Fury code 2011-10-31 23:00:24 +02:00
megamage
1b8d9ec7b4 Clean up summon/remove gameobject code. 2011-10-31 10:46:39 -04:00
megamage
dfeb4a746b Fix a crash caused by spell with CAST_FLAG_RUNE_LIST casted by a creature mover. Thanks to Vasago. 2011-10-31 09:56:04 -04:00
kaelima
bfdceaf07e Core/SmartAI: Initialized player pointer before use
Should fix #3757
2011-10-31 13:35:06 +01:00
Kaelima
e158a5e14e Core/Commands: Typo in d9406b0e59 Ty glkrlos 2011-10-31 09:17:45 +01:00
kaelima
3d4d147196 Core/SmartAI:
- Drop useless actions SMART_ACTION_ENTER_VEHICLE, SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
(Vehicles are aura-driven, just remove or add the proper aura to achieve the same as these actions did)
- Fixed possible crash in SMART_ACTION_SEND_GOSSIP_MENU
- Areatriggers should not be triggered by dead players
2011-10-31 02:01:17 +01:00
kaelima
e16e18da23 Core/Spells: Added safe-checks for places where caster/victim can be null.
And some random cleanup
2011-10-31 01:54:44 +01:00
Nay
ad1f1dad59 DB/Misc: Fix most "X tried to cast unknown spell id 0" errors (related to totems) 2011-10-31 00:03:45 +00:00
kaelima
d9406b0e59 Core/Commands: Add stupid-check for trying to add negative itemID to vendor. Fixes crash #3238 2011-10-31 00:02:32 +01:00
kaelima
d5ece59acd Core/Spells: Fixed possible crash for Decimation
Closes #3750
2011-10-30 23:52:38 +01:00
Nay
0b51b4ef0a Core/SAI: SMART_ACTION_TALK, if our action target is a player, use its guid as whisperGuid (used in whispers and in text $vars) 2011-10-30 14:26:49 +00:00
Nay
f17879d423 Core/SAI: Add input validation (params) to certain target types and update target comments 2011-10-30 13:12:39 +00:00
Nay
c0c237f474 Fix build
Add unsaved data to last commit (82fa5c97d6)
2011-10-30 02:07:41 +00:00
Nay
82fa5c97d6 DB/Quests/IC: Fix quest Tempering The Blade
Closes #837
2011-10-30 01:08:16 +01:00
Machiavelli
7d52578b80 Scripts/Ulduar/Assembly of Iron: Fix Immumities for Stormcaller Brundir; Fix Brundir's Lightning Tendrils (visuals need some extra love)
Closes #707
2011-10-29 22:49:55 +02:00
kaelima
526ada47e1 BG/Isle of Conquest:
- Fix seaforium bombs.
- Add flag pole for Refinery
- Some cleanup
Also correct a typo in 0083290322
2011-10-29 15:16:13 +01:00
kaelima
0083290322 Core/Player: Fix gaining fishing skill of wielding fishing pole in offhand
Closes #3717
2011-10-29 15:07:08 +01:00
Machiavelli
4f039841e8 Scripts/Ulduar/Freya: Remove unneeded TimeCheck function that would lead to over-spawning of waves. 2011-10-29 14:55:05 +02:00
kaelima
e1111886dd Scripts/Howling Fjord: Fix horde version of Of Keys and Cages 2011-10-29 14:12:36 +01:00
Nay
8ca09a2061 Revert file Main.cpp that shouldn't have been change in accae0ce50 (previous commit) 2011-10-29 00:48:49 +01:00
Nay
accae0ce50 TDB 335.11.43
Move SQL updates to the directory old.
2011-10-29 00:20:56 +01:00
Nay
c19a6c7e31 Core/Loading: Drop the field script_version from the table version.
It serves no purpose (and one step closer to remove EAI from the core/db)
2011-10-28 23:00:00 +01:00
draco
96c63fdf90 Change magic numbers for EffectRadiusIndex into enum with actual effect radius 2011-10-27 21:30:23 +02:00
Shocker
5559ca8329 Merge pull request #3651 from Fredi/cleanup
Script/Commands: Codestyle and cleanups
2011-10-27 08:12:20 -07:00
Discover-
a620a763a9 Scripts/Howling Fjord: Fix quest Of Keys and Cages
Closes #3540
2011-10-26 00:11:06 +01:00
Discover-
80720358f0 Scripts/Nagrand: Fix creature text of Maghar Prisoner and remove useless RAND() in go_warmaul_prison. 2011-10-25 23:52:55 +01:00
kaelima
f958fdf246 Core/SmartAI: Add actions SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
Fix maxdist for SMART_TARGET_CLOSEST_PLAYER.
2011-10-25 23:50:00 +01:00
kaelima
6ca1487c48 Core/SmartAI: Fix target type SMART_TARGET_CLOSEST_PLAYER 2011-10-25 21:43:24 +01:00
kaelima
199bcf1a88 Core/SmartAI: Allow SMART_ACTION_FOLLOW to take 0 values for dist and angle - will set them to their "default" following values. 2011-10-25 19:08:21 +01:00
kaelima
f2000f3fb5 Core/Misc: Some minor cleanups
Fixed SQL added in prev commit.
2011-10-24 23:33:17 +01:00
kaelima
3a3af64f68 Core/SmartAI:
- Fixed some issues with SMART_ACTION_SET_FLY (#1073)
- Fixed allowing 0 as input for  SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST (#2680)
- Some cleanup
2011-10-24 23:21:34 +01:00
megamage
0ac431f52d Fix a crash caused by spell 49065. Close #3646. 2011-10-24 16:54:52 -04:00
Shocker
10bca6c268 Merge pull request #3596 from ille/master
use effectMask to calculate mechanicMask in ModSpellDuration

Closes #1599
2011-10-24 10:43:47 -07:00
Fredi
a8d20d5da8 Script/Commands: Codestyle and cleanups 2011-10-24 08:35:33 -02:00
Shocker
ce034bd544 Core/SmartAI: Delay spell cast events (SMART_ACTION_CAST) when another spell is already being casted.
Idea by ET
2011-10-23 21:34:50 +03:00
Nay
fec3db6e5d Core/SAI: Fix event phases when phase > 2
Again, phase ids != phase masks
2011-10-23 17:50:31 +01:00
Nay
5f58965fad Tiny typo on previous commit. 2011-10-23 13:01:04 +01:00
Geekotron
c2125ece3b Core/SAI: Add SMART_ACTION_SEND_GOSSIP_MENU.
It allows the scripter to change the gossip (and gossip menu option) of a creature with SAI
Param1 = `gossip_menu`.`entry`
Param2 = `gossip_menu_option`.`id`
2011-10-23 12:59:08 +01:00
Machiavelli
70c2f9e796 Merge pull request #3575 from bytewarrior/master
Core/Mechanic: Fixed wrong target level at resist chance calculation.
2011-10-23 04:22:18 -07:00
Machiavelli
3a713eef7e Merge pull request #3587 from Fredi/check
Core/Commands: Added security check in .damage
2011-10-23 04:16:53 -07:00
Elron103
84a6417a4e Core/Quests: Fix pooling system causing wrong questrelations
Closes #3101 (probably few others)
2011-10-23 12:11:38 +01:00
Discover-
5a12fb9964 DB/SAI: Convert quest The Dwarven Spy from scripts to SAI
Closes #2923
Closes #3109
2011-10-23 12:04:33 +01:00
Discover-
fe3f19148a DB/SAI: Convert quests Survey the Land & Illidan's Pupil from core scripts to SAI (and fix them properly)
Closes #3060
2011-10-23 11:10:58 +01:00
Nay
8e2440133e DB/SAI: Convert quests 10987, 10107, 10108, 9918, 9849 from core scripts to SAI
Closes #1544
Closes #3055
Closes #3056
Closes #3058
Closes #3059
2011-10-23 11:00:56 +01:00
Lopin
9592bc6082 Merge pull request #3632 from Poli93/master
Scripts/ToC: Fixed number of targets of Penetrating Cold in Anub'arak's encounter
2011-10-23 01:27:24 -07:00
kaelima
120d4f45dd DB/SAI: Fix some Hallow's End quests
- Flexing for Nougat (8359,8356)
- Incoming Gundrop (8358,8358)
- Dancing for Marzipan (8360,8360)
- Chicken Clucking for a Mint (8354,8353)
Ty Kaopeira
2011-10-23 04:29:44 +01:00
jon
aaf585aa42 Fix Anub'arak casting Penetrating Cold on 5 players in 10 man raid 2011-10-23 00:14:18 +02:00
Discover-
fc174912f4 DB/Conditions: Fix quest Returning the Favor
Closes #3035

Also fix build (not enough Ctrl+S)
2011-10-22 17:48:09 +01:00
Nay
26b3e62b26 Scripts/Nagrand: Add a quest incomplete check in go_warmaul_prison (previous commit).
Thanks @Retriman
2011-10-22 17:38:26 +01:00