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

205 files

  1. Free

    Equipment Upgrade System

    A multi-level upgrade system for your equipment similar to ROM:EL equipment upgrades. Easily manage the upgrade bonuses of your equipment without duplicating them. The only downside is, the upgrade system doesn't support any 4 slotted equipment.

    For easy explanation, we will go with 2 equipment samples:
    Equipment 50103 (Costume Fate Magic Book) and Equipment 50107 (Costume Fate Wand)

    How to Use:
    Go and edit your file equipment_upgrades.txt
    1. You add your upgrade bonuses at section II. EQUIPMENT BONUSES and list the item bonus just like the 2 samples.
    2. Enumerate all the requirements for upgrading the equipment at section III. EQUIPMENT REQUIREMENTS and list it just like the 2 samples.
    (3.) Optional. If you are planning to add more than 5 upgrades or if you modified the item ID of enchant stones, you must also update the section I. EQUIPMENT UPGRADE LEVEL MODIFIERS.
    Go and edit your file item_db.yml
    1. You must add this first:
    # UPGRADE ENCHANT CARD SLOTS   - Id: 50108     AegisName: S_Upgrade_I     Name: Upgrade - I     Type: Card     SubType: Enchant   - Id: 50109     AegisName: S_Upgrade_II     Name: Upgrade - II     Type: Card     SubType: Enchant   - Id: 50110     AegisName: S_Upgrade_III     Name: Upgrade - III     Type: Card     SubType: Enchant   - Id: 50111     AegisName: S_Upgrade_IV     Name: Upgrade - IV     Type: Card     SubType: Enchant   - Id: 50112     AegisName: S_Upgrade_V     Name: Upgrade - V     Type: Card     SubType: Enchant (2.) Optional. If you are planning to add more than 5 upgrades or if you modified the item ID of enchant stones, you must add/update the necessary item_db entry for those just like the above entries. (with the correct enchantIDs of course)
    3. IMPORTANT: Every time you add an equipment upgrade bonus to an item, you must also add this line: callfunc("GetUpgradeBonus");
    Here are some sample entry using the 2 equipment samples for your reference:
    - Id: 50103     AegisName: C_Fate_MagicBook     Name: Costume Fate Magic Book     Type: ShadowGear     Weight: 100     View: 115     Jobs:       Sage: true     Locations:       Shadow_Weapon: true     Script: |       bonus bAspdRate,50;       bonus2 bSubEle,Ele_Ghost,5;       bonus3 bAutoSpell,"MG_THUNDERSTORM",10,200;       callfunc("GetUpgradeBonus");   - Id: 50107     AegisName: C_Fate_Wand     Name: Costume Fate Wand     Type: ShadowGear     Weight: 100     View: 119     Jobs:       SoulLinker: true     Locations:       Shadow_Weapon: true     Script: |       bonus bAspdRate,50;       bonus2 bSubEle,Ele_Neutral,5;       bonus2 bMagicAtkEle,Ele_Dark,5;       callfunc("GetUpgradeBonus"); Lastly, go and edit your file iteminfo.lua
    1. You must add this first:
    [50108] = {         unidentifiedDisplayName = "Upgrade - I",         unidentifiedResourceName = "Wolf_Orb_M_Counter_1",         unidentifiedDescriptionName = { "" },         identifiedDisplayName = "Upgrade - I",         identifiedResourceName = "Wolf_Orb_M_Counter_1",         identifiedDescriptionName = { "^0066FFThis equipment is currently at Upgrade - I^000000" },         slotCount = 0,         ClassNum = 0,         costume = false     },     [50109] = {         unidentifiedDisplayName = "Upgrade - II",         unidentifiedResourceName = "Wolf_Orb_Mag_1",         unidentifiedDescriptionName = { "" },         identifiedDisplayName = "Upgrade - II",         identifiedResourceName = "Wolf_Orb_Mag_1",         identifiedDescriptionName = { "^404DD9This equipment is currently at Upgrade - II^000000" },         slotCount = 0,         ClassNum = 0,         costume = false     },     [50110] = {         unidentifiedDisplayName = "Upgrade - III",         unidentifiedResourceName = "Wolf_Orb_Robust_1",         unidentifiedDescriptionName = { "" },         identifiedDisplayName = "Upgrade - III",         identifiedResourceName = "Wolf_Orb_Robust_1",         identifiedDescriptionName = { "^8033B3This equipment is currently at Upgrade - III^000000" },         slotCount = 0,         ClassNum = 0,         costume = false     },     [50111] = {         unidentifiedDisplayName = "Upgrade - IV",         unidentifiedResourceName = "Wolf_Orb_Str_1",         unidentifiedDescriptionName = { "" },         identifiedDisplayName = "Upgrade - IV",         identifiedResourceName = "Wolf_Orb_Str_1",         identifiedDescriptionName = { "^BF1A8CThis equipment is currently at Upgrade - IV^000000" },         slotCount = 0,         ClassNum = 0,         costume = false     },     [50112] = {         unidentifiedDisplayName = "Upgrade - V",         unidentifiedResourceName = "Wolf_Orb_Hp_1",         unidentifiedDescriptionName = { "" },         identifiedDisplayName = "Upgrade - V",         identifiedResourceName = "Wolf_Orb_Hp_1",         identifiedDescriptionName = { "^FF0066This equipment is currently at Upgrade - V^000000" },         slotCount = 0,         ClassNum = 0,         costume = false     }, (2.) Optional. If you are planning to add more than 5 upgrades or if you modified the item ID of enchant stones, you must add/update the necessary iteminfo entry for those just like the above entries. (with the correct enchantIDs of course)
    3. Then add your equipment upgrade description. Here are some sample entry using the 2 equipment samples for your reference:
    [50103] = {         unidentifiedDisplayName = "Costume Fate Magic Book",         unidentifiedResourceName = "Fate_MagicBook",         unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },         identifiedDisplayName = "Costume Fate Magic Book",         identifiedResourceName = "Fate_MagicBook",         identifiedDescriptionName = {             "Slightly increase attack speed",             "+5% Resistance to Ghost element",             "Adds a chance of autocasting Thunder Storm when physically attacking",             "+1% Matk per ^0000FFupgrade^000000",             "+1 Allstats per ^0000FFupgrade^000000",             "________________________",             "^0000FF[Upgrades]",             "^0066FFI: +2% Ignore Mdef",             "^404DD9II: +4 Attack Range",             "^8033B3III: Adds a chance of autocasting Heaven's Drive when physically attacking",             "^BF1A8CIV: +3% Ignore Mdef",             "^FF0066V: Has a low chance of autocasting Spider Web when physically attacking, +5% Ghost Resistance",             "^000000________________________",             "Class:^6666CC Costume Weapon^000000",             "Weight:^009900 10^000000",             "Jobs:^6666CC Sage^000000"         },         slotCount = 0,         ClassNum = 115,         costume = true     },     [50107] = {         unidentifiedDisplayName = "Costume Fate Wand",         unidentifiedResourceName = "Fate_Wand",         unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },         identifiedDisplayName = "Costume Fate Wand",         identifiedResourceName = "Fate_Wand",         identifiedDescriptionName = {             "Slightly increase attack speed",             "+5% Resistance to Neutral element",             "+5% Shadow Magical DMG",             "+1% Matk per ^0000FFupgrade^000000",             "+1 Allstats per ^0000FFupgrade^000000",             "________________________",             "^0000FF[Upgrades]",             "^0066FFI: +5% Shadow Magical DMG",             "^404DD9II: +5% Demi-Human Resistance",             "^8033B3III: +10% Shadow Magical DMG",             "^BF1A8CIV: Reduces any reflected damage from enemies by 50%",             "^FF0066V: +20% Ignore Mdef, +5% Neutral Resistance",             "^000000________________________",             "Class:^6666CC Costume Weapon^000000",             "Weight:^009900 10^000000",             "Jobs:^6666CC Soul Linker^000000"         },         slotCount = 0,         ClassNum = 119,         costume = true     }, That's basically it! You may implement it to an existing equipment to make it more relevant and usable 🙂

    DM me on Discord for questions and clarification.

    72 downloads

    Updated

  2. Free

    Guild Package Manager

    An automated guild package manager that will help your server manage the distribution of guild package. Currently the script checks the following:
    Must be a new guild on the server Must have at least {.@min-1} Guild Members ({.@min} including the Guild Leader) Guild Members must be online Guild Members must have a unique IP (duals are not counted and won't be receiving any rewards) {.@bypassipcheck == 0} Both Guild Leader and Guild Members must be at their maximum level {.@blvl}/{.@jlvl} Both Guild Leader and Guild Members must not participated on any Guild Recruitment on the past Configurations:
    .@min = 5; // Minimum Guild Count Requirement
    .@blvl = 255; // Required Base Level
    .@jlvl = 120; // Required Job Level
    .@bypassipcheck = 0; // Bypass IP Check
    Notes:
     » All contents must be Guild-bounded
     » Sharable within the guild by using @gstorage or trading guildmates
     » Guildmates who left the guild will have their guild-bounded items automatically transfer into @gstorage (including compounded cards)
    Example Packages: (feel free to modify the packages in functions getrlp, getrap, getrwp, always use getitembound/getitembound2 with Bound_Guild flag)
     » Recruitment Leader Pack (for Guild Leader only) - 1x BTS Armor Set
     » Recruitment Armor Pack (for Guild Members only) - 1x Quest Valkyrie Set of choice
     » Recruitment Weapon Pack (for All) - 1x +7 Custom Weapon of choice (Quest Weapon)
    ItemDB Packages:
    - Id: {YOUR .@rlpid ID HERE} AegisName: Recruitment_Leader_Pack Name: Recruitment Leader Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrlp"; - Id: {YOUR .@rapid ID HERE} AegisName: Recruitment_Armor_Pack Name: Recruitment Armor Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrap"; - Id: {YOUR .@rwpid ID HERE} AegisName: Recruitment_Weapon_Pack Name: Recruitment Weapon Pack Type: Delayconsume Buy: 2 Script: | callfunc "getrwp";

    126 downloads

    Updated

  3. 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.

    199 downloads

    Submitted

  4. Free

    getStartOfDayTick function

    getStartOfDayTick(<Day of the week>)
    This function returns what the timetick would be on the provided next day of the week
    Accept: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
     
    DO NOT PM ME FOR ERRORS
    Use the forum post to report for any bugs and errors HERE(Click Me)
     
    I recommend to copy/paste the function to the end of the file 'rathena/npc/other/Global_Functions.txt'
    This will make the function usable without 'callfunc' command
     if you used the function inside an item or didn't put it to load first you will
     need to use 'callfunc("getStartOfDayTick", <Day of the week>)' instead of 'getStartOfDayTick(<Day of the week>)'
     

    https://sader1992.com/

    51 downloads

    Updated

  5. Free

    ConvertMapName Function - Enhance how map names are addressed in-game NPCs/Announcers!

    As the title says, it will convert the server side name to client side name (or as you configure - I'm just using the mapnametable.txt as reference)

    Usage - ConvertMapName(<mapname>);

    mapname is the server side map name used in mapindex

    Practical usage of this function is just to fancy up the mapnames on script. For example on mvp or pvp announcers, instead of announcing 'prt_fild08', it will show as 'Prontera Field F8' as per the default listed in the Loader NPC.
    You can modify the Loader NPC as much  as you want. It is best to add both the function and the loader npc on 'Global_function.txt' so it will always be loaded first.
    This script is only for those who are just very particular on fancy details, otherwise, don't use this function if you have no idea what I mean.
    Sample NPCs are attached in the script itself.

    93 downloads

    Submitted

  6. Free

    Card Recycler

    This is my version of king poring 
    if someone can improve this script 
    just leave the script with your improvement changes 

    The NPC script for Card Recycler allows players to recycle cards with the following functionalities:
    Requirements: Players need 2,500,000 Zeny and must submit 4 different cards for recycling.
    Validation and Prohibitions: Checks if players have enough Zeny and verifies if submitted cards are not on the prohibited list ()..@forbidden_card$
    Card Types and Rates: Offers three card types with specific probabilities:
    Normal Cards: 99% chance ()..@rate_normal_card = 9900 Mini Boss Cards: 3% chance ()..@rate_mini_boss_card = 300 MVP Cards: 1% chance ()..@rate_mvp_card = 100 Functionality: Allows players to recycle cards, deducts Zeny, removes submitted cards, and randomly gives a new card based on defined probabilities.
    Additional Features: Connects to a shop () and handles transactions related to card recycling and potentially other items.card_merge_shop
    This script enhances gameplay by providing a mechanism to recycle unwanted cards into potentially more valuable ones, adding depth and strategy to the game economy.

    224 downloads

    Updated

  7. 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.


     

    158 downloads

    Updated

  8. Free

    Mir4 Enchant

    It allows you to enchant equipment using a random system between possibilities, and each registered title has 4 categories of rarity: S,A,B,C and each one with its respective chances.
     
     

    452 downloads

    Submitted

  9. Free

    Pet Combination System (RO Landverse Concept)

    Hi,
    Just dropping some random scripts on my drive.
    Enjoy!
     
    Script Info: https://maxion-1.gitbook.io/ragnarok-landverse-whitepaper/beginner-guide/pets-system
     
    NOTE: This is only a replication attempt. This doesn't have the pet combination UI as per the link showing. This will use NPC Shop UI instead. This is NOT limited to pet combination, you can be creative and change this to item tier combination if you wish. If you know how to read and basic scripting knowledge, then you can edit this script without problem. Use at your own risk.

    393 downloads

    Updated

  10. Free

    Market Clone (No SRC modification needed)

    This is exactly the same concept as the original file by Annieruru/Dastgir which is found on this post : 
     
    @marketclone - creates a clone of your self as if you are making a chatroom.
    @marketkill - removes the clone you spawned.
     
    Yes, there is no need for SRC modification. This is purely done script wise but this will only work for latest server files. Any server files later than October 2, 2022 shouldn't have any troubles running this script. Otherwise, you are required to apply this commit: https://github.com/rathena/rathena/commit/9c2576f47ac12f54738bc714b858fde3a9d6315b to work.

    Any issues regarding the script, leave me a message or tag me on the support page of this script. If there is any good suggestions for improvements 
    I do wont give support if compatibility is the issue. Compatibility is your responsibility. Use at your own risk.

    329 downloads

    Updated

  11. Free

    Buff donation (using zeny)

    Here i want share my modifying script (original script are from floating rate donation script created by lupus)
    to change the duration change at this part (line 206)
    // Up to you whether you want to add an extra hour or not, as otherwise the event will be below 24 hours. $Buff_hours_left = 6;  
    to change zeny amount at this part  (line 221)
    .targetdonation = 10000; you can add or remove buff skills at line 21 ~ 148

    290 downloads

    Submitted

  12. Free

    Mvp Cards Log

    a simple log of all the Mvp cards on the server saved in a table

    360 downloads

    Updated

  13. Free

    simple select item from Box/Egg

    This is a simple function I'm using for custom box/egg items to allow players selecting an item.
    Example usage:
    - Id: 100717 AegisName: Fluffy_Semi_Long_Box Name: Costume Fluffy Semi-long Hair Type: DelayConsume Buy: 10 Weight: 100 Script: | callfunc("muh_eggpick","Fluffy_Semi_Long_Box",420036,420037,420038,420039,420040,420041,420042,420043);  

    255 downloads

    Submitted

  14. 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.

     

    865 downloads

    Updated

  15. Free

    Area Whisper System

    Script Header:

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

    82 downloads

    Submitted

  16. Free

    Dungeon of the Day

    Each day a random dungeon will be picked, monsters killed inside the dungeon of the day will give extra EXP, Items and Zeny, the percentage to get these is configurable within the script.


    Accepting suggestions to improve this script.

    709 downloads

    Updated

  17. Free

    Super Convex Mirror

    Description :
    The NPC are capable to search for MVP in the whole server or specific maps.
    Back in eAthena, there exists a script command (forgotten the name, perhaps a mobcount(...) with parameter changed) which allow us to check for specific monster id exists in the map or not, but it was removed.
    Then we could use mobcount(...) script command to get similar results, but we need to manually append an NPC event to each monster.
    Now, we could also do the same by using getunits(...) / getmapunits(...) script commands.
    Of course there are pro and cons for each version, I'll just leave it to you to decide for yourself whether to use it or not.
    The origin of script came from @Brian
     
    Preview :

     
    Settings :
    // Enable player to warp to MVP? // 0 = disabled // 1 = enabled // 2 = enabled + SC_BOSSMAPINFO .warp_to_mvp = 2; Enable this setting if you wish to allow NPC to warp into the monster map.
    // enable this setting to fully utilize the NPC script. (use at your own risk) // read more info at /conf/battle/monster.conf setbattleflag("dynamic_mobs", 0); By default, the dynamic_mobs configuration are set to yes. This help you save some server resources if the maps aren't access by any players recently by saving the monster data into the cache.
    The downside of using dynamic_mobs, monsters are cached, NPC can't search for the monster data if they are cached. FYI, monsters that spawned by NPC scripts aren't cached.
    // list of MVP map. setarray .map$, // enable this if you want it search whole server. (unable to use warp to mvp option) // "all", Enable this if you wish to enable to NPC to search the whole server, incase you missed what other maps have MVP (including showing mvp from restricted areas, like Guild Dungeon) 
    FYI, searching the whole server would take a longer time, use at your own risk.
     
    Notes :
    The NPC are capable to search any MVP monsters in the map, including monster summoned by Bloody Branch, or Class Change Skill (from Sage's Abracadabra), as long as the monster have MVP EXP.
     
    Why do we need this if we already have Convex Mirror Item?
    I am sure everyone has used Convex Mirror before, but there are few reason that its frustrating to use it:
    Each convex mirror only can search current map of player. Convex mirror are wasted if the map doesn't have any MVP or killed. Convex mirror can't search for monster that summoned by NPC script. This NPC could serve as compensation for player, imagine the use case where you spend a Convex Mirror to know which MVPs are still alive instead of letting it go wasted knowing that the MVP in current map is dead or not found.
     

    564 downloads

    Updated

  18. Free

    Custom Stat Seller

    This is an old script and its just a basic script that everyone can use.
    This npc has a bug before where the npc can keep deducting zeny and the stat is already at limit.
    So I've made a minor tweaks and the script is good to go!
    Note: Please read the guide inside the script for making changes!

    219 downloads

    Updated

  19. 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

    ________________________________________________

    242 downloads

    Submitted

  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/

    1307 downloads

    Updated

  21. Free

    ChangeSuit Function

    ChangeSuit Function
    Function to change player's sprite appearance to 3rd Job & Alternative 3rd Job.
    Only working for Rebirth Jobs and Expanded Classes (if you want to use it for normal classes edit it by yourself).
    Usage
    callfunc("F_ChangeSuit",0) //<-- Enable callfunc("F_ChangeSuit",1) //<-- Disable callfunc("F_ChangeSuitAlt",0) //<-- Enable callfunc("F_ChangeSuitAlt",1) //<-- Disable ________________________________________________
    Feel free to Donate if you want to support me.

    ________________________________________________

    399 downloads

    Submitted

  22. Free

    Password on storage

    Bug Report on discord: KyoSasuke#5401

    264 downloads

    Updated

  23. Free

    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

    1925 downloads

    Submitted

  24. Free

    Runes

    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  

    733 downloads

    Updated

  25. Free

    Control Barricade

    I just want to share to everybody this simple script. Hope you guys like it!

    Kudos to llchrisll for explaining everything!

    754 downloads

    Submitted


×
×
  • Create New...