aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts/base
AgeCommit message (Collapse)Author
2010-01-19*Integrate Script system to CoreRat
-added ScriptMgr for loading scripts -removed bindings -moved script system to src/game -moved scripts to src/scripts -VC project files updated -cmakes updated (not 100% done yet) NOTE to Devs: -file locations changed -precompiled renamed to ScriptedPch -ecsort_ai renamed to ScriptedEscortAI -follower_ai renamed to ScriptedFollowerAI -guard_ai renamed to ScriptedGuardAI -simple_ai renamed to ScriptedSimpleAI -sc_creature renamed to ScriptedCreature -sc_gossip renamed to ScriptedGossip -sc_instance renamed to ScriptedInstance *use the new headers in scripts, thank you NOTE to ALL: cmake not fully tested, please report any errors with it could make creashes, incompability USE AT YOUR OWN RISK before further tests!! --HG-- branch : trunk
2010-01-14Fixed typo in FollowerAI._manuel_
--HG-- branch : trunk
2009-12-19Partly restore r6605.Anubisss
--HG-- branch : trunk
2009-12-19Remove a hack-check. pQuest can NOT be NULL in an EscortAI.Anubisss
--HG-- branch : trunk
2009-12-17Fix a typo. This fix a crash in escortAI.Anubisss
--HG-- branch : trunk
2009-12-16Fix crash in npc_escortAI::Startwin32
Closes #812 --HG-- branch : trunk
2009-12-13* Proper output if quest ID in debug log for escort quests without waypointsBrian
--HG-- branch : trunk
2009-12-12* Added better log output for escort quests with missing script_waypointBrian
* entries --HG-- branch : trunk
2009-12-10Clear escortAI from duplicated functionality, which also fix escorts that ↵Kudlaty
stucks after combat. Big THANKS to _manuel_ for testing --HG-- branch : trunk
2009-11-28Shuld fix quest The Light of Dawn ( #85 ), and some escort that use ↵Kudlaty
STATE_ESCORT_PAUSED --HG-- branch : trunk
2009-10-31*Change virtual bool IsEscorted in escort_ai.h to check if creature is ↵Kudlaty
escorted or not *If creature use POINT_MOTION_TYPE, sethomeposition in combat start point --HG-- branch : trunk
2009-10-30*Add virtual bool IsEscorted() to escort_ai.hmaximius
*Some minor cleanup and optimization --HG-- branch : trunk
2009-10-27*Minor cleanup/typo fixes for cd98f7a7b802maximius
--HG-- branch : trunk
2009-10-27*Even more excessive cleanup..maximius
--HG-- branch : trunk
2009-10-27*Cleanup..maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-17*Anonymous enum elimination, part 3maximius
--HG-- branch : trunk
2009-10-14*Some minor cleanup.maximius
--HG-- branch : trunk
2009-10-11Merge [SD2]Kudlaty
*Minor changes to includes for escortAI and followerAI *Add function AssistPlayerInCombat() for escortAI and followerAI. m_creature will then assist a player being attacked by another creature, if escort/follow is active. *Prepare escortAI for conversion to use escort states similar to followerAI. Add functions needed and also move some 'system-only' functions to private: *Convert escortAI to use escort states instead of explicit boolean variable for each different state. Scripts updated accordingly and obsolete variables removed. *Small cleanup in escortAI log messages. --HG-- branch : trunk
2009-09-26*Replace a ton of switches with RAND(), and overload RAND() to support up to ↵maximius
16 parameters. *Add a safety check to prevent knocking players off of transports, just in case they die while on one. *Fix a couple incorrect spell defines. --HG-- branch : trunk
2009-09-20*Remove some not needed casts or used correct casts.Anubisss
--HG-- branch : trunk
2009-09-17*Backed out changeset f2d288ace33dmaximius
--HG-- branch : trunk
2009-09-14*Waypoint creature fix by DearScorpion - "example: the portal dragon in ↵maximius
Duskwood will basically return to it's spawnpoint and start over without this patch, with it however it will more or less kill you on the spot and continue its waypoint path where it left off" --HG-- branch : trunk
2009-08-20Merge [SD2]Kudlaty
r1356 Move HasFollowState() to public and move related Add/RemoveFollowState() to private (not intended that script can alter state directly) r1357 Add faint and revive for npc_ringo --HG-- branch : trunk
2009-08-20Merge [SD2]Kudlaty
r1355 Implement use of bitmask states instead of boolean variables in followerAI. Add function SetFollowPaused to temporary disable follow, with true/false argument to toggle the state on/off. Scripts affected are updated accordingly with needed changes. --HG-- branch : trunk
2009-08-20Merge [SD2]Kudlaty
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-20last fix for Deaths Challange is by Nevan.Kudlaty
Merge [SD2] r1345 Check for valid quest before use in followerAI --HG-- branch : trunk
2009-08-17Revert last rev and fix in correct way. Also some clean up after mergeKudlaty
--HG-- branch : trunk
2009-08-16*Fix build.megamage
--HG-- branch : trunk
2009-08-17Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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-15*Restore the work of escortAI::AddWaypoint.megamage
--HG-- branch : trunk
2009-08-16Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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-16Merge [SD2]Kudlaty
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