Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 577d5b4fd1 Core/SmartScript: Corrected size of pointId parameter for MOVE_TO_POS SAI action 2012-07-03 16:22:14 +02:00
Shauren 537caf33e9 Core/SpellScript: Implemented OnObjectTargetSelect hook for use with spell target that selects a single object 2012-07-03 12:35:06 +02:00
Shauren 96014a70cb Core/Units: Fixed crash added in 7f960fed73 2012-07-03 11:45:19 +02:00
Shauren 2bee0e6e37 Core/SpellScript: Corrected when OnObjectAreaTargetSelect hooks are called (must be before splitting unit/go targets) 2012-07-01 21:05:53 +02:00
Shauren 6eadc63ade Core/VMaps: Use fabs instead of abs for float type. On some platforms abs has only int overload exists. 2012-07-01 01:42:58 +02:00
Shauren f4ec8b033d Scripts/Icecrown Citadel: Fixed Frost Bomb ignoring line of sight checks 2012-07-01 01:15:13 +02:00
Shauren bd8226414d Missed change for previous commit 2012-06-30 23:22:51 +02:00
Shauren ee2252163f Scripts/Icecrown Citadel: Fixed visual and target selection of Sindragosa's Fury 2012-06-30 23:14:34 +02:00
Shauren 1ae184748c Merge pull request #6988 from Faq/DK_talent
Core/Spells: Corrected Black Ice bonus damage for Scourge Strike shadow part.
2012-06-30 11:40:56 -07:00
Shauren c8d20004a5 Core: Minor code style corrections 2012-06-30 16:07:09 +02:00
Shauren 067c27d299 Core/SpellScript: Corrected error messages and in-source documentation for OnObjectAreaTargetSelect hook and allow using that hook only for area spell targets 2012-06-30 00:06:17 +02:00
Shauren e0997874f5 Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists 2012-06-29 21:53:35 +02:00
Shauren 1bddb4eaf4 Fixed compile without PCH 2012-06-26 01:31:55 +02:00
Shauren 12b46945db Scripts/Icecrown Citadel: Added floating souls visual in The Spire after teleport to The Lich King becomes available (killing 11/12 bosses) 2012-06-26 01:19:23 +02:00
Shauren bf5002a4d1 Core/Items: Remove item from tradeable list when clearing the flag on enchanting/gemming 2012-06-23 12:31:46 +02:00
Shauren d0fa012e1d Core/Auras: Properly initialize mechanic immunity mask for SPELL_AURA_MECHANIC_IMMUNITY_MASK 2012-06-23 12:16:52 +02:00
Shauren ea9339b171 Core/SmartAI: Fixed SMART_ACTION_SET_RANGED_MOVEMENT parameters 2012-06-23 12:15:52 +02:00
Shauren 29f1ab2438 Core/Achievements: Corrected map requirement for Once Bitten, Twice Shy (10 player) - was requiring Ulduar 2012-06-18 19:05:25 +02:00
Shauren bd7299ac35 Scripts/Spells: Reverted part of 9d19be2ee5, fixes scaling mounts
Closes #6815.
2012-06-18 13:27:10 +02:00
Shauren 2cafa85daa Scripts/Icecrown Citadel: Minor correction for previous commit 2012-06-18 13:19:09 +02:00
Shauren 9938128932 Scripts/Icecrown Citadel
* Fixed position of summoned creatures (if supposed to be in air)
* Fixed casting Fury of Frostmourne initiating outro roleplay while casting something else at the same time
* Fixed outro visuals
2012-06-18 13:16:01 +02:00
Shauren 478de6298e Scripts/Icecrown Citadel: Fixed Sindragosa & her frost wyrms summoning - this time properly using constant db data (turns out creatures receive a new GUID when grid reloads in instance) 2012-06-15 15:19:31 +02:00
Shauren 15eb5f0749 Core/SmartAI: Allow calling talk action on targeted creature even if scripted object itself is not a creature 2012-06-12 22:22:18 +02:00
Shauren b24c15740f Build fix 2012-06-12 20:17:55 +02:00
Shauren 28f8e42a69 Core/AI: Added EventInform hook for GameObjectAI and implemented it in SAI 2012-06-11 11:10:46 +02:00
Shauren be5f0b0f47 Core/Scripts: Fixed crash in mob_phase_hunterAI, this entire script is crappy and needs rewrite anyway. 2012-06-09 22:50:56 +02:00
Shauren 7d98f2ffc7 Core/Spells: Fixed WotF and PvP trinket shared cooldown 2012-06-09 13:09:49 +02:00
Shauren 563c70e41a DB/Spawns: Corrected Nerub'ar Broodkeeper spawns in ICC, they should be hanging from the ceiling. 2012-06-09 12:52:01 +02:00
Shauren 32aa983fe2 Core/Maps: Fixed possible crash when resetting instances 2012-06-08 14:52:52 +02:00
Shauren 73e6eedce8 And missing full sql changes 2012-06-07 23:25:33 +02:00
Shauren c7775c8d72 Core/Maps: Moved object respawn time storage from global to map level. This removes unneccessary locking since all objects run within its map's thread. 2012-06-07 23:20:57 +02:00
Shauren 2c153b8a43 Core/Movement: Fixed Unit::SetFacingTo 2012-06-07 15:02:51 +02:00
Shauren 8223bcea04 SQL: Corrected file names 2012-06-07 14:56:41 +02:00
Shauren 810f21efbc Core/Movement
* Moved enter/exit vehicle packets to spline.
* Fixed spline movement on transports such as elevators (for which we do not keep track of its exact position) - path will be using normal coordinates (not transport offsets)
2012-06-06 20:36:34 +02:00
Shauren 295b1a00c8 Scripts/Icecrown Citadel: Fixed Sindragosa, Spinestalker and Rimefang flying in after related trash packs are dead - this solution is resistant to grid unload. 2012-06-05 14:53:18 +02:00
Shauren 3b44401aa6 Core/Movement: Fixed Facing* splines on transports 2012-06-03 15:31:37 +02:00
Shauren f5ab1a3a5c Core/Movement: Fixed Unit::StopMoving() 2012-05-31 23:04:09 +02:00
Shauren 425eeb8280 Core/Movement
* Implemented creature movement on transports
* Set minimum speed for creature allowed to start movement (too low speed leads to overflows in movement time calculations which in turn leads to crashes)
2012-05-31 19:45:11 +02:00
Shauren 5eee40249c Core/Items: Added custom flags field to item_template, currently 2 flag values are available
* ITEM_FLAGS_CU_DURATION_REAL_TIME determines item duration counts even if offline (replaced ugly negative duration workaround, easy to lose data when importing fresh wdb)
* ITEM_FLAGS_CU_IGNORE_QUEST_STATUS quest status will not affect this item appearing in loot, currently needed for Arena Master trinket
2012-05-31 15:39:18 +02:00
Shauren b549cd2543 Scripts/Icecrown Citadel: Remove encounter specific auras when Blood-Queen Lana'thel fight ends (prevents exploits with Essence of the Blood Queen
Closes #6610
2012-05-27 22:26:49 +02:00
Shauren 024a39af9f Core: Tweaked ASSERT macro a bit - removed library assert as on Windows platforms it calls abort() and does not generaty crash dump files. 2012-05-12 21:11:41 +02:00
Shauren d8a1a0e05a Scripts/Pit of Saron: Unlock passage to Tyrannus after first 2 bosses are down. 2012-05-11 13:12:09 +02:00
Shauren 51656d7e60 Scripts/Icecrown Citadel: Fixed Scent of Blood on heroic mode of Deathbringer Saurfang encounter 2012-04-27 15:38:09 +02:00
Shauren 05bb8e4fcd Core/Vehicles: Fixed creature passengers falling off vehicles at client side 2012-04-24 17:19:41 +02:00
Shauren 1851a2e9e3 Scripts: Replaced calls to ForcedDespawn with DespawnOrUnsummon (calls appropriate AI hooks in case of temporary summons) and made ForcedDespawn private 2012-04-24 16:53:37 +02:00
Shauren a9ad4099ec Scripts/Icecrown Citadel
* Sister Svalna will now fly and land properly
* Fixed visuals in Blood Prince Council fight
* Flying triggers will now fly properly
2012-04-23 18:10:18 +02:00
Shauren 2921e28de3 Core/Maps: Increased default ground search range, 10 yards was insufficient for many flying creatures 2012-04-21 20:10:11 +02:00
Shauren 5c3ee06f49 Core/Errors: Improved OS detection for windows crash reporting 2012-04-21 16:29:26 +02:00
Shauren 479af777f1 More include fixes 2012-04-20 00:01:07 +02:00
Shauren c6618575a2 Fixed build without PCH 2012-04-19 23:50:32 +02:00
Shauren a5da806cc6 Scripts/Ulduar: Fixed some WIP code for Algalon 2012-04-19 23:30:40 +02:00
Shauren 3c2dd7c5ed Scripts/Ulduar: Algalon the Observer 2012-04-19 23:19:27 +02:00
Shauren 435a9a566a Core/Creatures: Changed how boss creatures are identified, creature_template.rank was not a good indicator 2012-04-19 14:28:45 +02:00
Shauren 4818c70dcb Core/Spells: Removed unneeded phase check from spell casts, its already done in canSeeOrDetect for spells that need it. Probably more phase checks are not needed either 2012-04-18 22:27:40 +02:00
Shauren a483eb5f11 Core/Scripts: Added possibility to remove phase setting from EventMap and an empty-checking method 2012-04-18 12:45:58 +02:00
Shauren bec761a3e0 Core/Creatures: Set melee sheath as default only for creatures that do not have creature_addon data 2012-04-18 12:44:56 +02:00
Shauren 61cb2db1bd Core/Player: Removed _lastLiquid from Player class, no need to have it in both Unit and Player 2012-04-17 10:16:31 +02:00
Shauren 0f48da6ed1 Spell/Warrior: Fixed Concussion Blow damage part
Thanks ShinDarth
2012-04-16 20:33:19 +02:00
Shauren 39b3589dcb Fixed Fixed broken compile 2012-04-15 17:41:37 +02:00
Shauren 4f14693ef2 Core/Scripts: Corrected previous commit and added a few AI hooks to GameObjectAI 2012-04-14 18:26:16 +02:00
Shauren a3bdaf7e6d Core/Scripts: Added support for creating custom GameObjectAI classes, similar to how creature scripts work. 2012-04-14 17:49:51 +02:00
Shauren f51b62979f SQL: Renamed files to match the order they were commited in. 2012-04-14 11:15:12 +02:00
Shauren 63ec9f2299 Core/Player: Send calendar raid lockout remove before removing player from instance save (may invalidate instance save) 2012-04-14 11:09:40 +02:00
Shauren c055a8617d Scripts/Icecrown Citadel
* Fixed Professor Putricide Tear Gas stunning himself
* Fixed visual of Unstable Experiment
* Fixed oozes not picking new targets after hitting old
* Fixed Gas Cloud not using melee attack
* Removed ooze summon position hack

