Commit Graph

1036 Commits

Author SHA1 Message Date
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
48e6997453 Revert last rev and fix in correct way. Also some clean up after merge
--HG--
branch : trunk
2009-08-17 01:10:34 +02:00
megamage
418b161bdc *Fix build.
--HG--
branch : trunk
2009-08-16 18:03:26 -05:00
Kudlaty
bf13d2d5aa Apply one more time rev 5104 cos its removed by merge
--HG--
branch : trunk
2009-08-17 00:37:32 +02:00
Kudlaty
b08bd25bc5 merge
--HG--
branch : trunk
2009-08-17 00:34:14 +02:00
Kudlaty
cad925e31d Merge [SD2]
r1326 Correct waypoints and details for quest 863
r1327 Add function GetPlayerForEscort to escortAI (not used by escortAI yet)
r1328 Updated 0.12 patch and redesigned Karathress for better maintenance. Fixed an issue with Karathres's speech and a little casting bug. - skip
r1329 Remove use of old uint64 variable for player guid in escortAI and use function to retrieve pointer to player instead.
r1330 Restore compile and use FailQuest instead of no longer existing FailTimedQuest (ref Mangos 8355).

Move all waypoints to db

--HG--
branch : trunk
2009-08-17 00:29:53 +02:00
megamage
bf3928d163 *Fix endless hunger quest.
--HG--
branch : trunk
2009-08-16 16:54:31 -05:00
megamage
a6dd58f875 *Add two missing files.
--HG--
branch : trunk
2009-08-16 16:36:07 -05:00
megamage
188a814457 *Replace 4 spaces with tabs in vcproj files. Please use tabs in the future. 4 spaces should only be used in cpp files.
--HG--
branch : trunk
2009-08-16 16:24:19 -05:00
megamage
0bf3aa109f *Some quest fixes for some dk quests. Not enabled for now. By Azrael and ckegg. sql will be added later so you may get some console error during start up.
--HG--
branch : trunk
2009-08-16 16:20:31 -05: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
81ee07fa2a Merge [SD2]
r1313 Implement new class SystemMgr for storage and management of script data.
      Move database load to new class and instead use functions in class to retrieve data from storage.

--HG--
branch : trunk
2009-08-16 19:38:18 +02:00
Kudlaty
a4b91e2cc4 Merge [SD2]
r1311 Move SetData from Reset to JustReachedHome for channelers and boss.
r1312 Added class for FollowerAI. Note this is under development and may have issues in some situations.
      FollowerAI is generally to be used for escort quests where NPC follow leader instead of using a predefined path.

--HG--
branch : trunk
2009-08-16 18:34:45 +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
Kudlaty
6838486796 Merge [SD2]
r1306 Remove now empty zone folder and complete re-organize file/folder structure. Thanks to DasBlub, Zor and others for inspiration, help and suggestions.

--HG--
branch : trunk
2009-08-16 17:30:05 +02:00
Kudlaty
982dcc9eaa Merge [SD2]
r1305 Move source files to continent folder, part 3

--HG--
branch : trunk
2009-08-16 17:22:17 +02:00
Kudlaty
6e9ee95bb7 Merge [SD2]
r1304 Move source files to continent folder, part 2

--HG--
branch : trunk
2009-08-16 16:29:41 +02:00
Kudlaty
2c663c945a Merge [SD2]
r1302 Create folder structure for sorting instance by continent and move empty folders. - skip
r1303 Start move source files to new folders, sorted by continent.

--HG--
branch : trunk
2009-08-16 15:49:51 +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
megamage
95a79b2815 *Restore the work of escortAI::AddWaypoint.
--HG--
branch : trunk
2009-08-15 22:58:17 -05:00
maximius
e581351794 *Replace every tab with 4 spaces, checked by hand
--HG--
branch : trunk
2009-08-15 19:08:39 -07: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
93709273ec Merge [SD2]
r1294 Let EscortAI fill waypoint list at Start(). Scripts using escortAI then no longer need to call FillPointMovementListForCreature().
r1295 Move one misplaced source file.

