Commit Graph

12106 Commits

Author SHA1 Message Date
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 <s.v.h21@hotmail.com>
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 <s.v.h21@hotmail.com>
2012-01-21 18:54:05 -05:00
Shocker 5552a33251 Merge pull request #4839 from Fredi/reload
Core/Commands: Implement reload multiple creature templates
2012-01-21 08:32:54 -08: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
Machiavelli 0b446491e2 Merge pull request #4895 from vlad852/master
Core/Movement: properly set mover for possess/vehicles after recent changes
2012-01-21 07:11:59 -08:00
Manuel Carrasco 19f8cc26b9 Scripts/UK: Removed unused variables, thanks to Vincent-Michael. 2012-01-20 13:08:41 -03:00
Manuel Carrasco e336c6ff57 Scripts/FoS: Fixed visual bug when Devourer of Souls casts Wailing Souls.
fixed #1692
2012-01-20 02:28:09 -03:00
Manuel Carrasco 53c48c774a Scripts/UK: Adjusted Ingvar the Plunderer's spell timers (Shadow Axe is still missing), sniffs have been used as source. 2012-01-20 01:55:55 -03:00
Vlad 0f383e9cdd Core/Movement: properly set mover for possess/vehicles 2012-01-20 05:11:52 +03:00
Manuel Carrasco f02d913094 Scripts/FoS: * Fixed Bronjahm teleport.
* Soulstorm Channel (Visual) will be correctly cast at wip.
	     * Adjusted Magic Bane timer.
2012-01-19 21:09:13 -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
Nay 67ef6f494f Merge pull request #4860 from Souler/fix_dalaran_disguises
"An Audience With The Arcanist" and "A Meeting With The Magister"
Closes #485
2012-01-17 04:21:19 -08:00
Souler 4bdc535373 Script/Quest: Solve some related problems with "An Audience With The Arcanist" and "A Meeting With The Magister" 2012-01-17 12:55:54 +01:00
Fredi 688ddb17d4 Core/Commands: Implement reload multiple creature templates
Example: .reload creature_template 34797 34799 35144 34796

Closes #2700
2012-01-17 09:25:46 -02:00
Discover c1cf2db17f DB/SAI: The Missing Diplomat
closes #3700
2012-01-16 12:36:52 +01:00
Chaplain 47b6862302 Merge branch 'master' of git@github.com:TrinityCore/TrinityCore.git 2012-01-16 14:03:07 +03:00
kaelima f10e41ee41 Scripts/Trial of the Crusader: Fix crash in MovementInform for Frost Sphere in Anub'arak encounter.
Thanks Vincent-Michael!
Fixes #4834
2012-01-15 20:37:25 +01: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
Subv2112 f4075f0f94 Core/LFG:
Fix priority of the player when its added to the lfg group
        Better implementation of the Dungeon Deserter debuff
        Rewrite the NeedBeforeGreed loot
        Fixed players being shown as Unknown Entity when entering the lfg group
        Some incremental optimizations after original patch
Thanks to Retriman and Paecman for base implementation

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-01-14 17:37:28 +01:00
Machiavelli dbbac0bdaa Core/Movement: Implement spline movement subsystem.
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.

Technical changes:

* Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
* Precission increased. There are no more position desync issues since client's position calculation formulas used.
* Now possible to move by paths with multiple points, send whole path to client.

--
Original author of research and implementation: SilverIce. Massive kudos.
Original port for Trinity (ref #4629) Chaplain and Venugh
With the following incremental fixes during my review:

- Restore flightmaster end grid pre-loading
- Fix uninitialized Creature::m_path_id
- Add missing trinity_string entries for .movegens command
- Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time

Known issues:
- Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0.
This is caused by bad DB data. This commit didn't "break" it.

Do not forget to re-run CMake before compiling.
2012-01-14 15:36:07 +01:00
QAston 798677ca54 Merge pull request #4800 from Chaplain/cleanup
Core/Spells: Fix issue in CAST_FLAG_ADJUST_MISSILE handling. Thx rsa (R2) for pointing.
2012-01-14 04:43:08 -08:00
zxbiohazardzx d9a75b3828 Core/Scripts: remove obsolete scripts for Orsonn and Kodian
related to #4788
2012-01-14 09:40:00 +01:00
Nay ebfa6bbcd1 SQL: Fix remaining errors... *sighs* 2012-01-14 01:53:21 +00:00
Venugh ab923f7157 Core/Scripts: typo from last commit. thx Discovered. 2012-01-14 00:22:26 +01:00
Venugh 46d1736d0d Core/Scripts: Convert Torek script_texts to creature_text.
Apply coding style in it.
2012-01-14 00:20:03 +01:00
ZxBiohazardZx 4479c7285b Merge pull request #4805 from Venugh/texts
Core/Scripts: convert script_text to creature_texts
2012-01-13 13:25:09 -08:00
svannon b878e68f8a Core/Script: remove unused script 2012-01-13 22:13:10 +01:00
Venugh b242a19ad5 Core/Scripts: remove define from arcatraz. 2012-01-13 22:02:04 +01:00
Venugh d359c87908 Core/Scripts: Convert Warden Mellichar texts to creature_texts. 2012-01-13 21:59:21 +01:00
Venugh e6b159f7ea Core/Scripts: Correct rand change. thanks to Nayd for explain. 2012-01-13 21:41:45 +01:00