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
-
sader's Hourly Rewards
By sader1992
//===== rAthena Script =======================================
//= saders Hourly Rewards
//===== By: ==================================================
//= Sader1992
//https://rathena.org/board/profile/30766-sader1992/
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//https://rathena.org/board/files/file/ (this the first version there is no url yet)
//https://github.com/sader1992/sader_scripts
//===== Description: =========================================
//==== all the configuration are in the last
//==== support gepard / ip / or without them
//==== if you use ip/gepard sql will be used for that
//==== can add minimem level to get the rewards
//==== can change the time
//==== can ban the vending from the rewards (it will reset after relogin)
//==== can add rewards else then variable
//==== there is a shop npc for the variable
//==== you can make it only for vip
//==== can ban idle players for X time from the Hourly Rewards
//==== player can ban his char from getting the reward by @HourlyBan (it will reset after relogin)
//============================================================
//==== please send me a message if you find error
//==== if you like my work maybe consider support me at paypal
//==== [email protected]
//============================================================
//============================================================
after loading the script you will need to re login to the game
configuration In the last of the script
OnInit: .s_idle = 0; // ban hourly rewards from idle players ? 0 no / 1 yes {if player didn't move for x time he wont get hourly reward} , DEFAULT = 0 .s_idle_time = 1800; // this the time for idle in secend , DEFAULT = 1800 (30 min) .s_vip = 0; // 1 = only for VIP / 0 = for everyone , DEFAULT = 0 .s_time = 3600000; // 1000 = 1 secend | 60000 = 1 min | 3600000 = 1 houre , DEFAULT = 3600000 (1 hr) .s_hourly_level = 0; // Minimam level to get the Houerly rewards / 0 = no minimem level , DEFAULT 0 .s_GePard_ip = 0; // 0 = no Gepard / 1 = Gepard / 2 = IP , DEFAULT 0 .s_vinding = 7; // DEFAULT 7 / 0 = will give the reward even if vending / 1 = no normal vending / 2 = no @autotrade / 4 = no buyingstore | Example: if you want to ban normal vend and buying store you add the numbers 1+4=5 query_logsql("CREATE TABLE IF NOT EXISTS `sader_variables_log` (`unique_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`ip` VARCHAR(100) NOT NULL,`variable` VARCHAR(32) NOT NULL, `index` INT NOT NULL, `value` INT NOT NULL,`account_id` INT NOT NULL,`char_id` INT NOT NULL,`char_name` VARCHAR(30) NOT NULL) ENGINE=MyISAM"); bindatcmd("UnHourlyBan",strnpcinfo(3)+"::OnUnHourlyBan",99,99); bindatcmd("HourlyBan",strnpcinfo(3)+"::OnHourlyBan",0,99); end; Hourly_Rewads: //put the Hourly Rewards here #HourlyRewards += 1; //getitem 905,1; // if you want to add items as reward you can add them here like that //getexp 10000,5000; // if you wanna add exp as reward add them here like that //if(#Hourly_Rewads_Check == 5){getitem 905,1;} // like this you can add reward for Xhr and this reward will be given for that X in this example 5 mean that the player did pass 5hr //if(#Hourly_Rewads_Check >= 5){getitem 905,1;} // like this you can add reward for Xhr and this reward will be given for that X in this example 5 mean that the player did pass 5hr or more return; } prontera,151,171,5 pointshop Hourly Rewards Shop 667,#HourlyRewards,901:1,902:10,903:15,904:1,905:200 //<ITEM_ID>:<PRICE>,<ITEM_ID>:<PRICE>,<ITEM_ID>:<PRICE>,<ITEM_ID>:<PRICE>
for any error contact me plz
for faster update and fixes https://github.com/sader1992/sader_scripts
//==== if you like my work maybe consider support me at paypal
//==== [email protected]
1370 downloads
Updated
-
Submitted
-
Item Mall (All new items)
By Zycron
This is a item mall with all items in it updated has tons of stuff found this script broken on forums with no author fixed it and cleaned it up and added tons of items should have everything in it I'll keep it updated as new items come out!
2363 downloads
Updated
-
Cash Shop Manager
By Haikenz
NPC that allows you to manage your store Cash shop can Add, Edit and Remove items.
Languages: English (US), Português (BR)
Warning: To use the NPC it is recommended that you use the "item_cash_db.sql" in your folder "sql-files".
DROP TABLE IF EXISTS `item_cash_db`; CREATE TABLE `item_cash_db` ( `tab` smallint(6) NOT NULL, `item_id` smallint(5) unsigned NOT NULL, `price` mediumint(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`tab`,`item_id`) ) ENGINE=MyISAM; Preview:
Q: I added an item and it didn't show up in the store.
Q: I'm trying to add an item and it's giving error.
Q: I added the item in the "Sale" and still did not appear.
By buying 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 © - Haikenz 2011-2018 - All Rights Reserved
24 purchases 38 downloads
Updated
-
Campfire
By Emistry
Original Topic: http://herc.ws/board/topic/16037-campfire-to-regenerate-hpsp/
Herc Script Link : https://pastebin.com/fksPdpFQ
The Idea:
Camp Fire to restore / regenerate HP & SP.
When you sit by the Camp fire, you start feeling the warmth and the comfort, so your HP & SP begin to regenerate.
How to use :
1. add the source mode provided in the script. (or here)
2. make a usable item_db with these bonus script.
callfunc("func_CreateCampFire", <range>, <duration>, <heal_rate>); // create campfire callfunc("func_UpdateCampFire", <range>, <duration>, <heal_rate>); // update the campfire duration/heal rate.
Preview:
Credits : @Dastgir & @Radian for the src mod and @Habilis for the idea
978 downloads
Updated
-
SQL Job Changer
By Emistry
Introduction:
Tired of searching for a job changer that never satisfied your need ? Try this out !!
It allow any combination of classes-tree that you can imagine with your brain.
Example: Common Job Change Sequences
Novice >> First >> Second >> High First >> High Second >> ThirdNovice >> First >> Second >> High First >> High SecondNovice >> First >> Second >> High SecondNovice >> First >> Second >> ThirdNovice >> All
* Standard NPC that commonly found in the forum.
Example: Rare Job Change Sequences
Novice >> First >> Second >> Second >> Second >> ThirdNovice >> First >> Second >> Third >> Third >> Third
* Suitable for server who decide to plan for story-lines that allow players to switch to each jobs before they can reach the final class.
Setup Guide:
OnInterIfInitOnce: query_sql( "TRUNCATE `e_jobchanger`" ); // dont remove this line if you're not sure what's it. // Add any combination that you like. AddJob( <current job>,<min. base lv>,<min. job lv>,<bonus statpoints>,<bonus skillpoints>,<resetlvl>,<required zeny>,<next job>,...,<next job> ); end;
Put any combination that you want, and let the NPC done the rest of the setup.
*current job - current char job class
*min. base level - minimum base level to qualify for the job advancement.
*min. job level - minimum job level to qualify for the job advancement.
*bonus status point - amount of extra status point given to char for the job advancement.
*bonus skill point - amount of extra skill point given to char for the job advancement.
*resetlvl - option to reset based on resetlvl.
*req_zeny - amount of zeny required for the job advancement.
the rest - all possible option for classes that you intend to allow current job to change to.
If you don't know how to setup it using the NPC script above, you can remove/disable all the lines within the OnInterIfInit lines.
You can modify and execute this sample of SQL Database - Job Changer to generate the data required once and for all eternity.
Note:
* Basic knowledge on using SQL Database are required.
* Don't remove the TRUNCATE line if you're not sure what you're doing.
* The script suppose to load the setup part once, clear table and re-insert everything. If you removed that, your SQL tables will be a goddamn mess when you loaded for second times and onward.
* It was suppose to be 2 separated individual script, but I merged it since I am sure there are always some member ask for how to setup the things. Too lazy to answer/spoon-feeding all these questions. So I merged it.
Future Development:
If you have any nice suggestion that are useful/interesting, I may consider to implement it in the future.
Thank in advance.
890 downloads
Updated
-
ep 17.2 custom npc
in this file,
automatic enchant npc,
automatic modul exchange,
varmeal ticket exchange,
automatic armor exchange,
note : this is custom made, feel free to download and modify as u like.
ep 17.2 item_db not included, its already in newest rathena server emulator.
thx
1749 downloads
Submitted
-
All In One - Random Options Script
By sader1992
The goal in this script is to allow you to create any random option enchantment system by just creating a new copy of this script , change the script name and setting
You should be able to create any random option system exist currently in the game
DO NOT PM ME FOR ERRORS
Use the forum post to report for any bugs and errors HERE(Click Me)
the script allow you to
create a group of items > you can create as many groups as you want
each group has it's own options
allow reroll or not
put price for first time and price for the reroll after the first time
the price can be zeny, cashpoints, custom points, items
put random options for all slots or specific slot of the random options slot
put exclusive random options groups so they cannot coexist in the same item
The script config and example AT LINE 290 in the script file >
OnInit: .exv = true;//DO NOT REMOVE THIS. .KeepItemData = true;//if this is 'false , the player will loss the refine+cards from the item when he use this npc. .CustomPointsVariable$ = "#COSTUMPOINTS";//The variable name of the costum points. .CustomPointsName$ = "Server RO Points";//The name of the costum points, this what the player will see. .HardBalance = true;//if this is true , it would be much harder to get high value in the random option. //AddGroup(<Group ID>,<ItemID>,<ItemID>,<ItemID>,<ItemID>,<ItemID>); /* AddGroup Doc <Group ID> = a number between 1 and MAX_INT64 DO NOT REUSE THE GROUP ID IN THE SAME FILE CONFIG! DO NOT REUSE THE SAME ITEM ID IN DIFFERENT GROUP! will create a group id you can add as many as you want items inside a group. */ //AddGroupOption(<Group ID>,<Allow ReRoll?true:false>,<Allow reuse already gotten option?true:false>,<Zeny Cost>,<CashPoint Cost>,<Custom Points Cost>,<Item1 ID Cost>,<Item1 Amount Cost>,<Item2 ID Cost>,<Item2 Amount Cost>,<....ETC>); /* AddGroupOption Doc <Group ID> = A group id that is already created in AddGroup()!. <Allow ReRoll?true:false> = allow reroll an item with random option or not <Allow reuse already gotten option?true:false> = for exammple if you have str in the options and the player gor it , can he get it again in another slot? */ //AddGroupCost(<Group ID>,<Zeny Cost>,<CashPoint Cost>,<Custom Points Cost>,<Item1 ID Cost>,<Item1 Amount Cost>,<Item2 ID Cost>,<Item2 Amount Cost>,<....ETC>); /* AddGroupCost Doc <Group ID> = A group id that is already created in AddGroup()!. <Zeny Cost> = the zeny cost (can be 0) <CashPoint Cost> = the cashpoints cost (can be 0) <Custom Points Cost> = if you are using costum points in the script , check out .CustomPointsVariable$ and .CustomPointsName$ at the start of the script (can be 0) <Item1 ID Cost> = the item cost <Item1 Amount Cost> = the item amount cost You can use as many item,amount cost at the end of the function. */ //AddGroupReRollCost(<Group ID>,<Zeny Cost>,<CashPoint Cost>,<Custom Points Cost>,<Item1 ID Cost>,<Item1 Amount Cost>,<Item2 ID Cost>,<Item2 Amount Cost>,<....ETC>); /* AddGroupReRollCost Doc <Group ID> = A group id that is already created in AddGroup()!. <Zeny Cost> = the zeny cost (can be 0) <CashPoint Cost> = the cashpoints cost (can be 0) <Custom Points Cost> = if you are using costum points in the script , check out .CustomPointsVariable$ and .CustomPointsName$ at the start of the script (can be 0) <Item1 ID Cost> = the item cost <Item1 Amount Cost> = the item amount cost You can use as many item,amount cost at the end of the function. */ //AddGroupChance(<Group ID>,<1st Option Chance>,<2nd Option Chance>,<3rd Option Chance>,<4th Option Chance>,<5th Option Chance>); /* AddGroupChance Doc <Group ID> = A group id that is already created in AddGroup()!. <1st Option Chance> = the Chance to get one of the random options in the slot 1 (can be 0) <2nd Option Chance> = the Chance to get one of the random options in the slot 2 (can be 0) <3rd Option Chance> = the Chance to get one of the random options in the slot 3 (can be 0) <4th Option Chance> = the Chance to get one of the random options in the slot 4 (can be 0) <5th Option Chance> = the Chance to get one of the random options in the slot 5 (can be 0) Keep inmind that if the player didn't get lucky for example at the slot 2 , all the chances after will be ignored you cannot skip a random option slot that would bug the game client. */ //AddOpt(<Group ID>,<Location>,<Random Option ID>,<Minimum Value>,<Maximum Value>); /* AddOpt Doc <Group ID> = A group id that is already created in AddGroup()!. <Location> = you can spisfiy random option to a location from 1 to 5 , but you can use 0 , if you used 0 it will apply to all locations that doesn't have spisfied random options. <Random Option ID> = random option id , you can use the id or the variable , check out the file /rathena/db/re/item_randomopt_db.yml <Minimum Value> = the minimum value <Maximum Value> = the maximum value */ //AddExclusiveOpt(<Random Option ID>,<Random Option ID>,<Random Option ID>,<Random Option ID>,<Random Option ID>); /* AddExclusiveOpt Doc this will help you to prevent a group of random opions typs in the same item in different slots for example RDMOPT_DAMAGE_PROPERTY_NOTHING_TARGET RDMOPT_DAMAGE_PROPERTY_WATER_TARGET RDMOPT_DAMAGE_PROPERTY_GROUND_TARGET RDMOPT_DAMAGE_PROPERTY_FIRE_TARGET RDMOPT_DAMAGE_PROPERTY_WIND_TARGET RDMOPT_DAMAGE_PROPERTY_POISON_TARGET RDMOPT_DAMAGE_PROPERTY_SAINT_TARGET RDMOPT_DAMAGE_PROPERTY_DARKNESS_TARGET RDMOPT_DAMAGE_PROPERTY_TELEKINESIS_TARGET RDMOPT_DAMAGE_PROPERTY_UNDEAD_TARGET if the player got 1 of them in a slot , he wont get another one to another slot */ //Example!!!> //this is just an example , this script allow you to create any random option system you want. //Creating Group id 1 , with Hat items inside. AddGroup(1,2220,2221,2222,2223); //Group id 1 Options AddGroupOption(1,true,false); //Group id 1 Cost AddGroupCost(1,50,0,0,502,1,503,2); //Group id 1 ReRoll Cost AddGroupReRollCost(1,50,0,0,502,5,503,2); //Group id 1 Chances. AddGroupChance(1,100,75,60,40,20);AddGroupChance(1,100,100,100,100,100); //Group id 1 Random Option List. location 0 mean all the slot locations AddOpt(1,0,RDMOPT_VAR_STRAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_INTAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_VITAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_LUKAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_AGIAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_DEXAMOUNT,1,100); AddOpt(1,0,RDMOPT_VAR_MAXHPPERCENT,1,100); AddOpt(1,0,RDMOPT_VAR_MAXSPPERCENT,1,100); //those enchantment you wont get unless in slot 5 AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_NOTHING_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_WATER_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_GROUND_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_FIRE_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_WIND_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_POISON_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_SAINT_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_DARKNESS_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_TELEKINESIS_TARGET,1,100); AddOpt(1,5,RDMOPT_DAMAGE_PROPERTY_UNDEAD_TARGET,1,100); //this mean those random options cannot coexist in the same item!. AddExclusiveOpt(RDMOPT_DAMAGE_PROPERTY_NOTHING_TARGET, RDMOPT_DAMAGE_PROPERTY_WATER_TARGET, RDMOPT_DAMAGE_PROPERTY_GROUND_TARGET, RDMOPT_DAMAGE_PROPERTY_FIRE_TARGET, RDMOPT_DAMAGE_PROPERTY_WIND_TARGET, RDMOPT_DAMAGE_PROPERTY_POISON_TARGET, RDMOPT_DAMAGE_PROPERTY_SAINT_TARGET, RDMOPT_DAMAGE_PROPERTY_DARKNESS_TARGET, RDMOPT_DAMAGE_PROPERTY_TELEKINESIS_TARGET, RDMOPT_DAMAGE_PROPERTY_UNDEAD_TARGET); end;
https://sader1992.com/
1004 downloads
Updated
-
Costume Enchantments - Custom idRO Klasik based
By Cydh
In this script
Custom NPCs to exchange listed costumes becomes Upper/Middle/Lower/Garment Enchant Stone Box Custom NPCs to enchant listed costumes by selecting the enchant stones (50% success, failure will delete the stone only) Custom NPC to exchange Enchant Stone to Upper/Middle/Lower/Garment Enchant Stone Box (require: 2,000,000,000 Zeny) Not in this script
All items (server-side) that are not present in rAthena All items (client-side) that are not present in kRO (or other official clients) because idRO Klasik customization Lucky charms
Exchange it
Enchant it
Woops, I need to find another stone
995 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.
898 downloads
Updated
-
MVP Ladder only on MVP Maps with announcer
By pajodex
Yet another simple MVP Kill reward on MVP Maps Only with an announcer and now with a simple MVP Ladder
If player is in a party, the reward will be given randomly to online party members.
You can config the script easily at this part:
OnInit: setarray .p_rwd, 607,1; // Party reward <item>,<amount> setarray .s_rwd, 607,1; // Solo reward <item>,<amount> .chance = 50; // Drop rate chances % .gm = 10; // Prevents gm level and above to trigger the event // MVP Map list setarray .t_maps$[0],"// <MVP MAPS> This script will also help other in-game players see if an MVP has been slain.
I'm open for suggestions, comments, reactions and such for the betterment of this script and my skill.
Questions?
Q> Why only at MVP Maps? A> Because some server puts MVP Rooms which the reward can be abused.
1443 downloads
Updated
-
Unofficial Fallen Angel Wing (FAW) Enchantment
By Nerfwood
Unofficial Fallen Angel Wing (FAW) Enchants
This script should do exactly what is written on iRO wiki's FAW Enchants page, but you can easily change some settings as specified below.
Also, kindly press that reputation button if you find this helpful. This is my first script release, so why not encourage me to release more by pressing that button?
Custom Settings:
.chancetype
If set to 1, lower-level enchants are more likely to be enchanted. If set to 0, all levels have an equal chance to be enchanted (true random).
// 1 = 60% low, 30% mid, 10% high for 1st & 2nd enchant slot && 40% low, 30% mid, 20% high, 10% special for 3rd enchant slot// 0 = Equal Chance.chancetype = 1;
.cost
Cost for enchanting.
//Cost for Enchanting. It's free in iRO //.cost=0;
.cost2
Cost for resetting enchants.
//Cost to reset | Costs 1Mz in iRO .cost2 = 1000000;
.autoequip
If set to 1, it lets the player to equip the garment while the script is running. Set to 0 to disable.
//Turn on Equip Selection if garment is unequipped? 1 = Yes .autoequip =1;
Additional Notes:
You may want to change the effects of the Fatal Enchants as rAthena's effects are different from iRO's.
//iRO Fatal effect4863,Fatal1Lv,Fatal1Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,4; bonus bCritical,1; },{},{}4864,Fatal2Lv,Fatal2Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,6; bonus bCritical,2; },{},{}4865,Fatal3Lv,Fatal3Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,8; bonus bCritical,3; },{},{}4866,Fatal4Lv,Fatal4Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,10; bonus bCritical,4; },{},{}
1000 downloads
Updated
-
@restock everywhere from your storage
By Vykimo
One version of @restock. Create a list of items to restock automatically from your storage. Available everywhere
Usage :
@restock <itemid> <itemid> ... : add items to restock list @restock off : disable restocking Config :
Consume 1 coin if non VIP Player, but you can disable it. You can set maps where restocking isn't allowed.1172 downloads
Updated
-
VIP Central + VIP Seller
By M4karov
Tested and working with: 6748ff7
Comments: You need to activate the VIP system in your emulator source.
In src/config/core.h /// Uncomment to enable VIP system. #define VIP_ENABLE PURPOISE:
It provides the user with the possibility of buying VIP access, in addition to being able to access the VIP Room of the server. CHANGELOGS:
V 1.0.0: Created the script and distributed in the rAthena forum. Preview of Configuration in Script
End User License and Terms of Services:
1. I will retain all the rights in all the scripts that I create
2. Client cannot redistribute nor resell the scripts that I provide
3. I assume that the client will accept all the terms of services
Where the script author is Emperium Games. And the owner of the script
It is the one who took advantage of and downloaded the script.
1258 downloads
Updated
-
[FREE] Event Manager
By Mabuhay
Ehh since my event scripts are piling up, I decided to make an Event Manager
// Basic Event Manager // By Mabuhay /*-=-=-=-=-=-=-=-=-=-=-=-=-=- Currently added are the ff : {#} NAME - "NPC_NAME" [1] Bombring - "Event_Bombring" [2] Dice - "Event_Dice" [3] Last Man Standing - "Event_LMS" [4] Novice V Zombie - "Event_NvZ" [5] Poring Catcher - "Poring_Catcher" [6] Poring Hunter - "Poring_Hunter" (Added 12-15-2019) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ // For easier management of Event NPCs ///////////////////////////////////// // NOTE: // ///////////////////////////////////// // I don't support any modifications unless I want to. // But if you want to change things especially the rewards, // Please refer to my F_Reward Functions // https://rathena.org/board/files/file/4068-itemvariablepoints-reward-function-for-beginners-or-lazy/ // You should be able to easily change the rewards // If you have basic scripting knowledge Header Settings:
OnInit: // 1 = item reward // 2 = variable/cashpoints reward // If you want to set item and variable/cashpoints rewards, do 1|2. // If you only want 1, just choose between 1 or 2 $event_options = 1|2; // If item reward enabled // What items will be rewarded setarray $event_item_reward, 501, 10, 502, 5; // If variable reward.. set to your variable. // If cashpoints.. set to #CASHPOINTS / #KAFRAPOINTS (Free Cash Points) $event_var$ = "#EVENTVARIABLE"; // Variable name? // If cash points, set to Cash Points // If your custom var, set to the name of that thing. $event_var_name$ = "Custom Points"; // How much points gain if #VAR / #CASHPOINTS / #KAFRAPOINTS? $event_var_gain = 1; $event_item_arr = getarraysize($event_item_reward); // @eventstart for GM bindatcmd "eventstart", strnpcinfo(0)+"::OnStart",60,60; // @eventjoin bindatcmd "eventjoin", strnpcinfo(0)+"::OnJoinEvent"; end;
You may now use @eventstart for GMs to select which ones to start.
@eventjoin for players to enter and see which event is currently active
Event timers / Clock are to be set here :
// OnClock<hour><minute>: donpcevent "<npc_name>::OnStart"; OnClock0000: donpcevent "Event_Bombring::OnStart"; end; //----- 12 mn OnClock0100: donpcevent "Event_Dice::OnStart"; end; OnClock0200: donpcevent "Event_LMS::OnStart"; end; OnClock0300: donpcevent "Poring_Catcher::OnStart"; end; OnClock0400: donpcevent "Event_NvZ::OnStart"; end; OnClock0500: donpcevent "Poring_Hunter::OnStart"; end; OnClock0600: donpcevent "Event_Bombring::OnStart"; end; //----- 6 am OnClock0700: donpcevent "Event_Dice::OnStart"; end; OnClock0800: donpcevent "Event_LMS::OnStart"; end; OnClock0900: donpcevent "Poring_Catcher::OnStart"; end; OnClock1000: donpcevent "Event_NvZ::OnStart"; end; OnClock1100: donpcevent "Poring_Hunter::OnStart"; end; OnClock1200: donpcevent "Event_Bombring::OnStart"; end; //----- 12 nn OnClock1300: donpcevent "Event_Dice::OnStart"; end; OnClock1400: donpcevent "Event_LMS::OnStart"; end; OnClock1500: donpcevent "Poring_Catcher::OnStart"; end; OnClock1600: donpcevent "Event_NvZ::OnStart"; end; OnClock1700: donpcevent "::OnStart"; end; OnClock1800: donpcevent "Event_Bombring::OnStart"; end; //----- 6 pm OnClock1900: donpcevent "Event_Dice::OnStart"; end; OnClock2000: donpcevent "Event_LMS::OnStart"; end; OnClock2100: donpcevent "Poring_Catcher::OnStart"; end; OnClock2200: donpcevent "Event_NvZ::OnStart"; end; OnClock2300: donpcevent "Poring_Hunter::OnStart"; end; //----- 11 pm Currently I just alternately activate events per hour. You can change the event time as you wish. You may choose any of the ff:
OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>:
I hope this helps. If you want me to add more, just PM me on an event script that needs to be updated. Thank you. ?
Compatibility is your responsibility.
No backward Compatibility Support.
Enjoy!
NOTE : If you find this useful, please click the Upvote button to motivate me to do stuffs like this ? And you are welcome!
952 downloads
Updated
-
Auto shop
By Kurofly
This script will allow players to shop their items while playing via a shop NPC, this is kind of an alternative to the auction system.
Note: There's also a french version since I'm french ^^
There is a user setup, be sure to check it out !
User can add a cost to shop creation and/or a tax, there's also a delay after which the shop is deleted.
Players can create a shop using an item or via the '@shop' command, depending on the mode value in the user setup
Players can shop any kind of item apart from bound and time-limit items
You can add items, change prices, modify your shop name anytime using the '@shop' command
You can disconnect and reconnect anytime, if you sold something and/or your shop was deleted you will get your money and items on relog
In case the server reboots you also get back the shop creation's cost or the item you used to open it
Please report any bug you find.
If I can't answer you while you are experiencing bugs, consider following this step:
Make sure no one is selling when you do this because they will loose all of their sales !!
Note: you can just reloadscript before doing this to give them back all of their items.
//bindatcmd "delall",strnpcinfo(3)+"::OnDelall",99,99; /*In case you have problems I recommend you to uncomment this command and to execute it. It will erase all the data of every shop and every player. I myself experienced some issues not directly related to the script but to unexpected events so reseting data should temporarly solve the problem. Please contact me on rA (Kurofly) if you experience any bug*/
877 downloads
Updated
-
Daily Rewards Giver
By sandbox
This script will hand out rewards to your player accounts once upon login, and can be dynamic depending on how you configure it. And when a player logs 5x consecutively, s/he will receive all the prizes from day 1 to 5.
Example based on Day
Red Potion (1pc.)
Orange Potion (2pcs.)
Yellow Potion (3pcs.)
Yggdrasil Berry (2pcs.)
Yggdrasil Seed (1pc.) + 1 Red Potion, 2 Orange Potion, 3 Yellow Potion, 2 Yggdrasil Berry
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.
1329 downloads
Updated
-
Quest Skipping NPC
By Azura Skyy
Quest Skipping NPC
Latest Additions:
Added an additional failsafe to prevent misuse of the NPC
Edit Mode (GM only) allows GMs of a desired level to choose which features are enabled
Added toggles for Xp Rewards, Item Requirements, Level Requirements, GM Requirement
Added all New World Quest
General clean up and ease of use.
What is it?
This NPC allows Players (or GM) characters to skip any main story-line quest including the New World.
Features
Currently offers an option for GM characters to complete a quest with or without a quest overview, covering main details of the quests
Allows all quests in the Republic of Schwartzvald, Arunafeltz storylines, and all New World Quests
Also allows users to skip the: Friendship, Bruspetti, Juperos, and Kiel Hyre quests
Known Issues
If you are missing any prerequisite to a quest, the NPC will only reply with 'You do not yet know Quest1, and Quest2.' If you are only missing one prerequisite, the NPC will not identify which, but instead, tell you both.
Quest Exp given is based on iRO
Future Releases (Things marked in red are implemented)
Identify which prerequisite is not met
Add commented out section to XP rewards so they may be toggled
Possible remove non-GM options from the dialogue entirely
Add additional quests (Possibly New-World)
Add toggle for item rewards (Necessary rewards such as Bio Lab Pass and Light of El Dicastes are already implemented)
Add more standalone quests
FAQ
If you would like to request a quest, or quest line to be added to the NPC, please post or inbox me.
Alsvid - means the allknowing.
I feel I've been thorough in covering any potential questions in my opening post, however, should you feel my post inadequate, I am available for questions through PM, comments. or the email provided in the commented out section of the script. Further information provided below.
Support
Please feel free to contact me for any support or requests on this script. Send me a message here.
If you wish to contact me through other means, please check the first few lines of the script.
Enjoy,
~Azura Skyy
379 downloads
Updated
-
Ragnarok Guild Package NPC
By benching
Guild package Redeemer NPC
[NPC Information]
Includes:
1.Package Code Generator
2.Package Code ( for Guild with Players of the same IP )
3.Different Package set for Guild Master.
4.Different Package set for Guild Member.
To Redeem the guild package:
1.Should be a Guild Master
2.Required Minimum Guild Member. (8 default)
3.All Guild Members should be Online
4.Non Duplicate IP Check ( to avoid multiple login of single player )
5.Duplicate IP Check ( Use the code to bypass IP check )
6.Online Status Check
7.First time to Redeem GPack (IP Based)
1138 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:
.674 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.
1584 downloads
Submitted
-
Simple Cool Anti-Bot
By rans
This is a Simple Code Improved by me and Originally the method was from Brian.
Features:
Random bot check will trigger when killing a mob.
25% Chance to trigger when killing a Mob.
If already passed the bot check. you will not be check again in the future. (Until you Recon)
You have 3 Chance to prove that you are not Bot.
If you fail. 10days of jail time.
If you reconnect during the checkpoint. you will return in checkpoint after reconnecting.
I have tested this in my server and works fine to me.
If you found bug. Please report it
PS: Sorry for my Grammar and Messy look Script
1146 downloads
Updated
-
Manage @alootid - @alootid2
By Emistry
Introduction:
Due to the limitation of alootid that can only loot up to 10 items by default. (can change at /src/).
However players are always greedy, they want to loot almost everything, but not every items, so 10 slots can't fill their desires.
So this custom manager are introduced.
It help player to setup different combination of alootid settings. (Different hunting monster/maps could switch to different settings) player no longer worry what their previous alootid settings was. player can switch/save any settings whenever they want. alootid settings could be auto loaded when they join the game. * In short, just a macro to use to the alootid atcommand. To make it less confusing to player, disable the alootid and start using alootid2 instead.
Usage:
@alootid2 list @alootid2 <save/add/remove> <#> <item1> ... <item10> @alootid2 <load/clear/reset> <#> @alootid2 set <#> name <name> @alootid2 set <#> autoload <1/0> Example:
chatbox: @alootid2 save 3 609 608 607 Usage: @alootid2 save <3> - save successfully. chatbox: @alootid2 load 1 Your autolootitem list has been reset. Autolooting item: 'Green_Herb'/'Green Herb' {511} Autolooting item: 'Apple'/'Apple' {512} Autolooting item: 'Banana'/'Banana' {513} Autolooting item: 'Grape'/'Grape' {514} Autolooting item: 'Carrot'/'Carrot' {515} Usage: @alootid2 load <2> - loaded successfully. chatbox: @alootid2 list <1> - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510 <2> - 511, 512, 513, 514, 515 (autoload upon login) <3> - 609, 608, 607 Usage: @alootid2 list - found 3 settings. Preview:
526 downloads
Updated
-
OnPCLogin Settings
By Akkarin
You know when you login to your server that you work on, or even play on, and you always end up typing the same commands each time before you even say hello to anyone? @autoloot, then @uptime to see when the last reboot was, @rates if you've got fluctuating exp/drop rates, etc etc. @showexp cos you want to know what's going on, blah blah blah.
With this Settings NPC, a player can set those commands to automatically execute when they login. These are account based, but could easily be modified to char based. Following the general format of the script, it should be easy to add/remove commands from those available to the player.
@main is listed at the bottom of the script, so if you don't use it you may as-well remove that line.
This script is years old, revamped to make it work with recent revisions - I've tested it on both our live server, and my dev server and seems to work.. but if you find any bugs or glitches, or something that could be optimised a bit more, please let me know ?
902 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
745 downloads
Updated
-
Recently Browsing 1 member