Commit Graph
3970 Commits
Author SHA1 Message Date
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 <[email protected]>
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
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 <[email protected]>
2012-01-12 13:16:04 +01:00
Kapoeira 27f2baca1d Scripts/Arenas: Also prevent bugs with Spirit of Redemption.
Meh. Three commits for this. My bad. Farewell TrinityCore. :(
2012-01-12 02:21:44 -05:00
Kapoeira 894edcaafe Scripts/Arenas: Fix some typos in the last commit.
I should stop hitting the Commit button as soon as possible.
2012-01-12 02:05:11 -05:00
Kapoeira b071505216 Scripts/Arenas: Fix achievement [The Last Standing].
Closes #3637.
2012-01-12 01:57:46 -05: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 <[email protected]>
2012-01-09 20:36:56 -05:00
Subv2112 d02c781241 Core/Gossips: Fixed questgiver GOs that also have gossip menus, fixed gossip option selecting on GOs
Signed-off-by: Subv2112 <[email protected]>
2012-01-09 09:29:45 -05:00
dr.skull d6ff717b74 Fix Shaman T10 Enhancement 4P Bonus
Signed-off-by: dr.skull <[email protected]>
2012-01-09 14:31:15 +01: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 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
Subv2112 5584354444 Core/Players: Fix crash in LoadFromDB
Closes #4724
Closes #4673
2012-01-08 18:37:16 +00:00
ille baa2252bd3 implement objectdetection 2012-01-08 18:22:46 +01:00
Chaplain 67808ba453 Core/Spells: Fix CAST_FLAG_UNKNOWN_18.
*rename CAST_FLAG_UNKNOWN_18 -> CAST_FLAG_ADJUST_MISSILE
*implement handling in Spell::SendSpellGo()
2012-01-08 18:50:25 +03:00
Kaelima e457649170 Merge pull request #4714 from elecyb/mover
Core-Vehicles: Change player mover when add/remove passenger (thanks Sub...
2012-01-08 06:41:02 -08:00
elecyb fc4b033715 Core-Vehicles: Change player mover when add/remove passenger (thanks Subv)
Core-Misc: Restore correct mover for victim of possesion spell.

Closes #4704, #4707
2012-01-08 03:56:33 -03:00
Machiavelli 5a504f94f7 Merge pull request #4700 from Subv/fix001
Core/SAI: Implement SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
2012-01-07 11:24:53 -08:00
Subv2112 ddb4f0ce5b Core/Build: Fixed compile 2012-01-07 13:20:59 -05:00
Machiavelli 1dc6f6a2da Merge pull request #4646 from elecyb/crash1
Core/PacketIO: Fix crash and exploit caused when client sends tampered m...
2012-01-07 03:58:42 -08:00
Machiavelli d3aba22280 Merge pull request #4680 from daniik/master
Core/PacketIO: Prevented excessive WhoOpcode spam - solves possible crash/lag method
2012-01-07 03:50:09 -08:00
Subv2112 3c4678085c Core/SAI: Removed unused variable: mResumeActionList
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:31:38 -05:00
Subv2112 a40839fd7b Core/SAI: Changed SMART_ACTION_CALL_TIMED_ACTIONLIST params, now it has only 2, id and timerType
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:29:26 -05:00
Subv2112 15d8763478 Core/SAI: Fixed the crash with using SMART_ACTION_ATTACK_START inside a TimedActionList, closes #4650
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 22:24:11 -05:00
Subv2112 7f977c28b6 Core/SAI: Fixed the behaviour of SmartAI::RemoveAuras, it should only remove the auras that are applied on the unit by casters other than the unit
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 20:50:05 -05:00
danik b35f831f2b Core/PacketIO: Prevented excessive WhoOpcode spam - solves possible crash/lag method 2012-01-06 19:36:17 +01:00
Subv2112 aaa255b83d Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
Signed-off-by: Subv2112 <[email protected]>
2012-01-06 11:09:01 -05:00
Kaelima a79ea3dcdf Merge pull request #4672 from Subv/fix004
Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER
2012-01-06 06:37:20 -08:00
Shauren 1a8bf13cb6 Core/Events: Last part of seasonal quest loading/saving fixes (should all be one commit) 2012-01-06 15:08:21 +01:00
Shauren 5ae622678a Core/Events: Fixed saving seasonal quest status 2012-01-06 15:01:30 +01:00
Shauren 2bef633e1f Core/Events: Corrected column type when loading seasonal quest status 2012-01-06 14:58:55 +01:00
Shauren 0c2dd2dc7f Core/Events: Fixed crash when loading character_queststatus_seasonal 2012-01-06 14:57:01 +01:00
Supabad c4577db641 Core/Achievements: Add ACHIEVEMENT_CRITERIA_DATA_TYPE_S_PLAYER_CLASS_RACE
Signed-off-by: Supabad <[email protected]>
2012-01-06 11:03:11 +01:00
Shocker 33de07e2dc Merge pull request #4641 from Subv/fix001
Core/Vehicles: Vehicles with SAI should not kick their passengers when resetting
2012-01-05 19:20:13 -08:00
Shocker e0bafc73f8 Merge pull request #4649 from Souler/fix_simon_game
Scripts/Quest: An Apexis Relic and The Relic's Emanation and Guardian of the Monument
2012-01-05 19:14:23 -08:00
Subv2112 d3b1c51b6e Core/Gossips: Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER, closes #4488
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 21:41:17 -05:00
Subv2112 235b941964 Fixed a typo
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 19:46:46 -05:00
Souler 2d8a6fdf15 Scripts/Quests: An Apexis Relic, The Relic's Emanation and Guardian of the Monument. 2012-01-06 01:19:07 +01:00
elecyb 7d7bb8363d Core/PacketIO: Fix crash and exploit caused when client sends tampered mover guids
Closes: #4056
2012-01-05 18:34:56 -03:00