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
208 files
-
getStartOfDayTick function
By sader1992
getStartOfDayTick(<Day of the week>)
This function returns what the timetick would be on the provided next day of the week
Accept: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
DO NOT PM ME FOR ERRORS
Use the forum post to report for any bugs and errors HERE(Click Me)
I recommend to copy/paste the function to the end of the file 'rathena/npc/other/Global_Functions.txt'
This will make the function usable without 'callfunc' command
if you used the function inside an item or didn't put it to load first you will
need to use 'callfunc("getStartOfDayTick", <Day of the week>)' instead of 'getStartOfDayTick(<Day of the week>)'
https://sader1992.com/
64 downloads
Updated
-
GM Assistance NPC
v1.0(Original) - Simple @request sent to GMs
v1.1 - Added Delay and Number of GMs online
v1.2 - Added changing waitingroom title and check if there are available GMs
v1.3 - Added @request command for easier access for players
Simple NPC used to contact GMs when one is available or is online.
642 downloads
Updated
-
GM Online List
By Emistry
This Script will display to players a list of GM in this server.
Configuration :
OnInit: .min_group_id = 1; .afk_second = 300; end;
2134 downloads
Updated
-
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.
737 downloads
Updated
-
GM Rewarder - Shop-based
By Emistry
Introduction :
I made this script roughly early of last year( Jan 2015), quite an old script that left unused in my laptop.
"GM Rewarder" script become much more popular and widely used across the private service, it was first introduced as "Itemizer" script and made by @Latheesan back in eAthena era.
Many types of Rewarder npc pop up since then. However, some server still having issue with "corruption" due to untraceable records that was removed by NPC if available, or GM often send rewards to their own characters. Beside, most of the Rewarder NPC that exist in forum required more steps/works to create multiple rewards to send to specific players.
Right after I made this
, I decided to play around with Rewarder NPC using same type of features, mainly ease in use.So I am here to share this script to everyone.
Differences :
NPC that enable GM to setup rewards and sent to players in ease.
It allow only GM can send multiple rewards to player, only if GM has that items with them.
Only players able to claim the rewards.
All transactions will be recorded, even if GM "deleted" the history, it still exist in database.
* HHooooorayyy, it's my 8000th posts in rAthena
Notes :
There are actually got several unique ways to use/improve this NPC. I dont want to spoonfeed to much, so I will just leave this part to your own imagination/creativity.
However, if you wish to share your idea to use/improve this NPC with the rest of the community, feel free to leave a comment in this topics.
Who knows, I might implement your idea into this NPC in case I find it suitable with it.
943 downloads
Updated
-
Goddess Blessing
By pajodex
Config Table:
function goddessblessing { // ----- Add your desired SCs below! ----- sc_start SC_FOOD_STR_CASH,8640000,10; sc_start SC_FOOD_AGI_CASH,8640000,10; sc_start SC_FOOD_DEX_CASH,8640000,10; sc_start SC_FOOD_LUK_CASH,8640000,10; sc_start SC_FOOD_INT_CASH,8640000,10; sc_start SC_FOOD_VIT_CASH,8640000,10; sc_start SC_ITEMBOOST,8640000,50; sc_start SC_EXPBOOST,8640000,50; // -------- end of adding SC --------- return; } OnInit: // ---- Configuration starts ------ .goal = 100000; // Goal to reach .delay_tick = 60 * 60 * 4; // Blessing time active : 4hrs (seconds * mins * hours) .item_offering = 501; // Item to offer //----- Configuration ends----- Special Credits for the Pseudocode by @Secrets
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 sell, resell or in any form for money or rewards using my work.
• You are not allowed claim my work as yours.
• I have the rights to change all the terms above without prior notice.
414 downloads
Updated
-
Guardian Stone & Barricade Repair Test Script
By Santino
Just like the emperium breaker test.
Here, you can practice repairing the guardian stones and barricades,
and sets a time how long you repair the stone or barricade.
Got 8 rooms available. ( 4 Guardian Stone Rooms & 4 Barricade Rooms )
Summons barricade when control device is repaired succesfully.
Set prize for the Best Record Holder.
Can enable and disable prize distribution.
Edit map coordinates, if you would like to change the map, under:
OnInit: //•••••••••••••••••••••••• C O N F I G U R A T I O N ••••••••••••••••••••••••// Credits:
Idea from Emperium Tester by JinBlack
Guardian Stone Script -- rAthena-built in
541 downloads
Updated
-
Guild Pack Giver
By ShogS
This NPC will Give a Package for each Guild Member take Note: this NPC will record each player IP address to avoid abuse on players side by getting 2 Package in 1 IP.
1616 downloads
Submitted
-
Guild Package Manager
By adeptfrog
An automated guild package manager that will help your server manage the distribution of guild package. Currently the script checks the following:
Must be a new guild on the server Must have at least {.@min-1} Guild Members ({.@min} including the Guild Leader) Guild Members must be online Guild Members must have a unique IP (duals are not counted and won't be receiving any rewards) {.@bypassipcheck == 0} Both Guild Leader and Guild Members must be at their maximum level {.@blvl}/{.@jlvl} Both Guild Leader and Guild Members must not participated on any Guild Recruitment on the past Configurations:
.@min = 5; // Minimum Guild Count Requirement
.@blvl = 255; // Required Base Level
.@jlvl = 120; // Required Job Level
.@bypassipcheck = 0; // Bypass IP Check
Notes:
» All contents must be Guild-bounded
» Sharable within the guild by using @gstorage or trading guildmates
» Guildmates who left the guild will have their guild-bounded items automatically transfer into @gstorage (including compounded cards)
Example Packages: (feel free to modify the packages in functions getrlp, getrap, getrwp, always use getitembound/getitembound2 with Bound_Guild flag)
» Recruitment Leader Pack (for Guild Leader only) - 1x BTS Armor Set
» Recruitment Armor Pack (for Guild Members only) - 1x Quest Valkyrie Set of choice
» Recruitment Weapon Pack (for All) - 1x +7 Custom Weapon of choice (Quest Weapon)
ItemDB Packages:
- Id: {YOUR .@rlpid ID HERE} AegisName: Recruitment_Leader_Pack Name: Recruitment Leader Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrlp"; - Id: {YOUR .@rapid ID HERE} AegisName: Recruitment_Armor_Pack Name: Recruitment Armor Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrap"; - Id: {YOUR .@rwpid ID HERE} AegisName: Recruitment_Weapon_Pack Name: Recruitment Weapon Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrwp";205 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
539 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 ?
614 downloads
Updated
-
Healer - Selective Buff
By Emistry
A healer that allow player to receive the buffs they want.
Player could decide the combination of buff they want.
* Notes: For demo purpose, I only write a simple script to demo the rough idea, imagine the buff system you could do with your own creative imagination.
Feel free to share with us if you have any nice idea.
Preview:
744 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
906 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.
973 downloads
Submitted
-
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.
606 downloads
Updated
-
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
174 downloads
Updated
-
Ingame GM List
This script shows a list of all GMs with their corresponding status (i.e. online or offline).
You can configure the script to show or hide the last login time of each GM.
As a special feature, the result is cached for a certain amount of time if you wish (see inline configuration, by default caching for 30 seconds is enabled). This prevents players from spamming the database with SELECT queries.
Version 2.0 comes with a source modification to show the group name the GM is in and the option to show the list directly in the user's chat (dispbottom) rather than the NPC dialogue.
Special thanks to Akinari for helping me with the script command and Armor for requesting this feature.
Instructions
To get version 2.0 working, you need to patch your src/map/script.c file with the "groupid.diff" and recompile.
To apply the patch use
patch -p0 < /location/to/the/groupid.diff
from your rAthena directory root.
If you use Windows and TortoiseSVN, you have to right click into your rAthena directory root, select "TortoiseSVN -> Apply Patch" and select the patch file. Click "patch all items" and you're done.
If you do not want to change your source for this, you can remove all occurences of "groupIdToName" inside the script to deactivate the automatic group name display.
860 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.
790 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!
1061 downloads
Submitted
-
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
//============================================================
911 downloads
Updated
-
IP Ban Script
By SkyDragon
IP Ban Script
This script will allow you to Ban any IP from your server.
800 downloads
Submitted
-
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
482 downloads
Updated
-
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
496 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.
322 downloads
Submitted
-
Item Collector NPC / Item Sink Strategy
By Emistry
Introduction :
The NPC is designed to accept items from players, with contributions being non-recoverable but meticulously logged. A straightforward ranking system showcases players based on their item contributions. Game Masters have the flexibility to leverage and reset these rankings for custom events or creative initiatives at their discretion.
** Consider this a deviously delightful item sinking event for your server, complete with devilish flair and strategic mischief.
493 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.