summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
AgeCommit message (Collapse)AuthorFilesLines
2013-11-03Allow warp duplicates without a 'facing' valueHaru1-2/+2
- Warps don't require a facing, so their duplicates shouldn't either. - Credits to jaBote. Signed-off-by: Haru <haru@dotalux.com>
2013-11-02Fixed Shadow System Bonusesshennetsind1-0/+7
Item in shadow slots are now able to give bonuses properly, thanks to rosfus for pointing it out! Also added the missing constants for script handling. Signed-off-by: shennetsind <ind@henn.et>
2013-10-25Quest Bubbles Updateshennetsind1-5/+20
- Introduced questinfo cache, memory & processing speed improvement - Fixed mini-map marker support Special Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Quest Bubbles (Actually Works Finally)Kisuka1-18/+52
2013-10-24replacestr documentation fixshennetsind1-1/+1
From c3cedcbf40a5408aafbac960363fe35f1909cbcf Closes #169 Signed-off-by: shennetsind <ind@henn.et>
2013-10-19Instance Dungeons Updateshennetsind1-0/+20
As requested by the community in http://hercules.ws/board/topic/1702-implement-rathena-npc/ we're merging in the latest of rAthena's dungeons, this includes the rewriting of all instance dungeons and the addition of 4 dungeons that were not present previously (BakonawaLake, BangungotHospital, BuwayaCave and OldGlastHeim). Update also includes the ability for instances to reset (or be destroyed if instance files were disabled/removed) upon @reloadscript, instance scripts are able to control to what stage the instances are to be reset via the instance_set_respawn (reload spawn) script command, OnInstanceInit labels are now triggered when the instance starts via instance_init (and upon reload), they may be used alongside instance variables (which are persistent to @reloadscript) to save players' progress. - NPC Changelog: -- npc/instances/EndlessTower.txt --- 2.2 Instance system rewrite. [Euphy] --- 2.3 Added some missing announcements. [Euphy] --- 2.4 Added GM management function. [Euphy] -- npc/instances/NydhoggsNest.txt --- 1.5 Instance system rewrite. [Euphy] --- 1.6 Added GM management NPCs. [Euphy] -- npc/instances/OrcsMemory.txt --- 1.7 Instance system rewrite. [Euphy] -- npc/instances/SealedShrine.txt --- 2.3 Instance system rewrite. [Euphy] -- npc/other/gm_npcs.txt --- 1.0 First version. [Euphy] -- npc/re/instances/BakonawaLake.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management NPC. [Euphy] -- npc/re/instances/BangungotHospital.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management function. [Euphy] -- npc/re/instances/BuwayaCave.txt --- 1.0 First version. [Euphy] -- npc/re/instances/HazyForest.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/MalangdoCulvert.txt --- 1.0b Fixed incorrect use of 'close'. [Joseph] --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OctopusCave.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OldGlastHeim.txt --- 1.0 First version. [Euphy] Special Thanks to Haru, Uziel for their contributions to this update, and ossi0110 for helping us debug it. Signed-off-by: shennetsind <ind@henn.et>
2013-10-14Added documentation for addmonsterdrop/delmonsterdropHaru1-0/+33
Follow-up to 7ddcff9ae2c45659605c649a0af8bb25539ecade Resolves #191 Signed-off-by: Haru <haru@dotalux.com>
2013-10-11Added missing homun-s quest script command documentationshennetsind1-23/+36
Follow up a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93 Signed-off-by: shennetsind <ind@henn.et>
2013-10-07Added 'consumeitem' as an alias of 'itemeffect'shennetsind1-2/+3
For compatibility purposes, Closes #148 Signed-off-by: shennetsind <ind@henn.et>
2013-10-04downrefitem script command updateshennetsind1-7/+4
Preparation for refiner/hd-ore update; Optional param added, this will allow for the officials 1/3 downgrades as well as for users to customise the value to their liking at script-level. Thanks To Haruna. Signed-off-by: shennetsind <ind@henn.et>
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