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

197 files

  1. Free

    Nasagnilac Reset NPC

    A reset npc where similar to official reset npc with some customize feature like monthly free reset and event reset with schedule. The file include sql table so make sure that you add it. If there is a problem or request for the script you can contact me on the following:
    Skype: nasagnilac.leiron
    Facebook: nl073092

    105 downloads

    Updated

  2. Free

    Function Script - skillid2name

    I found that our emulator is missing an option to convert skill ids into their named forms so I made this with various macros.
    Usage: skillid2name(<skillid>)

    102 downloads

    Submitted

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

    94 downloads

    Submitted

  4. Free

    Ancilla

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

    82 downloads

    Submitted

  5. Free

    Area Whisper System

    Script Header:

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

    75 downloads

    Submitted

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

    72 downloads

    Updated

  7. Free

    At_var

    This basically is a script wich allows an admin to use 2 commands:
    -'@var <variable> {<player/npc>}' :
    gives you the value of the variable
    -'@setvar <variable> <value> {<player/npc>}':
    Sets the variable to value
    The script will check wether you want to set an integer or string variable and acts accrodingly so no need to bother for this.
    If you don't enter enough parameters you will be informed on how the commands works so basically you can just type '@var' and '@setvar' in game to see how it works.
    I made this to help me finding out where my errors were in some scripts and also to directly go at a certain point of a quest.
    I found that pretty useful so I guess you may think it's useful too ^^
    Wanted to say "Have fun!" but this script won't give you much fun so just hope that'll help

    57 downloads

    Updated

  8. Free

    F_Randomizer randomize and split array into arrays

    this function can be used to randomize and split thr first array passed in to it to the other arrays
    Warning! the main array size must be divided by the count of the other arrays
    for example , you have .@main size 4, you should not send 3 arrays cuz 4/3 = 1 and 1 left , it will fail!
    the example npc from the photo is included in the file
    also here it is
    - script Randomizer_test -1,{ OnInit: debugmes "================================================"; setarray .@main,1,2,3,4,5,6,7,8,9,10,11,12; for(.@i=0;.@i<getarraysize(.@main);.@i++){ debugmes "" + .@main[.@i]; } debugmes "================================================"; debugmes "Split and randomize the elements of .@main into .@a .@b .@c .@d .@e .@f .@g arrays"; debugmes "================================================"; F_Randomizer(.@main,.@a,.@b,.@c,.@e,.@f,.@g); for(.@i=0;.@i<getarraysize(.@a);.@i++){ debugmes ".@a " + .@a[.@i]; } for(.@i=0;.@i<getarraysize(.@b);.@i++){ debugmes ".@b " + .@b[.@i]; } for(.@i=0;.@i<getarraysize(.@c);.@i++){ debugmes ".@c " + .@c[.@i]; } for(.@i=0;.@i<getarraysize(.@e);.@i++){ debugmes ".@e " + .@e[.@i]; } for(.@i=0;.@i<getarraysize(.@f);.@i++){ debugmes ".@f " + .@f[.@i]; } for(.@i=0;.@i<getarraysize(.@g);.@i++){ debugmes ".@g " + .@g[.@i]; } debugmes "=================================================================================="; end; }  
    the best place to put the function in is at the end of rathena/npc/other/Global_Functions.txt file

    54 downloads

    Submitted


×
×
  • Create New...