Commit Graph

1337 Commits

Author SHA1 Message Date
Bootz
c0cd16e51d Scripts/EasternKingdoms: ScarletMonastery
* Fixed a few derps i missed on last patch
2012-01-26 02:40:15 -06:00
Bootz
2db052b109 Scripts/EasternKingdoms: ScareltMonastery
* Script Standardizations done,
- Removed SD2 Hieroglyphics.
- Removed Hungarian Notations.
- Fixed Enums in Defines.
2012-01-26 02:21:15 -06:00
Bootz
e0930b1a37 Scripts/EasternKingdoms: Blackwing Lair
* Adjusted copyright headers back to '09 these need updated b4 can use 2012
2012-01-25 01:13:07 -06:00
Bootz
79c2390f81 Scripts/EasterKingdoms: Blackwing Lair
* code-style cleanup
* Fixed copyright header
* Fixed defines in enums

todo: make the necessary changes for script_text-> Creature_texts.
2012-01-25 00:39:37 -06: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
Discover-
126d3c8339 Scripts/Spells: Script spell Refocus 2012-01-24 21:23:05 +01: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
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 <s.v.h21@hotmail.com>
2012-01-22 20:36:01 -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
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
Machiavelli
2d89b4bfe0 Core/DBLayer: Change some incorrect uses of PQuery with PExecute or Execute 2012-01-18 21:02:06 +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
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
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
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
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
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
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
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
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
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
malcrom
03a7f12916 Core/Script: update creature_text for Twilight Corruptor from sniffs
closes #4697
2012-01-08 14:20:11 +01:00
Emo Norfik
138e5309e6 Scripts/Halls of Lightning: Implement "Lightning Struck" achievement. 2012-01-08 13:40:56 +01:00
malcrom
57e1972b86 Core/Script: update creature_text for the Paladin Trial Quests in Eversong from sniffs
closes #4699
2012-01-08 13:34:49 +01:00
malcrom
7b86761045 Core/Script: update creature_text for Phizzlethorpe from sniffs
closes #4698
2012-01-08 13:23:54 +01:00