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
197 files
-
Ticket Refine Script
By thunginamue
This is not mine this is sir @Euphy's script, i just tried using it and tried fixing it, im noob at scripting and anything else, but tried and fixed the script to my liking, you can add single npc for single +1 upgrade. i dont know how to say this maybe just look at screenshot :3 i just posted this because i think many ppl wants ticket refining like this or i dont know..
item + ticket = item
+4 +5 +5
does not let you refine if ur item is lower than the desirable refine..and does not let you refine if ur item and ticket is the same.
403 downloads
Submitted
-
@itemrain command
By Mabuhay
I know it exists somewhere in the forum but for the sake of lazy people searching in forum, here is @itemrain command
as what the command name says, it will make / drop items around the one who used the command on 14 cells wide ( about the size of the screen )
@item <item_id> <amount>
Items created by this command is limited to 100 only just to put a little bit of cap into it.
use at your own risk.
Compatibility is your responsibility.
428 downloads
Submitted
-
iRO Spooky machine - Refine Event
By Emistry
Introduction :
Talk to the machine and it will give you a Cracked Buckler shield. Equip the shield and talk to the machine.
It will attempt to upgrade it as high as it will go. Depending on what upgrade level the item breaks at you will get a free item! If the buckler is upgraded to +10 or higher it gives a mystery costume!
References :
Official Website
IRO Wiki
473 downloads
Updated
-
Random Option Global Functions
By Easycore
Random Option Global Functions
I have made two new global functions for Random Option:
F_GetRDMOPT_Name,<ROA_ID>
Returns the Random Option name from <ROA_ID>. (Names are based on zackdreaver's translation) F_GetRDMOPT_Value,<ROA_ID>,<VALUE>
Returns VALUE plus (+), (-) or (%) depending in the Random Option. VALUE is returned as string. Examples:
mes callfunc("F_GetRDMOPT_Name",9;)+" "+callfunc("F_GetRDMOPT_Value",9,15);
will display "MaxHP +15%"
mes callfunc("F_GetRDMOPT_Name",16;)+" "+callfunc("F_GetRDMOPT_Value",16,32);
will display "Delay after attack -32%"
631 downloads
Submitted
-
Doppelganger
By Emistry
A Script that enable Player to save his/her current Job Class Data and then able to switch back to what he had saved at any time they want.
This will allow players to player multiple job class within 1 single Character.
Configuration :
OnInit: set .MaxSlot,3; end; and...please make sure to run this query in your SQL.
ALTER TABLE `char_reg_str` CHANGE COLUMN `value` `value` TEXT NOT NULL ; Topic Detail :
http://rathena.org/b...240#entry137901
* Use at your own risk. Do backup. *
Thank you :
@Peopleperson49 @goddameit
736 downloads
Updated
-
Exchange NPC Script for FluxCP
By RaiRai
This is a NPC script for FluxCP Credits and Vote points in order for the
players to exchange them for Cash Points ingame.
Credits to JayPee Mateo
https://github.com/Feefty/FluxCP_Addons-VoteForPoints/blob/master/npc/voteforpoints.txt
But this script was completely changed so that no lines were used from the original
Make sure to replace "ragnarok_db" with your database name on line 19 and 20
169 downloads
Updated
-
iRO - Ben Recycle NPC
By Emistry
Ben Recycle in Prontera allows players to turn certain equipment into Rough Elunium and Rough Oridecon.
How to use:
func_AddItem(<equipment_id>, <item1>, <amount1>, <item2>, <amount2>); // WEAPONS func_AddItem(1421, 757, 4, 756, 4); func_AddItem(1822, 757, 2, 756, 2); func_AddItem(1625, 757, 5, 756, 5); func_AddItem(1819, 757, 3, 756, 3); func_AddItem(1269, 757, 4, 756, 4); func_AddItem(1142, 757, 3, 756, 3); func_AddItem(1624, 757, 5, 756, 5); func_AddItem(1626, 757, 5, 756, 5); func_AddItem(13404, 757, 5, 756, 5); func_AddItem(13027, 757, 6, 756, 6); func_AddItem(1821, 757, 1, 756, 1); func_AddItem(1268, 757, 5, 756, 5); // ARMORS func_AddItem(2422, 757, 3, 756, 3); func_AddItem(2104, 757, 1, 756, 1); func_AddItem(5124, 757, 2, 756, 1); func_AddItem(2406, 757, 3, 756, 3); func_AddItem(5122, 757, 2, 756, 1); func_AddItem(5126, 757, 2, 756, 1); func_AddItem(2504, 757, 2, 756, 1); func_AddItem(2353, 757, 15, 756, 15); func_AddItem(2514, 757, 6, 756, 6); func_AddItem(2404, 757, 2, 756, 1); func_AddItem(2315, 757, 2, 756, 1); func_AddItem(2102, 757, 2, 756, 1); func_AddItem(2114, 757, 2, 756, 2); Additional:
// if enable shop UI (only work if items can sell to npc shop) .shop_npc$ = "ben_recycle_shop#iro";
Mirror Link: https://pastebin.com/cCBdevB5
431 downloads
Updated
-
Campfire
By Emistry
Original Topic: http://herc.ws/board/topic/16037-campfire-to-regenerate-hpsp/
Herc Script Link : https://pastebin.com/fksPdpFQ
The Idea:
Camp Fire to restore / regenerate HP & SP.
When you sit by the Camp fire, you start feeling the warmth and the comfort, so your HP & SP begin to regenerate.
How to use :
1. add the source mode provided in the script. (or here)
2. make a usable item_db with these bonus script.
callfunc("func_CreateCampFire", <range>, <duration>, <heal_rate>); // create campfire callfunc("func_UpdateCampFire", <range>, <duration>, <heal_rate>); // update the campfire duration/heal rate.
Preview:
Credits : @Dastgir & @Radian for the src mod and @Habilis for the idea
978 downloads
Updated
-
Illusion Items Enchanter
By NotKappa
Illusion items Enchanter conversion.
Note that this is converted from multiple servers, so stats and rates can vary. Stats and rates are taken from wikis/devs.
Credits: kRO, iRO, Shining-moon RO, NovaRO and Divine-Pride.
926 downloads
Submitted
-
set and get Variable for Gepard
By sader1992
with this you can add a "like" variable that hooked to the unique id that Gepard provide
ofc the script wont work without Gepard Shield
Faster Explanation:
all you need to know if you already know how to script: TO SET EXAMPLE: Account Variable in rAthena EX: #VAR = 10; Character Variable in rAthena EX: VAR = 10; Gepard Variable ? > with this functions EX: gepard_int_set("VAR",10); AFTER THE ABOVE THE RESULT WOULD BE> TO GET EXAMPLE: Account Variable in rAthena EX: mes "" + #VAR;// = 10 Character Variable in rAthena EX: mes "" + VAR;// = 10 Gepard Variable ? > with this functions EX: mes "" + gepard_int_get("VAR");// = 10
Download the test NPCs for more Explanation:
Script Header:
//===== rAthena Script ======================================= //= set and get for gepard //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //= https://github.com/sader1992/sader_scripts //===== Description: ========================================= <<<<<<< READ ME! //= YOU MUST RUN THE SQL SCRIPT IN YOUR MAIN SQL FIRST!!!!! //= you should add this to the end of your 'rathena/npc/other/Global_Functions.txt' //= gepard_int_get(<"key">,{<index>{,<"unique id">}}); //= gepard_string_get(<"key">,{<index>{,<"unique id">}}); //= gepard_int_set(<"key">,<value>{,<index>{,<"unique id">}}); //= gepard_string_set(<"key">,<"value">{,<index>{,<"unique id">}}); //============================================================ /* //ADD THIS TO YOUR SQL! CREATE TABLE IF NOT EXISTS `gepard_reg_num` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` int(11) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `gepard_reg_str` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` varchar(254) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; */
659 downloads
Submitted
-
Infinity Gauntlet - Snap
By Emistry
Spoiler Alert !!!
The following content consists of info for the recent Avengers: Endgame movie.
View and download at your own discretion, I am not responsible for anything if you're so weak heart and so easily get spoiled with such contents.
Real fans never afraid of spoiler contents!
Use at your own risk ....
Mirror Link: https://pastebin.com/6GX0LmW2
167 downloads
Updated
-
Autoloot Settings
By crazyarashi
A rather simple autoloot settings function that I made, It's made to store 10 autoloot ID, there can be more than 10 as long as you adjust it.
I made this function to store all ID in one variable rather than multiple ones.
740 downloads
Updated
-
Cash Shop Manager
By Haikenz
NPC that allows you to manage your store Cash shop can Add, Edit and Remove items.
Languages: English (US), Português (BR)
Warning: To use the NPC it is recommended that you use the "item_cash_db.sql" in your folder "sql-files".
DROP TABLE IF EXISTS `item_cash_db`; CREATE TABLE `item_cash_db` ( `tab` smallint(6) NOT NULL, `item_id` smallint(5) unsigned NOT NULL, `price` mediumint(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`tab`,`item_id`) ) ENGINE=MyISAM; Preview:
Q: I added an item and it didn't show up in the store.
Q: I'm trying to add an item and it's giving error.
Q: I added the item in the "Sale" and still did not appear.
By buying this script, you agree to these terms:
You are not allowed to redistribute this script in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I still retain all rights to this script. Terms above may be changed or adjusted without prior notification. Copyright © - Haikenz 2011-2018 - All Rights Reserved
24 purchases 38 downloads
Updated
-
Guild Storage & Guild Storage log npc
By sader1992
you need at least 55acdb9863382d8935d9df25e1462d5d1ebd7d54 or above
this npc let the players check the guild storage log
to access the guild storage log the player must have guild storage permission
448 downloads
Updated
-
VIP Central + VIP Seller
By M4karov
Tested and working with: 6748ff7
Comments: You need to activate the VIP system in your emulator source.
In src/config/core.h /// Uncomment to enable VIP system. #define VIP_ENABLE PURPOISE:
It provides the user with the possibility of buying VIP access, in addition to being able to access the VIP Room of the server. CHANGELOGS:
V 1.0.0: Created the script and distributed in the rAthena forum. Preview of Configuration in Script
End User License and Terms of Services:
1. I will retain all the rights in all the scripts that I create
2. Client cannot redistribute nor resell the scripts that I provide
3. I assume that the client will accept all the terms of services
Where the script author is Emperium Games. And the owner of the script
It is the one who took advantage of and downloaded the script.
1258 downloads
Updated
-
@restock everywhere from your storage
By Vykimo
One version of @restock. Create a list of items to restock automatically from your storage. Available everywhere
Usage :
@restock <itemid> <itemid> ... : add items to restock list @restock off : disable restocking Config :
Consume 1 coin if non VIP Player, but you can disable it. You can set maps where restocking isn't allowed.1172 downloads
Updated
-
Sader's Account/Guild Buff Rental
By sader1992
buff rental
2 options (menu for each option)
account option = you rent the buff for your own account
guild option where the guild leader can rent a buff for all his guild
you rent the buff for x time
in this time you can get the buff from the buffer npc anytime you want as long as the rent time did not end
you can add the guild buffs and the account buffs to your normal healer so the players only talk to the healer to get all the buffs they rent
the players can disable buffs they already rent or their guild rent and enable them again via the manage option in the npc so if they don't want a kind of buff they can disable it without problem
if there is no buffs for the account buffs the npc will say to the player `this service not available yet!` when choosing the account option // same thing for the guild option
for guild option only guild leader can use it and only the guild leader can buy buffs for his guild in the guild option
V2 Changes:
you can now use item as requirement to rent the buff > the item amount will be removed from the player.
you can now use a variable as requirement for renting a buff > like cash points.
adding an option to Extend the rent time for the buff.
no better explain that giving you the file header
//===== rAthena Script ======================================= //= Paid Script //= sader's Buff Rental Npc //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //= Email [email protected] //===== Compatible With: ===================================== //= rAthena Project //============================================================ //= Version 2.0 //============================================================ //= Support only sc_start and specialeffect2 (sc_start2-3-4 not supported) /*============================================================ !!!!!! WORNING !!!!!! DO NOT CHANGE/DELETE THE BUFF ORDER AFTER YOU ADD THEM OR ELSE YOUR PLAYERS WHO RENT IT WILL GET THE NEXT ONE IN ORDER You Can edit add delete what ever you want before you put the npc to the players. You can add more at the end if you want but do not change the ORDER after the players rent from the npc. //================== How To Add A Buff ===================== Go down to 'OnInit:' lebal you will see something like this .VariableName$: the variable name that the player would see in the npc message . .VariableID$: the variable it self. .Acc_Extend_Option: For Account. .Gld_Extend_Option: For Guild. true = enabled | false = disabled this for if the player want to Extend the buff rent time while he already have time left. AddBuffs(<TYPE>,<SC_ID>,<"Buff_Name">,<SC_LEVEL>,<SC_TIME(in seconds)>,<RENT_TIME(in days)>,<ZENY_PRICE>,<ITEM_ID>,<ITEM_COUNT>,<VARIABLE_AMMOUNT_PRICE>,<Effect_ID>) TYPE : 1 = Account Buffs || 2 = Guild Buffs SC_ID: is the Stat ID YOU can see all the status in this file rAthena/src/map/status.hpp Buff_Name: the buff name is what the player see in the menus (string) SC_LEVEL: is the status level ( the buff level ) SC_TIME: this is the buff duration in Seconds RENT_TIME: the rent tile for the buff in Days ZENY_PRICE: the buff rent price in Zeny. if not you can put 0. ITEM_ID: if you want an item requirement cost for the buff here you put the item id. if not you can put 0. ITEM_COUNT: the item count requirement for the item id above. VARIABLE_AMMOUNT_PRICE: if you want i variable cost for the buff , put the amount , the variable name is .VariableName$ .VariableID$ see the read above to know more. if not you can put 0. Effect_ID: The effect that will play on the charcter when get the buff use 0 if you don't want it you can see all the effects in this file rAthena/doc/effect_list.txt Example: AddBuffs(1,30,"Blessing",10,1200,1,500000,512,10,50,42); 1 = Account Buff "BLESSING" = the name that the player see 30 = the stat ID of SC_BLESSING 10 = the level 1200 = duration 20 minutes 1 = 1 days rent time 500000 = 500000 zeny price 512 = THE APPLE ID 10 = the apple count required 50 = the amount of points required (in case of .VariableID$ = "#CASHPOINTS"; than it would be 50 cash points) 42 = the effect id of EF_BLESSING to Add the buffs to your Own healer just add this line at the end of your healer for Account Buffs doevent "SaderBuffRental::OnAccBuffs"; for Guild Buffs doevent "SaderBuffRental::OnGldBuffs"; */ //============================================================
and the video
License :
by downloading this file you are agree on the following:
i will Back Up my server before using this file. i will use this file for my own private server only , not for a group of servers . i will never share this file with anyone . i will never upload this file to public and i wont leave it on shared storage . i will report any bugs or errors to sader1992 . all the rights retain to sader1992 . Charge-back scams are not tolerated and will get you punished on rAthena. The Script supported but don't Expect me to be 24/24 7/7 support . Terms above may be changed or adjusted without prior notification .
10 purchases 28 downloads
Updated
-
Selection Buffer
By Skorm
This is just a buffer NPC that I made for someone in the script request section. It's pretty versatile and sturdy so instead of it being depreciated I thought others might use it.
Description:
Select from a list of buffs the ones you want to purchase each time you buff. Double click to reselect buffs.
Everything is stored in one character variable.
( preview slowed to increase loading times )
752 downloads
Updated
-
My Functions Collection
By n0tttt
Hello. I made these functions a lot time ago. I have a couple more but I think there are enough variations of them already.
Well, here we go. The functions are:
create_menu
which_instance
party_randomid
party_getonline
effect_xy
For a list of examples and proper documentation please read the script! These things would look very ugly here.
And, thanks to KingdomMT for the cute image I used.
429 downloads
Updated
-
mapusers count Functions IP/GePard
By sader1992
You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!)
SCRIPT HEADER (INFO)
//===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================
you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that ?!)
Examples:
scenario ? >
you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map ?
//============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //==============================================
Same as above but per GePard ID not IP
//============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //==============================================
BONUS Test:
pvp warper
prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; }
344 downloads
Updated
-
Lucky Roulette Prize Changer
I'm not that good at scripting but I want to help the community by making this Lucky Roulette Prize Changer so you won't need to go to your sql just to update the prize.
To display the guide, you need to upload the rouletteGuide.bmp in your GRF. ( The file is included in the download. )
Reminder : Lucky Roulette's Prizes will only refresh when the server restarts but the list is updated instantly.
799 downloads
Updated
-
sader's Vote Manager (support Gepard or IP)
By sader1992
//===== rAthena Script ======================================= //= saders Vote Manager //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //https://github.com/sader1992/sader_scripts //===== Description: ========================================= //==== GEPARD OR IP (NOT BOTH!) [SEE THE LINES UNDER THE NPC NAME TO ENABLE ONE AND DISABLE ANOTHER!] //==== vote npc , you can add up to 5 options for each vote and you can add multiple votes //==== test it before using it so you know how it work //==== if you use 'false' as an option the option would be empty so you can use less than 5 options //==== [email protected] //============================================================ //==== I DON'T SUPPORT FREE SCRIPTS ON MY PM , IF YOU HAVE QUESTION YOU CAN POST AT THE TOPIC IN RATHENA! //============================================================
354 downloads
Updated
-
@r - Single NPC Reloader
By luizragna
This Npc reload a single NPC without needing use @reloadscript.
//===== Description: ========================================= //= This Npc reload a single NPC without needing use @reloadscript //= Use @r <npc_name> //= To reload a single npc //= Sample-1: //= to reload npc/custom/jobmaster.txt //= use @r jobmaster //= Sample-2: //= to reload npc/custom/events/poring_race.txt //= use @r events/poring_race //============================================================
511 downloads
Submitted
-
Mad Hatter - Headgear Rental + Randomizer
By Ninja
About This File
Tested and working with: 264af55
No Source Modifications needed.
Purpose
Provides a nice set of hats which resets after x amount of days. It can give the possibility to try the headgear on. This is primarily targeted for Headgears but other items can also be sold and automatically takes off "View Item" in the menu if it is the item being bought is not a headgear. Has the ability to randomize or use a pre-defined set of items.
Changelogs
The Mad Hatter
V 1.1.1:
Fixed problem about checking rentals items in inventory when Randomize Hats option is enabled
V 1.1.0:
Public Release
Swapped Yes/No sequence when a GM talks to the NPC to avoid accidental reroll.
Added Randomization option of hats
V 1.0.1:
Fixed missing semi-colon in config part.
V 1.0.0:
Player can rent 1 headgear per day.
Cannot rent another headgear, if the rented item is still present on their inventory.
Configurable length of rental time
Choose between Zeny or Coin payment
Able to try headgear via "View Item" menu
Weekly change of items. GMs can manually reroll the item set per week.
Configurable amount of Headgears to be displayed per week
*please see configuration part by searching "Configuration part"
Preview of Configuration in Script
End User License and Terms of Services:
1. I will retain all the rights in all the scripts that I create
2. Client cannot redistribute nor resell the scripts that I provide
3. No refunds
4. Maintenance of scripts does not include modification of the original intended behavior. If the script has been broken due to prior modification of the original behavior then it would mean a new service request
5. Modification of the original intended behavior would mean a new service request and would go through the process mentioned above
2. This can be redistributed anywhere in any form.
3. This shall not be in any way be branded for sale anywhere in any form.
4. Maintenance will not be provided. Feel free to use the support section.
5. See #3.
6. Ninja has the right to post all my free services to the release section and make it available for everybody to use
7. Maintenance of scripts will be provide free of charge
8. I will not keep any sensitive information from your server nor any credentials that you lend me
9. I will backup all my server files before I use this.
10. Ninja will not be liable in any way at any time.
11. The moment I use anything from here, I accept all the terms of services stated above.
Where the script author is Ninja (https://rathena.org/board/profile/7005-ninja/).
======================================================================================================
Credits to Radian for the initial request.
======================================================================================================
146 downloads
Updated
-
Utility: Job Master Episode 10.4 with Rebirth Item Requirement
Jobmaster Episode 10.4 Build without Taekwon,Ninja,and Gunslinger
Needed Heroic Stone to Rebirth like official (IDRO)
Credit to : Euphy, Mazvi, Braniff, and Jey for who want make this script until Now work in rAthena ?
213 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.