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
-
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
170 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
433 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
982 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.
927 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; */
661 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.
743 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
451 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.
1262 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.1176 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 )
753 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; }
345 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! //============================================================
355 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 ?
216 downloads
Updated
-
Dress changer ~ Change your appearance between classes.
By Secrets
This NPC let your players change their appearance to other classes in their class line plus their jRO costume at a price.
For example, a sniper can change his/her appearance to hunter and ranger (plus jRO ranger costume).
2978 downloads
Updated
-
Sader's MvP Rank
By sader1992
this script need
https://github.com/rathena/rathena/commit/151c8476afb3adf7901bf2efc66086edc25a0d79
or above to work
this rank system work on the mvp drop log
if the log not enabled the npc wont work
the rank update every hour
you can use @rankupdate to update the rank
676 downloads
Updated
-
Endow_Sage.txt
By pangcake
Features
This well-endowed sage will give your players the selected elemental endows, the same as the sage Endow skills. You may configure the price or whether players are required to have the corresponding elemental stones. The NPC is intended for low-rate servers, where not everyone has access to an endow slave on an alternate account. He will also sell elemental converters at the configured prices.
Default settings will require players to have corresponding elemental stone, and will cost 20k zeny. Endows will last for 30 minutes on the default configuration. Elemental converters are sold for 10k (discount enabled).
Versions
V1.0 - Released - 5-Jul-2018
376 downloads
Updated
-
NPC Exchanger Voteforpoint FluxCP to Cash Point
By hendra814
This is a NPC script for FluxCP Vote points in order for the
players to exchange them for Cash Points ingame.
Credits to JayPee
260 downloads
Updated
-
MakeItemReq, check requirements to make a item
By Ehwaz
This functions help you easy to create a Quest NPC use to create a item by bring for NPC items and Zeny
If bring enough Zeny and Items, a menu confirm to make item will display
Else will display "Close" Button
Edit Menu text inside function.
Usage:
.@isSuccess = MakeItemReq(PRODUCT_ID,ZENY,ITEM1,ITEM1_QUANTITY,ITEM2,ITEM2_QUANTITY,.....) .@isSuccess = 0, you dont want to create this item .@isSuccess = 1, NPC created item for you // Sample Struct NPC //
prontera,157,120,4 script MakeItemReq 555,{ mes "[NPC_NAME]"; mes "Bla"; mes "Bla Bla"; mes "Bla Bla Bla"; mes "Bla Bla Bla Bla"; next; mes "[NPC_NAME]"; // MakeItemReq(PRODUCT_ID,ZENY,ITEM1,ITEM1_QUANTITY,ITEM2,ITEM2_QUANTITY,.....) .@isSuccess = MakeItemReq(5353,1000000,501,1,502,2); // Doesn't add next, because next existed in function if(.@isSuccess){ mes "[NPC_NAME]"; mes "You success to create a item"; } else { mes "[NPC_NAME]"; mes "You dont need it"; } close; }170 downloads
Submitted
-
Costume Enchantments - Custom idRO Klasik based
By Cydh
In this script
Custom NPCs to exchange listed costumes becomes Upper/Middle/Lower/Garment Enchant Stone Box Custom NPCs to enchant listed costumes by selecting the enchant stones (50% success, failure will delete the stone only) Custom NPC to exchange Enchant Stone to Upper/Middle/Lower/Garment Enchant Stone Box (require: 2,000,000,000 Zeny) Not in this script
All items (server-side) that are not present in rAthena All items (client-side) that are not present in kRO (or other official clients) because idRO Klasik customization Lucky charms
Exchange it
Enchant it
Woops, I need to find another stone
995 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.