Commit graph

82 commits

Author SHA1 Message Date
Ibrahim Zidan
f00c0f910e
Update copyrights for year 2026
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-06-28 21:05:37 +03:00
Haru
2c181a6d4a
Update copyrights for year 2025
Signed-off-by: Haru <haru@dotalux.com>
2025-02-01 00:44:18 +00:00
Haru
daca5167ed
Welcome to 2024, Hercules
(update copyright year in headers)

Signed-off-by: Haru <haru@dotalux.com>
2024-02-04 02:26:34 +01:00
Haru
0453dfe61e
Happy 2023 Hercules
(Update copyright headers)

Signed-off-by: Haru <haru@dotalux.com>
2023-01-13 01:28:09 +01:00
Andrei Karas
4a98a62de2 Add script command specialpopup for open popup or show chat message
Also add demo script in specialpopup.txt
2022-10-31 18:23:30 +03:00
Andrei Karas
7a82e56197 Add soundeffect demo script 2022-06-02 04:47:37 +02:00
Andrei Karas
7806a2cd18 Extend script command playbgm with type parameter
Also add command playbgmall2 same as playbgmall but with type parameter.
2022-06-02 04:45:32 +02:00
Andrei Karas
03374de7e3 Add script command for set npc window dialog size
New script command: setdialogsize
2022-06-02 04:45:32 +02:00
Haru
2b4fec0deb
Update copyright headers for 2022
Happy 2022

Signed-off-by: Haru <haru@dotalux.com>
2022-01-05 20:25:22 +01:00
Andrei Karas
e018692d31 Add script command for set text align in npc dialogs 2021-12-01 22:44:10 +03:00
Andrei Karas
28ca50959c Disable zero ui demo in script_custom.conf 2021-12-01 22:44:10 +03:00
Andrei Karas
e8cb7ee1e2 Add support for script command for show first type of dialog with message in new zero ui 2021-12-01 22:44:09 +03:00
Haru
830cea642e Happy 2021
Signed-off-by: Haru <haru@dotalux.com>
2021-01-12 04:00:33 +01:00
Andrei Karas
154907849e
Add expanded barter shop sample script
For enable, uncomment line: //"npc/custom/expandedbartershop.txt",
2020-02-09 21:30:38 +03:00
Haru
da14478a8c
Update copyright headers for year 2020
Signed-off-by: Haru <haru@dotalux.com>
2020-01-13 03:24:07 +01:00
Andrei Karas
939568eb4a
Add barter shop demo script. 2019-01-14 20:18:11 +03:00
Haru
5b983fc43b
Ported npc config to libconfig
Ported to modern Hercules and cleaned up from Panikon's commits: ca009582cb22340951aa3e86c044ec1dca05df36, 6d6adf9bab2ba6f4274395018b8def566b880197

Signed-off-by: Haru <haru@dotalux.com>
2016-08-19 21:32:20 +02:00
Haru
0e67123c9b Standardized header across script .conf files
Now including GPL-compliant license/copyright info

Signed-off-by: Haru <haru@dotalux.com>
2015-12-15 20:53:49 +01:00
Haru
c03094034f Removed trailing whitespace (scripts)
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13 18:15:14 +02:00
Haru
21aeb5aa1d Created npc/dev/ folder for scripts with development or testing purposes.
- Moved npc/custom/test.txt to npc/dev/test.txt
- Special thanks to AnnieRuru for the idea.

Signed-off-by: Haru <haru@dotalux.com>
2014-03-18 02:07:01 +01:00
Haru
9a802b9147 Corrected operator precedence table.
- [ This commit is part of a larger script engine related update ]
- Operator precedence rules now closely follow those of languages such
  as C and derivates/related (C++, Java, PHP, etc.)
- Please note that if you had custom scripts with non parenthesized
  expressions containing bitwise |, &, ^ operators, they may behave
  incorrectly now (or perhaps they were already behaving incorrectly,
  since the previous behavior was undocumented).
- Added an up to date operator precedence/associativity table in the
  script documentation.
- Added an operator/keyword self-test script in the npc/custom folder,
  in case if may be of some use for future regression-testing.
