summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
AgeCommit message (Collapse)AuthorFilesLines
2011-02-12- Fixed the cutin example in script_commands.txtbrianluau1-1/+1
- Updated TortoiseSVN and eAthena SVN links in readme.html git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-06* Fixed script command 'deletearray' deleting incorrect amount of array ↵ai4rei1-6/+3
elements from arrays with empty elements (bugreport:4628). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-17* Spellchecked script_commands.txt.ai4rei1-174/+176
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Updates to the playBGM functionality (since r14335).ai4rei1-10/+10
- Removed impossible condition in playBGM script command (from soundeffect). - Removed unused code (retrieving of a bl) in playBGMall (from soundeffectall). - Made playBGMall default to 'entire server' when both map name and coordinates are omitted instead of printing an error. - Updated documentation for playBGM and playBGMall to match actual behavior. - Removed unused parameter 'bl' in clif_playBGM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08* Applied some script command documentation updates and fixes as already ↵ai4rei1-139/+127
done inside the wiki. - Updated description for 'next', 'return', 'attachrid', 'detachrid', 'itemskill', 'openstorage', 'skilleffect', 'donpcevent', 'day', 'night', 'atoi' and 'axtoi' to resolve inaccuracies, missing information or unverified behavior. - Clarified the purpose of the 'jump_zero' and 'getelementofarray' script commands. - Fixed 'changebase' stating, that it only works in item scripts (since r2402). - Fixed 'kickwaitingroomall' stating, that it is not properly linked into the script engine, thus not working (since r13732). - Updated the description for 'cutin' so that it does not give the impression, that the client is able to display multiple illustrations at once, and being less confusing about the maximum size of illustrations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Resolved missing script documentation (bugreport:4578).ai4rei1-0/+17
- Added documentation for bonus bAutoSpellOnSkill (follow up to r13596). - Added documentation for script command progressbar (follow up to r14024). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Some updates and fixes to script command documentation. [Ai4rei]ai4rei1-36/+185
- Fixed small inaccuracy in description for homevolution (bugreport:125). - Added ~AnnieRuru~'s fixes to item scripts, variables, and commands addtimer and addnpctimer (bugreport:373). - Fixed documentation for function command in regard of passed arguments and return value. (bugreport:373). - Simplified description for getusers, by hiding internal mechanics of the command, which are irrelevant to a scripter (bugreport:2545). - Added description for setfont and mercenary-related commands (bugreport:3034). - Added documentation for ?: operator and "global" labels provided by Gepard (bugreport:3650). - Added documentation for operators -, ~ and ! (bugreport:3650). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added script command pushpc, which is required by newer scripts.ai4rei1-0/+18
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13- Fixed a typo in abra_db.txt (bugreport:4548)brianluau1-1/+1
- Fixed a weight check in Level 4 Weapon Quest. (bugreport:4533) - Removed a duplicate if() in battle.c, follow up to r14381. (bugreport:4549) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Updated script doc to appropriately describe the effects of close/close2 ↵Paradox924X1-5/+5
when used without a window on screen. (bugreport:898) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 * Removed unused 'indoors' mapflag (follow-up to r3729).Gepard1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18- Fixed some small typos.brianluau1-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14* Quest log kill count now updated properly. (Added from topic 253813)L0ne_W0lf1-1/+2
* More battleground editing, and some bug fixes. - * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING * - Rewrote the Badge Exchange NPC in bg_common.txt, is official now. - Other changes to the bg_common folder, including disabled GM NPC. - Completely rewrote Flavius for the most part, from ground up. - Moved old Flavius battlegrounds to /custom/battleground folder. - Restored original bg_common, and KVM to /custom/battleground - Fixed wall bugs in Tierra Gorge, and added an oninit to the timers. - Other minor tweaks to both Tierra Gorge and KVM scripts. - Fixed the pseudo-cooldown on KVM not working properly, I hope. - Added global time2str function which will be used later in Endless tower. * Applied Epoque's mapflag clean up, which removes flags from scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-11* Documented Battleground commands with as much information as I've got.L0ne_W0lf1-2/+129
* Another rather large overhaul of the battlegrounds. - in bg_common.txt, stripped out several more NPCs, split them off. - Most of the NPCs in bg_common.txt are now official Aegis versions. - Completely rewrote Tierra Gorge for the most part, from ground up. - Moved old Tierra Valley battlegrounds to /custom/battleground. - Added Tierra scripts, Flavius, and bg_common to scripts_athena. - Tierra, KvM, and bg_common scripts are now enabled by default. - To use custom Flavius, you must enable /flavius/flavius_enter.txt - * TIERRA GORGE AND KVM BOTH REQUIRE TESTING * git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-03* A rather large overhaul of the battlegrounds.L0ne_W0lf1-11/+6
- in bg_common.txt, stripped out KvM npcs, fixed coordinates. - Needs to be tested, none of the BG files are on by default. - Created subfolder battleground/KvM/ which now holds KVM files. - Added kvm_enter.txt, which warps players to the waiting rooms. - Added kvm_item_pay.txt, which holds the point redemption NPC. - Made the KvM battlegrounds work closer to official, needs work. * Corrected variable typos in the acolyte arena. (bugreport:4374) * Corrected donpcevent typo in the party arena. (bugreport:4374) * Added two global functions which will return equip data as strings. - F_GetWeaponType: returns the type of weapon by 'look', (ie "Dagger") - F_GetArmorType: returns the kind of armor via 'equip loc'. (ie "Armor") * Fixed duplicate documentation for getitemslot. (bugreport:4362) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Updated specialeffect2 to accept player names. (follow up to r14353)L0ne_W0lf1-2/+7
* Bascilica now allows boss-flagged monsters to knock you back as per official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Follow up to r13895, added a battle.conf setting to control if ranges ↵L0ne_W0lf1-1/+1
should be checked with autocasts. 'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the only skill that behaves this way. * Modified the default value for homunculus_auto_vapor in source to 1. * pvp_points are no longer calculated in the gvg_dungeon flagged maps. * Corrected a view ID and an equip location in the item database. (bugreport:4330) * Corrected a typo in the DTS_Warper script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-22* Added support for NPC names in the 'specialeffect' script command, go go ↵L0ne_W0lf1-1/+14
copy/paste! * Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-18Added support for NPC/PC names in 'emotion' script command. (topic:249193)Gepard1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-15- Fixed some item script typos from r14332. (bugreport:4312)brianluau1-2/+7
- Removed an extra tab from r14342. (bugreport:4314) - Clarified documentation about 'getinventorylist' (bugreport:4279) and fixed a small typo. (bugreport:4300) - Fixed occurances of PcName in quests_13_1, quests_ein, and The_Sign_Quest. (bugreport:4302). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-09* Added support for packet 0x7fe which changes the bgm temporarily for a ↵Yommy1-0/+19
single player. * Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02- Fixed item script of Chicken_Hat (5431). (bugreport:4174)brianluau1-2/+2
- Fixed a typo in script_commands.txt (bugreport:4270) - Fixed some links in the README html files. - Fixed the range of 'max_guild_alliance' in battle.c (0 to 3). - Set svn:eol-style=native for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-29Follow-up to r14311.Paradox924X1-1/+3
Updated script doc for warpparty to describe from_mapname behavior. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-17- Fixed some typos in quest_db.txt (bugreport:4186)brianluau1-0/+1
- Fixed a typo in socket_enchant.txt (bugreport:4188) - Added missing `quest` table to the convert_engine sql files. (r12559,r13960,r13963) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-31- Updated 'getinventorylist' to also return expire_time in the array ↵brianluau1-1/+2
@inventorylist_expire[]. (topic:243292) - Updated SQL item/mob databases to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-16- Added documentation for 'setiteminfo', follow up to r9938. (bugreport:3360)brianluau1-1/+23
- Added @reloadmobdb to the custom Floating Rates script. - Added a missing check in THQS. (bugreport:4107) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-06- Fixed the Pineapple_Juice (12320) should be 20 flee not 10. (bugreport:4074)brianluau1-6/+8
- Fixed the strnpcinfo's in halloween_2009. (bugreport:4106) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-24- Removed 'adopt' documentation from script_commands (bugreport:4066).Kisuka1-22/+1
- Fixed an aegis typo in ninja job quest (bugreport:3972). - Fixed % issues with Battleground Medals (bugreport:4062). - Fixed 'new world cards' effect (bugreport:4033). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-30- Added support for PACKETVER 20100105, which updates the vending related ↵skotlex1-1/+1
packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26* NPC event code cleanups.Inkfish1-3/+0
- removed the 'OnMyMobDead' dead code. It's never supported though documented. - removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified. It's never documented and breaks official scripts. - some cleanups and bug fixes to OnTouch_. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-19- Applied the renewal client support patch from Diablo (eA forum topic 222623)skotlex1-1/+38
- Added support for strcharinfo(3) to retrieve the player's map - Added script command "searchitem" for name item searches. - Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now - Changed the status valX from int to long so that it won't break for pointer-storage in other architectures. - Moved the change party leader code to party.c - A few bugfixes or packet field completions based on my past experience messing around with my server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03Extended broadcast implementation:Gepard1-24/+40
- support for font formatting, like font-size - `bc_woe` flag to allow client-side filtering of WoE announcements - new broadcast packet 0x40C git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-30- Fixed a copy-paste 'nowarpto' mapflag. (bugreport:3688)brianluau1-1/+1
- Updated documentation for 'rentitem'. (follow up to r14082) - Fixed a variable name in Valentines 2009 quest. (bugreport:3644) - Added a missing 'input' in Alchemist Job quest. (bugreport:3695) - Fixed a typo in Cooking Quest. (bugreport:3691) - Fixed some typos in Veins Quest. (bugreport:3588) and (bugreport:3692) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-08- Clarified documentation for 'addtimer'.brianluau1-6/+17
- Fixed a typo in a gonryun NPC (Wi -> Wu). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-27- Fixed typo in Hyegun_Hat (5367). (bugreport:1935)brianluau1-11/+43
- Added missing bonuses to Mask_Of_Ifrit (5420). (bugreport:2188) - Added better examples for some documentation. - Fixed item loss from mail if you are OVER 100% overweight. (bugreport:1862) - Fixed 'waitingroom2bg' checking wrong parameter. (bugreport:3330) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-26- Fixed Snake Head Hat (5388) Double Attack bonus. (bugreport:3483)brianluau1-16/+16
- Added missing 'break' in some Juperos warps. - Updated SQL item/mob databases to latest. (thanks Peter) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-14UTF-8 for the /doc directory.ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12Fixed changequest behavior(before: completequest+setquest, now: ↵Inkfish1-2/+2
erasequest+setquest) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25Rewrote Quest Log system.Inkfish1-0/+54
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-09- Added documentation for 'getmobdrops' (follow up to r13101). (bugreport:3351)brianluau1-12/+87
- Added documentation for 'areamobuseskill' (follow up to r13897). (bugreport:3352) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04- Added documentation for 'getmapflag' (follow up to r12175). (bugreport:3314)brianluau1-9/+17
- Fixed a zeny check in Transcending quest. (bugreport:3334) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02- Added mosk_que to the mapcache (follow up to r13903).brianluau1-2/+2
- Fixed some input checks and variable types in Megingjard quest. - Updated SQL item/mob databases to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02* Updated autobonus [Inkfish]Inkfish1-21/+36
- added documentation for autobonus. - invoke status_calc_pc to complete autobonus execution and this will refresh client display as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-21Added instance command definitions, using what I could find and how they are ↵L0ne_W0lf1-0/+90
used from the script provided. Further feed back may be nessecary. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15- Changed some variables to scope instead of permanent char. (bugreport:3248)brianluau1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Fixed double-quotes not being escaped in the custom xmas_rings_event. ↵brianluau1-1/+1
(bugreport:2546) - Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09* Fixed some known and unknown player attached NPC timer problemsInkfish1-5/+7
- Attached timer now can be stopped properly. - Attached timer will now stop if the NPC is unloaded. (bugreport:2510) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07- Removed a duplicate entry in item_trade.txt (bugreport:2720)brianluau1-45/+158
- Documented more script commands and fixed some typos. (bugreport:1554, bugreport:2619, bugreport:2692, bugreport:3034) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04* Added the md5() script command. (follow up to r13719)brianluau1-0/+11
- Changed kafra storage password to be stored as md5 hash in #kafra_code$. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02- Fixed some typos in the script command documentation. (bugreport:2547)brianluau1-5/+9
- Fixed a misleading message in the custom Job Changer. (bugreport:682) - Updated some NPC's facing directions. (bugreport:3030) - Added missing newline in some ShowWarning(). (bugreport:2940) - Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035) Now, the seconds are rounded up to the next whole minute. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec