Jump to content

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

207 files

  1. Free

    [ Script ] Stats Point for Rebirth & Reset Stats / Skills / Map SG .

    This Ragnarok Online NPC script primarily focuses on the rebirth process and resetting stats, skills, and specific maps. Below is a summary of its functions:
    Initial Configurations
    Rebirth Cost: set .@cost, 5000000; Minimum Base Level for Rebirth: set .@blvl, 99; Maximum Number of Rebirths: set .@max_rebirth, 5; Additional Stat Points per Rebirth: setarray .@bstats[0], 200, 400, 600, 800, 1000; Required Items for Rebirth: IDs: setarray .@items_id[0], 501, 502, 503; Quantities: setarray .@items_qty[0], 1, 1, 1; Cash Points Required for 4th and 5th Rebirth: 4th Rebirth: set .@cashpoint_cost[3], 500; 5th Rebirth: set .@cashpoint_cost[4], 1000; Enable/Disable Cash Points for 4th and 5th Rebirth: set .@use_cash_points, 1; Allowed Classes for Rebirth: setarray .@allowed_classes[0], 23, 24, 25, 4047, 4049, 4008, 4009, 4010, 4011, 4012, 4013, 4015, 4016, 4017, 4018, 4019, 4020, 4021; Reset Costs: setarray .@Reset, 5000, 5000, 9000, 15000; NPC Functions
    Welcome Message and Introduction: Introduces the NPC and its main functions: rebirth and resetting stats, skills, and specific maps.
    Main Menu: Offers three options:
    Rebirth Reset Stats/Skills/Maps SG Cancel Rebirth:
    Checks if the player has reached the maximum number of rebirths. Explains the rebirth process and requirements. Verifies necessary requirements (base level, class, Zeny, items, and Cash Points if applicable). Performs the rebirth if all requirements are met, including: Deducting the required Zeny and items. Changing job to Hight Novice. Resetting level to 1. Allocating additional stat points. Incrementing the rebirth counter. Reset Stats, Skills, and Maps SG:
    Displays reset costs for stats, skills, and both. Checks if the player has sufficient Zeny. Performs the reset based on the selected option, including: Resetting skills. Resetting stats. Resetting designated maps for Star Gladiator if the player’s class is Star Gladiator. Cancel Option: Closes the dialog without performing any action.
    Dialog Flows
    Rebirth:
    Requirement verification. Process confirmation. Perform rebirth if requirements are met. Reset:
    Present options and costs. Check sufficient Zeny. Perform the reset based on the selected option. The script ensures players meet all requirements before allowing them to rebirth or reset their stats and skills, providing a structured and balanced in-game experience.


     

    197 downloads

    Updated

  2. Free

    [FREE] Event Manager

    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!

    1061 downloads

    Updated

  3. Free

    [SQL] Mission Board

    original topic : http://www.eathena.ws/board/index.php?showtopic=242306
    this is actually a quite old topic , anyway i will just borrow the information written by Annieruru ..
    it's one of my favourite script back in eAthena,
    Credit to AnnieRuru and any other contributors from the pass....

    Installation :
    Just a basic simple instruction ...
    download the NPC script and install into your server
    download the [ SQL Table ] and load into youe mysql or phpmyadmin server.

    Basic Configuration :
    // gm level to access panel .gm_level = 90; // max no. of required monster .max_required_monster = 10; // max no. of required item .max_required_item = 10; // max no. of required mission ( un-implement yet ) .max_required_mission = 10; // max no. of available mission .max_mission_available = 50; // max value of integer input .max_integer_value = 30000; // max amount of mission per page .max_page_size = 30; // max mission per npc take by character .max_mission_per_char = 4;
    NPC Duplication :
    // the number behind the NPC name must be NUMBER with range of ( 1 ~ 500 )// the number should stay the same for eternity, if you change it frequently, it might affect your missions for each NPC.// ( to conclude, once you assigned the number, dont change it for the sake of your mission board ... )prontera,151,171,4 duplicate(mission_board) Mission A#1 837prontera,154,174,4 duplicate(mission_board) Mission B#2 837prontera,156,176,4 duplicate(mission_board) Mission C#3 837prontera,159,179,4 duplicate(mission_board) Mission D#4 837
    take note the number behind the NPC is the index of each NPC ....
    once you assigned an index to a NPC, try not to change it in the future, since missions are assigned based on these index number.
    What's New in this Version :
    each npc probably can have more than 40 missions.
    each NPC can have their own quests....or a quest that can share among any other NPCs.
    1 NPC can have many individual quests.
    All / Certain NPCs share the same quests.
    Only certains classes ( include inherited classes ) may do the quests. However, base classes are alway able to pick the quests.

    All the Quests will not be removed upon server restart / @reloadscript, which mean you dont have to re-setup all the quests everytime server restarted / reloaded.
    ** You may edit the required monsters for each mission, but will end up remove all the killing progress of each players who have taken the missions.
    Future TODO List :
    support party-assist , guild-assist to completing the quests .
    pre-requisite mission or so-called chain missions.
    custom variable as rewards.
    etc

    ( you may tell me if you have any ideas to improve this script )
    Screenshots :
    http://imgur.com/9zPLLab,LeCTXWI,iAMODwY,uM0G9b7,PtfRQU9,CzIDSja,LWeafsQ,WLcDMaW,Dx3y3fw,7UukU0t#0


    just a scratching script and havent spent really much time to debug every single lines ...overall it still work fine ...( still on holiday mood + school started again )
    the structure of the scripts might look messy and hard to read .. >.< ... didnt really plan well on the structure of the scripts. ( Emistry suck on planning )
    There are some bugs i guess ... but i not really so sure is it come from this script or will it really bring big effect to the servers..
    when playing with this script .... i think my char will failed to connect to server everytime I relog , does any of you facing this problem when using this script ??
    AnnieRuru and other member who good at scripts, time for lecturers ...

    2131 downloads

    Updated

  4. Free

    [UnOfficial] Skyfortress Drop/reroll enchantment Functions

    README FIRST!
    those are UnOfficial
    there is 2 main scripts 
    the first one (you need to add it first to your .conf file)
    SkyFortress_Functions
    this have the main functions
    HEADER >> (read it before you use the script)
     
    the 2nd main file is SkyFortress_reroll
    this for the reroll npc
    this npc requir https://github.com/rathena/rathena/pull/4195
    if you didn't apply this PR the npc will give you error!
     
    the 3rd file SkyFortress_Test is just for test , do not use it unless you want to test and edit the script
     
    to add the drop to your instance , you need to edit the instance script it self , as this not normal drop , it's on event kill drop.
     
    if you have problem with the script , you can use the forum post to report it to me, and me or someone else will help you fix it.

    637 downloads

    Updated

  5. Free

    @adjgm command

    Description
    Permanently adjusts a target player's GM group via atcommand.

    266 downloads

    Submitted

  6. Free

    @AnalyzeItem count item in your server

    @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

    533 downloads

    Updated

  7. Free

    @dance

    @dance
    A script-ported-version of source mod @dance. (I don't know the original author)

    Usage
    @dance <1-9> ________________________________________________
    Feel free to Donate if you want to support me

    ________________________________________________

    253 downloads

    Submitted

  8. Free

    @giveitem command

    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 

    877 downloads

    Updated

  9. Free

    @gstorage command

    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;

    251 downloads

    Submitted

  10. Free

    @itemrain command

    I know it exists somewhere in the forum but for the sake of lazy people searching in forum, here is @itemrain command
    as what the command name says, it will make / drop items around the one who used the command on 14 cells wide ( about the size of the screen )
     
    @item <item_id> <amount>
     
    Items created by this command is limited to 100 only just to put a little bit of cap into it.
     
    use at your own risk. 
    Compatibility is your responsibility.

    469 downloads

    Submitted

  11. Free

    @r - Single NPC Reloader

    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 //============================================================  

    553 downloads

    Submitted

  12. Free

    @restock - get items from storage with a command

    My take on the @restock command. 
    This script allows you to set a list of item to restock from your storage, for example 100 blue gemstones and 300 white potions.
    When using the command, a ticket item will be consumed to get the specified items from storage.
    This script is so that you'll always have the needed quantity of items in the list. for example, if you have 22 gemstones in your inventory and you use @restock, you'll get the 78 gemstones missing to the full 100
    any feedback is appreciated.

    642 downloads

    Updated

  13. Free

    @restock everywhere from your storage

    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.

    1271 downloads

    Updated

  14. Free

    @reward command

    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;

    686 downloads

    Updated

  15. Free

    Abyss_04 and Odin Past (Working) Script + Sprites

    This file allows you to activate the Odin Past and Abyss4 maps in your game. Tested on a Renewal server.
    Includes monster sprites, maps, monster database and skills.

    262 downloads

    Submitted

  16. Free

    Advance Punching Bag with DPS counter + Parameter Settings

    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.

     

    996 downloads

    Updated

  17. Free

    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.

    685 downloads

    Updated

  18. Free

    Advanced Safe Refiner

    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.
    Settings:
    .@npc_name$ = Name of your NPC
    .@price - The required zeny for refining.
    .@canfail - Refining can fail but keeps the target equipment and stays at the current refinement level (0 = disabled; 1 = enabled)
    .@same - Check if the materials has the same refinement level (0 = disabled; 1 = enabled)
    .@startsafe - Start counting materials after the safe refine on Hollgrehenn (0 = disabled; 1 = enabled)
    .@mineralcostmultiplier - The Oridecon/Elunium required per refine based on [.@startsafe] settings (0 = disabled)

    [ START SAFE TABLE ]
    At Weapon Lvl 4 / Armor Lvl 1
    +4 -> +5 = 1 copy
    +5 -> +6 = 2 copies
    +6 -> +7 = 3 copies
    +7 -> +8 = 4 copies
    +8 -> +9 = 5 copies
    +9 -> +10 = 6 copies

    477 downloads

    Updated

  19. Free

    Advanced Stylist

    Original idea of this script : http://www.eathena.ws/board/index.php?showtopic=148888
    Well, this was my favourite stylist script in eAthena ....xD

    Since i got some time, and lately received a request on editing a stylist npc script. So i come with with the idea to add some minor features or enhance the original script. The script are written from scratch...
    A very quick and simple intro for the script,
    Able to nagivate styles easily ( Forward, Backward, Jump ).
    Able to blacklist certain style for each style group and separately by Gender.
    Removed save / load features since not really useful.
    Enable Zeny as payment for the services.
    Able to enable any of the 3 services. ( Hairstyle, Hair Color, Cloth Color )
    Support multiple type of Currency Payment. ( Item , Cash Points , Zeny and etc )
    Customizable.

    ( If any style was blacklisted, a default style will be displayed )
    The script are rewrited and clean up some unecessary parts.
    Credits :
    AnnieRuru
    Hudelf

    5047 downloads

    Updated

  20. Free

    All In One - Random Options Script

    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/

    1427 downloads

    Updated

  21. Free

    All Usefull Script Put In One

    Hi rAthena community
    Here i already compress all kind of usefull script to rAthena and eAthena user.
    Maybe there were some error but please post it to be fixed together..
    The most important thing,dont claim all this script is your's and get rid signature.
    All this script are belong to Creator who create those script.
    Im just combined all this script into one file.
    Happy Download All

    1585 downloads

    Submitted

  22. Free

    Ancilla

    This script allows players to purchase and carry up to 3 ancilla from the chruch.

    89 downloads

    Submitted

  23. Free

    Another Freebies NPC with easy char/acc bound settings

    OnInit: // settings .char_bound = 1; // enable character bound rewards (1 = on || 0 = off) .account_bound = 1; // enable account bound rewards (1 = on || 0 = off) // set item (char bound) setarray .char_reward, 501, 502, 503; // item setarray .char_reward_amt, 1, 2, 4; // amount // set item (acc bound) setarray .acc_reward, 501, 502, 503; // item setarray .acc_reward_amt, 1, 2, 4; // amount Use and edit this to any ways you need.
    I just made another simple freebies npc.. This is in reponse to many new server owners who kept asking "how to make freebies account bound/char bound?" or such. I made it easier for them to choose whether to enable char/acc bound rewards or not.
    Enjoy

    1050 downloads

    Submitted

  24. 5.00 USD

    Anvil Refiner

    I created an item refiner that allows a player to refine any non-broken, identified, unequipped, refinable, and non-rental item in their INVENTORY up to +20. Player uses an anvil to start script and must have a Mini-Furnace and Hammer. Allows any class to refine without the use of the refiner script. The better the anvil, hammer, and certain blacksmith skills the better the chance of success.

    0 purchases   1 download

    Submitted

  25. Free

    Area Whisper System

    Script Header:

    I'd watch out for any interesting script request and might post it here.

    86 downloads

    Submitted


×
×
  • Create New...