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
-
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
-
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
-
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.
474 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.
304 downloads
Submitted
-
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.
639 downloads
Updated
-
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
-
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
582 downloads
Submitted
-
Ultimate Refiner
I created a new refiner script from scratch to replace the default refiner scripts. It allows a player to refine any non-broken, identified, unequipped, refinable, and non-rental item in their INVENTORY up to +20 with full crimson weapon support. Script allows player to purchase refining insurance which replaces the item if it is broken. Also added a lot of player interface comforts such as telling what the current refine rate is in the main menu, showing the percent chance for a successful upgrade, allows you to select between refine_db.txt or custom refine tables in the document, allows you to specify what type of items each npc can refine, and more... Every feature is completely configurable and able to be disabled. This is an entire package including upgrades for the material converter and material salesman. The script has been written to make it seem more realistic! It won't take very long for any player to see that there is something special here! There is no better refiner on any emulator!
7 purchases 15 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
-
Submitted
-
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!
676 downloads
Submitted
-
Ticket Refine Script
By thunginamue
This is not mine this is sir @Euphy's script, i just tried using it and tried fixing it, im noob at scripting and anything else, but tried and fixed the script to my liking, you can add single npc for single +1 upgrade. i dont know how to say this maybe just look at screenshot :3 i just posted this because i think many ppl wants ticket refining like this or i dont know..
item + ticket = item
+4 +5 +5
does not let you refine if ur item is lower than the desirable refine..and does not let you refine if ur item and ticket is the same.
404 downloads
Submitted
-
Geffen Magic Tournament Enchanter
By NotKappa
Geffen Magic Tournament armors and accessories enchanter.
Note: Magic Reflector and Revised Encyclopedia are disabled from enchanting since I'm not sure if they can be enchanted or not. Also increase healing received by 5~10% for armor is disabled since I'm not sure what's the random option for that.
Credits: kRO, iRO, NovaRO and Divine-pride
401 downloads
Updated
-
Emperium Breaker Ladder + Points + Shop
By Mabuhay
The title says it all..
This would record a player's emp break count
GM can easily reset the table
This method is more optimized because the data is properly indexed on a table.
Added emp breaker point shop - Account bounded..
Enjoy!
Installation instructions :
582 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 .
642 downloads
Submitted
-
Refiner (multiple with different options)
By Zycron
Hi all so o found this in my old archives on my hard drive I don't know who the original creator is but I have updated it.
It is a refiner that you can set multiple duplicates of with different options. So you can have one be free and refine to +10 and you can have one charge and +20 fully customizable to your liking enjoy!
560 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 ?
722 downloads
Updated
-
ROM Safe Refiner
By dizonivan11
Just sharing my own safe refiner NPC that mimics the Safe Refinement System of ROM:EL. As the item increases its refinement level, the materials required will grow exponentially as it requires the copy of the item you are refining based on its next refinement level. The NPC can only refine the item if its next refinement process is not safe anymore for Hollgrehenn.
Configurations:
.@npc_name$ = Name of your NPC
.@price = The required zeny for refining.
329 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.
629 downloads
Updated
-
Everyday bonuses
By Norm Hmuryj
Monday - exp
2 - Zeny
3 - MvP
4 - HP
5 - Guild
6 - Cast time
639 downloads
Submitted
-
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
-
Junk Seller
By PottScilgrim
Junk Seller will scan your inventory and sell everything at the same time.
The list of items will display in a window so the player has a chance to confirm.
If the player has the skill "Overcharge" it will add zeny to the sale amount accordingly.
INSTALLATION AND CUSTOMISATION:
1. SQL DB required for personal blacklist, run this command to create the necessary table in your DB:
CREATE TABLE `junkerblacklist` ( `char_id` varchar(100) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `item_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2. Add junkseller.txt to whichever directory you store your NPCs, and update scripts_custom.conf.
3. Modify this array at line 54 to configure your permanent global blacklist.
setarray @Blacklist[0], 4. Uncomment / Comment the code at lines 541 and 544 if you would like the script to include Cards.
// Checks if item is an Etc item (3) // Comment this line and uncomment the line below if you want Cards to be included if(getiteminfo(.@iid,2) == 3){ // Comment the above line and uncomment this line if you want Cards to be included //if(getiteminfo(.@iid,2) == 3 || getiteminfo(.@iid,2) == 6){ 5. Modify .@showbl to 0 at line 39 if you don't want the message displaying how many items were removed by the blacklist system.
.@showbl = 1; // Shows how many items were removed by the blacklist system.
290 downloads
Updated
-
sader's Level Up Reward Job/Base
By sader1992
Level Up Reward Job/Base
config
LevelUpReward(1,<base level>,<job id>,<zeny>,<item id>,<count>,<item id>,<count>,<item id>,<count>,etc); LevelUpReward(2,<job level>,<job id>,<zeny>,<item id>,<count>,<item id>,<count>,<item id>,<count>,etc); Example: LevelUpReward(1,5,1,999,1002,5,1005,2); //give 999 zeny 5 1002 and 2 1005 to Swordman (job id 1) when he level up to base level 5 LevelUpReward(2,10,1,999,1002,5,1005,2); //give 999 zeny 5 1002 and 2 1005 to Swordman (job id 1) when he level up to job level 10 header
//===== rAthena Script ======================================= //= saders LvUpRewards //===== 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: ========================================= //==== level up rewards //==== if the player is over he can use @LevelUpReward command //==== to get the rewards //============================================================ //==== please report any error you find //============================================================ //============================================================
598 downloads
Submitted
-
Utility: Flavor Text Death Announcer
By Mumbles
File Name: Flavor Text Death Announcer
File Submitter: Via
File Submitted: 23 Jan 2013
File Category: Utilities
Content Author: Via
A customizable death announcer that broadcasts on the map pre-defined by the GM configuring the NPC's settings. It helps GMs keep track of player death when hosting events styled to have a last-man-standing winner while adding a creative flair to each situation.
It is written so that an announcement with "flavor text" is broadcasted when a player is killed by either a monster or another player. To avoid duplicate announcements, the previous mode is disabled upon activating a new mode.
The current release, 1.0, is activated by "whispering" a string of any text to "npc:death". Doing so calls the config panel to set the NPC according to your needs.
256 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; */
659 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.