Jump to content

Source Modifications

Source Mods & Code Snippets located here.

146 files

  1. More information about "Sader Attendance Requirement"

    Free

    Sader Attendance Requirement

    this patch make the player must have a variable true to claim his attendance reward
     
    the variable is
    #Attendance_YYYYMMDD ofc the variable change each day
    this will allow you to create a script to make for example a quest that the player must do every day to claim the attendance
    like for example the player must kill 500 monster before he can claim his attendance
    or must gather items
    or must be x level
    or must player x amount of time in the day so he can claim the reward
    of all the above
    the file include an information script file
    that have 2 function , one to set the variable and one to get the variable value (if you want to use them , just add them to your rathena/npc/other/Global_Functions.txt)
    it also include 2 example quests for you to get some inspiration to create your own script
     
     
    TODO: create function for gepard
     

    654 downloads

    Submitted

  2. Free

    @seeghp

    First Version by: Rad
    Updated Version by: Cainho
    Description: With this command you can view the HP of the players of the clan to which you belong.
    Current Version: 1.1

    Command: @seeghp

    426 downloads

    Submitted

  3. More information about "Race AntiSkill"

    Free

    Race AntiSkill

    ======== Compatible ==========
    Compatible With rAthena, other emulator just PM me
    I made this code in purpose to event
    ======== How To Use ==========
    example:
    1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,..;
    change to
    1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,13,21,0x83,...;
    And your poring will immune again Skill (offensives).
    Note:
    3 = Race Plant
    13 = Race Anti Skill
    ======== Suggestion ==========
    Suggestions are welcome.

    252 downloads

    Updated

  4. Free

    @dropall Modification & @dropalltab

    Information
    The modification on @dropall allows the user to specify what item type should be dropped. It still retains the ability to drop all items at once.
    The new atcommand, @dropalltab, allows the user to drop all items in a specific inventory tab. The user may choose to drop all items in all tabs (similar to the default behavior of @dropall).
    Tested on rAthena revision 16738.
    Syntax

    @dropall {item type}

    @dropalltab {tab number}
    Documentation
    Credits
    Created by @Xantara
    Requested by @Peopleperson49

    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    Like my work?
    Rate/vote this download
    Rep up my support topic post


    Do not mirror without my consent.

    112 downloads

    Updated

  5. Free

    [rAthena] & [eAthena] cell_noskill.patch

    This mod won't allow you to cast any skills on the selected cells.
    This mod helps alot if you have pvp maps like UFC Arena and other PvP Colosseum.
    Tested/Compatible with rAthena SVN r17325 and eAthena SVN.
    Sample Script:
    - script Function#noskill -1,{OnWhisperGlobal:OnInit: setcell "prontera",147,174,164,162,cell_noskill,1; end;}

    385 downloads

    Submitted

  6. More information about "@whosell with item link"

    Free

    @whosell with item link

    Since the new updates no longer include the command, its a modification of the old code created by zephyrus_cr, with the addition of the specific item link.

    475 downloads

    Updated

  7. More information about "Keitenai Resistance Capping"

    Free

    Keitenai Resistance Capping

    File Name: Keitenai_Delay_System
    File Submitter: keitenai
    File Submitted: 27 Nov 2017
    File Category: Src Modification
    Content Author: keitenai
    Information:
          Resistance capping applies to item effects which have "bSubEle, bSubSize, bSubRace2, bSubRace, bSubClass, bNearAtkDef, and bLongAtkDef".
          This modification can be set to less than 100 resistance cap to avoid too resistance heal, or set over 100 upto max of 200 if the dev would like to enable resistance heal.
    Features:
    Configurable Maximum resistance capping. Resistance capping can be applied to different resistance bonus types with different values. Resistance capping is applied to all items with resistance bonus scripts. By buying this scr modification code, you agree to these terms:
    You are not allowed to redistribute this src code modification in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I @Keitenai still retain all rights to this src modification. Terms above may be changed or adjusted without prior notification.  

    405 downloads

    Updated

  8. More information about "@petstats command"

    Free

    @petstats command

    this command will show you the pet stats
    see the screenshot for more info

    you can add it inside /rAthena/src/map/atcommand.cpp or if you use old rathena add it at /rAthena/src/map/atcommand.c file
    add it like you add any new atcommand
    and recompile
     

    446 downloads

    Updated

  9. More information about "Account bound achievement"

    Free

    Account bound achievement

    This patch has been made for the June 2018 version of rAthena. It doesn't work with the latest version of rAthena. I do not provide support anymore for it.
    This patch allows you to create account OR character bound achievement instead of only character bound achievement.
    - Rewards are available once per account for account bound achievement
    - All characters and newly created characters on the account will get the unlocked titles from account bound achievement
    I provide you the patch and a README.txt which explains you how to use it. You also need to add a column in the achievement table. I provide you the SQL commands as well.
    BEFORE to apply any patch, make a save of the current state of your server.
    If you have issue applying this patch, I will provide support for free for you to have it working and if your emulator is not too old to handle this (have at least the classic achievement working).
    Exemple of yml achievement account bound (the one in the screen):
      - ID: 200000
        Bound: "Account"
        Group: "AG_GOAL_LEVEL"
        Name: "Acquire the first aura!!!!"
        Condition: " BaseLevel >= 99 "
        Reward:
          ItemID: 12549
          Script: " specialeffect2 EF_BLESSING; sc_start SC_BLESSING,30000,10; "
          TitleID: 1000
        Score: 50
    By buying this patch, 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.
    - Terms above may be changed or adjusted without prior notification.

    283 downloads

    Updated

  10. Free

    [Config] Min/Max Boss Equip Drop Rates

    Information
    Separates the item_drop_equip min and max configurations for normal and boss mobs in conf/battle/drops.conf
    Ie. New config settings: item_drop_equip_min and item_drop_equip_max
    Documentation
    Credits
    Created by Xantara
    Requested by GoldGloryRO

    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    Do not mirror without my consent.

    283 downloads

    Submitted

  11. More information about "MvP's Tombs with top 3 damage players"

    Free

    MvP's Tombs with top 3 damage players

    The mvps tombs include the top 3 players with damage.
    tomb_damage.diff

    470 downloads

    Submitted

  12. More information about "[Atcommand] displaydrop"

    Free

    [Atcommand] displaydrop

    Introduction

    On a server where I play someone suggested to add the command "displaydrop" to enable people to see something rare or valuable was dropped by a monster because autoloot is only available until a certain level.
    I had some free time on my hands so I decided to implement something like that.


    Features

    You can limit the command like autoloot (e.g. @displaydrop 10 will only show items with a chance equal to or below 10%) Two different ways of server side configuration are available:Show real drop (<Monster> dropped <Item> (<Amount>.) Show only an unspecific message that a monster dropped something (<Monster> dropped something with a chance equal to or below <Chance>%.)





    Bugs, feedback, etc.
    If you have found a bug or want to give feedback about my modification you can either send me a private message or post in the related thread.

    221 downloads

    Submitted

  13. Free

    Bg consume

    Recode of Brian's Item consumption mapflag.
    It allows to use BG consumables only in Battleground under bg_consume mapflag.
    More information here:
    http://rathena.org/board/topic/97556-bg-consume-items-tlema-comes-to-rathena/
    Compatible with: 20ff69e

    412 downloads

    Updated

  14. More information about "[Script Command] viewcondition"

    Free

    [Script Command] viewcondition

    This mod allows you to set some conditions to a player can see or interact with a NPC.

    Command:
    viewcondition( npc_name, int_variable_name, compare_method, value_1, { value_2 } );

    Compara Methods Avaiable:
    EVC_LESS - If player variable is < value_1
    EVC_EQUALS - if player variable is == value_1
    EVC_MORE - if player variable is  > value_1
    EVC_BETWEEN - if player variable is  >= value_1 and <= value_2
    EVC_DIFFERENT - if player variable is != value_1

    You can apply more than one condition to a npc, but if one condition fail, the npc will not be seeing by the player.

    Script Sample:

     
    new_1,55,111,5 Script Lupina#1 10078,{ mes "You can see and talk with me because your @teste variable is less than one!"; next; mes "Now, I will set @teste to 2 and you will no longe see me when goes outsight me or if use @refesh!"; close2; @teste = 2; end; OnInit: viewcondition( strnpcinfo(0), "@teste", EVC_LESS, 1 ); end; }  

    158 downloads

    Updated

  15. More information about "PVP on MVP Maps"

    Free

    PVP on MVP Maps

    When a MVP Spawns PVP is enabled, When this MVP dies PVP is disabled.
    New Mapflag MF_MAPMVP - Disable going to savepoint once you die 2 times in a PVP map.

    596 downloads

    Submitted

  16. More information about "Guild Activity Logging"

    Free

    Guild Activity Logging

    About This File
    Tested and working with: c212b2ed053d60855ce584a0368d98cff94c5059
    This source edit is intended for my experiments. Feel free to have fun with it but I wouldn't be held accountable for damages that it may create for your server.
    No support will be given other than the specified rAthena version above.
    Purpose
    To improve the Guild Activity Logging of rAthena. 
    It works for the following Guild Logging activities:
    1. Guild Creation
    2. Guild Breakage
    3. Guild Member Addition
    4. Guild Member Removal/Leave
    5. Guild Alliance Formation
    6. Guild Alliance Breakage
    7. Guild Antagonist Formation
    8. Guild Antagonist Breakage
    9. Guild Castle Occupancy
    10. Guild Castle Abandonment
    Usage
    1. Tracking guild activities of a character
    SELECT origin, target, `activity`, COUNT(`activity`) as "Times Done" FROM interlog WHERE origin = "this" or target = "this" GROUP BY `activity`   2. Tracking a guild's WoE Castle occupancy rate SELECT castle_id, COUNT(`activity`) as "Times Done" FROM interlog WHERE `origin` = "ThisGuild" and `activity` like "%Occupied%" GROUP BY castle_id  

    111 downloads

    Updated

  17. More information about "[Mapflag] Mobitemadder"

    Free

    [Mapflag] Mobitemadder

    This mapflag sets more drops for monsters at the map that it's been attached.
    Sintax:

    mapname<TAB>mapflag<TAB>mobitemadder<TAB>mob_id,item_id,drop_per{,item_id,drop_per(...)}
    You can set up to ~50 more items for mobs.
    "drop_per" is the chance of drop, from 1 (0,01%) to 10000 (100%).
    There's an example at the screenshot, I setted a Yggdrasil Berry with 100% of chance for the Poring at prt_fild08 map.
    You can set a lot of mobs, but you have to set more mapflags for your maps.

    372 downloads

    Updated

  18. Free

    @storeit - Store all Non-Equipped Items

    This is a simple command I've had laying around for a long time, so I figured I'd package it up and send it out. Like the title states, this is like @storeall, except it will ignore equipped items. Meant for the adventurer on the go who needs a quick inventory cleanup when farming. To add it, simple place the files in the src/custom folder If you already use these files, then just copy in the code from these ones into your already populated files. Then do a clean make.

    724 downloads

    Updated

  19. More information about "@market clone update patch"

    Free

    @market clone update patch

    This is my updated @market clone as per this topic:
    Im currently using a sever file from December 2019. But I dont think it would not work on latest server files.
    Enjoy

    509 downloads

    Submitted

  20. Free

    Freezemap Script Command

    Information
    This script command will apply a percent chance of freeze the players in the map (no matter what stats or equipment they have) for a duration.
    Syntax

    freezemap "<map name>",<chance>,<tick>;
    Documentation
    Mirror
    [Xantara]_scriptcmd_freezemap.patch
    Credits
    Created by @Xantara
    Requested by @ngek202

    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    Do not mirror without my consent.

    128 downloads

    Submitted

  21. More information about "[Skill] Call for help"

    Free

    [Skill] Call for help

    Guild leader can call all guardian to his here to protect him.
    Preview : http://www.youtube.com/watch?v=mJEXVZlrcSI?hd=1
    .
    skill_db set :

    997,0,6,4,0,0x3,-1,5,1,yes,0,0,0,magic,0, GODD_CALLFORHELP,Call for help
    skill_require_db set :

    997,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    skill_cast_db set :

    997,0,0,0,0,0,300000,0
    Add new skill (Clinet) :
    http://rathena.org/w...ls#XRay_support
    http://rathena.org/w...on-Xray_Support

    162 downloads

    Submitted

  22. More information about "Glicko-2 rating system - Now on rAthena"

    Free

    Glicko-2 rating system - Now on rAthena

    This source edit provides two script commands for you to get and sets rating of a player, and adjust them relative to another player after two of them battled.
    This implementation uses Glicko-2 rating system, an improvement of Elo system.
    If you still have no idea what you could do with this, this source mod is not for you.
    You can also get the code on GitHub.
    Licenses:
    The rAthena implementation of Glicko2 itself fell under the GNU GPLv3 license that rAthena uses.
    Glicko2 library by Taylor Petrick:
    tldr of the license here.

    267 downloads

    Updated

  23. Free

    @novendingboards / @novenders

    Request: @nndsl
    Post: http://rathena.org/board/topic/80231-notrade/#entry187456
    See on YouTube:
    @novendingboards
    http://www.youtube.com/watch?v=sHIT1pRSQZU&feature=youtu.be
    @novenders
    http://www.youtube.com/watch?v=1UajUvlzAAc&feature=youtu.be
    Enjoy

    280 downloads

    Updated

  24. More information about "@ignorebattle"

    Free

    @ignorebattle

    When Someone use this command, all player in that map will not be attacked by mobs

    116 downloads

    Submitted

  25. Free

    No-Drop +7 or higher items

    A small request I responded to from the eAthena forums ages ago, it's very simple and even though the last time it was tested was on eAthena r14410, there shouldn't be any problems.
    I used msg slot "520" but again this can be changed, as well as the refine rate of dropping too. Someone with no src knowledge can easily configure it. Enjoy.

    409 downloads

    Submitted

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...