summaryrefslogtreecommitdiff
path: root/doc/sample
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15Fixed too-generic constant names of gettime() typesHaru1-13/+13
- Follow-up to 3bd77ffc0daca508352834add828766490075aee - The names were too generic (not namespaced), and were easily clashing with custom (and potential future official) constants or variables. - Constants are now prefixed with a 'GETTIME_' namespace: - GETTIME_SECOND - GETTIME_MINUTE - GETTIME_HOUR - GETTIME_WEEKDAY - GETTIME_DAYOFMONTH - GETTIME_MONTH - GETTIME_YEAR - GETTIME_DAYOFYEAR - Fixed some excessive (and some times incorrect) parentheses in various scripts using gettime(). - Updated documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Removed checkquest commandHaru1-4/+4
- Follow-up to 3ad4a9d Signed-off-by: Haru <haru@dotalux.com>
2014-03-20Fix various documentation bugsAnnieRuru1-3/+4
Fix certain type of bonus can actually trigger with weapon skills http://hercules.ws/board/tracker/issue-7897-bug-or-bad-description/ Fix duplicate sample typo http://hercules.ws/board/tracker/issue-4984-wrong-test-duplicate-npc-sample/ skill script command doesn't has type 4 http://hercules.ws/board/tracker/issue-7565-skill-script-command-invalid-flag/
2013-12-30Modernized syntax and fixed errors in the sample scriptsHaru28-520/+798
Signed-off-by: Haru <haru@dotalux.com>
2013-12-24Christmas Patch - 2013-12-23 Supportshennetsind1-0/+58
Info: http://hercules.ws/board/topic/3614-christmas-patch-gifto/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-16Corrected line endings and BOM issues with several filesHaru21-21/+21
- 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-04-26Some minor changes:jaBote1-3/+7
* 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-01-29Updated some more placholders.Mysteries22-37/+35
2013-01-29Updated placeholders.Mysteries3-6/+6
2012-12-28* Added a point to 'npcskill' documentation.euphyy1-11/+11
* 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-11-29* Removed Non-English sample files from doc/sample/ (bugreport:6750)thatakkarin3-276/+0
- sample/npc_test_ev.txt was originally used to demonstrate nifty event related commands. - sample/npc_test_arena.txt is rather defunct as there are fully working scripts within npc/ that demonstrate the same functionality. - sample/npc_test_str.txt explains how StRing != striNG. This is documented in doc/script_commands.txt * Slight update to CMakeLists.txt for README.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23* Added Guillotine Cross job quest, again thanks to Muad_Dib! (bugreport:5834)euphyy1-3/+3
* Follow-up r16941: added documentation. * Updated WOE Controller script to v1.4, which modifies LoadEvent mapflag settings for easier cross-compatibility and standardizes script format. * Minor tweaks here and there. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22-Adding checkweight2 and upgrading chekweight to read list of item tid:59194.glighta1-0/+164
Check npt_chekweight for exemple of usage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-06* Partial Fix for bugreport:6800 - Point 3 (soundeffect) and point 4 (sprintf).thatakkarin2-0/+0
* Renamed a few files in doc/sample/ for standardization. * Indent cleanup in script_commands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-03* Standardization of doc\sample\ folder.euphyy29-457/+481
* Deleted doc\sample\PCLoginEvent.txt, which contained outdated information. * Follow-up r16812, fixed file encoding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-21* Added documentation for r16771 (MD5 Hash Check)thatakkarin1-456/+0
* Removed sample/npc_sample.txt as it's unneeded (and 17KB of wasted space) * Updated a link in readme/resources.html * Modified readme/commands.html to use doc/atcommands.txt for explanations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-05* Follow-up r16742, revised quest sample (doc\sample\npc_test_quest.txt) and ↵euphyy1-29/+23
whisper system documentation (doc\whisper_sys.txt) * Follow-up r16745, fixed a few typos in atcommand documentation (doc\atcommands.txt) * Minor cleaning - spacing, tabulation, comments, dividers git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03* Fixed bugreport:6619 with correct ammo view id in /doc/item_db.txtthatakkarin1-0/+44
* Slight cleanup in /doc/atcommands.txt * Added quest sample NPC in /doc/npc_test_quest.txt * Added an additional example in /doc/whisper_sys.txt to show extended usage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01Converted sample Function and Skill scripts into plain English. More to follow.thatakkarin2-23/+29
Also, Akkarin's first commit! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-19* Condensed the documentation on the "Import" folder, it should be more ↵euphyy2-4/+1
reader-friendly now (conf\readme.txt) * Deleted doc\pccommand_list.txt, it's outdated and its contents are already (better) explained in doc\script_commands.txt * Other misc cleaning... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24- Replaced all occurrences of "eAthena" to "rAthena" stringmercurial1233-9/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-23* Some cleaning here and there.ai4rei1-1/+1
- Fixed a typo in basejob_baseclass_upper sample script (since r3893). - Fixed (for sake of consistency) usage of 'sd' before corresponding nullpo check in party_invite (bugreport:2752). - Fixed atcommand config reading would not cap level for charcommands, when using atcommand level as fallback (bugreport:2961, since r13409). - Removed orphaned clif_mob_hp declaration from clif.h (bugreport:2788, since r2092). - Removed unnecessary look-up in itemdb_available macro, as dummy_item is considered unavailable. - Removed leftover shortlist linked-list struct (followup to r10507). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-15* Various accumulated insignificant fixes to documentation, examples and ↵ai4rei1-0/+1
comments. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-19* Fixes to the dynamic shop sample script (first part of dynamic shop fixes).ai4rei1-4/+5
- Fixed wrong check in ::OnSellItem, causing not-enough-items condition not getting detected (since r11829). - Fixed an exploit in ::OnSellItem, causing Zeny to be given to the player, even if the items fail to delete (since r5842). - Fixed missing 'close' in ::OnSellItem (since r5842). - Replaced 'end' with 'close' in ::OnBuyItem (since r5842, followup to r11829). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-31Moved /npc/sample/ to /doc/sample. These are examples, not actual npcs.L0ne_W0lf30-0/+2108
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14277 54d463be-8e91-2dee-dedb-b68131a5f0ec