summaryrefslogtreecommitdiff
path: root/npc/sample
AgeCommit message (Collapse)AuthorFilesLines
2008-07-31Removed the mob controller system, now a customization (see topic:194375).ultramage1-198/+0
The system consists of * script command to spawn a controlled mob * script commands to attach npcs to such mobs and manipulate their AI * a page of documentation for these commands * callbacks at various source code locations that invoke the attached npcs * two npc examples git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14Fixed card removal script functions' 'extra card' bug (bugreport:786)ultramage1-197/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* Corrected some broken warp points. (bugreport:497)samuray221-2/+3
* Corrected a bug on Sample Dynamic Shop. (bugreport:421) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-15Some small adjustment to the P.o.S. guild script...ultramage1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-15Fixed missing 'name' parameter in 'duplicate' script command documentation.ultramage1-0/+29
Added npc_test_duplicate.txt to /samples. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-19Set proper limits to drop rates to prevent integer overflow.ultramage1-1/+1
Minor details cleanup. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-19Partially fixed monster_controller.txt (see r7233).ultramage1-15/+15
TODOs are in the npc changelog. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-15* Some serious code cleanupsultramage1-0/+0
- adjusted @reloadbattleconf to not depend on variable ordering - changed all battle vars to 'int' (removes pointless duplicit coding) - added min, max and default columns to battle config data structure - added properly bounded values for these columns (or at least tried to) - battle-conf loading will now complain if it finds unknown settings, and will reject values that are outside of the allowed range - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE - partially cleaned up chatroom manipulation code * Fixed 'Job_Professer' typo in mage jobchange quest git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-14More svn:eol-style-ing and typo fixesultramage1-50/+50
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-06Updated the server's PCRE components to 7.0ultramage1-0/+392
- dll, library, header - cleaned the only existing example and moved it to /samples - changed its interface a bit, now it uses $@ instead of $ to store the parsed result - /!\ adjust your scripts if you are using npc regexp parsing /!\ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-05typos: recieve -> receiveultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10163 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20Added npc/sample/npc_live_dialogues.txt how to use Global_Functions.txtLupus1-0/+51
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-16Fixed a missing curly brace and removed some more .gat-sultramage1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15removed all .GAT from all the scripts and testedLupus28-152/+147
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-02EOL-styled some more filesultramage1-70/+70
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-28added setiteminfo function, updated setitemscript func, added NPC sample for ↵Lupus1-0/+70
them git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Changed the script source from unsigned char* to const char*.FlavioJS1-151/+151
- Updated plugins Makefile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Fixed the meaning of stdout_with_ansisequence and changed the default ↵FlavioJS1-9/+22
value to no. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Added year to the dates in the npc changelogFlavioJS1-0/+138
- Added sample localized NPC git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-11Added missing close2 to Hunter Job Quest, merge it to stableKarLaeda1-197/+197
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05- Massive EOL normalization & 'svn:eol-style native' flag setting for all ↵FlavioJS25-1583/+1583
txt/conf/h/c files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- Removed security check since source level patch is applied. Reverted ↵Lance1-5/+1
select(), created prompt(). modified Changelog-Trunk.txt modified npc/airports/airships.txt modified npc/cities/amatsu.txt modified npc/cities/gonryun.txt modified npc/cities/hugel.txt modified npc/cities/lighthalzen.txt modified npc/cities/niflheim.txt modified npc/cities/valkyrie.txt modified npc/custom/eAAC_Scripts/disguiser.txt modified npc/custom/eAAC_Scripts/quest_warper.txt modified npc/custom/jobs/jobmaster.txt modified npc/events/idul_fitri.txt modified npc/jobs/1-1e/gunslinger.txt modified npc/jobs/1-1e/ninja.txt modified npc/jobs/novice/novice.txt modified npc/merchants/kunai_maker.txt modified npc/merchants/novice_exchange.txt modified npc/merchants/refine.txt modified npc/other/comodo_gambling.txt modified npc/other/dts_warper.txt modified npc/other/marriage.txt modified npc/other/powernpc.txt modified npc/quests/Lvl4_weapon_quest.txt modified npc/quests/gunslinger_quests.txt modified npc/quests/quests_ein.txt modified npc/quests/quests_umbala.txt modified npc/sample/monster_controller.cpp modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19Applied security patches. PLEASE CHECK THEM ALL.Lance1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16* For the sake of avoiding confusion, all script events are named with ↵Lance1-4/+4
prefix 'On' from now on. modified Changelog-Trunk.txt modified conf-tmpl/script_athena.conf modified doc/pccommand_list.txt modified doc/script_commands.txt modified npc/custom/Lance/FR_HallOfFame.c modified npc/sample/PCLoginEvent.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-17* [Added]: Lance1-0/+1
- buildin_checkcell, buildin_mobwarp, buildin_pcattack. * [Improved]: - buildin_skilluseid and buildin_skillusepos to accept a few more arguments. - mob_script_callback to return sucess value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-16git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7207 ↵Lance1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-16* Updated sample script mob_controller.cpp to the latest standards.Lance1-3/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26* Patches to allow everything to work right. + 1 more sample script.Lance1-8/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Added a few more events in..Lance1-3/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6771 ↵Lance1-3/+3
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26* Mob control engine tested 99% working so far.Lance1-0/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26* Change scripting engine's NPC scope vars to dot (.) style.Lance1-48/+48
* Improved and (should be fully) fixed the mob control engine. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6750 ↵Lance1-0/+126
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6663 ↵killercube1-0/+37
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27added setmapflag sampleLupus1-0/+24
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01Fixed the dynamic shop system memory allocation and id_db problem. Added ↵Lance1-0/+84
sample script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18added script function 'getmonsterinfo'Lupus1-0/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES ↵Valaris23-0/+1451
GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29Clearing trunk.Valaris19-1365/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24* Added 'map_charid2id'celest1-1/+21
* Changed monster damage logging to save char ID's * Implemented 'event_script_type' * Set Emsolute Develop as a learnable skill * Updated 'require_glory_guild' * Allow monsters to cast skills near themselves even when monster_nofootset is set to 'yes' * Print number of online users in online.txt/.html even if there's only 1 user git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06Fixed some EOL issues(no author)1-15/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10* Fixed some typos and exploits in the Blacksmith and Hunter job questcelest1-0/+16
* Modified 'wedding' script command to work with "OnTimer" scripts * Added 'attachnpctimer' and 'detachnpctimer' script command git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29git-svn-id: ↵mc_cameri2-51/+66
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-19translatedLupus1-12/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-08git-svn-id: ↵Mass1-50/+26
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14Fixed some file typesamber18-1336/+1336
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-04git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@2 ↵(no author)18-0/+1338
54d463be-8e91-2dee-dedb-b68131a5f0ec