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
-
GM Reward Giver
By sandbox
It's basically a script to monitor the items that are given out by your staff to the players, the main use of this is for events, so you can track if any of your staff is being a bad boy! XD
Installation
Enable the script on your NPC folder
Create a table in your database using the code below, or manually by yourself, make sure all columns accept text!
CREATE TABLE evt_prize(rwd_time varchar(255),player varchar(255),item_id varchar(255),amount varchar(255),gm_name varchar(255));
Configure this line to the minimum GM group level that you want to monitor.
if (getgroupid() < 4){end;}
Configure the map and coordinates where you would place your NPC, it's advised to place it in a map that can't be accessed by your players
Enjoy with an evil laugh so you can simply swing the ban hammer upon your corrupt GMs! (Optional)
To monitor your staff's reward logs, simply check the `evt_prize` table and view the item rewarding activity..
I might update this and add an option where you could view your logs in-game, when I feel like scripting.. Oh yeah! Not!
Terms & Conditions:
You are not allowed to reproduce or make profit of this script
You are not allowed to take credit for this script. Though you can modify/edit it to your liking.
I can give you support, but please, do not message me.
727 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
-
Instant Max Level NPC
//============================================================
//===== Panda's Script =======================================
//= Novice Enchantress NCP
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena
//===== Description: =========================================
//= NPC to instantly level anyone when they have the required item
//===== Changelog: =================================
//= v1.0 - Initial Release
//============================================================
827 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%"
636 downloads
Submitted
-
Shop-based refiner
By Secrets
Information
This script lets your players refine multiple items of the same category at once. Each item's refining process is independent to each other.
This means they can have some items successfully refined and some fail at the same time.
This script is also configurable to suit your likings.
By downloading 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. You will not get any support if you are using an old build of rAthena from 6 months ago or earlier. Your rights to receive free supports may be revoked on my discretion if you are being abusive. Terms above may be changed or adjusted without prior notification. Copyright © - Secrets 2016-2017 - All Rights Reserved
237 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
-
Instanced Emperium Test Breaker + Ranker/Ladder
By Mabuhay
As the title says.
Records break time of the player.
Ranks them with who had the fastest time.
Uses only a custom emperium mob duplicate.
The script would be as is. Use this freely and edit it as much as you need.
Compatibility is your responsibility.
No backward compatibility support.
Enjoy!
901 downloads
Submitted
-
[UnOfficial] Skyfortress Drop/reroll enchantment Functions
By sader1992
README FIRST!
those are UnOfficial
there is 2 main scripts
the first one (you need to add it first to your .conf file)
SkyFortress_Functions
this have the main functions
HEADER >> (read it before you use the script)
the 2nd main file is SkyFortress_reroll
this for the reroll npc
this npc requir https://github.com/rathena/rathena/pull/4195
if you didn't apply this PR the npc will give you error!
the 3rd file SkyFortress_Test is just for test , do not use it unless you want to test and edit the script
to add the drop to your instance , you need to edit the instance script it self , as this not normal drop , it's on event kill drop.
if you have problem with the script , you can use the forum post to report it to me, and me or someone else will help you fix it.
600 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
-
Utility: Super Novice Prayer Command
By Kido
Hello, this script it's a command that will make any Super Novice of any level to pray and call for its Guardian Angel so it will be able to cast Critical Explosion and get + 50 Critical Rate.
I made this because in my server the Super Novice Prayer text didn't work and i couldn't figure out how to make it work so i made this command.
Thanks to Dastgir now it has a gettimestick which makes the player wait the 180 Seconds to call once again the Guardian Angel. First version was a mess lol
If you want to add some checks to fit your needs feel free to do it. If you can't or you don't know how to, feel free to ask for support.
This is my second script release so please be gentile
Have fun guys : )
438 downloads
Submitted
-
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
-
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
513 downloads
Updated
-
In-Game Poll
By sandbox
Script Details & Usage
Based on the idea of Kido, this script can serve as a poll where you can use it to get the satisfaction rating of your players on whether your staff, features, and etc.
Suggestions for the improvement of this simple script is much appreciated.
Installation
Enable the script on your NPC folder Carefully read the comments I made inside the script and make sure to configure it properly
Terms & Conditions
You are not allowed to reproduce or make profit of this script You are not allowed to take credit for this script. Though you can modify/edit it to your liking. I can give you support, but please, do not message me. It is your own responsibility to create a backup before implementing anything new.
590 downloads
Updated
-
Castle Manager
By Nova
In celebration of rA's movement into a new era of IPS4, I decided to finally make a new release.
It's nothing too fancy, I just got tired of manually rotating castle ownership every time I rotated WoE castles.
If you've got any suggestions feel free to post 'em!
I set the permissions for GM 99 only, you guys are welcome to set separate ones per section.
Some people might decide to let normal players see the guild data.
Oh and a shout-out to @Euphy, as I used his WoE controller as inspiration, and copied the arrays from it.
Mirroring in rA just in case. Plus I wanted to test out this downloads section. :]
535 downloads
Updated
-
Yuchinin Common Library
By yuchinin
//===== rAthena Script =======================================
//= Yuchinin Common Library
//===== By: ==================================================
//= Yuchinin
//===== Current Version: =====================================
//= 2.2
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= A common useful function I wrote to make my life easier.
//= Most of my release script will need this to work
//=====******** Note ********=================================
//= This will be the core of my other script.
//= Better let it load first before adding my other script.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Change function arrdel from using 'value' to 'index'
//= 1.2 Fixed sql query bug
//= 1.3 Added Url, npcmes
//= 1.4 Added strcharinfo2 to avoid offline player return empty
//= String
//= 1.4a Fixed arrdel
//= 1.4b Fixed arrfind
//= 1.4c Add arrdel, arrfind notsensitive bool
//= 1.5 Add answer_chk to check input value from define value
//= 1.5a Optimize npcindistance
//= 1.5b Try to fix npcindistance
//= 1.6 Added marketshopcountitem, marketshopdelitem
//= 1.7 Added itemcheck, varcheck
//= 1.8 Added itemname
//= 1.9 Revamped itemcheck and varcheck
//= 1.9a Comment out the debugmes of function arradd
//= 2.0 Added running Marquee
//= 2.1 Added function itemtype to return item type in string
//= 2.2 Added getcharid2 to counter getcharid which need attached
//============================================================
787 downloads
Updated
-
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
654 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
-
Plagiarize a Skill [Script Command]
By rootKid
{ plagiarize <skill>,<lv>; Sets the invoking player's plagiarised skill and the desired lv. } by rootKid
INSTALLATION
[in src/map/script.c]
Find:
// declarations that were supposed to be exported from npc_chat.c #ifdef PCRE_SUPPORT BUILDIN(defpattern); BUILDIN(activatepset); BUILDIN(deactivatepset); BUILDIN(deletepset); Add above:
/*=========================================== * Plagiarize a Skill * plagiarize <skill>,<lv>; * Sets the invoking player's plagiarised skill and the desired lv. * by rootKid *-------------------------------------------*/ BUILDIN_FUNC(plagiarize) { int skillid, lv; struct map_session_data * sd = script_rid2sd(st); skillid=( script_isstringtype(st,2) ? skill->name2id(script_getstr(st,2)) : script_getnum(st,2) ); lv=script_getnum(st,3); if (sd->cloneskill_idx && sd->status.skill[sd->cloneskill_idx].flag == 13){ sd->status.skill[sd->cloneskill_idx].id = 0; sd->status.skill[sd->cloneskill_idx].lv = 0; sd->status.skill[sd->cloneskill_idx].flag = 0; } if (pc_checkskill(sd,RG_PLAGIARISM)) { sd->cloneskill_idx = skillid; sd->status.skill[sd->cloneskill_idx].id = skillid; sd->status.skill[sd->cloneskill_idx].lv = lv; sd->status.skill[sd->cloneskill_idx].flag = 13;//cloneskill flag pc_setglobalreg(sd, add_str(SKILL_VAR_PLAGIARISM), skillid); pc_setglobalreg(sd, add_str(SKILL_VAR_PLAGIARISM_LV), lv); clif_skillinfoblock(sd); } return 0; } Find:
BUILDIN_DEF(_,"s"), Add above:
BUILDIN_DEF(plagiarize,"ii"),
END OF INSTALLATION
I have attached an unfinished function-based script using this script command as a reference.
226 downloads
Updated
-
Stylist with doram limit hair style and hair color
By The HaureN
This is a very simple edit on default rathena and hercules sylist(Is the same) for summoner class(doram) limit hair color and style.
* in line 18 you can change the max hair style.
* in line 19 you can change the max hair color.
476 downloads
Updated
-
Reach to the Max
By Radian
I made a little changes on this script. and all settings can be seen in the script.
OnInit: // NPC Header Name .np$ = "[^009900 Race Event ^000000]"; // Activate Event? 1 = on / 0 = off default .e_active = 1; // Set the first account id here // to where you want to start this event. .acc_strt = 2000000; // Set the last accound id here // beyond this account id will no // longer acceptable. .acc_end = 2000020; // Max Base & Job Level here! .b_lvl = 99; .j_lvl = 70; // Rewards per winner. <itemid1>,<itemamt1>,.... setarray .itemre, 501,10,502,10,503,10,504,10,505,5; // Waitingroom waitingroom "Race Event",0; end;
437 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.
649 downloads
Updated
-
Item Binding
By Akinari
I made this while taking a short break from the normal rAthena work I do. It works with the item bound system added a little over a month ago. You need to have revision 17351 or newer for this to work. It's mostly focused around guild binding as that was the original intention of the script but I then decided to support the other types. The other types are good simply because this allows players to bind items and log these in a separate NPC table by default. You could also disable unbinding (just remove the option in the switch) and make it a better form of security for users.
Features:
Allows users to bind items to their account, character, or guild
Multiple configuration options to choose what item types to allow
Automatically builds a menu list based on your configuration
Configuration:
OnInit: //* Configuration *\\ //Price .bindprice = 0; .unbindprice = 100000; //What to allow to be bound - Add as necessary //1 = Equipment - 2 = Consumables - 4 = Etc .allowbind = 1; //Log binds via NPC? .logbinds = 1; //Other stuff .boundtypes$[1] = "account"; .boundtypes$[2] = "guild"; .boundtypes$[4] = "character"; end;
Please report any issues and feature requests. Thanks for downloading.
305 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
584 downloads
Submitted
-
Player Build Inspection
By klesler
How it works?
Talk with the NPC Input the player nick you want to spy Choose if you want to add more coins to the spy auction The victim player receives the deal. If he pays the price, he wont get stalked, if not, you get a list with all his current equipments and statuses.148 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
-
Recently Browsing 0 members
- No registered users viewing this page.