Closes #4301
Closes #2726
Closes #5119
Closes #4464
Closes #2874
Closes #4407
Closes #2421
Closes #4899
2012-04-13 19:56:00 +02:00
Shauren 4b81de9d3a Core/Movement: Changed casting check in TargetedMovementGenerator to be able to freely manipulate cast+move interaction in scripts 2012-04-13 18:32:47 +02:00
Shauren 7405202023 Removed unused file 2012-04-12 15:44:41 +02:00
Shauren c2948f6352 Scripts/Trial of the Crusader: Fixed spell_powering_up_SpellScript once again 2012-04-11 22:47:54 +02:00
Shauren da8c7d2344 Core: Fixed warning C4263: 'bool Creature::SetDisableGravity(bool,bool)' : member function does not override any base class virtual member function 2012-04-11 21:30:56 +02:00
Shauren be5b91f6bb Scripts/Icecrown Citadel: Fixed crashes on despawning abominations during Professor Putricide's phase transition 2012-04-11 17:53:55 +02:00
Shauren 0506877e2a Core/Vehicles: Use DespawnOrUnsummon in Vehicle::Dismiss to call AI despawn hooks. 2012-04-11 17:52:44 +02:00
Shauren abed18d695 Core/DBLayer: More type fixes 2012-04-09 17:36:10 +02:00
Shauren bfc73920c7 Scripts/Spells: Corrected Riptide script, preparing variable should be done in Load hook, not Register 2012-04-09 10:58:20 +02:00
Shauren 5e485cba76 Scripts/Icecrown Citadel: Fixed Mystic Buffet applying on targets hidden behind Ice Tombs 2012-04-08 15:15:16 +02:00
Shauren 56766949fa Scripts/Icecrown Citaldel
* Timer improvements after air phase for Sindragosa
* Added landing animation after air phase
* Unchained Magic affects 6 targets on 25 man mode
*
2012-04-08 12:14:04 +02:00
Shauren cb30a06756 Scripts/Pit of Saron: Geist Ambusher should only jump once, on entering combat 2012-04-07 21:38:33 +02:00
Shauren ae0a6cde21 Core/DBLayer: More type fixes. 2012-04-07 17:27:40 +02:00
Shauren c2c8b62282 DB/Spawns: Added missing gameobject at Majordomo Executus area (damage on pile of coal) 2012-04-07 17:00:05 +02:00
Shauren 33d5e7c753 Scripts/Icecrown Citadel: Fixed Ice Bomb visual synchronization
Closes #5179
2012-04-07 01:06:56 +02:00
Shauren b5dc7bc45b Core/SmartScript: Fixed crashes with stored target lists
Closes #5786
2012-04-05 22:13:20 +02:00
Shauren d9451cedd8 Core/World: Add character name data after loading PlayerDump
Closes #3653