2013-11-28 02:34:55 +01:00
sevenzz23
c5795013b5 Item Binding System Final.
Fixed, some issue thanks to Master Ind ;)

Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>
2013-11-01 02:22:55 +07:00
euphyy
b45455dc15 * Added "Hunting Missions" custom script (npc\custom\quests\hunting_missions.txt)
* Small updates to "readme" files and atcommands documentation
* Deleted a misleading 'notice' file as we have no stable branch or official release (\notice.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-15 19:41:18 +00:00
brianluau
f46ab0d6f9 - help.txt Params lists: changed "/" to "|" to match the rest of the file.
- Removed an extra 'packet_db_ver' comment from r15173.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 04:04:00 +00:00
euphyy
ce2cb8133d * More optimization of 13.1 quests (quests\quests_13_1.txt)
* Follow-up r16421, missed deleting another line, bugreport:6235

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-14 05:48:26 +00:00
euphyy
b07b02bc78 * Added mine and tr0n's quest scripts to /custom/quests/
* Added GmOcean's Disguise Event, Mysterious' Mushroom Event, and Keale's Cluckers Event (all edited) to /custom/events/
* Moved Quest Warper into /etc/
* Deleted custom Fashionable Glasses quest, duplicate of official NPC "Zic" (custom/quests/fashion.txt)
* Deleted custom Hyegun event (custom/events/hyegun_event.txt)
* Deleted custom Dracula event (custom/events/draculax.txt)
* Deleted custom Wizard Hat quest (custom/quests/magicalhatquest.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13 03:35:32 +00:00
euphyy
7c0d97709c * Added Expanded Super Novice support to custom Job Master, and Kagerou/Oboro as well in comments (npc\custom\jobmaster.txt)
* Clarified rare_drop_announce description, since a lot of people have had trouble with it for whatever reason (conf\battle\drops.conf)
* Fixed a minor "viewpoint" argument error, bugreport:6221 (npc\jobs\3-2\royal_guard.txt)
* Deleted custom Kiel Dungeon warper (npc\custom\quests\kiel_quest.txt)
* Deleted custom Bongun Sword quest (npc\custom\quests\bongunsword.txt)
* Deleted custom Book of the Devil quest (npc\custom\quests\bookofthedevil.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12 18:57:02 +00:00
euphyy
3911ae6883 * Optimization of Hugel's "Monster Race" script, 4000+ lines removed (other\monster_race.txt)
* Deleted "Wandering Poets" custom script (custom\etc\wandering_poets.txt)
* Deleted "Iron Cane" custom quest (custom\quests\ironcane.txt)
* Deleted custom Poring Track script, what did this even do...? (custom\etc\p_track.txt)
* Moved custom wedding script into /etc/

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12 00:44:42 +00:00
euphyy
3db565eecb * Added missing .conf entry (bugreport:6162)
* Replaced old, outdated custom WOE setter (custom\WoE_Setter.txt) with my script, and renamed to "woe_controller"
* Optimized "Bossnia Warp NPCs" script (events\bossnia.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-03 21:27:44 +00:00
euphyy
1127771e46 > Reorganization:
* Cleaned up "Custom Scripts" configuration file (scripts_custom.conf)
* Moved "Event King Items" scripts from events to quests (custom\quests\kings_items.txt)
* Moved "p_track" from events to etc (custom\etc\p_track.txt)
* Renamed "lvl99_quest" to "jewel_case" for easier identification (custom\quests\jewel_case.txt)
* Deleted "2006_dogs_year" event script (pointless and incomplete)

> Script changes:
* Cleaned/standardized "Valentine Event Script" (events\valentinesday.txt)
* Cleaned "Slotted Sunglasses Quest" (custom\quests\sunglasses.txt)
* Optimized "Lord Kaho's Horns Quest" (custom\quests\kahohorn.txt)
* Cleaned and optimized "Balmung & Lord Kaho's Horns Quest" (custom\quests\kaho_balmung.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16 22:51:54 +00:00
euphyy
40dcd5a42f * Added "eA Job System" documentation for third classes (doc\ea_job_system.txt)
* Fixed Eden: Romeo#02 not setting para_suv01 upon quest completion (bugreport:5949)
* Cleaned and edited "Item Signer" script for general use (custom\item_signer.txt)
* Merged and cleaned "Poring Track" custom script, then moved and renamed (custom\events\p_track.txt)
* Optimized "Valhallen Quests" script (custom\quests\valhallen.txt)
* Optimized "Event King Items" script (custom\events\kings_items.txt)
* Deleted "Market Place" script, not sure why this existed... (custom\etc\market.txt)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08 00:35:56 +00:00
euphyy
6979b1d621 /custom/ folder overhaul:
==== Script Changes ====
* Warper replaced with Euphy's Warper v1.2
* Stylist replaced with a much more efficient script
* Healer replaced with more efficient script
* MVP Arena heavily condensed, and text edited
* Removed logout suggestion in Reset NPC (why was that there?)
* Quest Warper added to scripts_custom.conf [bug fix]

==== Reorganization ====
* All folders in root directory removed except "battleground", "events", "quests"
* All non-essential scripts in root directory moved to "etc" folder
* A few files renamed for easier identification
* scripts_custom.conf reordered for easier identification

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 02:36:44 +00:00
jmanfffreak
72cd35c33d Massive updates to /npc/custom folder:
* Removed eAAC scripts, which were outdated. (tid: 64380) (will be released in downloads section)
* Removed scripts in /Lance/ folder, which haven't been updated in years. (will be released in downloads section)
* Combined heal.txt and heal_payment.txt into one script, set options within file to enable or disable zeny requirement.
* Added choice in job changer if you allow third job changes.
* Updated warper with new towns and some dungeons.
* Card remover now has option to prevent or allow item destruction upon removing failure
* Removed 2-2shop and replaced with a full itemmall (thanks Masao!)
* General file structure changes (possibly more later)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-28 21:19:30 +00:00
masao87
468a088ab8 - Added Magic Book Quest for Warlocks.
- Followup r16102
* Correctly fixed bugreport:5030 now.
* Restorded scripts_custom.conf since mine accidently got commited with my last commit.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 16:07:52 +00:00
masao87
53e9eefa52 - Updated town.txt to allow Mailbox access in all the newer cities. bugreport:4457
- Removed easter.txt event and the corresponding mobs in mob_db2.txt  and mob_db2.sql since they collide with Satan Morroc minions Mob ID's. bugreport:1240
- Updated Magical Amplify Power cast time to only be affected by item bonuses. bugreport:2777
- Added missing Economy check in agit_main and some missing close; also fixed bugreport:5030
- Added Credits for Ziu in Falcon Flute NPC.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 14:28:16 +00:00
brianluau
1d8592b23c - Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 06:54:26 +00:00
ai4rei
55b1b926c3 * Various fixes for scripts that are disabled by default.
- Fixed name collision in Baphomet Jr. taming item quest (custom) with 'Little Boy' in cities/lutie.txt
- Fixed name collision in THQS_Quests (custom) with 'Little Girl' in cities/lutie.txt
- Fixed outdated reference to npc_dynamic_shop sample (follow up to r14277).

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-16 14:05:21 +00:00
brianluau
cc256e4bdc - Added instance, GVG, and BG maps to nopvp.txt (bugreport:4396)
and changed /conf/mapflag/nopvp.txt to be loaded first.
- Removed a duplicate line in item_misc.txt (bugreport:4453)
- Updated script paths to custom BG scripts, follow up to r14374. (bugreport:4443)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-02 18:33:10 +00:00
L0ne_W0lf
d2b18c292a * Quest log kill count now updated properly. (Added from topic 253813)
* 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-14 16:06:23 +00:00
L0ne_W0lf
b1ca3ed2ab * Documented Battleground commands with as much information as I've got.
* 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-11 18:17:26 +00:00
zephyrus
74f44d476d - Added Flavius Battleground scripts.
- Fixed the last commit about Assumptio, it's only player to monsters, but it can be used on mercenaries.
- Added new JapanRO pets.
- Fixed Valorous Assaulter's Katzbalger missing str bonus.
- Medal of Mage (battleground reward) can also be used by Soul linkers.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-27 15:43:51 +00:00
zephyrus
c77b5e802c - Release of Battleground Tierra Valley scripts 1 and 2.
- I put them on custom because it's not based on Aegis scripts, but most of the work is based on official dialogs and information.
- Thanks to UEAUP Team for most of the information from official servers.
- I will release Flavius 1/2 and Kreiger Von Midgard some days later (already done).

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-06 17:33:37 +00:00
Kisuka
525cd1232a - More optimization of custom folder.
- Removed Fredzilla's duping auction script (no need for it since we have official auction system).
- Removed 'Temp Gefenia Warper' because we have 'The Sign Quest'.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 18:27:59 +00:00
ultramage
51680d33aa Removed the mob controller system, now a customization (see topic:194375).
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-07-31 05:37:40 +00:00
L0ne_W0lf
44256c0db4 Updated NIflheim Town and Quest NPCs
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 04:28:25 +00:00
zephyrus
fd42f3d7e7 - Added the official adoption method.
( Parents need to create a party, invite a novice/first class, both equip the wedding rings and someone just right click the future baby ).
- Fixed a bug sometimes client don't show job's bonus stats.
- Removed the problematic adoption script.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18 04:32:20 +00:00
samuray22
8508ca74ad * Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921)
* Corrected a lot of ";;" Typo errors.
-Some of this are in the bugreport:919
* Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911)
* Corrected some typo error with "rouge". (bugreport:909)
* Moved Custom Event folder to Custom Folder.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-05 17:54:03 +00:00
ultramage
fec8f1d182 Fixed some svn history deletion in r12085, synced with /trunk
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 09:17:55 +00:00
ultramage
8569e54b7a Cleaned the script conf files (see topic:171384 for details)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-22 17:26:15 +00:00
L0ne_W0lf
723561d0be * Some NPC and CONF file clean up. More duplicate removal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 22:02:39 +00:00