--HG--
branch : trunk
2009-08-16 02:12:14 +02:00
Kudlaty
5b42daa7bf Merge [SD2]
r1291 Move one misplaced script in yesterday commits.
r1292 Make own folder for tool, not needed for general work of SD2. - skip
r1293 Add script loader to simplify maintenance of scripts. The scripts must now be added to system/ScriptLoader.cpp instead of old way directly in ScriptMgr.

--HG--
branch : trunk
2009-08-16 01:45:49 +02:00
Kudlaty
6337c3adfb Merge [SD2]
r1288 Update include guards with better naming.
r1289 Fix typo in makefile.am - skip
r1290 Move AI remaining in misc folders to own folder base.
      Rename file to same as others for consistency and update includes accordingly.

--HG--
branch : trunk
2009-08-16 00:53:16 +02:00
Kudlaty
e00175d23b Merge [SD2]
r1287 Move all non-instance scripts that are not related to any special continent to new world folder.
sorry about mistake in last sd2 merge. there should be:
r1286 Restructure file layout and move all non-instance source files to a logical continental single folder.

--HG--
branch : trunk
2009-08-16 00:10:26 +02:00
megamage
3269f47b5b *Update Emalon the Storm Watcher script. By riddick
--HG--
branch : trunk
2009-08-15 14:36:15 -05:00
megamage
43d35de4ff *Fix the bug that summoner cannot attack summoned creatures. This bug was introduced in 4481. Note the difference between "summoner" and "owner".
*Valkyr script updated.

--HG--
branch : trunk
2009-08-14 22:25:12 -05:00
megamage
026659565d *Some cleanup of script vcproj (according to SD2)
--HG--
branch : trunk
2009-08-14 21:26:14 -05:00
Kudlaty
de8eb15699 Fix compile under windows. Thx for test Sundark
--HG--
branch : trunk
2009-08-15 04:02:48 +02:00
Nevan
0515533fcd *Fix Compile Error "../../npc/npc_escortAI.h"
--HG--
branch : trunk
2009-08-15 03:11:22 +02:00
Kudlaty
a30cc63d27 Merge [SD2]
r1287 Move all non-instance scripts that are not related to any special continent to new world folder.
Windows users pls wait until vcproj will be fixed

--HG--
branch : trunk
2009-08-15 02:34:43 +02:00
megamage
a65bb438a8 *Skarvald and Dalronn - Utgarde Keep: To make ghost versions not attackable. By tlexii
--HG--
branch : trunk
2009-08-14 19:27:53 -05:00
megamage
cbcaba2e31 *Fix a typo in script [Quest] - Escape from Umbrafen By bigjohnson4
--HG--
branch : trunk
2009-08-14 18:38:03 -05:00
megamage
c40be3e50a *Script of Netherspite. By Iskander
--HG--
branch : trunk
2009-08-14 18:34:16 -05:00
megamage
1b056afaab *Fix broken script.vcproj files.
--HG--
branch : trunk
2009-08-14 17:56:25 -05: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
686cd6eeff Merge [SD2]
r1268 Check if faction pointer are valid before use. Patch by balrok
r1269 Clean up one source file and apply code style. Patch by jotapdiez
r1270 Fix code causing crash after log in, part revert rev 1267
r1271 Revert previous commit, and instead fix typo :) Patch by Apoc

--HG--
branch : trunk
2009-08-14 20:12:58 +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
8bbb1d1c95 Apply some code style
--HG--
branch : trunk
2009-08-14 16:08:53 +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
megamage
e3ec6f563a *Use the correct tc function in last rev.
--HG--
branch : trunk
2009-08-14 00:33:06 -05:00
maximius
f5863c59ab *Fix build, minor cleanup
--HG--
branch : trunk
2009-08-13 21:44:38 -07:00