Commit Graph

758 Commits

Author SHA1 Message Date
Shocker
83c85a2f07 Scripts/Utgarde Keep: Fix possible crsah in Ingvar code 2012-01-27 02:24:48 +02:00
Discover-
52132770df Merge pull request #4944 from Souler/script_cleanup
Convert some coded scripts to DB
2012-01-24 12:34:52 -08:00
Souler
e552b1744c DB/Conditions: Convert Dame Evniki Kapsalis script into conditions
DB/SAI: Convert Priestess Alorah and Grimmin scripts into SmartAI
2012-01-24 15:12:47 +01:00
Manuel Carrasco
78ede251b0 Scripts/UK: Improvements to my last commit. Thanks to Vincent-Michael 2012-01-23 23:15:57 -03:00
click
e6d5b21778 Core: Fix non-PCH build and remove a few warnings. 2012-01-24 00:24:39 +01:00
Manuel Carrasco
40c6e7bcdb Scripts/UK: Re-written Prince Keleseth script.
* Corrected spawns amount, only 4 Skeletons must be spawned not 5.
* Adjusted timers, now they are blizzlike.
    * This also includes skeleton resurrection timer.
* Removed hacky code that was replacing spells (they are casted now).
* Implemented "On The Rocks" achievement.

Thanks to Subv for help.
2012-01-23 20:03:06 -03: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
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
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
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
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
zxbiohazardzx
d9a75b3828 Core/Scripts: remove obsolete scripts for Orsonn and Kodian
related to #4788
2012-01-14 09:40:00 +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
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
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
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
Emo Norfik
c0bc5f6dcc Scripts/Halls of Lightning: Move criteria check for "Lightning Struck" achievement from criteria script to DB.
Thx to Vincent-Michael for pointing this out.
2012-01-08 17:22:31 +01:00
Emo Norfik
138e5309e6 Scripts/Halls of Lightning: Implement "Lightning Struck" achievement. 2012-01-08 13:40:56 +01:00
Emo Norfik
fbe3eaf226 Scripts/Trial of the Crusader: Fix height position of Permafrost casted by Frost Sphere.
It needs option "vmap.enableHeight = 1" to work properly.
2012-01-07 20:42:18 +01:00
Shocker
ecb1bdd7c3 Merge pull request #4489 from devilcoredev/fix_001
Core/Achievemens: Fix 'The Undying' and 'The Immortal' achievements
2012-01-04 13:27:43 -08:00
Shocker
de2bcb1caa Scripts/Ulduar: Fix Freya's Nature Bomb appearing prematurly during the 6th Wave (by Svannon)
Closes #4615
2012-01-04 23:08:06 +02:00
Giuseppe Montesanto
bf73409f49 Fix 'The Undying' and 'The Immortal' achievements. 2012-01-01 04:34:14 +01:00
kiper
8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Spp
3792b470e0 Core/Scripts: Replace rand with urand in most cases (using regexp)
Used: perl -pi -e 's/([0-9]+) \+ rand\(\)\%([0-9]+)/"urand(".$1.", ".($1+$2).")"/ge'
2011-12-28 10:51:16 +01:00
kaelima
398299084e Corrected some logic in my recent commits.
- ff2dbfc381 thanks LihO
- 6ccf95af4c thanks frostmourne
2011-12-22 18:48:06 +01:00
kaelima
e9ee82daf7 Scripts/Forge of Souls: Fix a crash alert for entry 36535. (trying to change movementgenerator during the delete process) 2011-12-22 13:24:59 +01:00
kaelima
6ccf95af4c Scripts/Toc: Fix a possible crash with grand champions encounter. 2011-12-21 01:59:36 +01:00
Machiavelli
6c03bf9535 Core/Misc: Some random meaningless Engrish to English conversion in a method name because Discovered is too lazy to do it himself. 2011-12-19 22:06:29 +01:00
horn
b119558ee1 Core/Dungeon Finder: Fixed LFG rewards in UK, ToCH, CoS and DTK. 2011-12-18 23:42:23 +01:00
Spp
d59c5e627f Fix warnings 2011-12-15 11:12:15 +01:00
kiper
6e7a32787f Scripts/Azjol-Nerub: Anub'arak ring in Azjol-Nerub should close after 5sec upon aggro.
Leeching Swarm should be remove when he is in underground phase
2011-12-13 15:17:19 +01:00
w1sht0l1v3
f96d46260e Core/Scripts: Missing spawn after boss Varos and Urom deaths.Needed for a quest chain also. 2011-12-13 13:58:03 +02:00
Shauren
d588fd4bbe Merge pull request #4258 from Warpten/icc
Scripts/Icecrown Citadel: Prevent the Frost Infusion debuff to be applied on players that have Shadow's Edge equipped but are not on the quest.
2011-12-12 04:05:48 -08:00
Kapoeira
9728791c0a Scripts/Icecrown Citadel: Prevent the Frost Infusion debuff to be applied on players that have Shadow's Edgee quipped but are not on the quest. 2011-12-10 15:01:59 -05:00
Shocker
d4921e0f25 Core/Misc: Small english fix 2011-12-10 20:05:51 +02:00
Manuel Carrasco
df3f11dc80 Scripts/EoE: Malygos does not fly always. 2011-11-27 14:52:28 -03:00
Shocker
be9641d93f Merge pull request #3889 from Souler/master
Core/Achievements: Implement "Snakes. Why'd It Have To Be Snakes?"
2011-11-26 11:15:23 -08:00
Shocker
68e5a96312 Merge pull request #4040 from devilcoredev/fix_004
[CORE/BOSS] Fix Sapphiron flying phase start.
2011-11-26 10:37:13 -08:00
Nay
5a4636c145 Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
Shauren
358b33239a Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit 2011-11-23 19:17:33 +01:00
Giuseppe Montesanto
53077d670f Fix Sapphiron flying phase start. 2011-11-23 14:14:29 +01:00
Shocker
1b3017472b Scripts/Naxxramas: Patchwerk's Hateful Strike's timer should be 1s.
Closes #4036
2011-11-23 14:22:50 +02:00
Shauren
fffe60b0d9 Scripts/Icecrown Citadel: Corrected an overlooked frenzy spam by Shambling Horrors on heroic mode (does not change anything in the fight) 2011-11-23 09:44:34 +01:00