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
-
Buffet Shop System
By Secrets
Information
This script allows you to set up an "All You Can Take" style shop.
You can assign a time window for an account to get everything in that shop. Those items will disappear once the time runs out.
@commands:
@addbuffet - Calls GM menu to add time to a certain account.
Use Case
You can make your player pay a certain amount of money and get everything in the buffet shop for a limited time!
You can also update the `buffet_time` SQL table via your site to integrate it to your site
This script is only guaranteed to support rAthena. If it somehow break on Hercules-based emulator, I could fix it at an additional price
Video
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 at my discretion if you are being abusive. Terms above may be changed or adjusted without prior notification. Copyright © - Secrets 2017 - All Rights Reserved
72 downloads
Updated
-
pajodex's BG Queue System Version 2
By pajodex
Config Table:
Read Me:
Note:
Side-notes:
Side-side-notes:
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.
2 purchases 7 downloads
Updated
-
Quest NPC ( Instance Base )
By Quesooo
Good day !!!
this is my new quest NPC ( instance base script )
why i called it instance base ?
because you need to do some quest by entering instance first and find the monster need to kill to finish this quest
i insert all modifications and scripts needed on this NPC script
i also insert Shadow boxes lua file modification on this script
Take note : please read all read me text first to do all procedures properly
thank you guys
2 purchases 6 downloads
Updated
-
Newbie NPC
Just a simple Freebie NPC that will give out bound rewards and can easily be configured since it's pretty much very straight forward. Perfect for people who are just starting.
644 downloads
Updated
-
Sistema de donaciones SMS ( spanish version )
By Racing
Puedes ver la descripción full y como implementarlo en el siguiente post:
http://rathena.org/board/topic/90885-sistema-de-donaciones-sms/#entry237407
Con el tiempo haré la misma guia pero en inglés.
With time I will do the same guide but in English.
Saludos
213 downloads
Submitted
-
Dungeon of the Day
By cook1e
Each day a random dungeon will be picked, monsters killed inside the dungeon of the day will give extra EXP, Items and Zeny, the percentage to get these is configurable within the script.
Accepting suggestions to improve this script.
580 downloads
Updated
-
Advanced Bank with nearly unlimited maximum balance
This is my bank NPC which I made since I couldn't find any bank that can store huge amounts of Zeny.
Special Credits: Thanks to Anakid for the great idea to implement an @bank command.
The NPC supports the following features:
Deposit
Withdraw
Transfer Zeny to other player's bank accounts (by name or account id)
Password protection
Transaction log (deposits, withdrawals, incoming and outgoing transfers)
daily interest (every morning at 6 o'clock server time, default: 5%, can be changed)
maximum amount per process is only determined by the server's input_max_value and the script's .maxInput
vast amounts of Zeny can be stored (the MySQL column is BigInt, so you can store up to 18,446,744,073,709,551,615 Zeny, that's more than 18,000,000,000 deposits of 1,000,000,000 Zeny)
other features are planned and I take feature requests, if I think they make sense (you can ask directly in the thread, but I prefer private messages or emails [address provided in both scripts])
The @bank command supports the following features:
the same as the NPC, but more versatile
higher limits (as it is not connected to the input_max_value, default value per process is 1,000,000,000 Zeny)
shortcuts for @bank <function> commands: @info, @deposit, @withdrawl, @transaction, @password
You need to download the README.txt file to get the database creation commands and some basic information on how to install the script.
627 downloads
Updated
-
Advance Punching Bag with DPS counter + Parameter Settings
By pajodex
Hi guys,
Its been a while since I left and came back. Here is my latest release for now for the community :
In addition to setting the dummy's parameters, you can also simulate a monster's stat by adding the MOB ID.
You will need to put your mob_db/mob_db_re sql tables in-order for the script to retrieve the mob's information.
Since this is a free release, compatibility is your responsibility.
If there are any bugs/issues, just post on the support page and not thru my DMs.
Credits goes to @Secrets DPS counter script. I was using that script and modified to make this script possible.
Hope this small contribution would be a great help!
- pajodex
Thanks to @_Terra for sharing the fix on clif_send error.
561 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.
466 downloads
Updated
-
Pack Guild pt_BR
By Envolvents
Hi, providing again one of my toys i've ever used, script language in portuguese brazil, translate for your language.
configuration:
// ======================================================// Mapa onde o NPC ficaráprontera,150,150,3 script Pack Guild 404,{// = Configuraçao:// = Titulo do NPC set .npc$,"^9EB449[ PACK GUILD ]^000000";// = Máximo de Peso para receber o Pack Guild set .@max,70;// = Itens dados separados por Vírgulas "," Ex: 607,608; setarray .@packitem[0],607,608,609,610,611,612,613,614,615,616,617,618,619,620; setarray .@qtd[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1;// = Checando Guild query_sql "SELECT `char_id`,`guild_id` FROM `guild_pack_take` WHERE `char_id` = '"+getcharid(0)+"'",.@RID,.@GIDT; query_sql "SELECT `guild_id`,`name`,`master`,`permissao`,`qtd_itens` FROM `guild_pack` WHERE `guild_id` = '"+getcharid(2)+"'",.GIDC,.NAMEC$,.MASTERC$,.PERMC,.QTD2;// = Condições if(getgmlevel() > 90) goto L_GM; // Nível para GM/ADM if(agitcheck()) goto L_WOE; // Checando de a WOE no momento if(!getcharid(2)) goto NOGUILD; // Se sem guild if(!.PERMC) goto NO_PERM; // Se não permitido pelo adm if((.PERMC == 1) && (.MASTERC$ != strcharinfo(0))) goto NO_PERM2; // Se permitido pelo ADM if(.MASTERC$ == strcharinfo(0)) goto MENU_MASTER; // Se for o Dono da guild passa para o Menu Master// = Fim da Configuraçao, nao meixa na configuraçao abaixo!// ======================================================
Table SQL:
CREATE TABLE IF NOT EXISTS `guild_pack`(`guild_id` int(11) NOT NULL DEFAULT '0',`name` VARCHAR(32) NOT NULL,`master` VARCHAR(32) NOT NULL,`qtd_membros` int(11) NOT NULL DEFAULT '0',`permissao` int(11) NOT NULL DEFAULT '0',`qtd_itens` int(11) NOT NULL DEFAULT '0')CREATE TABLE IF NOT EXISTS `guild_pack_take`(`guild_id` int(11) NOT NULL DEFAULT '0',`char_id` int(11) NOT NULL DEFAULT '0')
enjoy babys.
389 downloads
Submitted
-
Super Convex Mirror
By Emistry
Description :
The NPC are capable to search for MVP in the whole server or specific maps.
Back in eAthena, there exists a script command (forgotten the name, perhaps a mobcount(...) with parameter changed) which allow us to check for specific monster id exists in the map or not, but it was removed.
Then we could use mobcount(...) script command to get similar results, but we need to manually append an NPC event to each monster.
Now, we could also do the same by using getunits(...) / getmapunits(...) script commands.
Of course there are pro and cons for each version, I'll just leave it to you to decide for yourself whether to use it or not.
The origin of script came from @Brian
Preview :
Settings :
// Enable player to warp to MVP? // 0 = disabled // 1 = enabled // 2 = enabled + SC_BOSSMAPINFO .warp_to_mvp = 2; Enable this setting if you wish to allow NPC to warp into the monster map.
// enable this setting to fully utilize the NPC script. (use at your own risk) // read more info at /conf/battle/monster.conf setbattleflag("dynamic_mobs", 0); By default, the dynamic_mobs configuration are set to yes. This help you save some server resources if the maps aren't access by any players recently by saving the monster data into the cache.
The downside of using dynamic_mobs, monsters are cached, NPC can't search for the monster data if they are cached. FYI, monsters that spawned by NPC scripts aren't cached.
// list of MVP map. setarray .map$, // enable this if you want it search whole server. (unable to use warp to mvp option) // "all", Enable this if you wish to enable to NPC to search the whole server, incase you missed what other maps have MVP (including showing mvp from restricted areas, like Guild Dungeon)
FYI, searching the whole server would take a longer time, use at your own risk.
Notes :
The NPC are capable to search any MVP monsters in the map, including monster summoned by Bloody Branch, or Class Change Skill (from Sage's Abracadabra), as long as the monster have MVP EXP.
Why do we need this if we already have Convex Mirror Item?
I am sure everyone has used Convex Mirror before, but there are few reason that its frustrating to use it:
Each convex mirror only can search current map of player. Convex mirror are wasted if the map doesn't have any MVP or killed. Convex mirror can't search for monster that summoned by NPC script. This NPC could serve as compensation for player, imagine the use case where you spend a Convex Mirror to know which MVPs are still alive instead of letting it go wasted knowing that the MVP in current map is dead or not found.
473 downloads
Updated
-
Submitted
-
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)
425 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
455 downloads
Updated
-
Stylist with autoscroll
By Brian
This is a modified version of the rAthena Stylist (trunk/npc/custom/stylist.txt)
It adds 2 new menu options "Next autoscroll" and "Previous autoscroll". When a player picks these options, after they close the NPC message box, the script will begin scrolling through palettes with a 1-second progressbar delay. To stop scrolling, just move your character and interrupt the progressbar.
Other changes from the original rAthena Stylist:
after selecting "Previous", then Previous appears before Next in the menu
starts at your current palette instead of always starting at #1
the first menu (Cloth color, Hairstyle, Hair color) displays your current palette numbers
460 downloads
Submitted
-
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 ?
582 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
-
Custom Stat Seller
By Resu-Me
This is an old script and its just a basic script that everyone can use.
This npc has a bug before where the npc can keep deducting zeny and the stat is already at limit.
So I've made a minor tweaks and the script is good to go!
Note: Please read the guide inside the script for making changes!
194 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
-
Utility: Dynamic Shop Template
By Ehwaz
Script functions help you easy to create and edit dynamic shop.
Only support Zeny and Item as currency and OnBuy
Install:
1. Load file traderFunctions.txt
2. Copy template from file sample_templ_shop.txt
3. Edit shop name, list items and business logic you want
4. Load shop you edited.
688 downloads
Updated
-
Doram Item Shop
By Anubis92
Hello everyone!
I want to share here my small and easy script for Doram Items in Zeny Shop. The prices can be changed for every Server, like you want. It's nothing special at this point, but as long as there is no offical kRO system for Doram fully working, it is the way on my server.
Use it if you want and how you want!
Greetings
Anubis
566 downloads
Submitted
-
@gstorage command
By Missingno
Description
Allows for guildmaster to grant or revoke access to guild storage. Supports guildmaster changes and expulsions.
Create this table in your main schema:CREATE TABLE IF NOT EXISTS `guild_storage_access` ( `guild_id` int(11) NOT NULL, `char_id` int(11) NOT NULL, PRIMARY KEY (`char_id`)) ENGINE=MyISAM;
243 downloads
Submitted
-
who4 command script for gepard
By sader1992
this only for GePard
this command allow you to see how many players per PC connected to the server
something like this
if someone have for example 2 account opened
the first named name1 and 2nd name2
it will show
(the unique id from gepard) + name1
name2 wont be shown in the list
and the number of players found is the number of the unique ids that connected to the server
so maybe @who3 have 9999 players and @who4 have 10 players mean there is 10 PCs connected to the server no more
305 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
167 downloads
Updated
-
Smokey @hide
By Akkarin
//===== rAthena Script =======================================
//= @hide
//===== By: ==================================================
//= Akkarin
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Adds some sexy purple smoke to the @hide command.
//= Default to @ and # commnd level 99. Feel free to change.
//============================================================
//= This is based off an ancient src edit to the @hide command, but for the life of
//= me i can't find it so it's now in a script, so src edits aren't required.
//============================================================
545 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.