summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
AgeCommit message (Collapse)AuthorFilesLines
2013-09-16Corrected line endings and BOM issues with several filesHaru1-1/+1
- Ensured final end-of-line character in every file. - Corrected cases of mixed line endings (mostly CR and CRLF within the same file.) - Removed extra BOM from some scripts, since it causes a parsing error. Signed-off-by: Haru <haru@dotalux.com>
2013-08-26Added support for non-fatal error messages from the script parserHaru1-1/+1
- Changed overflow errors to be non-fatal. The value will now be capped to INT_MAX or INT_MIN. - Follow-up to 8351881 Signed-off-by: Haru <haru@dotalux.com>
2013-08-26Added an integer overflow check on literal values in the script parserHaru1-1/+3
- When attempting to use a value greater than INT_MAX or smaller than INT_MIN (about +/- 2 billions), an error message will be shown and script execution will be aborted. - Corrected some scripts that were attempting to use such values. - Fixed some possible issues when using literal negative values in scripts. Thanks to Ind for his help on this issue (figuring it out and fixing it) Signed-off-by: Haru <haru@dotalux.com>
2013-07-19Update script_commands.txtjaBote1-0/+13
Added some neat info Yommy gave us :D
2013-07-14Removed the now unused optional 3rd parameter from removemapflagHaru1-4/+1
- The parameter was only used in combination with MF_RESTRICTED, now superseded by MF_ZONE - Follow-up b08910e8, 90f117f6 Signed-off-by: Haru <haru@dotalux.com>
2013-07-05DB Queue Debug Updateshennetsind1-1/+1
Some documentation update on battlegrounds.conf Fixed Hercules Queue Option constants, they're 1-2-3 not 0-1-2. Some Bugfixes to the test script, special thanks to ossi0110 http://hercules.ws/board/topic/1302-bg-queue-debug Signed-off-by: shennetsind <ind@henn.et>
2013-07-04Implemented sitting set of script commands: sit(), stand(), issit() as per ↵Matheus Macabu1-1/+17
suggested in topic #1204. See documentation for more information on these commands. Also fixed leftover from db_use_sql split. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-23UpdateMysteries1-17/+25
- Fixed some documentation - Fixed some alignment
2013-06-14Whitespace, TABs & SpellingsAkkarinage1-720/+718
Replaced indents using spaces with tabs, reducing file sizes and conforming to standards.
2013-06-13Hercules Renewal Phase : Renewalmalufett1-4/+3
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-05-31Merge pull request #35 from Akkarinage/masterStreusel1-29/+62
Modified formatting in doc/script_commands.txt
2013-05-31Update script_commands.txtStreusel1-0/+2
Added missing index 11.- Queue commands
2013-05-31Modified formatting in doc/script_commands.txtAkkarinage1-29/+62
2013-05-30Merge pull request #34 from CairoLee/mastershennetsind1-1/+14
Merge checkhomcall Script Command from rAthena
2013-05-30Memory Slasher | May 30 Patchshennetsind1-38/+84
http://hercules.ws/board/topic/928-memory-slasher-may-30-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-30- Merge checkhomcall Script Command from rAthenaCairoLee1-0/+13
2013-05-24Manually merged a change from Mysterious, for not having conflicts.jaBote1-30/+38
Signed-off-by: jaBote <jaBote@fake-emails-rock.com>
2013-05-24Edited doc/script_commands.txt:jaBote1-2350/+2650
- Now lines will have up to 75 characters, no more (this does not affect functions or example codes, except most comments). - Some random lines have been shortened up a bit in order to fit wherever possible, in a way that doesn't affect quality of explanation. - Removed any references to past eA/rA revisions, changed SVN references to Git (except in get_revision), and removed most references to past devs of *Athena: this text is informative, not for credits. - Removed any references to TXT servers. - Removed any references to mob control suite. - Improved a bit the part on how to obtain a GID. - Slight improvements on some commands explanations. - Corrected mes script command definition as it can show more than 1 string at once. - Improved set script command to tell the abridged method: a = 7; - Removed reference to an unused parameter (flag) in source, in guildskill script command. - Corrected an error in the rate of autobonus command (100% is 10000, not 1000 as it was before). - Added ways to get a monster's GID through 'monster' and 'areamonster' script commands. - rAthena reference removed in sprintf and sscanf functions. - Please remove cell_basilica references in sercell function if it doesn't work anymore, as said in http://hercules.ws/board/topic/546-how-to-put-safe-zone-on-some-pvp-map/?hl=cell_basilica - Removed "Whew. That's about all of them." at end of the document. Edited src/map/script.c: - Added modification to 'monster' and 'areamonster' to return GID of summoned monster. Signed-off-by: jaBote <jaBote@fake-emails-rock.com>
2013-05-19Slight adjustmentsMysteries1-1/+1
2013-05-19Update script_commands.txtStreusel1-6/+5
Updated 'close' and 'end' documentation.
2013-05-04Merge pull request #23 from jaBote/mastershennetsind1-11/+12
Some minor changes. I'll be committing a script.c change to reflect these documentation changes within the next few minutes.
2013-05-04Merge pull request #24 from HerculesUser/mastershennetsind1-19/+12
Little revision to script_commands.txt
2013-05-02Fixed Bug #7210shennetsind1-4/+5
itemskill now checks for skill conditions unless a 3rd param is present. http://hercules.ws/board/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-02Commit message :DHerculesUser1-19/+12
Signed-off-by: HerculesUser <Hercules@mail.com>
2013-04-26Some minor changes:jaBote1-11/+12
* Removed some forgotten references to rAthena. * Updated script_commands.txt for an upcoming script command modification by @shennetsind. * Corrected a typo in is_upper script command example. * Updated doc/sample/npc_test_skill.txt to reflect the type 3 flag. Signed-off-by: jaBote <j@bot.e>
2013-04-22Hercules April 22 MEGA-ULTRA-LONG Patch~!shennetsind1-0/+0
http://hercules.ws/board/topic/470-hercules-april-22-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-15Fixed Bug #7154shennetsind1-0/+0
http://hercules.ws/board/tracker/issue-7154-equipment-based-skills-skill-891-for-example-persisting-through-resetsremoving-gears/ Merge of 3a9bacc515674885f079391899b22a5ccd8c2e31 Special Thanks to akinari1087 http://hercules.ws/board/topic/410-skill-script-command-updatefix/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-08-Added long missing documentation for itemeffect, description credits to EuphyStreusel1-0/+0
2013-03-27Introducing Hercules' Map Zone Databaseshennetsind1-0/+0
Click the link for full info~! http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-07-Updated some dialog, Credits to EuphyStreusel1-0/+0
-Updated Documentation, Credits to Euphy
2013-03-05-Reverted issue in script_commands.txtStreusel1-0/+0
2013-02-27Fixed Bug #6527malufett1-8/+10
-Where all NPC don't allow changing of equipments by default and now can be set in 'items.conf'.
2013-02-18-Updated map_cache.datStreusel1-2/+2
-Updated Izlude -Added Fly Wing to Lunatic & Poring -Added new Quests (Thanks Flaid) --Expanded MAX_QUEST_DB for the newly added quests Signed-off-by: Streusel
2013-02-16-Updated & improved some job scriptsStreusel1-13/+16
-Updated script_commands.txt for update 2bc8562 -Moved Honeymoon Helper to Official coordinates -Updated guides/guides_izlude.txt to fit Honeymoon Helper coordinates
2013-02-10Merged rAthena ChangesMysteries1-1/+8
- Added checkidle() command that was present in rAthena since r17126 - Documented checkidle() function - More clearly defined variables in eA Job System documentation - Added missing 'stopnpctimer' in custom Cluckers script
2013-01-29Updated some more placholders.Mysteries1-31/+27
2013-01-11* Fixed minor issues in Guillotine Cross job change quest (bugreport:7145).euphyy1-3/+3
* Fixed misplaced line in 13-2 quests (bugreport:7136). * Fixed mistakes in script_commands.txt (bugreport:7140). * Added 'nowarpto' and 'nomemo' mapflags to bossnia_0* maps (bugreport:7118). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-04* Documented OnTouch_ label.euphyy1-2/+6
* Fixed some bugs in Rune Knight job quest (incl. bugreport:7083). * Removed a duplicate item in custom Item Mall script (bugreport:7115). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30* Added Somotology Laboratory F4 quest (written by Ziu, translated by Heris, ↵euphyy1-4/+6
uses some iRO dialogues). * Updated quest_db with Somotology Laboratory F4 entries (5113-5125 are placeholders, may be incorrect). * Moving of warp files, reducing the number of duplicates in pre-re/re paths. * Added a note to documentation (bugreport:7065) and fixed a small mistake (bugreport:7068). * Follow-up r17056, missing $ (bugreport:7067) and added a missing item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28* Added a point to 'npcskill' documentation.euphyy1-1/+2
* Added Malangdo Tool Dealer. * Fixed quest log sample, which never worked to begin with -- thanks clydelion! * Fixed potential error with clones in custom Hunting Missions script (bugreport:7055). * Follow-up r16990, forgot to commit the EXP fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27> Follow-up r17048:euphyy1-3/+19
- Renamed 'useskilltopc' to 'npcskill'; - Removed cast time from NPC objects, code by mkbu95 (suspected official behavior); - Documented 'npcskill'; - Replaced all instances in scripts. * Fixed max level bypass, code by malufett (bugreport:5800). * Updated Malangdo spawns to official. * Some standardization of npc/quests/first_class/. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23* Documented @refreshall (r17035), @breakguild, @hommutate (r17038).euphyy1-2/+2
* Follow-up r16972, fixed a naming mistake (bugreport:7038). * Edited format of default grf-files.txt. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Added $Revision$ and $LastChangedDate$ keyword properties to README.txtbrianluau1-10/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29* Added missing bindatcmd documentation (tid:74882).euphyy1-12/+9
* Follow-up r16976: spell check and other minor changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-27* Follow-up r16971, documentation for map-cleaning commands.euphyy1-0/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-27* Applied Renewal mob mode changes (bugreport:6150).euphyy1-20/+16
* Small documentation changes (incl. bugreport:6937). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25* Misc spelling fixesthatakkarin1-12/+12
* Added @lkami to list of current @kami variations in doc/atcommands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25* Added the "Catalog Magician" NPC to merchants/buying_shops.txt, thanks to ↵euphyy1-1/+13
Muad_Dib! * Changed all commands in atcommands.txt to their defined names, not aliases, and added two more common aliases. * Documented 'makerune' in script_commands.txt. * Documented '@accinfo' in atcommands.txt. * Follow-up r16965, database update for rune crafting formula. * Updated Magic Mushroom DB according to 3CeAM revision 703. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24* Permanent monster spawn documentation is finally up-to-date (partly ↵euphyy1-47/+43
follow-up r16962). * Added missing documentation for boss_monster, and fixed a waitingroom example (bugreport:6800). * Added a small detail to pcblockmove documentation (bugreport:6894). * Added an array example to getd() documentation (tid:63002). * Follow-up r16961, standardization of documentation. * Deleted incorrect UseSkillToPC comments in scripts. This command will hopefully be added in the future. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24Added documentation for getchariparcshiru1-0/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16961 54d463be-8e91-2dee-dedb-b68131a5f0ec