Utilities
Scripts that are set up to help players and GMs alike should be posted in this category
Examples: Buffers, Refining Systems, GM Tools, Shops
207 files
-
Runes
By lShinel
A simple system of runes, each time you kill a monster there will be a chance to activate one of them:
Double Damage Regeneration Movement Speed Attack Speed Illusions Kyrie Eleison Full Critical Configuration:
set .Duration,60; // Duration of runes set .Chance,7; // Chance to get a rune set .Sounds,0; // Use of custom sounds 1 = Enabled, 0 = Disabled
765 downloads
Updated
-
Control Barricade
By Mirage25
I just want to share to everybody this simple script. Hope you guys like it!
Kudos to llchrisll for explaining everything!
784 downloads
Submitted
-
@restock - get items from storage with a command
By Mastagoon
My take on the @restock command.
This script allows you to set a list of item to restock from your storage, for example 100 blue gemstones and 300 white potions.
When using the command, a ticket item will be consumed to get the specified items from storage.
This script is so that you'll always have the needed quantity of items in the list. for example, if you have 22 gemstones in your inventory and you use @restock, you'll get the 78 gemstones missing to the full 100
any feedback is appreciated.
639 downloads
Updated
-
Rental NPC Support 3rd/4th job Suit Mado Gear and Dragon
By BeWan
*Don't forget to add required skill on your suit item
skill "RK_DRAGONTRAINING",5;
skill "NC_MADOLICENCE",5;
Report all error/bugs in the forum post not in the PM for faster fix, Thanks!
By downloading this file, you agree with my Terms of Service:
• You are not allowed remove my signature from any of the included files.
• You are not allowed claim my work as yours.
• I can give you support, but please, do not message me.
If you like it, give me a
603 downloads
Updated
-
Compendium
By crazyarashi
Compendium - A levelable battle pass inspired majority of games out there.
Feature :
Easy customizable settings.
Three types of selectable daily quest.
Daily quest requirements are randomized.
Daily quest count resets everyday.
Compendium resets on the first day of the month.
Rewards are sent via mail.
'@compendium' command to access the compendium
Settings :
Adding a reward on the compendium Rewards : "Level | Reward ID, Amount, Reward ID, Amount,... ==| Level order doesn't matter but 'duplicates' will bug out the script. setarray .compendium_reward$, "1|501:10,502:20", "10|501:20,502:30", "5|501:100,502:500"; Adding a monster/item/mvp to hunt or collect Just add the ID on the following line. setarray .mvp_list setarray .hunt_list setarray .gather_list Changing EXP given on the quest types. .gathering_exp = 50; .hunt_exp = 50; .mvp_hunt_exp = 100;
927 downloads
Updated
-
Equipment Recycle NPC
By crazyarashi
A recycle NPC that uses the shop interface.
Changing the rewards
.reward_id = 501; .reward_point$ = "#KAFRAPOINT";
Adding a recyclable equipment.
/* *=============================================================================| * .@r = Refine | .@b = Bonus =| * list_add("<Equip ID>,<Value>{,<Starting .@r for .@b>,.@b1:.@b2:.@b3:..."); =| *=============================================================================| * Cotton_Shirt w/ +8 Starting .@r bonus =| * .@r = 8 : 1 Bonus Item/Point =| * .@r = 9 : 5 Bonus Item/Point =| * .@r >= 10 : 7 Bonus Item/Point. =| *=============================================================================| * list_add(2301,8,"1:5:7"); =| ==============================================================================| */ function list_create { //= Remove samples and add here. list_add(2301,10,8,"1:5:7"); //Cotton_Shirt list_add(1201,10,7,"1:2:3:4:5"); //Knife list_add(2504,5); //Muffler_ return; }
700 downloads
Updated
-
Instance @cd/@cooldown Command
By crazyarashi
A simple command for managing instance cooldowns or any other quest that you feel like adding.
Adding new quest/instance should be simple enough for everyone.
775 downloads
Updated
-
Party Search
By nasagnilac
Allow player to announce in the channel that they are looking for party.
Add this to your channel.conf
{ name: "#recruit" alias: "[ RECRUIT ]" color: "Recruit" type: "CHAN_TYPE_PUBLIC" autojoin: true leave: false chat: false }, If there is a problem or request for the script you can contact me on the following:
Skype: nasagnilac.leiron
Facebook: nl073092
248 downloads
Submitted
-
Automatic Buffs
By nasagnilac
Automatic buff the character who enable it.
set .lvreq, 50; //- Character Level limit set .viplvreq, 80; //- VIP Level limit set .bsec,900; //- Automatic buffs will start every 900sec = 15 minutes set .bdur,60; //- Automatic buffs duration time in seconds 60sec = 1 minute bindatcmd "ab", "Auto_Buffs::OnAtcommand", 0, 100;
If there is a problem or request for the script you can contact me on the following:
Skype: nasagnilac.leiron
Facebook: nl073092
686 downloads
Submitted
-
Master Of Alchemist
By nasagnilac
A npc where you can convert potion to another potions or you can use other items to convert to another. //- <ItemID>|<Zeny>|<ItemReq>|<ItemReqAmount>|<ItemIDReq1>|,.... setarray .Alchemist_List$[0], "11503|250|32371|5", "11504|500|32372|5", "11501|500|11503|2", "11502|750|11504|2"; Example 1: 11503 is the item you want to be exchange with 250 zeny requirements each then it will require 5pcs if 32371 item.
If there is a problem or request for the script you can contact me on the following:
Skype: nasagnilac.leiron
Facebook: nl073092
234 downloads
Updated
-
Nasagnilac Reset NPC
By nasagnilac
A reset npc where similar to official reset npc with some customize feature like monthly free reset and event reset with schedule. The file include sql table so make sure that you add it. If there is a problem or request for the script you can contact me on the following:
Skype: nasagnilac.leiron
Facebook: nl073092
123 downloads
Updated
-
Healer & Buffs NPC
By nasagnilac
A npc where you can heal and buffs. There's also a settings that you can change. set .LevelPay, 60; // Maximum level for free access or else you will pay zeny based on your level. set .Price, 50; // Zeny required for heal but premium user will not require it. set .Buffs, 1; // Also buff players? (1: yes / 0: no) set .Delay, 10; // Heal delay, in seconds If there is a problem or request for the script you can contact me on the following:
Skype: nasagnilac.leiron
Facebook: nl073092
886 downloads
Updated
-
PRO-Card Trader.txt
By Poring King
PRO-Card Trader.txt
This npc can exchange 10 random card to an Coin. Each card need to be different from each other.You can exchange your coin to get a chance to win a rare card! . This NPC is based on Philippine Ragnarok Online Kard Trader ( EN "Card Trader") .
2nd Feature of this NPC is you can have a chance to win a rare card's .
Easy to Configuration
setarray .reward, // <item_id>,<chances rate%>; // Add more cards with your likings // Normal Cards: 100% 4001,100, // Poring Card 4002,100, // Fabre Card // Mini Boss Cards: 30% 4174,30, // Deviling Card 4054,30, // Angeling Card // MvP Cards: 1% 4399,1, // Thanatos Card 4302,1; // Tao Gunka Card
1 purchase 5 downloads
Updated
-
convertertrader.txt
By Ronald
Elemental Converter Trader
______________________________________
This is just a NPC wherein you can trade an etc item for elemental converters.
Features:
• Converts an etc item(any items but etc is recommended) to elemental converter of choice.
• You can set the amount of conversion.
ToDoList:
Change item requirement and amount conversion depending on your preferred.
By downloading this script, you agree to these terms:
• You are not allowed to redistribute this script in any way, shape, or form.
• I still retain all rights to this script.
• Terms above may be changed or adjusted without prior notification.
154 downloads
Submitted
-
fishslicemaker.txt
By Ronald
Fish Slice Maker
______________________________________
This is just a NPC basically creates fishslice with prerequisite items.
Features:
• Creates fishslice with prerequisites.
• You can set the amount of conversion.
ToDoList:
Change item requirement and amount conversion depending on your preferred.
By downloading this script, you agree to these terms:
• You are not allowed to redistribute this script in any way, shape, or form.
• I still retain all rights to this script.
• Terms above may be changed or adjusted without prior notification.
150 downloads
Submitted
-
F_Randomizer randomize and split array into arrays
By sader1992
this function can be used to randomize and split thr first array passed in to it to the other arrays
Warning! the main array size must be divided by the count of the other arrays
for example , you have .@main size 4, you should not send 3 arrays cuz 4/3 = 1 and 1 left , it will fail!
the example npc from the photo is included in the file
also here it is
- script Randomizer_test -1,{ OnInit: debugmes "================================================"; setarray .@main,1,2,3,4,5,6,7,8,9,10,11,12; for(.@i=0;.@i<getarraysize(.@main);.@i++){ debugmes "" + .@main[.@i]; } debugmes "================================================"; debugmes "Split and randomize the elements of .@main into .@a .@b .@c .@d .@e .@f .@g arrays"; debugmes "================================================"; F_Randomizer(.@main,.@a,.@b,.@c,.@e,.@f,.@g); for(.@i=0;.@i<getarraysize(.@a);.@i++){ debugmes ".@a " + .@a[.@i]; } for(.@i=0;.@i<getarraysize(.@b);.@i++){ debugmes ".@b " + .@b[.@i]; } for(.@i=0;.@i<getarraysize(.@c);.@i++){ debugmes ".@c " + .@c[.@i]; } for(.@i=0;.@i<getarraysize(.@e);.@i++){ debugmes ".@e " + .@e[.@i]; } for(.@i=0;.@i<getarraysize(.@f);.@i++){ debugmes ".@f " + .@f[.@i]; } for(.@i=0;.@i<getarraysize(.@g);.@i++){ debugmes ".@g " + .@g[.@i]; } debugmes "=================================================================================="; end; }
the best place to put the function in is at the end of rathena/npc/other/Global_Functions.txt file
60 downloads
Submitted
-
Junk Seller
By PottScilgrim
Junk Seller will scan your inventory and sell everything at the same time.
The list of items will display in a window so the player has a chance to confirm.
If the player has the skill "Overcharge" it will add zeny to the sale amount accordingly.
INSTALLATION AND CUSTOMISATION:
1. SQL DB required for personal blacklist, run this command to create the necessary table in your DB:
CREATE TABLE `junkerblacklist` ( `char_id` varchar(100) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `item_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2. Add junkseller.txt to whichever directory you store your NPCs, and update scripts_custom.conf.
3. Modify this array at line 54 to configure your permanent global blacklist.
setarray @Blacklist[0], 4. Uncomment / Comment the code at lines 541 and 544 if you would like the script to include Cards.
// Checks if item is an Etc item (3) // Comment this line and uncomment the line below if you want Cards to be included if(getiteminfo(.@iid,2) == 3){ // Comment the above line and uncomment this line if you want Cards to be included //if(getiteminfo(.@iid,2) == 3 || getiteminfo(.@iid,2) == 6){ 5. Modify .@showbl to 0 at line 39 if you don't want the message displaying how many items were removed by the blacklist system.
.@showbl = 1; // Shows how many items were removed by the blacklist system.
340 downloads
Updated
-
@AnalyzeItem count item in your server
By sader1992
@aitem this command allows you to check how many of the item in the server
command @aitem2 allows you to check also who have the items
@aitem is fast, but @aitem2 will take some time to finish
the time depend on how big your database is!
Keep in mind that this script work with sql , so if you got an item you will need to wait xtime(default 30 sec) to save in sql so you can see it with the command (or relogin or any act in the server that force you data to be saved , it's all depends on your server setting and your usage)
you should wait until the command is done , do not logout/talk to npc/ anything until you get the results!
'@AnalyzeItem' return the count of the item in the server.
'@AnalyzeItem2' return the count of the item and the lst of who have it in the server (take more time).
USAGE:
@AnalyzeItem <ITEM_ID>
@AnalyzeItem2 <ITEM_ID>
OR
@AItem <ITEM_ID>
@AItem2 <ITEM_ID>
Wait until you get the results in your chat
to add more tables (like other storages) check the array .@tables$ and .@id$
F_GET_REAL_OWNER_NAME(<"string table">,<id>) get the name for id
531 downloads
Updated
-
Dazzu's Guild Package NPC with optional Gepard support
By Dazzu
Please do not remove my signature from the file, claim my work as your own, nor sell this script. Please provide credit where it's due. I may or may not update this script to address below limitation in the future.
If you like this script, please drop a like! ?
Description:
The code flow is similar to benching's guild package npc script and uses his SQL CREATE TABLE statements. However, this script is written from the ground up and supports optional checks based on either IP address or Gepard's unique id. By default, ONLY IP checks are enabled. Any code blocks that uses get_unique_ip has been commented out. However, there are instructions on how to enable unique id related functions provided in the changelogs section of the script and this thread. Allows either IP or unique id based checks. IP check is used by default. Please refer to the initialization section on how to toggle between checking modes. This script allows a guild and all her guild members to receive a predetermined package through redeeming a code. Only requires the guild master to interact with the NPC. Package code is generated by an authorized game master (authorization is based on the minimum gm level set in the script). Package code can only be generated by a game master. The code is communicated by the game master to the guild master which is then redeemed. Both guild master and his/her members will receive the same package contents. Supplied equipment is account-bound. Multiple codes can be generated and claimed for a guild. However, claim restrictions are enforced by either IP or unique id checks. Performs (some optional) checks. Claim is cancelled and certain messages are displayed if one of these checks fail: Weight Limit - Displays name of members whose weight limit can not accommodate the package contents. Repeat claim per unique IP (Optional) - Display names of a member's alternate character who has already made a previous claim (using account id and ip address/unique id). Multi-client claim (Optional) - Display names of a member's characters they are controlling through multi-clienting on a single system (using ip address or unique id). All members online requirements (Optional) - Self explanatory display. Optional checks can be toggled within the script. Requirement:
Gepard Shield if using unique id checks. Initialization:
Variables are set under the OnInit label (line 331) Set .disableMultiLogging to true to restrict players from claiming a guild package when they are logged into multiple clients in the same guild on a single machine. Set .disableRepeatClaim to true to restrict players from claiming a guild package when they have claimed a package previously. Set .allMembersOnline to true to require all guild members be online when claiming the package. If set to false, only online guild members will receive the package. .useGepard - stores and uses unique ids for checks. If set to false, IP address is used instead. (default false). IMPORTANT: If possible, do not change after claims are made, otherwise players may be able to re-claim or unable to first-time claim. Please refer to the limitations section for additional information. .codeLength - length of the guild package code (default 10). .minMembers - minimum number of guild members to redeem the code. .minGMLevel - minimum Game Master level to access the GM menu. .package[0] - array of the guild package Item IDs. .packwgt[0] - array that denotes the amount of items to be dispensed that corresponds to the item IDs in .package Limitations:
Unique id check works well through VPN. However, attempts to bypass checks using a Virtual Machine has not been tested. Code generation is manually done by a game master. This was done by design, however it is an obvious limitation. Toggling between gepard and ip checks after some use may have the following effects: Players with previous claim may be able to perform a reclaim (IP to gepard toggle). Players with NO previous claim may NOT be able to perform a claim if someone else under the same IP has made a claim. (Gepard to IP toggle). To comply with rAthena submission standards, all unique id calls have been commented out and replaced with charip calls instead. However, instructions to easily enable unique id calls have been included in the script. Please refer to the changelogs section on how to perform this change.
517 downloads
Updated
-
Advanced Safe Refiner
By adeptfrog
Just sharing my own safe refiner NPC that mimics the Safe Refinement System of ROM:EL. As the item increases its refinement level, the materials required will grow exponentially as it requires the copy of the item you are refining based on its next refinement level. The NPC can only refine the item if its next refinement process is not safe anymore for Hollgrehenn.
Settings:
.@npc_name$ = Name of your NPC
.@price - The required zeny for refining.
.@canfail - Refining can fail but keeps the target equipment and stays at the current refinement level (0 = disabled; 1 = enabled)
.@same - Check if the materials has the same refinement level (0 = disabled; 1 = enabled)
.@startsafe - Start counting materials after the safe refine on Hollgrehenn (0 = disabled; 1 = enabled)
.@mineralcostmultiplier - The Oridecon/Elunium required per refine based on [.@startsafe] settings (0 = disabled)
[ START SAFE TABLE ]
At Weapon Lvl 4 / Armor Lvl 1
+4 -> +5 = 1 copy
+5 -> +6 = 2 copies
+6 -> +7 = 3 copies
+7 -> +8 = 4 copies
+8 -> +9 = 5 copies
+9 -> +10 = 6 copies
477 downloads
Updated
-
Stat Player Connected
By Kreustoo
Adding two new table and a script that help you see when the players are connected and how many.
-cust_StatPlayerCo checking every hour every day how many player were actually connected.
-cust_StatPlayerIpDay checking everyday how many players were actually connected.
Compatible with gepard and last_unique_id (enable/disable in OnInit).
There's no npc to check that in game currently, only checking in database directly.
If people are interested, I could add a npc/a command that make it possible to check directly in game for gm and/or players.
301 downloads
Updated
-
News NPC
By Kreustoo
Description
A News npc that will let the players read news from the server stocked in sql. It can print colors and show an animated showevent to attract players if there's a new news.
Each news is separated in 2, the resume and more. Make a short version of your news and then explain it more. That way you have more chance to spread at least the important part of it to the players.
Installation
-Run this sql command
CREATE TABLE IF NOT EXISTS `z_custom_news` ( `id` int(11) NOT NULL AUTO_INCREMENT, `News` text NOT NULL, `Resume` text NOT NULL, `More` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -Add news
-Edit the !!Modify Lines
-Check if you want to edit anything in the OnInit.
-Load the npc (news.txt) and voila!
-The news are sql and to update in game, just make a gm talk to it, no need to reload it each time. Not making it checking each time someone talk to it (or each hour ect) make the npc less ressource consuming, but you can edit it and make the request everytime.
Information
-It does not make a lot of sql request, it only update when a gm talk to it and chose to update.
-It saves the highest news seen and print an event to attract the attention of the player, commenting all the !!Saving Mecanism!! lines removes it. It does not save which one you saw.
-You can add color using ^RRGGBB and adding new lines using # (editable)
461 downloads
Updated
-
SoloPack Command with Gepard Function (UniqueID)
By BeWan
Report all error/bugs in the forum post not in the PM for faster fix, Thanks!
By downloading this file, you agree with my Terms of Service:
• You are not allowed remove my signature from any of the included files.
• You are not allowed claim my work as yours.
If you like it, give me a ?
774 downloads
Updated
-
GuildPack NPC with Gepard Function (UniqueID)
By BeWan
Report all error/bugs in the forum post not in the PM for faster fix, Thanks!
By downloading this file, you agree with my Terms of Service:
You are not allowed remove my signature from any of the included files. You are not allowed claim my work as yours.
If you like it, give me a ?
608 downloads
Updated
-
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.