Commit Graph
100 Commits
Author SHA1 Message Date
Shauren cc08d911f6 Scripts/Icecrown Citadel: Fixed Unbound Plague
Closes #7791
2012-09-18 18:11:22 +02:00
Shauren bc912af806 Core/Spells: Defined and implemented SPELL_ATTR5_DONT_TURN_DURING_CAST.
This attribute controls whether unit can turn during casting spells (fixes Ingvar's Dark Smash)
2012-09-16 23:34:30 +02:00
Shauren 130cc423d2 Scripts/Commands: Fixed crashes in unstuck command
Closes #7754
2012-09-13 23:58:45 +02:00
Shauren f03e650474 Core/Calendar: Fixed breaking calendar event UI after relogging 2012-09-13 16:38:18 +02:00
Shauren a301cf5bec Build fix. 2012-09-10 20:48:38 +02:00
Shauren 0390f9d708 Scripts/Icecrown Citadel
* Despawn Mutated Abomination when second phase transition ends, not begins
* Prevent Unbound Plague jumping every 0.5 seconds to bypass the mechanic by raid members stacking in one place
* Fixed Volatile Ooze not picking targets when everyone stood close to the tank
* Fixed Ooze adds pickning new targets after old one gets lost

Closes #7610
Closes #7611
Closes #7665
2012-09-10 20:32:13 +02:00
Shauren 83817afd99 Core/Vehicles: Improved vehicle passenger position calculation (still not complete) 2012-09-09 19:56:00 +02:00
Shauren 97a92036d1 Core/Spells: Fixed typo in previous commit 2012-09-09 19:22:30 +02:00
Shauren 53002dfe03 Core/Spells: Set UNIT_FIELD_CHANNEL_OBJECT also for spells that don't have explicit target unit but use NEARBY selection, fixes #7246 2012-09-09 17:52:27 +02:00
Shauren 147920c464 Merge pull request #7664 from Elron103/pull-requests 2012-09-05 06:40:56 -07:00
Shauren c4466facb1 Properly fixed one warning 2012-09-04 17:00:56 +02:00
Shauren 8ec0146721 Dep/G3D: Restored 99c8399772 2012-09-04 14:43:32 +02:00
Shauren 1e9fc84a12 Core: Warning fixes
C4100: 'x' : unreferenced formal parameter
C4310: cast truncates constant value
C4389: '==' : signed/unsigned mismatch
C4668: 'x' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C4701: potentially uninitialized local variable 'x' used
C4826: Conversion from 'HMODULE' to 'DWORD64' is sign-extended. This may cause unexpected runtime behavior.
C6067: Parameter '3' in call to 'sprintf' must be the address of the string
C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'
2012-09-04 14:40:41 +02:00
Shauren 62b68f5a6c Merge pull request #7613 from Elron103/pull-requests
Core/Scripting: Fix DoAction function of SummonList incorrectly removing entries in SummonList
2012-09-02 02:36:22 -07:00
Shauren ec527fa172 Core/Quests: Fixed quest honor rewards properly.
REALLY closes #1356
2012-08-28 12:03:39 +02:00
Shauren ad8010730c Core/Authserver: Improved realmlist for multiple realms with different versions, idea from MaNGOS and allow 4.0.6a, 4.2.2 and 4.3.4 clients to use the authserver (no world connections) 2012-08-28 01:11:03 +02:00
Shauren 43cbb1e105 Core/DBLayer: Fixed memory leaks when query returned empty result set 2012-08-26 21:24:15 +02:00
Shauren 01c1066370 Core/Battlegrounds: Fixed uninitialized variables in Warsong Gulch 2012-08-25 12:02:09 +02:00
Shauren 92d28bc98c Core/Groups: Fixed update packet sent to group members on new member join 2012-08-22 14:24:15 +02:00
Shauren 7dc26c7ff7 Core/Misc: Warning fixes 2012-08-21 18:20:42 +02:00
Shauren 7ccd254fdc Scripts/Commands: Added .quest reward command - this will reward player's quest, similar to finishing it at quest ender, requires quest to be completed, rewards all items and first choice item (if quest has choice rewards) 2012-08-21 17:45:10 +02:00
Shauren 936c62ef4c Core/Players: Fixed uninitialized trade data 2012-08-20 16:49:19 +02:00
Shauren d1ed95faa5 Scripts: Fixed more uninitialized variables 2012-08-13 13:47:51 +02:00
Shauren 7d29e585df Scripts/Karazhan: Fixed some uninitialized variables 2012-08-12 14:16:11 +02:00
Shauren 666602e1aa Scripts: Fixed some unitialized variables 2012-08-12 13:56:43 +02:00
Shauren ca0a54f357 Core/Logging: Fixed a possible crash with dynamic log file names 2012-08-09 14:31:09 +02:00
Shauren f8cd39b2ed Core/Players: Improved alcohol handling, weeeeeeeeeeeeeeeee
Closes #7293
2012-08-07 17:45:10 +02:00
Shauren 47054e6bc1 Build fix without pch 2012-07-22 14:40:41 +02:00
Shauren 1fd37ac61b Core/Object: Use updatefield flags extracted from client to determine whether to send or not a field value instead of sending all data to client for non-player objects 2012-07-22 14:20:26 +02:00
Shauren 395994c707 Core/Groups: Send player invalid notification when attempting to invite GM to group when that is disabled 2012-07-22 13:46:00 +02:00
Shauren 9d4a5e2a6c Core/AuctionHouse: Corrected mail body for auction outbid and cancelled mails (sent to bidder) 2012-07-20 16:13:50 +02:00
Shauren 2cdb37de61 Compile fix 2012-07-19 15:51:08 +02:00
Shauren 8d18bae5c8 Core/MailSystem: Fixed building unread mail notifications, will now display properly for non-player senders (achievement rewards/auctions) 2012-07-19 15:34:21 +02:00
Shauren 4df39dae95 Core/AuctionHouse: Refactored and corrected building auction mail messages 2012-07-19 15:33:14 +02:00
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