Commit Graph

92 Commits

Author SHA1 Message Date
maximius
c08b38aa14 *Add NPC 16111 to script npc_training_dummy (this creature is not supposed to move around and kill things, it should behave like a normal target dummy)
--HG--
branch : trunk
2009-09-17 18:05:01 -07:00
maximius
fb2e263be7 *Escort Quest The Totem of Kar'dash from SD2, thanks manuel
--HG--
branch : trunk
2009-09-17 01:45:36 -07:00
maximius
96c5e46468 *Storm Peaks Sibling Rivalry Quest (13064) by Veras
--HG--
branch : trunk
2009-09-12 03:30:35 -07:00
maximius
b62df49bde *Some missed SQL from r5608/199e724daa1a
--HG--
branch : trunk
2009-09-11 15:25:32 -07:00
maximius
4cdb17d30c *template, not tempate! sorry if you got import errors :(
--HG--
branch : trunk
2009-09-11 01:20:01 -07:00
maximius
af7c72b6cc *Base script for Maiden of Grief in Halls of Stone by Elron
--HG--
branch : trunk
2009-09-11 01:17:52 -07:00
maximius
c528ae74f9 *quest 11221 Reports from the Field (Howling Fjord) by Azazel, added missed update SQL from r5610
--HG--
branch : trunk
2009-09-11 00:58:27 -07:00
maximius
5475986fee *GO Script: Zul'Farrak Shallow Grave, by totoro
--HG--
branch : trunk
2009-09-10 23:23:59 -07:00
Chaz Brown
556753e0fb Partial fix of Quest 12698 - by Seirge - Also, I wrote a very preliminary script for the scarlet ghouls which puts them in evade mode, this definitely needs to be improved.
--HG--
branch : trunk
2009-09-06 02:13:25 -04:00
Chaz Brown
7a7cd10933 Clean up some sqls to make sure they all have at least one newline at the end (part of the coding standard) helps stop errors when sqls are batched together.... Also, add a missing Delete query to one sql.
--HG--
branch : trunk
2009-09-02 20:38:18 -04:00
megamage
6c4971ee79 *Add script for iruk and "aces high". By manuel
--HG--
branch : trunk
2009-09-01 11:26:26 -05:00
megamage
0bf74d2384 *Fix script of quest trees company. By totoro
--HG--
branch : trunk
2009-08-29 17:32:11 -05:00
Drahy
562b4fc0a4 * Updated Full sqls
* Added missing script entries and cleanup

--HG--
branch : trunk
2009-08-27 12:00:33 +02:00
megamage
f16b93d8d8 *Update flame levi script. Fix the bug that it often gets stuck.
--HG--
branch : trunk
2009-08-26 22:56:20 -05:00
megamage
a6e2196247 *Better mob ai for quest an end to all things.
--HG--
branch : trunk
2009-08-23 16:27:00 -05:00
megamage
dee4a9fd87 *Update flame leviathan script.
--HG--
branch : trunk
2009-08-23 01:08:09 -05:00
maximius
ecf8d4cb52 *Keristrasza - Teleport players to Saragosa's Landing script - by Oculus
--HG--
branch : trunk
2009-08-22 18:46:04 -07:00
Kudlaty
e0ba302e32 Script for Plaguehound Tracker. Thanks to manuel and Nevan
--HG--
branch : trunk
2009-08-21 22:11:19 +02:00
Kudlaty
378a9e9385 Merge [SD2]
r1358 Add gossip and taxi related to quest 11692. Patch by hoshie

--HG--
branch : trunk
2009-08-21 15:26:57 +02:00
maximius
326df2af68 *Freya's Pact Gossip Script by manuel
--HG--
branch : trunk
2009-08-20 16:41:54 -07:00
Machiavelli
06b9e69b79 * Add basic script for Assembly of Iron in Ulduar
* Add instance script for Ulduar

--HG--
branch : trunk
2009-08-20 22:37:46 +02:00
Kudlaty
a63b457b3c Script for quest 12969. Script by Gyullo
--HG--
branch : trunk
2009-08-20 22:18:41 +02:00
Kudlaty
7ccc15ec48 Add script for quest 12864. Script by manuel
--HG--
branch : trunk
2009-08-20 20:09:13 +02:00
Kudlaty
33a1d8dc6c Merge [SD2]
r1346 Convert script for quest 2078 to use followerAI
r1347 Use spell to summon friends instead of manual summon in script for quest 1249.
r1348 Extend followerAI function SetFollowComplete with argument to simplify implementation of end events in scripts.
r1349 Convert script related to quest 1560 to use followerAI
r1350 Apply SD2 code style to one instance and boss script - skip
r1351 Add basic support for quest 4491.
r1352 Add basic support for quest 5321
r1353 Adjust way to complete quest, for script related to quest 938

--HG--
branch : trunk
2009-08-20 02:24:53 +02:00
megamage
483f40cbd8 *Script of quest The Light of Dawn. By ckegg.
*I have reduced the number of mobs because they may make the server laggy if the server is not good.

--HG--
branch : trunk
2009-08-18 12:09:03 -05:00
megamage
6701d3d24f *Script for quest "An End To All Things..."
--HG--
branch : trunk
2009-08-17 22:34:18 -05:00
megamage
937fd6d632 *Add script of quest "Bloody Breakout". Original patch by ckegg.
--HG--
branch : trunk
2009-08-17 11:25:38 -05:00
megamage
c5287ba58e *Add script of quest "Ambush At The Overlook". Original patch by ckegg.
--HG--
branch : trunk
2009-08-16 23:57:23 -05:00
megamage
d42bb416a2 *Add script of quest "How to win friends and influence enemies". Author ckegg. With some modifications.
*Fix the bug that persuader can be used on other creatures.

--HG--
branch : trunk
2009-08-16 22:23:08 -05:00
Kudlaty
6359bfb27a Merge [SD2]
r1341 Use same text for all OOX-scripts. Minor adjustments in addition. Patch by Meldanor
r1342 Fix typo in scriptdev2_script_full.sql - skip
r1343 Some cleanup and corrections for Windows project files.
r1344 Clean more files of trailing whitespace.

--HG--
branch : trunk
2009-08-17 02:06:52 +02:00
Kudlaty
55087b5e72 Merge [SD2]
r1331 Delete old .patch files no longer needed. - skip
r1332 Clean up script for end boss in TK and apply SD2 code style. Patch by Abim - skip
r1333 Remove workaround ai's and correct spells to be casted for Flame Strike - skip
r1334 Add misc gossip for npc_timothy_daniels and npc_trollbane. Patch by hoshie
r1335 Correct order of dwarf attack for BRD seven event. Also add missing text and remove wrong gossip. Patch by jotapdiez - skip
r1336 Add support for quest 12573. Patch by Azuritus
r1337 Set eol-style where missing, since i have no fantasy to do other changes for a l33t revision. - skip
r1338 Trim trailing whitespace in files. - skip
r1339 Fix my mistake in rev 1336 and add script where it should be.
r1340 Correct inconsistent use of line endings and set eol-style to custom patch. - skip

--HG--
branch : trunk
2009-08-17 01:41:39 +02:00
Kudlaty
5d2d8d8074 Merge [SD2]
r1321 Add support for quest 863.
      Some cleanup in existing script.
r1322 Correct database info for current supported Mangos revision (8273+) (Windows may use from 8190+) - skip
r1323 Make escortAI function IsPlayerOrGroupInRange and move existing code to this.
r1324 Fixed IsEncounterInProgress for Arcatraz, The Eye and Shadow Labyrinth
r1325 Renamed aunchindoun to auchindoun. Fixed comment typos.

--HG--
branch : trunk
2009-08-16 22:21:57 +02:00
Kudlaty
91f3d69edf Merge [SD2]
r1314 Correct some spellId's and apply SD2 code style
r1315 Correct more spells and apply SD2 code style
r1316 Replace magic number with enum type name UNIT_DYNFLAG_DEAD
r1317 Add support for quest 1249. Patch by jotapdiez
r1318 Move AI's implementation from headers. Original patch/idea by DasBlub
r1319 Convert script related to quest 938 to use followerAI
r1320 Add new virtual function WaypointStart() to escortAI.

--HG--
branch : trunk
2009-08-16 21:46:31 +02:00
Kudlaty
9ddfd5bf22 Merge [SD2]
r1307 Add gossip for npc_tracy_proudwell. Patch by hoshie
r1308 Fixed one not initialized array.
r1309 Correct typo in folder name. - skip
r1310 Enable faction change and remove unitState at attackStart for script related to quest 1560

--HG--
branch : trunk
2009-08-16 17:54:31 +02:00
megamage
90ed27059d *Script of quest Massacre at light's point. Original author nevan.
*primary bugs:
*you may fall below the deck of ship after exiting mine car and have to try again.
*mobs spawn too slow (part of it is db issue)
*there is no cannon on ship (db issue, you can add some 28833 by yourself or ask your db dev to do it)

--HG--
branch : trunk
2009-08-15 23:04:21 -05:00
Kudlaty
61ed8f90df Merge [SD2]
r1296 Fix typo and check for IN_PROGRESS instead of NOT_STARTED and also return after force EnterEvadeMode in UpdateAI - skip
r1297 Set sysconfdir path in different way for linux compile, to avoid possible DOTCONF++ error at start. Patch by Saeldur - skip
r1298 Fix typo in MC instance script.
r1299 Clean up one MC boss script and remove old workarounds. Patch by Reve
r1300 Add gossip to npc_naladu. Patch by hoshie
r1301 Some minor cleanup and move one folder+source file

--HG--
branch : trunk
2009-08-16 02:46:55 +02:00
Kudlaty
68c015af44 Merge [SD2]
r1284 Apply SD2 code style to all uint32 arguments in gossip related functions.
r1285 Replace all remains of _GO with proper pointer style.
Aslo some other code style.
Fix typo in world_scripts_full.sql. thx Sundark

--HG--
branch : trunk
2009-08-15 00:32:04 +02:00
Kudlaty
f37885c086 Merge [SD2]
r1281 Added support for quest 12247. Patch by Azuritus
r1282 Added support for quest 11708. Patch by Azuritus.
      Additional cleanup and code style applied.
r1283 Add support for quest 12807. Patch by Azuritus

--HG--
branch : trunk
2009-08-14 21:58:29 +02:00
Kudlaty
5ebba6e2fe Merge [SD2]
r1272 Rough cleanup of hyjal-related scripts. Mainly applied SD2 code style, but also minor improvement of code and removal of not needed functions. - skip
r1273 Move code and use JustSummoned() instead of own system in hyjalAI - skip
r1274 Simplify way to determine where to spawn creature and remove already known base area passed in function. Also rename arrays. - skip
r1275 Provide updated .patch file after changes in Mangos rev 8255 - skip
r1277 Remove adding threat for summoned waves in hyjal and instead move to point when summoned. Also add simple handler to attempt move summoned closer to base bosses when not in combat. - skip
r1278 Replace world state functions in misc scripts with new ScriptedInstance function.
r1279 Simplify spawning of correct wave in hyjal. Remove no longer needed arguments in related function.
      Also restore wave timer reset in case all mobs in wave are dead before master timer end. - skip
r1280 Added basic support for quest 1324. Patch by jotapdiez
      Also adding additional data for further development of event.

--HG--
branch : trunk
2009-08-14 21:29:28 +02:00
Kudlaty
4252c4cef0 Merge [SD2]
r1266 Added support for quest 4966
r1267 Remove obsolete ScriptedAI functions, no longer used. Clean up code. Patch by DasBlub

--HG--
branch : trunk
2009-08-14 19:45:06 +02:00
Kudlaty
485aab1186 Merge [SD2]
r1261 Add GO script to complete lyceum event in BRD. Patch by Turok
      Some minor cleanup.
r1262 Apply SD2 code style to example scripts. Patch by DasBlub
r1263 Remove AI for some of the npc's in tomb of seven event (BRD). Note that ACID is required for event to work properly (set instance data). Patch by Turok
r1264 Fix typo in filename in previous commit.
r1265 Added support for quest 2742

--HG--
branch : trunk
2009-08-14 17:14:08 +02:00
Kudlaty
65ba3044dc merge
--HG--
branch : trunk
2009-08-14 15:59:01 +02:00
Kudlaty
75faad4b93 Merge [SD2]
r1251 Add waypoints for Hellmaw
r1252 Add missing SQL to *_full for script added in rev 1243
r1253 Increment count value only for alive creature in SL instance script. Some minor cleanup.
r1254 Fix typo, and not set friendly creature in combat with zone. Also add comments and re-order code for readability. Patch by astriconX - skip
r1255 Handle akama channelers in different way, fill list of guids only when needed for event. - skip
r1256 Clean up akama script and apply sd2 code style. - skip
r1257 Correct 2 waypoints and apply sd2 code style to related script.
r1258 Add basic support for quest 1560
r1259 Simplify way to summon druid creatures. Patch by Turok
r1260 Clean up two more world bosses, apply SD2 code style and simplify code. Add missing texts. Patch by Turok.

--HG--
branch : trunk
2009-08-14 15:58:37 +02:00
QAston
a60600b717 *Script for Ebon gargoyle - original patch by thenecromancer.
--HG--
branch : trunk
2009-08-14 15:30:47 +02:00
Rat
759721bb5f *added script for quest: Escaping the Tomb (10887) original patch by: Naturamen
*fix world_script_waypoints.sql format

--HG--
branch : trunk
2009-08-14 14:38:44 +02:00
Kudlaty
5b87f1fcdc Merge [SD2]
r1245 Update escortAI MAX_PLAYER_DISTANCE from 50 to 66 yards - skip
r1246 Not call JustDied() AI function when escortAI max range is over limit(not regular death). Some additional cleanup to apply code style.
r1247 Implement automated FailQuest in escortAI (if npc has specific death events, call npc_escortAI::JustDied()). Clean up scripts related to it.
      Restore original faction at escortAI's JustRespawned() in case faction changed (normal case for escorts). Remove in scripts where defined.
r1248 Add small delay before move to first point in escortAI.
r1249 Add support for quest 898
r1250 Add support for quest 10451. Original patch by Lightguard

--HG--
branch : trunk
2009-08-14 05:32:39 +02:00
Kudlaty
93e420ed29 Merge [SD2]
r1241 Add text to ysondre and also replace manual summon with spell. Clean up script. Patch by Turok
r1242 Add support for quest 4770
r1243 Add support for quest 4904
r1244 Update most scripts calling escortAI's Start() from outside creature AI with more safe method.

--HG--
branch : trunk
2009-08-14 04:21:52 +02:00
maximius
5d4ffbb90a *Fix Anzu multiple spawns, by Oculus
--HG--
branch : trunk
2009-08-13 17:05:15 -07:00
Kudlaty
5ba4407d42 Merge [SD2]
r1231 Remove old hack code that never worked and move/comment a few remaining to a more suitable function.
r1232 Use more safe way to check local bool in AI, accessed from GossipSelect
r1233 Update instance type and data labels for ZG to sd2 style and remove not needed ones.
r1234 Add scriptname for Gong, prevent using it in ZG if event already in progress or done (script added in previous commit)
r1235 Restore compile, sorry for typos :)
      Apply SD2 code style to arlokk script.

