Commit Graph
100 Commits
Author SHA1 Message Date
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
Shauren f0ac821e0b Scripts/Serpentshrine Cavern: Fixed crash in boss_leotheras_the_blind caused by uninitialized variable; also replaced unsafe AI typecasting with Get/SetGUID 2012-03-19 17:03:39 +01:00
Shauren 90cacb9ab9 Core/SmartScript: Fixed possible crashes when attempting to use StoreTargetList with a the same list already stored on the same id 2012-03-19 11:43:50 +01:00
Shauren 01f3620d45 Core/Movement: Corrected movement info structure written in WriteMovementInfo 2012-03-17 18:01:56 +01:00
Shauren a50fbb45be Core/DBC: Updated ScalingStatValues format string 2012-03-16 12:43:07 +01:00
Shauren a3d7caba8a Core/Opcodes: Defined a new opcode 2012-03-16 12:34:37 +01:00
Shauren 84891377b5 Core/Spells: Fixed copy paste mistake that caused all area spells to search targets starting from caster's coordinates instead of targeted destination 2012-03-15 13:15:25 +01:00
Shauren 313802a4ed Core/Movement: Added more movement flags that cause units to select flight speed instead of run 2012-03-15 13:14:42 +01:00
Shauren 4a96ae22a9 Scripts/Icecrown Citadel: Corrected flying animations for frostwyrms in Sindragosa's Lair and prevent reentering combat with Deathbringer Saurfang after encounter is won 2012-03-15 13:10:42 +01:00
Shauren 77f165ba27 Merge pull request #5717 from mweinelt/master
Scripts/Magister's Terrace: Fix Translocation Orb Activation and corr…

…ect some codestyle
2012-03-14 15:33:38 -07:00
Shauren 1dde22394c Core: Corrected conflicting variable names 2012-03-14 00:21:46 +01:00
Shauren c0165ec7f8 Scripts/Icecrown Citadel: Lock Deathbringer Saurfang and Valithria Dreamwalker chests to players who fought them 2012-03-12 18:09:06 +01:00
Shauren 671fd4176a Core/GameObjects: Chests will now remain locked for players who left the group if loot from that boss is stored in it (note: this is just an implementation of locking the chest, they still need to be linked to a boss - not yet implemented) 2012-03-12 18:07:34 +01:00
Shauren 036dae5a36 Merge pull request #5631 from joschiwald/crashfix
Core/CreatureTextMgr: Fix crash in GetLocalizedChatString()
2012-03-11 07:18:38 -07:00
Shauren 3cf8b9a15a Scripts/Serpentshrine Cavern: Fixed crashes caused by uninitialized variables, patch by PuniCZ
Closes #4988
Closes #5645
2012-03-11 15:03:29 +01:00
Shauren f85fdbebe7 Core/DBC: Remove store getters (useless since we don't have scripts as external dll) 2012-03-10 20:53:26 +01:00
Shauren a1a7a2d7c0 Core/Players
* Add liquid special aura only if player is in it (not when above)
* Use CastSpell instead of AddAura - checks all dbc conditions on spell
2012-03-07 18:57:47 +01:00
Shauren e5d23103f3 Core/Maps
* Corrected liquid type extraction in maps - MCLQ chunk must be parsed together with MH2O (they stack)
* Fixed liquid detection in WMO objects
* Implemented LiquidType.dbc use, players will now get proper auras in special liquids
* Turned off slime damage by default (Naxxramas uses periodic damage aura for this purpose)
* Implemented liquid type overrides basing on area/zone
* Renamed final temp_gameobject_models to GameObjectModels.dtree (the temporary one produced by vmap extractor remains unaffected)

Note: Map and Vmap re-extraction is required
2012-03-07 13:09:35 +01:00
Shauren bf5c8d7399 Scripts/Spells: Fixed target of visual polymorph in Silvermoon city 2012-03-06 22:05:33 +01:00
Shauren e9a125f495 Buildsystem/CMake: Changed TOOLS building back to off by default 2012-03-04 22:43:13 +01:00
Shauren 254256668b Core: Fixed compile without PCH 2012-03-01 23:45:07 +01:00
Shauren 09f0a2c04f Core/CreatureTextMgr: Added support for creature_text localization 2012-03-01 22:26:05 +01:00
Shauren 03a7a80687 Core/Packets: Fixed exceptions being incorrectly thrown when appending empty strings to packets
Closes #5486
Closes #5495
2012-02-29 20:12:11 +01:00
Shauren 56536a6af5 Core: Fixed build warning 2012-02-29 18:45:31 +01:00
Shauren 7eff1c8f53 Core: Build fix (for real this time) and warning fix 2012-02-29 12:02:28 +01:00