Jump to content


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

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



  2. Free

    Random Option Global Functions

    Random Option Global Functions

    I have made two new global functions for Random Option:
    Returns the Random Option name from <ROA_ID>. (Names are based on zackdreaver's translation) F_GetRDMOPT_Value,<ROA_ID>,<VALUE>
    Returns VALUE plus (+), (-) or (%) depending in the Random Option. VALUE is returned as string. Examples:
    mes callfunc("F_GetRDMOPT_Name",9;)+" "+callfunc("F_GetRDMOPT_Value",9,15);
    will display "MaxHP +15%"
    mes callfunc("F_GetRDMOPT_Name",16;)+" "+callfunc("F_GetRDMOPT_Value",16,32);
    will display "Delay after attack -32%"



  3. Free

    [UnOfficial] Skyfortress Drop/reroll enchantment Functions

    those are UnOfficial
    there is 2 main scripts 
    the first one (you need to add it first to your .conf file)
    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.



  4. Free

    Manage @alootid - @alootid2

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




  5. Free

    Geffen Magic Tournament Enchanter

    Geffen Magic Tournament armors and accessories enchanter.
    Note: Magic Reflector and Revised Encyclopedia are disabled from enchanting since I'm not sure if they can be enchanted or not. Also increase healing received by 5~10% for armor is disabled since I'm not sure what's the random option for that.
    Credits: kRO, iRO, NovaRO and Divine-pride



  6. Free

    Illusion Items Enchanter

    Illusion items Enchanter conversion.
    Note that this is converted from multiple servers, so stats and rates can vary. Stats and rates are taken from wikis/devs.
    Credits: kRO, iRO, Shining-moon RO, NovaRO and Divine-Pride.



  7. Free

    set and get Variable for Gepard

    with this you can add a "like" variable that hooked to the unique id that Gepard provide
    ofc the script wont work without Gepard Shield
    Faster Explanation:
    all you need to know if you already know how to script: TO SET EXAMPLE: Account Variable in rAthena EX: #VAR = 10; Character Variable in rAthena EX: VAR = 10; Gepard Variable ? > with this functions EX: gepard_int_set("VAR",10); AFTER THE ABOVE THE RESULT WOULD BE> TO GET EXAMPLE: Account Variable in rAthena EX: mes "" + #VAR;// = 10 Character Variable in rAthena EX: mes "" + VAR;// = 10 Gepard Variable ? > with this functions EX: mes "" + gepard_int_get("VAR");// = 10  
    Download the test NPCs for more Explanation:
    Script Header:
    //===== rAthena Script ======================================= //= set and get for gepard //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //= https://github.com/sader1992/sader_scripts //===== Description: ========================================= <<<<<<< READ ME! //= YOU MUST RUN THE SQL SCRIPT IN YOUR MAIN SQL FIRST!!!!! //= you should add this to the end of your 'rathena/npc/other/Global_Functions.txt' //= gepard_int_get(<"key">,{<index>{,<"unique id">}}); //= gepard_string_get(<"key">,{<index>{,<"unique id">}}); //= gepard_int_set(<"key">,<value>{,<index>{,<"unique id">}}); //= gepard_string_set(<"key">,<"value">{,<index>{,<"unique id">}}); //============================================================ /* //ADD THIS TO YOUR SQL! CREATE TABLE IF NOT EXISTS `gepard_reg_num` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` int(11) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `gepard_reg_str` ( `unique_id` int(11) unsigned NOT NULL default '0', `key` varchar(32) binary NOT NULL default '', `index` int(11) unsigned NOT NULL default '0', `value` varchar(254) NOT NULL default '0', PRIMARY KEY (`unique_id`,`key`,`index`), KEY `unique_id` (`unique_id`) ) ENGINE=MyISAM; */  



  8. Free

    iRO - Ben Recycle NPC

    Ben Recycle  in Prontera allows players to turn certain equipment into Rough Elunium and Rough Oridecon.
    How to use:
    func_AddItem(<equipment_id>, <item1>, <amount1>, <item2>, <amount2>); // WEAPONS func_AddItem(1421, 757, 4, 756, 4); func_AddItem(1822, 757, 2, 756, 2); func_AddItem(1625, 757, 5, 756, 5); func_AddItem(1819, 757, 3, 756, 3); func_AddItem(1269, 757, 4, 756, 4); func_AddItem(1142, 757, 3, 756, 3); func_AddItem(1624, 757, 5, 756, 5); func_AddItem(1626, 757, 5, 756, 5); func_AddItem(13404, 757, 5, 756, 5); func_AddItem(13027, 757, 6, 756, 6); func_AddItem(1821, 757, 1, 756, 1); func_AddItem(1268, 757, 5, 756, 5); // ARMORS func_AddItem(2422, 757, 3, 756, 3); func_AddItem(2104, 757, 1, 756, 1); func_AddItem(5124, 757, 2, 756, 1); func_AddItem(2406, 757, 3, 756, 3); func_AddItem(5122, 757, 2, 756, 1); func_AddItem(5126, 757, 2, 756, 1); func_AddItem(2504, 757, 2, 756, 1); func_AddItem(2353, 757, 15, 756, 15); func_AddItem(2514, 757, 6, 756, 6); func_AddItem(2404, 757, 2, 756, 1); func_AddItem(2315, 757, 2, 756, 1); func_AddItem(2102, 757, 2, 756, 1); func_AddItem(2114, 757, 2, 756, 2); Additional:
    // if enable shop UI (only work if items can sell to npc shop) .shop_npc$ = "ben_recycle_shop#iro";  
    Mirror Link: https://pastebin.com/cCBdevB5



  9. Free

    Infinity Gauntlet - Snap

    Spoiler Alert !!! 
    The following content consists of info for the recent Avengers: Endgame movie. 
    View and download at your own discretion, I am not responsible for anything if you're so weak heart and so easily get spoiled with such contents.
    Real fans never afraid of spoiler contents! 
    Use at your own risk ....
    Mirror Link: https://pastebin.com/6GX0LmW2



  10. Free

    Autoloot Settings

    A rather simple autoloot settings function that I made, It's made to store 10 autoloot ID, there can be more than 10 as long as you adjust it. 
    I made this function to store all ID in one variable rather than multiple ones.



  11. Free

    Guild Storage & Guild Storage log npc

    you need at least 55acdb9863382d8935d9df25e1462d5d1ebd7d54 or above
    this npc let the players check the guild storage log
    to access the guild storage log the player must have guild storage permission



  12. Free

    Healer - Selective Buff

    A healer that allow player to receive the buffs they want.
    Player could decide the combination of buff they want.

    * Notes: For demo purpose, I only write a simple script to demo the rough idea, imagine the buff system you could do with your own creative imagination. 
    Feel free to share with us if you have any nice idea.



  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.



  14. Free


    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.  
    Credits : @Dastgir & @Radian for the src mod and @Habilis for the idea



  15. Free

    mapusers count Functions IP/GePard

    You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!)
    //===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================  
    you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that ?!)
    scenario ? >
    you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map ?
    //============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //==============================================  
    Same as above but per GePard ID not IP
    //============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //==============================================  
    BONUS Test:
    pvp warper
    prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; }  



  16. Free

    No double login in one map ip and gepard unique_id

    main code of ConfindecE and improved by Tauro to gepard and remove by account inhibition
    About this file:
    Anti-double login system in a specific map example: pvp, woe, events, etc.
    It has ip system or unique_id by gepard
    Account protection for accounts of the type: Gm, brothers, relatives, couples, etc ...

    By downloading this file, you accept the following terms:
    It is not allowed to remove my written signature within the script.
    You are not allowed to sell, resell or earn any kind of money or incentives to use my work.
    You are not allowed to claim my work as yours.
    The terms mentioned above may change without prior notice.



  17. Free

    Lucky Roulette Prize Changer

    I'm not that good at scripting but I want to help the community by making this Lucky Roulette Prize Changer so you won't need to go to your sql just to update the prize.
    To display the guide, you need to upload the rouletteGuide.bmp in your GRF. ( The file is included in the download. )
    Reminder : Lucky Roulette's Prizes will only refresh when the server restarts but the list is updated instantly.



  18. Free

    sader's Vote Manager (support Gepard or IP)

    //===== rAthena Script ======================================= //= saders Vote Manager //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //https://github.com/sader1992/sader_scripts //===== Description: ========================================= //==== GEPARD OR IP (NOT BOTH!) [SEE THE LINES UNDER THE NPC NAME TO ENABLE ONE AND DISABLE ANOTHER!] //==== vote npc , you can add up to 5 options for each vote and you can add multiple votes //==== test it before using it so you know how it work //==== if you use 'false' as an option the option would be empty so you can use less than 5 options //==== [email protected] //============================================================ //==== I DON'T SUPPORT FREE SCRIPTS ON MY PM , IF YOU HAVE QUESTION YOU CAN POST AT THE TOPIC IN RATHENA! //============================================================  



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



  20. Free

    Utility: Job Master Episode 10.4 with Rebirth Item Requirement

    Jobmaster Episode 10.4 Build without Taekwon,Ninja,and Gunslinger
    Needed Heroic Stone to Rebirth like official (IDRO)
    Credit to : Euphy, Mazvi, Braniff, and Jey for who want make this script until Now work in rAthena ?



  21. Free

    Sader's MvP Rank

    this script need
    or above to work
    this rank system work on the mvp drop log
    if the log not enabled the npc wont work
    the rank update every hour
    you can use @rankupdate to update the rank



  22. Free


    This well-endowed sage will give your players the selected elemental endows, the same as the sage Endow skills. You may configure the price or whether players are required to have the corresponding elemental stones. The NPC is intended for low-rate servers, where not everyone has access to an endow slave on an alternate account. He will also sell elemental converters at the configured prices.
    Default settings will require players to have corresponding elemental stone, and will cost 20k zeny. Endows will last for 30 minutes on the default configuration. Elemental converters are sold for 10k (discount enabled).
    V1.0 - Released - 5-Jul-2018



  23. Free

    NPC Exchanger Voteforpoint FluxCP to Cash Point

    This is a NPC script for FluxCP Vote points in order for the
    players to exchange them for Cash Points ingame.
    Credits to JayPee



  24. Free

    Exchange NPC Script for FluxCP

    This is a NPC script for FluxCP Credits and Vote points in order for the
    players to exchange them for Cash Points ingame.
    Credits to JayPee Mateo
    But this script was completely changed so that no lines were used from the original
    Make sure to replace "ragnarok_db" with your database name on line 19 and 20



  25. 3.00 USD

    Calendar System

    Every day is a random bonus. A total of 16 days. There is a picture for each day.
    There is an opportunity to display information about the day on the site, as well as change the day through NPC in the game.

    2 purchases   7 downloads


  • Create New...