Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 0333c4ce8f Core/DataStores: Corrected reading CharStartOutfit.dbc 2013-01-19 18:19:30 +01:00
Shauren a77bb44d1e Core/RA: Warning fix 2013-01-19 13:35:01 +01:00
Shauren bc35a466e5 Core/Movement: Use a facing spline for chase movement 2013-01-19 13:34:17 +01:00
Shauren 84553f168c Core/DataStores: Changed index on CharStartOutfit.dbc to allow lookups directly using race/class/gender combo instead having to iterate entire store to find the proper entry 2013-01-11 20:50:05 +01:00
Shauren 32fa3f6018 Merge pull request #8848 from NightQuest/save_hook
Core/Scripts: Created a hook for when a player is about to be saved.
2013-01-05 05:16:30 -08:00
Shauren 59e4f6eb05 Core/SmartScripts: Fixed SAI targets 10 & 14 (SMART_TARGET_CREATURE_GUID, SMART_TARGET_GAMEOBJECT_GUID)
Note: If you used these targets to perform actions across maps, it will not work anymore, this functionality is deprecated as it was not safe.
2013-01-03 19:22:12 +01:00
Shauren 47ac83ec3a Core/Units: Check aura presence before casting liquid spell to avoid resetting periodic tick timers 2012-12-31 21:12:33 +01:00
Shauren f1170ba0fb Core: Fixed some level 4 warnings (msvc) 2012-12-31 20:43:14 +01:00
Shauren b229f72bf4 Core/Units: Cleaned up DealDamage log message and moved it to debug level 2012-12-31 18:53:44 +01:00
Shauren c021bff594 Core/Vehicles: Fixed basepoints used when ride vehicle aura is created for !IsInMap case 2012-12-31 17:58:21 +01:00
Shauren 4186c3cef7 Buildsystem/MSVC: Enable and treat as errors compilation warning about not matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example) 2012-12-31 14:10:22 +01:00
Shauren 792edb2880 Merge pull request #8812 from Therzok/master
Core/Creatures: Fixed player race checks for mount trainers.
2012-12-29 11:16:45 -08:00
Shauren 75e7cf7eb5 Core/Quests: Added support for 10/25 man only raid quests 2012-12-24 19:53:28 +01:00
Shauren 621a249188 Scripts/Icecrown Citadel: Fixed a possible crash in Blood Nova spell script
Closes #7046
2012-12-23 12:42:28 +01:00
Shauren 1297a93d90 Core/Scipts: Missed changes from 7be13b6fda 2012-12-17 15:01:20 +01:00
Shauren 7be13b6fda Core/Scripts: Fixed crash on shutdown 2012-12-17 11:44:41 +01:00
Shauren b65a88eeec Merge pull request #8590 from joschiwald/homebind
Core/Player: correct SetHomebind and usage of it
2012-12-09 02:33:34 -08:00
Shauren b9442f3773 Merge pull request #8568 from FH3095/int2float
Core/Mail: Fix float-calculation of expire-time
2012-12-05 09:09:00 -08:00
Shauren 25f1d61923 Merge pull request #8473 from Gacko/creaturetext
Core/DB: Convert 25 more scripts to creature text
2012-11-27 03:12:09 -08:00
Shauren 02aae2858b Core/Authserver: Always send realm address to clients in dotted ip format. 2012-11-27 11:30:48 +01:00
Shauren e9ede29592 Core/Auras: Added missing break in AuraEffect::CalculateAmount (accidentally removed in cea752fadf) 2012-11-27 11:25:29 +01:00
Shauren cea752fadf Merge pull request #8481 from Ne3x/unholy_blight_fix
Core/Spells: Fix Unholy Blight not stacking correctly
2012-11-27 01:28:56 -08:00
Shauren 4dffccb93f Core/Spells: Corrected radius calculation 2012-11-26 11:11:30 +01:00
Shauren 5e9acb3341 Core/Player: Fixed crashes happening when player logs in to a battleground which has ended and doesn't have valid return location stored in database.
Closes #5441
Closes #7093
Closes #8242
2012-11-26 10:34:11 +01:00
Shauren 66234a835c Core/Battlefield: Compile fix 2012-11-25 11:14:19 +01:00
Shauren ba18fe1e56 Core/Spells: Fixed combat log for spells that affect item durability 2012-11-25 11:13:39 +01:00
Shauren 00044b5d32 Core/PacketIO: Parse the MGS_MOVE_STOP packet embedded into spell cast packets with flag 0x2 2012-11-25 11:12:53 +01:00
Shauren 408793a736 Core/Players: Logic fixes for tradeable soulbound items 2012-11-25 11:12:16 +01:00
Shauren 108db4f6eb Core/Items: Cloned items should not retain refundable/tradeable flags 2012-11-25 11:11:26 +01:00
Shauren 0cd59ec210 Merge pull request #8318 from blipi/battlefield_fix
Core/Battlefield: Fix crashes due to invalid pointers use
2012-11-25 01:57:42 -08:00
Shauren bd2e5b1be8 Core/Battlegrounds: Fixed GameMasters logging out in arena counting as player killed for any teams.
Closes #7429
2012-11-25 10:34:59 +01:00
Shauren 0462f0b149 Core/Battlegrounds: Corrected arena logout win conditions 2012-11-25 10:27:11 +01:00
Shauren 5de19484ee Core/Spells: Removed selecting shapeshift model based on race and skin color for creatures. 2012-11-25 10:23:24 +01:00
Shauren c7fd67bdfd Merge pull request #8423 from joschiwald/conditions
Core/Conditions: use proper SpellCastResult instead of Notification when CONDITION_SOURCE_TYPE_SPELL fails
2012-11-24 08:25:45 -08:00
Shauren eb10226b02 Core/Battlegrounds: Fixed loading StartMaxDist (this time properly) 2012-11-24 00:08:15 +01:00
Shauren bc95305d57 Core/Battlegrounds: Fixed loading StartMaxDist 2012-11-23 23:53:36 +01:00
Shauren 70d44f97dc Core/ObjectMgr: Fixed crash on shutdown
Closes #8362
2012-11-20 12:48:00 +01: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
Shauren 85f5a189de Core/Warden: Add minimal verification of OS used by client for warden module loading 2012-11-12 00:31:08 +01:00
Shauren 63076ae58b Merge pull request #8260 from Warpten/cleanup
Core/Scripts: Cleanup alterac_valley.cpp.
2012-11-11 06:20:19 -08:00
Shauren e0f34eb93c Merge pull request #8067 from Elron103/pull-requests
Core/Spells: Fix power drain effect for heroic versions of spell 70759 (72015, 72016) - thanks to Shauren
2012-10-12 15:46:20 -07:00
Shauren ca55807eeb Compile fix 2012-10-05 23:31:16 +02:00
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