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

    Login Scanner

    Just another OnPCLoginEvent script simple scan.
    Expected to prevent intruder and  stat hack.
    Shared as it belong to community, not mine.
    3 way scan: checking GM name, check max base stat, check total stat point.
    modified original script by Brian - check statpoint

    362 downloads

    Submitted

  2. Free

    Yuchinin Common Library

    //===== rAthena Script =======================================
    //= Yuchinin Common Library
    //===== By: ==================================================
    //= Yuchinin
    //===== Current Version: =====================================
    //= 2.2
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= A common useful function I wrote to make my life easier.
    //= Most of my release script will need this to work
    //=====******** Note ********=================================
    //= This will be the core of my other script.
    //= Better let it load first before adding my other script.
    //===== Additional Comments: =================================
    //= 1.0 Initial script.
    //= 1.1 Change function arrdel from using 'value' to 'index'
    //= 1.2 Fixed sql query bug
    //= 1.3 Added Url, npcmes
    //= 1.4 Added strcharinfo2 to avoid offline player return empty
    //=  String
    //= 1.4a Fixed arrdel
    //= 1.4b Fixed arrfind
    //= 1.4c Add arrdel, arrfind notsensitive bool
    //= 1.5 Add answer_chk to check input value from define value
    //= 1.5a Optimize npcindistance
    //= 1.5b Try to fix npcindistance
    //= 1.6 Added marketshopcountitem, marketshopdelitem
    //= 1.7 Added itemcheck, varcheck
    //= 1.8 Added itemname
    //= 1.9 Revamped itemcheck and varcheck
    //= 1.9a Comment out the debugmes of function arradd
    //= 2.0 Added running Marquee
    //= 2.1 Added function itemtype to return item type in string
    //= 2.2 Added getcharid2 to counter getcharid which need attached
    //============================================================

    814 downloads

    Updated

  3. Free

    Dynamic WoE Reward Distributor

    Information
    This script let guild leaders receive WoE rewards after the end of each WoE by talking to the NPC. Rewards can be configured to be given to every online members automatically instead.
    There is a menu for the GMs to configure reward for each castle individually.
    Use Case
    As a reward giver for WoE participation.
     
    Although this script has been tested on an old build of Hercules, it is only guaranteed to support rAthena. If it somehow break on Hercules-based emulator, I could fix it at an additional price 
     
    Video
    By downloading this script, you agree to these terms:
    You are not allowed to redistribute this script in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I still retain all rights to this script. You will not get any support if you are using an old build of rAthena from 6 months ago or earlier. Your rights to receive free supports may be revoked at my discretion if you are being abusive Terms above may be changed or adjusted without prior notification. Copyright  - Secrets 2016-2017 - All Rights Reserved

    194 downloads

    Updated

  4. Free

    Buffet Shop System

    Information
    This script allows you to set up an "All You Can Take" style shop.
    You can assign a time window for an account to get everything in that shop. Those items will disappear once the time runs out.
     
    @commands:
    @addbuffet - Calls GM menu to add time to a certain account.
     
    Use Case
    You can make your player pay a certain amount of money and get everything in the buffet shop for a limited time!
    You can also update the `buffet_time` SQL table via your site to integrate it to your site
     
    This script is only guaranteed to support rAthena. If it somehow break on Hercules-based emulator, I could fix it at an additional price
    Video
    By downloading this script, you agree to these terms:
    You are not allowed to redistribute this script in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I still retain all rights to this script. You will not get any support if you are using an old build of rAthena from 6 months ago or earlier. Your rights to receive free supports may be revoked at my discretion if you are being abusive. Terms above may be changed or adjusted without prior notification. Copyright © - Secrets 2017 - All Rights Reserved

    81 downloads

    Updated

  5. 10.00 USD

    New @security system for item and zeny protection [no src mod required]

    The new @security system does all those old and clunky security systems did (not so well) in the past and much more, without source modifications!
    Protects the player items and zeny with a password (that can be as long and complex as the player wants), if hacked or they share their account Allows the player to temporary disable the system and play as usual, so when the player logs out, the system reactivates When an intruder fails to enter the password X times (configurable), the system resets the player's account password and kicks the intruder out Available in English and Spanish PS.: If you have any idea or suggestion for new features or improvements, feel free to tell me and I'll add them to the system!
     
    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 (Daegaladh) still retain all rights to this script. Terms above may be changed or adjusted without prior notification. © Daegaladh 2017

    20 purchases   67 downloads

    Updated

  6. Free

    Dress changer ~ Change your appearance between classes.

    This NPC let your players change their appearance to other classes in their class line plus their jRO costume at a price.
    For example, a sniper can change his/her appearance to hunter and ranger (plus jRO ranger costume).
     

    3272 downloads

    Updated

  7. Free

    Super Stylist (Dress Room Required)

    This' my very first work if any bug contact me and i'll try to fix

    2187 downloads

    Updated

  8. Free

    Plagiarize a Skill [Script Command]

    { plagiarize <skill>,<lv>; Sets the invoking player's plagiarised skill and the desired lv. } by rootKid  
    INSTALLATION
    [in src/map/script.c]
    Find: 
    // declarations that were supposed to be exported from npc_chat.c #ifdef PCRE_SUPPORT BUILDIN(defpattern); BUILDIN(activatepset); BUILDIN(deactivatepset); BUILDIN(deletepset); Add above:
    /*=========================================== * Plagiarize a Skill * plagiarize <skill>,<lv>; * Sets the invoking player's plagiarised skill and the desired lv. * by rootKid *-------------------------------------------*/ BUILDIN_FUNC(plagiarize) { int skillid, lv; struct map_session_data * sd = script_rid2sd(st); skillid=( script_isstringtype(st,2) ? skill->name2id(script_getstr(st,2)) : script_getnum(st,2) ); lv=script_getnum(st,3); if (sd->cloneskill_idx && sd->status.skill[sd->cloneskill_idx].flag == 13){ sd->status.skill[sd->cloneskill_idx].id = 0; sd->status.skill[sd->cloneskill_idx].lv = 0; sd->status.skill[sd->cloneskill_idx].flag = 0; } if (pc_checkskill(sd,RG_PLAGIARISM)) { sd->cloneskill_idx = skillid; sd->status.skill[sd->cloneskill_idx].id = skillid; sd->status.skill[sd->cloneskill_idx].lv = lv; sd->status.skill[sd->cloneskill_idx].flag = 13;//cloneskill flag pc_setglobalreg(sd, add_str(SKILL_VAR_PLAGIARISM), skillid); pc_setglobalreg(sd, add_str(SKILL_VAR_PLAGIARISM_LV), lv); clif_skillinfoblock(sd); } return 0; } Find:
    BUILDIN_DEF(_,"s"), Add above:
    BUILDIN_DEF(plagiarize,"ii"),  
    END OF INSTALLATION
    I have attached an unfinished function-based script using this script command as a reference.

    250 downloads

    Updated

  9. Free

    Castle Manager

    In celebration of rA's movement into a new era of IPS4, I decided to finally make a new release.
    It's nothing too fancy, I just got tired of manually rotating castle ownership every time I rotated WoE castles.
    If you've got any suggestions feel free to post 'em!
     
    I set the permissions for GM 99 only, you guys are welcome to set separate ones per section.
    Some people might decide to let normal players see the guild data.
    Oh and a shout-out to @Euphy, as I used his WoE controller as inspiration, and copied the arrays from it.
     
    Mirroring in rA just in case. Plus I wanted to test out this downloads section. :]

    552 downloads

    Updated

  10. Free

    Rynbef's SQL Warper

    Description
    This warper is a fully sql based warper. All coordinates, categories or maps can be modified.
    This script contains the following features:
    - Fully SQL based
    - Realtime coordinates, categories or map changes without scriptreload
    - Easy to add new maps or create own categories
    - Restricted maps or sub-maps by renewal/pre-renewal
    - Allow map access by min. group ID
    - Anti-Bypassable last warp function
    - Simple enable or disable categories
    How to install
    1#: Insert the .sql file to your database.
    2#: Copy the script to your script folder and change the settings on the bottom of the file.
    3#: Insert the file to the scripts_custom.conf
    4#: Reload or restart server. Have fun!
    Other
    If you have any question about this script or else please contact Rynbef at the rAthena Board.
    The duplicates and coordinates are based on Euphy's Warper.
    The .zip file includes a database structure file to explain how it works.
    !!! --- Dont name this script as your. Dont remove the copyright header. Dont sell this script. --- !!!

    274 downloads

    Updated

  11. Free

    GM Rewarder - Shop-based

    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.

    932 downloads

    Updated

  12. Free

    Item Collector NPC / Item Sink Strategy

    Introduction :
    The NPC is designed to accept items from players, with contributions being non-recoverable but meticulously logged. A straightforward ranking system showcases players based on their item contributions. Game Masters have the flexibility to leverage and reset these rankings for custom events or creative initiatives at their discretion.

    **  Consider this a deviously delightful item sinking event for your server, complete with devilish flair and strategic mischief. 

    476 downloads

    Updated

  13. Free

    iRO Spooky machine - Refine Event

    Introduction :
    Talk to the machine and it will give you a Cracked Buckler shield. Equip the shield and talk to the machine.
    It will attempt to upgrade it as high as it will go. Depending on what upgrade level the item breaks at you will get a free item! If the buckler is upgraded to +10 or higher it gives a mystery costume!



    References :
    Official Website
    IRO Wiki


    489 downloads

    Updated

  14. Free

    SQL Job Changer

    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.

    959 downloads

    Updated

  15. Free

    Punching Bag with DPS counter

    This is yet another punching bag with DPS counter which I use to experiment with get/setunitdata command.
    Feel free to use.

    3091 downloads

    Updated

  16. Free

    Warper ( Locked Map )

    This NPC will allows the player to warp on maps that are unlocked.

    464 downloads

    Submitted

  17. Free

    Usable Refinery Ores

    Description
    Players are able to click on the Ores items to refine the selected equipment. They can refine their Equipment at anywhere anytime they want.
    Based on requirement of Weapon Level and Type, different ores might be needed as well as Zeny.
    Preview

    878 downloads

    Updated

  18. Free

    Usable Enchant Item

    Description :
    Players are able to click on the Enchant items to provide custom bonus to the selected equipment.
    Varies of bonus could be done especially use together with a *getequippedon script command to provide a wide range of bonuses.
    The current items and bonuses display in the video is just a sample for demo.
    The origin of the idea come from Diablo and 張阿神.
     
    Sample Usage:
    callfunc("F_UsableEnchantItem", <delete_item_id>, <enchant_item_id>{, <card_index>});  
    Item Database :
    Create a custom item for enchant
    - Id: 501 AegisName: Red_Potion_Enchant_Usable Name: Red Potion Type: DelayConsume Buy: 10 Weight: 70 Script: | callfunc("F_UsableEnchantItem", 501, 909, 3); Create a custom enchant item with special bonuses.
    - Id: 909 AegisName: Jellopy_Enchant_Item Name: Jellopy Type: Etc Buy: 6 Weight: 10 Flags: BuyingStore: true Script: | .@eqp = getequippedon(); if (.@eqp & EQP_ARMOR) { bonus bVit,100; } if (.@eqp & EQP_HEAD_TOP) { bonus bInt,100; } if (.@eqp & EQP_SHOES) { bonus bAgi,100; }  
    Preview :

    1773 downloads

    Updated

  19. Free

    Instant Max Level NPC

    //============================================================
    //===== Panda's Script =======================================
    //= Novice Enchantress NCP
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= rAthena
    //===== Description: =========================================
    //= NPC to instantly level anyone when they have the required item
    //===== Changelog: =================================
    //= v1.0 - Initial Release
    //============================================================

    870 downloads

    Updated

  20. Free

    Simple Guild Manager

    A simple NPC enabling guild creation and guild leader assignment.

    228 downloads

    Submitted

  21. Free

    Ragnarok Guild Package NPC

    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)

    1178 downloads

    Updated

  22. Free

    Newbie NPC

    Just a simple Freebie NPC that will give out bound rewards and can easily be configured since it's pretty much very straight forward. Perfect for people who are just starting.

    659 downloads

    Updated

  23. Free

    GM Assistance NPC

    v1.0(Original) - Simple @request sent to GMs
    v1.1 - Added Delay and Number of GMs online
    v1.2 - Added changing waitingroom title and check if there are available GMs
    v1.3 - Added @request command for easier access for players
    Simple NPC used to contact GMs when one is available or is online.

    638 downloads

    Updated

  24. Free

    warn.txt

    It's a really simple script which warns some players when used.
    I made use of it to be warned if something didn't go right in some big scripts where you can be lost.
    It helped to correct some bugs more easily and to catch some people trying to cheat
    It's used like this:
    callfunc "WarnMe","this is a test","<your player name>","<other player name>"{,"<other player name>",{...}};//it will send a notification to all players mentionned, if they're not connected they'll receive it on relog
    I'll give you an example:
    while (getvariableofnpc(.battle,getarg(0))) { if (getpetinfo(0) != getvariableofnpc(.pet_gid,getarg(0))) { callfunc "WarnMe",""+strcharinfo(0)+" a change de pokemon","kuro" ; dispbottom "C'est pas bien d'essayer de tricher...",0xffff00 ; end; }
    It tells me if someone changes his pet during a pokemon fight and so I can punish him
    Well it's not something you'd often use but it can be ueful sometimes.

    96 downloads

    Submitted

  25. Free

    Auto shop

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

    935 downloads

    Updated


×
×
  • Create New...