Jump to content

Source Modifications

Source Mods & Code Snippets located here.

135 files

  1. Free

    Reflect "Reflection damage"

    preview : http://bit.ly/169dTxy
    -
    When you attack someone and he give you damage cause reflection,
    you will also give him a reflection damage if you're wearing some equip which will do this

    213 downloads

    Submitted

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

    251 downloads

    Updated

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

    110 downloads

    Updated

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

    275 downloads

    Submitted

  5. Free

    Hotkey Scripts

    New Script Commands
    gethotkeys({<char_id>}); updatehotkey(<type>,<id>,<lv>,<pos>{,<flag>,<char_id>}); clearhotkeys({<char_id>}); These are just simple commands, that gets, sets, and clears your hotkeys(skill bar).
    Usage Sample: hotkey_sample.txt

    258 downloads

    Updated

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

    218 downloads

    Submitted

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

    364 downloads

    Submitted

  8. 10.00 USD

    Different Item Requirement for Skill in PVP/GVG Maps

    IMPORTANT: I will announce you that there is no support advantage, no more compability updates for this file on this rAthena store. Since my account credits is stuck since June 2019. Thank you for your patronage.
     
    As the title says, in case you want to change (an example) Acid Bottle to Sate (eng. Satay) for skill requirements (Acid Terror) at PVP Maps, then replace Coating Bottle to Coconut at GVG Maps for skill requirements (Full Chemical Protection), you can use this.
    Compatibility:
    The diff was made for rAthena Git Hash: 129812d6 / 2018-10-05 Or at least when rAthena supports .yml For other version or emulator: you need to contact me first before download this file, so I can make it work for your need. By downloading/buying this source, you are agree to
    "I will only use this source modification for my own private server not as group, not as company, not as group of servers and never redistribute to other people even they are my close friends or my parent. If I get trouble to apply this modification or  when I need someone to update, I will only contact Cydh. And I agree to get extra fee if want this modification for other emulator than rAthena or if I want to some big changes for this modification. I promise." Video:
    https://youtu.be/JblOj1RUkQI

    14 purchases   49 downloads

    Updated

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

    590 downloads

    Submitted

  10. Free

    OnPCLootEvent

    New NPC Label
    OnPCLootEvent: This label triggers when a player picks up an item from the ground in a map marked with the 'lootevent' mapflag. This works with @autoloot and @alootid, this does not work for items given by script. When in a party with shared loot, only the player who looted the item from the ground will trigger this label. The information of the item picked up will be stored in an array called '@looted_data', check the script_commands.txt for the order of the data stored.
    Usage Sample: lootevent_sample.txt

    338 downloads

    Updated

  11. Free

    Refine UI [ Announce ]

    if player upgrade item success [ refine ui ] The system will announce the message.

    can be configured in the file conf/battle/athenastudio.conf

    553 downloads

    Updated

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

    366 downloads

    Updated

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

    417 downloads

    Updated

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

    233 downloads

    Updated

  15. Free

    Fake Icon Stats

    This commands allow you to add fake icon stats. Right now the command does not clean the effect automatically after the time, cause who order this command want to be like this, so you can add sleep and remove the icon.

    Sample Script:
     
    prontera,150,150,5    Script    FakeIcon    90,{
        mes "[Fake Icon Stats]";
        mes "Hey.";
        switch(select("Receive Fake Icon 1 with 5 seconds (display only)","Receive Icon 2 for 10 seconds (display only)","Disable Icon 1 and 2"))
        {
            case 1:
                fakeIcon(getcharid(0),1,5000,1);
                break;
                
            case 2:
                fakeIcon(getcharid(0),2,10000,1);
                break;
                
            case 3:
                fakeIcon(getcharid(0),1,0,0);
                fakeIcon(getcharid(0),2,0,0);
                break;
        }
        close;
    }

    4495 downloads

    Submitted

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

    392 downloads

    Updated

  17. Free

    OnPCAttackEvent

    This event triggers when a player character attacks another entity. And it registers the damage and other information about the attack.
    Example usage:
    // @damage holds the amount of damage dealt. // @damagegid holds the GID of the target (account ID if the target is a player). // @damagerid holds the rid of the mob OnPCAttackEvent: dispbottom "You've dealt "+@damage+" to target with GID "+@damagegid+" and RID "+@damagerid;  

    392 downloads

    Updated

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

    107 downloads

    Updated

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

    125 downloads

    Submitted

  20. Free

    Broadcast commands with global sound effect

    This is a very simple and little source mod, it consists on the ability to send a sound effect to every player on the server every time you use @brodcast or @localbroadcast or @kami or @kamic or /b
    ? Attention ?
    If you have the Fixed some packets for 2022 clients (#7276) commit on your rAthena, then use broadcastWithSoundEffectLatestRathena.diff, otherwise use the broadcastWithSoundEffectOldRathena.diff 
    Apply the diff and put the .wav file on your data folder/grf
    Command to diff on terminal: git apply --3way broadcastWithSoundEffectLatestRathena.diff
     
    Preview Video: https://cdn.lewd.host/yIVy2fAF.mp4

    444 downloads

    Updated

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

    276 downloads

    Updated

  22. 60.00 USD

    Ganbantein and Land Protector Old Behavior

    Sample Video:
    https://drive.google.com/file/d/1vsVErqmxK-JADKQbMwbTgM_8Vv49LgIa/view?usp=sharing
    Kindly message me if you want to buy this.

    Report all error/bugs in the forum post not in the PM for faster fix, Thanks!

    By downloading this file, you agree with my Terms of Service:
    • You are not allowed remove my signature from any of the included files.
    • You are not allowed claim my work as yours.
    • I can give you support, but please, do not message me.

    17 purchases   45 downloads

    Updated

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

    462 downloads

    Submitted

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

    634 downloads

    Updated

  25. 3.50 USD

    Item Use, Drop & Pickup Events

    A handy extra set of script events and variables for you to maximise your event and quest scripts!
    New Variables: DroppedItemID, DroppedItemQTY, UsedItemID, PickedItemID
    New Scripted Event Triggers: OnItemDropEvent, OnItemUseEvent, OnItemPickupEvent
    Includes 3 Test NPC scripts e.g.
    - script onusetest -1,{ end; OnItemUseEvent: dispbottom "Found item use event"; dispbottom "Using on "+ UsedItemID; switch(UsedItemID){ case 501: dispbottom "You used a Red Potion!"; break; } end; } As an example use-case, I've previously used this code in an Easter event script where each time you pickup any 1 of the 13 different eggs, specific code will run for effects, item swapping, costume changes, play sounds, etc. The possibilities are enormous!

    18 purchases   45 downloads

    Submitted


×
×
  • Create New...