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
-
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.
830 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
//============================================================
814 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.
787 downloads
Updated
-
@giveitem command
By Mabuhay
Just a simple command for events or compensation reward to all online players.
@giveitem <item id> <amount> <area|map|all>
Area - ppl around your screen size
Map - ppl in the map of the invoking character
All - self explanatory
786 downloads
Updated
-
IP Ban Script
By SkyDragon
IP Ban Script
This script will allow you to Ban any IP from your server.
776 downloads
Submitted
-
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
//============================================================
775 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 )
746 downloads
Updated
-
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
735 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.
728 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
724 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.
722 downloads
Updated
-
Compendium
By crazyarashi
Compendium - A levelable battle pass inspired majority of games out there.
Feature :
Easy customizable settings.
Three types of selectable daily quest.
Daily quest requirements are randomized.
Daily quest count resets everyday.
Compendium resets on the first day of the month.
Rewards are sent via mail.
'@compendium' command to access the compendium
Settings :
Adding a reward on the compendium Rewards : "Level | Reward ID, Amount, Reward ID, Amount,... ==| Level order doesn't matter but 'duplicates' will bug out the script. setarray .compendium_reward$, "1|501:10,502:20", "10|501:20,502:30", "5|501:100,502:500"; Adding a monster/item/mvp to hunt or collect Just add the ID on the following line. setarray .mvp_list setarray .hunt_list setarray .gather_list Changing EXP given on the quest types. .gathering_exp = 50; .hunt_exp = 50; .mvp_hunt_exp = 100;
721 downloads
Updated
-
SoloPack Command 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 ?
706 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.
681 downloads
Updated
-
LevelUpBox
By WhiteEagle
A short and simple script named "LevelUpBox".
Easy to change the item which will gain the player by:
set .@item$,501; // Level 1 with Item "Red Potion";
Function:
Every 10 level-up the player will gain an item.
673 downloads
Updated
-
Server News
By Skorm
This is an easily editable npc the shows current server news. Everything is saved on sql so you could potentially link it to a php file and then to html for dynamic in game site and patcher changes...
You can watch this script here:
.673 downloads
Updated
-
Control Barricade
By Mirage25
I just want to share to everybody this simple script. Hope you guys like it!
Kudos to llchrisll for explaining everything!
669 downloads
Submitted
-
@reward command
By Missingno
Description
Allows for preset or user-defined rewards via atcommand. Announce and logging options are also available.
Create this table in your logs schema:CREATE TABLE IF NOT EXISTS `rewardlog` ( `id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) NOT NULL, `staff_name` varchar(255) NOT NULL, `item_amount` int(11) NOT NULL, `item_id` int(11) NOT NULL, `item_name` varchar(255) NOT NULL, `char_id` int(11) NOT NULL, `player_name` varchar(255) NOT NULL, `when` datetime NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM;
664 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
664 downloads
Updated
-
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; */
647 downloads
Submitted
-
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:
642 downloads
Updated
-
Player Questing Board
By yuchinin
[NOTE] For now on I will keep release all of my work for free , I hope most people can enjoy my script without paid. But if you still want to support my work, please consider donate or become my patron. Thank you.
It just a questing board which everyone can post request on it and let other to complete it for reward.
Feature:
Set a title for the request Set a requested Item or Zeny on the board (Or Both) Set a reward Item or Zeny on the request This script need my release of:
Suggestion are welcome.
Pending Script Upload:
Todo list:
//= 1. Change log from status to actual log and delete expired or completed request
//= 2. Make it compatible with newest RANDOM OPTIONS Item
//= 3. Add blacklist check
//= 4. Add weight check 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. Terms above may be changed or adjusted without prior notification. Copyright © - Yuchinin 2017 - All Rights Reserved
641 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.
641 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
641 downloads
Updated
-
Outfit Stylist ver 1.0 [palettes & sprites not included]
By iubantot
An outfit stylist that allows you the player to switch from different outfits trans, first jobs or alternate sprites
It costs 5k cash but you can modify it.
//list of restricted classes.
// As of now restricted classes are.
// Rune Knight
// Sorcerer
// Shura
purchased outfits are Character bound .
636 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.