Commit Graph
3970 Commits
Author SHA1 Message Date
Shauren 01aeccb8d7 Core/ObjectMgr: Improved error message to include source of the error
SQL: Renamed files to match standards
2012-01-30 12:41:05 +01:00
leak 0fbb86f221 Core/DBLayer: Restore removal and cleanup of respawn times of expired instances 2012-01-30 00:31:06 +01:00
Souler 75992143c1 Scripts/Spells: Fix Argent Tournament mount spells:
* Break-Shield
 * Charge
 * Defend (visual)
 * Mounted duel
 * Faction Pennants when riding argent tournament mounts
Closes #4917.
2012-01-30 00:21:42 +01:00
Subv2112 f525087538 Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <[email protected]>
2012-01-29 15:28:19 -05:00
Subv2112 89297933d9 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-01-29 13:50:12 -05:00
Subv2112 74b64150bb Core/Conditions: Implemented SAI conditions, only usable with events in which the invoker is a player.
sourceType = 22
sourceEntry = entryorguid
sourceGroup = eventId + 1
sourceId = SAI sourceType (0 = creature, 1 = gameobject, etc)

Also refactored some code

Signed-off-by: Subv2112 <[email protected]>
2012-01-29 13:49:19 -05:00
Nay c4588e013c Merge pull request #4932 from kandera/fix_seasonl_quest_reset
Core/Quests&GameEvents: fix seasonal quest check
2012-01-29 08:40:39 -08:00
QAston ad4cf93e08 Merge pull request #4785 from Warpten/lastStanding
Core/Arenas: Fix achievement [The Last Standing].
2012-01-29 05:50:16 -08:00
Subv2112 03953930f9 Scripts/Commands: Adjust .pinfo and .gm list to respect the realmid in account_access table.
closes #1306

Signed-off-by: Subv2112 <[email protected]>
2012-01-28 16:03:36 -05:00
Subv2112 59f378ea89 Core/Conditions: Fixed the error introduced in the previous commit 2012-01-28 12:45:27 -05:00
Subv2112 ff81a2455b Core/Conditions: Make CONDITION_CLASS and CONDITION_RACE use a mask, this will reduce the amount of conditions needed
Signed-off-by: Subv <[email protected]>
2012-01-28 12:25:44 -05:00
Manuel Carrasco 2db5c13d8f Core/Spline: Removed redundant call. 2012-01-27 13:44:44 -03:00
PKX 727133b049 Core/Auras: Fix Pet & Totem aura stacking
Fixes aura staking for Pet, Totem and other spell effects that do not use SPELL_EFFECT_APPLY_AURA

Signed-off-by: PKX <[email protected]>
2012-01-27 15:43:21 +01:00
Subv2112 e43b1cd750 Core/SAI: Run mode should not be set to true each time a creature resets, it should use its previous value
Signed-off-by: Subv2112 <[email protected]>
2012-01-27 08:34:36 -05:00
Kandera df7f98004b fix seasonal quest check 2012-01-26 10:04:12 -05:00
kaelima 6c1815db7f Core/Battleground: Remove useless and unused function 2012-01-26 14:48:05 +01:00
Spp c9762b0e38 Core: Change Handlers location 2012-01-26 10:54:53 +01:00
click e6d5b21778 Core: Fix non-PCH build and remove a few warnings. 2012-01-24 00:24:39 +01:00
Subv2112 3d4f55723c Core/SAI: Linked events should be executed after the event that linked them is executed.
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target

