Commit Graph

4597 Commits

Author SHA1 Message Date
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
Discover
c1cf2db17f DB/SAI: The Missing Diplomat
closes #3700
2012-01-16 12:36:52 +01: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
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
Venugh
6929fff8d6 Core/Scripts: Convert MillHouse Manastorm texts to creature_texts. 2012-01-13 21:13:18 +01:00
Chaplain
a535e451a8 Core/Spells: Fix issue in CAST_FLAG_ADJUST_MISSILE handling. Thx rsa (R2) for pointing. 2012-01-13 19:18:13 +03:00
Valcorb
ed27fb6d7d Update the rest of the headers 2012-01-13 16:58:48 +01:00
Machiavelli
2293d2d7df Core/Movement: Prevent IdleMovementGenerator being put into MOTION_SLOT_IDLE and MOTION_SLOT_ACTIVE simultaneously 2012-01-13 16:43:49 +01:00
Shauren
e9b243991e Compile fix 2012-01-12 22:33:11 +01:00
Shauren
84c7eb5643 Core/Scripts: Fixed DoSendNotifyToInstance message formatting (that should only be done once) 2012-01-12 21:14:57 +01:00
Shauren
d3f66dfe6d Core/Commands: Correction to 57490ead83, when ip parameter is supplied it should be used over selection 2012-01-12 21:02:19 +01:00
QAston
95ad9a992d Merge pull request #4771 from devilcoredev/fix_001
Core/Spells: Fix the 'Trueshot Aura' on pet
2012-01-12 08:33:32 -08:00
dr.skull
1abb447243 Fix Feral Spirit passive spell Spirit Hunt
Now will heal wolfs too.

Signed-off-by: dr.skull <dr.skull@centrum.sk>
2012-01-12 13:16:04 +01:00
kaelima
233d891952 Scripts/Achievements:
- Move achievement Shocking! to appropriate boss script instead of instance script.
- Split the polarity spellscript into two and move to proper boss file
- Fixed a typo in Loatheb's spore achievement.
2012-01-11 17:21:03 +01:00
Giuseppe Montesanto
885e9fda34 Fix the 'Trueshot Aura' on pet 2012-01-11 12:15:44 +01:00
Shocker
41488c9deb Merge pull request #4757 from Subv/shocking
Core/Achievements: Fix Shocking! on 10-man and 25-man
2012-01-10 15:06:25 -08:00
Jorge
528a9a6966 Merge pull request #4742 from Subv/gossips
Gossips
2012-01-10 03:16:06 -08:00
Subv2112
f7276a95de Scripts/Achievements: Fixed achievement Shocking! on 10-man and 25-man
closes #4751

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-09 20:36:56 -05:00
Kaelima
d007780ab6 Merge pull request #4740 from drskull/master
Shaman T10 Enhancement 4P Bonus
2012-01-09 12:31:27 -08:00
Subv2112
d02c781241 Core/Gossips: Fixed questgiver GOs that also have gossip menus, fixed gossip option selecting on GOs
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-09 09:29:45 -05:00
Subv2112
7101e9626c Scripts/Commands: Fixed an error with account set gmlevel, the gmRealmID can be signed
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-09 09:28:27 -05:00
dr.skull
d6ff717b74 Fix Shaman T10 Enhancement 4P Bonus
Signed-off-by: dr.skull <dr.skull@centrum.sk>
2012-01-09 14:31:15 +01:00
Emo Norfik
2dc6cb15ed Scripts/Utgarde Pinnacle:
- Fix spamming of spell Ball of Flame (48246).
- Added missing text of Image of Arthas.
- Code cleanup and code style.
- Typo fix in sql naming in commit 6cb4950489
2012-01-09 14:01:58 +01:00
kaelima
f850baeb30 Script/Naxxramas: Fixed "A Spore Loser", texts and timers for Loatheb encounter.
Creds to Warpten, thanks.
2012-01-09 10:07:46 +01:00
Shocker
f53a1f253e Merge pull request #4719 from Norfik/bjarngrim
Scripts/Halls of Lightning: Implement "Lightning Struck" achievement
2012-01-08 15:30:14 -08:00
Emo Norfik
6cb4950489 Scripts/Utgarde Pinnacle:
- Re-write Svala Sorrowgrave
- Scripted achievement The Incredible Hulk.

This script was writen basing on work and data:
- Original TC script.
- Albis fix for Arthas sounds and texts https://github.com/TrinityCore/TrinityCore/issues/4002 .
- Ric event start fix.
- Recorded encounters uploaded on YouTube.
- Data found on ScriptDev2 forums.
- Iov's custom SD2 repo and Svalas's script https://github.com/Iov/scriptdev2 .
Also thx to:
- ZxBiohazardZx for pointing how to fix looting problem when boss is killed when flying.
- Aokromes for confirmig how many times event "Ritual of the Sword" is performed.

- Mini event with Arthas.
- Call Flames: timers of cast and time between "Ball of Flame" (48246) can be wrong (based on videos).
- Ritual of the Sword works  and is performed once at 50% hp but:
  a) Still need retail data for teleport position of Svala floating above player.
  b) Need fully fixed spell Ritual of the Sword (48276), the triggering of spell Ritual Strike - Trigger Missile (48331) part was hardcoded.
- Spell Paralyze (48278) used by Ritual Channeler: fixed stacking and selection to ritual player only.
- Achievement "The Incredible Hulk": works but often Scourge Hulk don't get initial dmg from spell Ritual Strike (spell 48277 Effect #1 Value: 6650 to 7350).
- Looting problems when Svala was killed in air (require vmaps and option "vmap.enableHeight = 1" enabled in "worldserver.conf").
- Moved script_texts to creature_text.

It require option "vmap.enableHeight = 1" to work properly.
2012-01-08 23:07:31 +00:00
Shocker
0b5e071d75 Merge pull request #4705 from Norfik/fbe3eaf2266039fe5469fd79c1cae92d278ead97
Scripts/Trial of the Crusader: Fix visual of Permafrost in Anub'arak encounter
2012-01-08 12:47:15 -08:00
Shocker
5b972184e0 Merge pull request #4725 from Chaplain/cleanup
Core/Spells: Implement CAST_FLAG_ADJUST_MISSILE (old CAST_FLAG_UNKNOWN_18)
2012-01-08 12:30:48 -08:00