aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts/ScriptMgr.cpp
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
2009-11-01*Fix Windows build, implement ScriptMgr config accessors, by Paradoxmaximius
--HG-- branch : trunk
2009-10-27*Even more cleanup and optimization.maximius
--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-09-23*add 11 new event hooks to the OnEvents system, by Hawthornemaximius
--HG-- branch : trunk
2009-09-13*Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthornemaximius
*Boss Emote Command for DB Scripts by XTElite1 --HG-- branch : trunk
2009-09-11*Utgarde Keep: save & load door status, by Tartalo, thanks Aokromes for ↵maximius
testing, and thanks Paradox for telling me about RAND() :P --HG-- branch : trunk
2009-08-30*Should fix some things with Rate.MoveSpeed, thanks megamagemaximius
--HG-- branch : trunk
2009-08-30*Move an output message in ScriptMgr to somewhere more useful, and more ↵maximius
private :) --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
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-14*Script of Netherspite. By Iskandermegamage
--HG-- branch : trunk
2009-08-15Merge [SD2]Kudlaty
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-14Merge [SD2]Kudlaty
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-14Merge [SD2]Kudlaty
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-13Merge [SD2]Kudlaty
r1240 Update scripts, increment/decrement variables using operator before instead of after variable, mainly for code consistency. Original patch by Meldanor. --HG-- branch : trunk
2009-08-13Merge [SD2]Kudlaty
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-11*Linked Ulduar bosses with their scriptsmaximius
*Wailing Caverns updates, by Oculus --HG-- branch : trunk
2009-08-10*More cleanupmaximius
--HG-- branch : trunk
2009-08-10*ScriptMgr cleanupmaximius
--HG-- branch : trunk
2009-08-10*Ulduar script updates, thanks Nemesismaximius
*Minor Vault of Archavon cleanup --HG-- branch : trunk
2009-08-10*Halls of Lightning update, Loken script from SD2 (thanks manuel)maximius
--HG-- branch : trunk
2009-08-10*add script for Wailing Caverns, Disciple of Naralex event, thanks to OculusRat
--HG-- branch : trunk
2009-08-10Missing part of patch added in 4783Kudlaty
--HG-- branch : trunk
2009-08-09*Some scripts of ulduar boss (far from finished)megamage
--HG-- branch : trunk
2009-08-07*Emalon the Stormwatcher fully scripted, by Necroo (boss needs to be spawned ↵maximius
and ScriptName needs to be updated) *Added config options: DurabilityLoss.OnDeath and DurabilityLoss.InPvP, optimized Rate.RepairCost --HG-- branch : trunk
2009-08-04*Allow ItemExpire events to be scripted.QAston
*Add .debug itemexpire command *Add script for Disgusting Jar and Mysterious Egg - original patch by Elron. --HG-- branch : trunk
2009-07-27Script for quest 12570. Author: manuelKudlaty
--HG-- branch : trunk
2009-07-25Merge [SD2]Kudlaty
r1106 Prevent abuse of item 44222. Apply some SD2 code style r1107 Add health modification for phase and correct phase value for kael(TK) r1108 Remove scripted function SetSheathState() and use mangos function instead. Fix one typo and apply sd2 code style for one script. r1109 Remove old makefile* files not needed. r1110 Some minor adjustments to sharkkis, add one spell and also add distance to MoveChase. Not kill boss' advisors on Reset when not needed. r1111 Check pointers and avoid possible crash r1112 Added script for friendly Kael in MgT (movement to orb-platform, transform and gossip) r1113 Correct misunderstanding added in 1112, and use timer for transformation instead (creature are expected to spawn/fly down once player use orb). --HG-- branch : trunk
2009-07-24Merge [SD2]Kudlaty
r1095 Correct one spellId in hyjal - skip r1096 Remove more grid search code from scripts and use functions. r1097 Remove obsolete functions redefined in 1094 r1098 Added text for bosses in map 615 r1099 Added instance script for map 615 --HG-- branch : trunk
2009-07-23Add script for quest 12861. Author: Drethek.Kudlaty
--HG-- branch : trunk
2009-07-19Backed out changeset: ad3793582d28Rat
--HG-- branch : trunk
2009-07-19*added script for Underbog Colossus (SSC)Rat
--HG-- branch : trunk
2009-06-19Merge [SD2]Kudlaty
r1066 Added a few more encounters to SetData ZA instance - Skip r1067 Added end boss' in ZA adds with random selection and their abilities. - Skip r1068 Added support for quest 10994 (basic parts) r1069 Added instance script for BFD r1070 Remove enum type not related to boss/encounter. r1071 Fix misunderstanding committed in 1067. Spawn 1 of 2 possible adds, each from 4 different groups instead of 4 random of 8 possible. - Skip r1072 Save instance data for TYPE_EVENT_RUN in ZA when expected and not allow it to reset on Load(). Remove useless code for goFlags. - Skip r1073 Added struct and enum for misc npc/go entries used in naxx instance - Skip r1074 Restore Windows build after changes in Mangos rev 7810 - Skip r1075 Added 6 new taxi paths (wyrmrest temple) - Skip, already implemented r1076 Correcting berserk spell for najentus, also make sure spell are actually casted. r1077 Update sources and use enum GossipOptionIcon instead of magic number. r1078 Provide new .diff file to use with Mangos 7812+ - Skip r1079 Update one old boss script, clean code. --HG-- branch : trunk
2009-06-18* In case of a 'for' loop, don't declare the iterator of a type that has a ↵Machiavelli
larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases). * Other minor cleanups, Null pointer checks etc. --HG-- branch : trunk
2009-06-15Merge [SD2]Kudlaty
r1010 Removed script for general marcus (can be done with eventAI) r1011 Fix typos. Should not assign value. Expected equal-to operator. r1012 Added support for quest 5561 r1013 Remove redundant directory path, already in include path - Skip. r1014 Remove old tables in SD2 database no longer used. Remove ScriptName for script 'mob_eventai' that does no longer exist - Skip r1015 Added PostgreSQL database create structure - Skip --HG-- branch : trunk
2009-06-10*Merge SD2.Anubisss
*r993: Added support for quest 2078 *r994: Added missing SQL update files in rev 993 *r995: Added support for quest 731 *r996: Use CombatStartPosition as return point for escortAI instead of script generated location. - Skip. *r997: Added gossip to obtain scarlet illusion related to quest 5862/5944 --HG-- branch : trunk
2009-06-09*Update script of The Nexus 5er. By PSZmegamage
*Thanks to onkelz28 for preparing the patch --HG-- branch : trunk
2009-05-22*Some work on wintergrasp. Player can get ranks by killing other players and ↵megamage
can build vehicles at workshop. Vehicles can be used to destroy buildings. Except these no other thing is done. --HG-- branch : trunk
2009-05-20*Merge SD2.Anubisss
*r978: Added few basic parts for ramparts instance script to be used in further development. *r979: Added support for quest 9686. - Skip this patch. Its already scripted. *r980: Added gossip to play movie cutscene after quest 12499/12500 rewarded. *r981: Clean up some code and correcting icon for gossip items. - Just use enums. *r982: Added support for quest 938 (consider it a test for similar quests) --HG-- branch : trunk
2009-05-20Merge & move taxi scripts into one file as npc_taxiKudlaty
--HG-- branch : trunk
2009-05-19*Add script of Thaddius.megamage
--HG-- branch : trunk
2009-05-17*Fix a bug that event ai text is loaded twice.megamage
--HG-- branch : trunk
2009-05-14Backed out changeset: 5201ecc6b309megamage
--HG-- branch : trunk
2009-05-14Backed out changeset 1f92b07df94aQAston
--HG-- branch : trunk
2009-05-13*Add script for Gothik. Please apply 3233_world_scripts_naxx.sql for new ↵megamage
contents. --HG-- branch : trunk