Note: Manual changes in database while the server is running are not advised thus not supported
2012-04-03 00:02:58 +02:00
Shauren 3831e76b9a Core/Protocol: Fixed SMSG_NAME_QUERY_RESPONSE for offline players (fixes friend lists) 2012-04-02 18:37:25 +02:00
Shauren 68fdf2a12f Core/DBLayer: Added missing prepared statement implementation for uint8/16 2012-03-31 14:16:48 +02:00
Shauren 5843851559 Core/DBLayer: More prepared statement corrections 2012-03-29 23:22:10 +02:00
Shauren 3ba43cc08a Core/DBLayer: More type fixes
Closes #5936
2012-03-29 18:30:25 +02:00
Shauren 022143460a Core/DBLayer: Fixed some crashes caused by incorrect prepared statements usage
Closes #5934
2012-03-29 11:30:37 +02:00
Shauren 76397cf931 Core/Grids: Removed unsafe substraction, fixes possible freezes 2012-03-28 01:26:45 +02:00
Shauren ae0511a2a4 Core/Spells: Fix DynamicObject AoE effects for invisible targets e.g Flare. Original patch by Elron
Closes #5898
2012-03-28 01:13:58 +02:00
Shauren 697fda7d27 Core/Players: Fixed copy paste mistake 2012-03-28 00:03:11 +02:00
Shauren 38deaa5dba Core/Players: Fixed saving glyphs to database
Closes #5909
2012-03-27 19:00:41 +02:00
Shauren 9ec61089be Core/Player: Fixed accessing possibly deallocated memory 2012-03-25 22:24:11 +02:00
Shauren 44a474f1e3 Core/AchievementMgr: We heard you like uninitialized variables so... we initialized them for you so you can hate us 2012-03-25 20:55:06 +02:00
Shauren e64d1d43dd Core: Add proper cleanup at exit for smart script waypoints and instance encounters 2012-03-24 18:42:35 +01:00
Shauren a306c00d43 Core/LFGMgr: Added missing changes from previous commit 2012-03-24 18:01:39 +01:00
Shauren 64701c51dc Core/LFGScript: Split LFG script class to prevent crash caused by deallocating the same memory twice 2012-03-24 17:53:33 +01:00
Shauren 78e8de5913 Core/Scripts: Fixed script unloading 2012-03-24 17:09:42 +01:00
Shauren c8bf09d504 Core/DBLayer: Match field type reads in core with data types in db for prepared statements 2012-03-24 16:44:01 +01:00
Shauren dc4a0ec089 Merge pull request #5865 from Elron103/pull-requests4
Core/Spells: Fix loading order and apply custom spell flags correctly
2012-03-24 05:52:35 -07:00
Shauren 25c13de8b3 Core/Auras: Corrected check relying on a not yet initialized variable 2012-03-24 13:43:28 +01:00
Shauren 479c0976ab Core/Creatures: Properly initialize m_zoneScript when it depends on zone id (OutdoorPvP/Battlefield) and fixed z offset for hovering creatures at creation 2012-03-23 00:48:32 +01:00
Shauren 568e524c45 Core/Spells: Implemented CREATURE_TYPEFLAGS_PARTY_MEMBER, creature with this type_flag set can be targeted by spells that require target to be in caster's party/raid 2012-03-19 20:44:30 +01:00