Signed-off-by: Subv2112 <[email protected]>
2012-01-22 20:36:01 -05:00
Shauren 94c27e3cce Core/SmartAI: Fixed SMART_ACTION_SEND_TARGET_TO_TARGET for gameobject targets 2012-01-22 16:56:55 +01:00
Subv2112 c24248fabd Core/SAI: Allow SMART_ACTION_SEND_TARGET_TO_TARGET to target multiple targets at once, thanks Shauren 2012-01-22 10:46:32 -05:00
Subv2112 8e8be7e358 Core/SAI: CAST_AI will return NULL if the cast was not successful, no need to check for AIName, thanks Shauren 2012-01-22 10:42:13 -05:00
Subv2112 f4778a6b72 Core/SAI: Add the new action_types to the IsEventValid case check 2012-01-22 10:02:31 -05:00
Subv2112 8362e21b2a Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-01-22 08:04:39 -05:00
Subv2112 a3f595ee10 Core/SAI: Implemented SMART_ACTION_SEND_TARGET_TO_TARGET, it can be used to send targets previously stored with SMART_ACTION_STORE_TARGET, to another npc, the other npc can then access them as if it was its own stored list
Signed-off-by: Subv2112 <[email protected]>
2012-01-22 07:54:32 -05:00
Vincent-Core c37afafbbf Core/SmartAI: Fix target type SMART_TARGET_INVOKER_PARTY 2012-01-22 01:49:53 +01:00
Subv2112 07b1101a63 Core/SAI: Run mode should be disabled by default in creatures with SAI
Signed-off-by: Subv2112 <[email protected]>
2012-01-21 18:54:05 -05:00
Shocker 8045210d73 Merge pull request #4874 from Vincent-Michael/AchievementFix
Core/Achievements: Fix The Alterac Blitz, Let's Get This Done and Flurry achievements
2012-01-21 08:27:00 -08:00
Vlad 0f383e9cdd Core/Movement: properly set mover for possess/vehicles 2012-01-20 05:11:52 +03:00
Vincent-Core 7f193bd828 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore into AchievementFix 2012-01-19 22:31:45 +01:00
Machiavelli 58ee668e92 Merge pull request #4836 from Chaplain/master
Core/Movegen: Various fixes for recently added spline system
2012-01-18 12:06:56 -08:00
Machiavelli 2d89b4bfe0 Core/DBLayer: Change some incorrect uses of PQuery with PExecute or Execute 2012-01-18 21:02:06 +01:00
Machiavelli e652d9043b Missing unsaved changes for previous commit... 2012-01-18 19:00:52 +01:00
Machiavelli 46dda033c8 Core/Items: Blizzlike fix for the recent trade exploit fix 2012-01-18 18:57:21 +01:00
Chaplain accea2b44e Core/Movegen: Added missing part in ChaseMovementgenerator and minor logic fix in MotionMaster::MoveJump() 2012-01-18 18:42:25 +03:00
Chaplain 86104943cb Core/MotionMaster: Fix logic in MoveLand() and MoveTakeoff() 2012-01-18 16:26:45 +03:00
Machiavelli abd94e324b Core/Items: Fix crash and updated documentation in SplitItem 2012-01-18 13:14:06 +01:00
Vincent-Core d3422169f0 Core/Achievements:
- Fixed achievement "The Alterac Blitz" in Alterac Valley
- Fixed achievement "Let's Get This Done" in Arathi Basin
- Fixed achievement "Flurry" in Eye of the Storm
2012-01-18 12:37:34 +01:00
SignFinder cc88681dc5 Core/Items: Really fix a trading spoof exploit.
Thanks Alexsot for fix.
2012-01-18 11:56:34 +04:00
Kaelima afc0d72761 Merge pull request #4789 from drskull/master
Spirit Hunt
2012-01-17 21:41:47 -08:00
Kaelima 1760970417 Merge pull request #4822 from Fredi/auction_owner_not
Core/IO: Corrected SMSG_AUCTION_OWNER_NOTIFICATION packet structure
2012-01-17 21:41:27 -08:00
kaelima 819da8af4d Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.
And some random cleanup
2012-01-18 06:07:30 +01:00
QAston b754f7c91d Core/Auras: Add some documentation to new proc system code to avoid confusion. 2012-01-17 21:35:27 +01:00
Machiavelli 6a44399852 Core/Items: Fix a trading spoof exploit.
Closes #4713
2012-01-17 18:51:04 +01:00
Machiavelli 5dd6b8b2dc Core/Conditions: Change CONDITION_REPUTATION_RANK. It now no longer explicitly checks if ConditionValue2 is equal to the reputation rank. It now checks if the player's reputation rank is in the bitmask of ConditionValue2, where each bits are (1 << ReputationRank).
Idea by Aokromes and Malcrom
Data conversion query by Malcrom (*WATCH OUT WITH CUSTOM CONTENT AS THIS DELETES ALL CONDITION TYPE 5's AND RE-ADDS STOCK DATA ONLY*)
2012-01-17 14:31:22 +01:00
Chaplain 47b6862302 Merge branch 'master' of [email protected]:TrinityCore/TrinityCore.git 2012-01-16 14:03:07 +03:00
Chaplain 6bb48a2a87 Core/Movegen: Fix logic in WaypointMovementGenerator<Creature>::StartMove 2012-01-15 21:25:03 +03:00
Machiavelli b02666213c Scripts/Misc: Fix some MovementInform handler filters after recent motionmaster changes
Also correct year of SQL in dbbac0bdaa
2012-01-15 15:27:43 +01:00
Fredi d03894536f Core/IO: Corrected SMSG_AUCTION_OWNER_NOTIFICATION packet structure 2012-01-14 19:40:13 -02:00
Shauren 894c27af52 Core/Groups: Need restrictions in need before greed loot method should apply only to LFG dungeons 2012-01-14 18:42:23 +01:00