--HG--
branch : trunk
2009-08-13 17:02:49 +02:00
Kudlaty
f6ec531d4d Merge [SD2]
r1221 Restore compile after changes to KilledMonster().
      Remove no longer needed code where creature_template are expected to have definitions for KillCredit.
      Replace one creature script with areatrigger script and some related code cleanup.
      Requires Mangos 8190+
r1222 Move waypoints for Barnes to database. Also adjust code and simplify parts of pre-event. Some additional code cleanup
r1223 Clean up labels for Kara instance.
r1224 Replace use of MANGOS_DLL_SPEC with MANGOS_DLL_DECL as expected in script. Thanks Zor for notice. - skip
r1225 Add new options for escortAI.
      For normal escorts, InstantRespawn can be set true (normal will despawn creature and use database spawntimesecs)
      For non-escorting scripts, option to loop path can be set. Creature will return to respawn coords and after, start path from beginning.
r1226 Remove escortAI option to defend self. Creature must be able to enter combat with any attacking and then defend self by attacking back.
      If custom cases exist where creature must not be set in combat with attacking, then custom script is expected.
r1227 Using _SECURE_SCL=0 to speedup iterators in Windows (release build, ref Mangos rev 8194). Patch by Vladimir - skip
r1228 Clean up gruul instance + scripts, add instance save and apply sd2 code style.
      Some adjustment to hurtful strike. Minor adjustments to other spell abilities.
      Create own AI for adds, and avoid repetitive code being common for all adds.
      Patch by Abim - skip
r1229 Move door code to instance script and simplify Set/GetData() code and aggro check. - skip
r1230 Remove no longer needed call to Reset() in Council_Base_AI and correct typo. - skip

--HG--
branch : trunk
2009-08-13 05:47:23 +02:00