Jump to content

Source Modifications

Source Mods & Code Snippets located here.

146 files

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

  2. Free

    BG Eamod

    Hi,
    I'm not the autor, I just made the code compatible with rathena. All the credits go to the guy that developed Eamod, whoever Zephyrus is.
    I found this (original file): https://code.google.com/p/eamod-retail/source/browse/trunk/eAmod-A/Diffs/battleground/eAthena.patch
    And I was informed that the same file can be dowloaded from: http://eamod.wordpress.com/
    The BG NPCs are in: https://code.google.com/p/eamod-retail/source/browse/#svn%2Ftrunk%2FeAmod-A%2FDiffs%2Fbattleground%2Fnpc%2Fbattleground
    Compare with rathena NPCs and modify acoording you need.
    I Just made it compatible and compilable, please inform any bug you find.
    Have fun.
    Note: compatible with 20ff69e

    1165 downloads

    Updated

  3. Free

    Block items from @item

    A mod to prevent some items from being get on @item, good for full pvp servers.
    You can add the item, and the min gm level to bypass
    Instructions:
    1 - Add the item_block_atcmd.txt to the db/ folder
    2 - Apply the diffs.
    How to use:
    Just add line by line each item to be blocked.
    Item_Id, Min_gmlv_to_bypass

    425 downloads

    Updated

  4. More information about "bonus bXDefReturn"

    Free

    bonus bXDefReturn

    bonus bXDefReturn
    Add resistances against return damages.
    ::Structure::
    bonus bPhysicalDefReturn,n;          +n% damage reduction against physical reflect attack
    bonus bMagicalDefReturn,n;          +n% damage reduction against magical reflect attack
    ::Video::
     
     

    206 downloads

    Updated

  5. More information about "Broadcast commands with global sound effect"

    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

    539 downloads

    Updated

  6. More information about "Cart Config [Client 2015-08-26 or newer]"

    Free

    Cart Config [Client 2015-08-26 or newer]

    INFORMATION: The main target for usage only for server that use kRO client Client 2015-08-26 or newer or some functions (especially the cart selection) will be fail
    This mod in few words,
    You can set Genetic's cart sprite for level 1 Merchant, change its max weight and max item numbers
    rAthena Requirement: Git Hash: 2e15fae7 (2018-05-05)
    You can config cart related values for
    Weight limit Max item numbers Level requirement Job requirement But, because the client is not customizable (I meant I can't edit the client), there are things that cannot be changed related with client/PACKETVER.
    So, because I modified the MC_CHANGECART to MC_CARTDECORATE (sending ZC_SELECTCART)
    PACKETVER MAX_CARTS ZC_SELECTCART Weight Limit Max Items Level Req Job Req 20150826 + 12 YES YES YES YES YES 20120201 + 9 not supported YES YES useless useless Older 5 not supported YES YES useless useless  
    Don't forget to add MC_CARTDECORATE as quest skill to preferred player.
    Forgot to took SS, so just watch the Video
     
    Ok, that's all. Any bug & suggestion please tell me. If you find a way or know how to make patch (hex the client) to add more carts, please tell the community
     

    580 downloads

    Updated

  7. Free

    cell_pvp

    Hi,
    With this you can set a cell as a pvp zone, therefore a zone in a map that is pvp and the rest it is not.
    I'm not the outor. I just think that this is cool So I made compatible with the last version of the emulator.
    More informatino here: http://rathena.org/board/topic/97799-cell-nopvp-cell-pvp/
    and here: http://hercules.ws/board/topic/4589-pk-area/?p=29693
    You need the folowing "npcs":
    - script CELLPVP -1,{OnInit: setcell "morocc",143,113,157,103,cell_pvp,1; end; }- script deathmatch_core -1,{ callfunc("pvp_scstart"); end;}function script pvp_scstart { sc_start SC_INC_AGI,120000,5; sc_start SC_BLESSING,120000,5; sc_start SC_MAGNIFICAT,120000,3;}

    521 downloads

    Submitted

  8. More information about "Charm item (New Code Source)"

    Free

    Charm item (New Code Source)

    I took a modified version of the original and fixed it for the current version of rathena 2020+, I saw that there were a lot of people asking for it, so I decided to post my diff, the project is not mine nor the code, I just fixed it for the new emulator.

    1025 downloads

    Submitted

  9. Free

    Command MesClose

    Command used in the scripts of NPCs whose ultimate goal is to unite the two commands,Mes and Close, an example down:

    prontera,150,150,5<TAB>script<TAB>Testing Command<TAB>748,{ mes "[Testing Command]"; mesclose "Testing command MesClose"; }
    This command will open a window of speech and the Close button appears immediately.

    79 downloads

    Submitted

  10. More information about "costume enchant"

    Free

    costume enchant

    it enchant every slot in your costume
    selectable slot to enchant and reset
    consume 10 silvervine fruit.
    feel free to modify as you like
    //= 1st slot ( class stone lv1) ==============================
    //= 2nd slot ( class stone lv2) ==============================
    //= 3rd slot ( costume stone ) ===============================
    //= 4th slot ( effect stone ) ================================

    683 downloads

    Submitted

  11. Free

    Costumes Refiner & Card Support

    Adds support to costume refiner and cards. You can now refine(NPC Item refiner) your costume and add/remove(NPC Card Remover) cards. And you can also use the @refine command.
    Thread: http://rathena.org/b...r-card-support/
    [xRaisen]

    439 downloads

    Updated

  12. Free

    Display Battle Ground information (@bginfo), Display the BG settings you made for your server!

    Atcommand @bginfo displays the flee penalty, long, short, weapon, and magic rates all in one command.

    232 downloads

    Submitted

  13. Free

    Drop Rate Seprator

    Firstly ,
    This mod is totally based on xantara's patch.
    I HAVE NO CREADITS AT ALL FOR THIS.
    I JUST USED MY BRAIN A LITTLE AND DID IT.
    everyone having even little knowledge of src can do it.
    just uploading it for other who are unknown to src can actually get a proper Droprate correction.
    This file would seprate boss/miniboss equip and card droprate from normal monsters, so that you can set min/max values with
    exact parameters.
    THIS FILE IS TESTED. so if anything goes wrong , its your fault.
    BACKUP BEFORE YOU APPLY!!
    again...ALL CREDITS TO XANTARA.
    LICENSED UNDER a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    Do not mirror without XANTARA's consent.
    ORIGNAL TOPIC :http://rathena.org/board/files/file/2241-config-minmax-boss-equip-drop-rates/
    P.S just do it mannaully ,auto-patch might not work.

    203 downloads

    Submitted

  14. More information about "DuplicateCreate and DuplicateRemove command"

    Free

    DuplicateCreate and DuplicateRemove command

    Apply the patch manually
    These commands allow you to create duplicates at run time.

    duplicatecreate("sourcename", "targetnameshown", "targetnamehidden", "targetmap", targetx, targety, targetdir{, targetspriteid{, targetxs, targetys}});
    duplicateremove("npcname");

    258 downloads

    Updated

  15. More information about "Event Consumables (a Telma patch update)"

    Free

    Event Consumables (a Telma patch update)

    So, I decided to update this patch :
     
    However, I didnt realize that this is already available just right after I finished updating it from this :
     
    But... I gonna release this anyways... But made some modifications...
    So, what I did was I made my own consumable named 'Event'. These consumables can only be used on maps with "event_consume" mapflags.
    This patch is NOT to be diffed if you have Extended BG Pre-installed or If you are planning to install it in the future ESPECIALLY IF YOU DON'T KNOW A SINGLE THING ON SRC. This is likely for Servers who dont/wont have the Extended BG but wants to have this feature. Unless you know what you're doing. You can actually add this to Extended BG by Easycore. I intentionally coded it similarly and avoided conflicts to it for people who wants to add this but have Extended BG installed in their servers.
    Enjoy! I hope this will be to any use of any of you.
    Compatibility is your responsibility.
    No backward compatibility support.

    172 downloads

    Updated

  16. More information about "Extended Vending 2.0"

    Free

    Extended Vending 2.0

    Extended Vending 2.0

    Made in Git Hash: '042b88623bf549b88ba619991aaa186d45f7f998'
    Description
    Yet another version of Extended Vending, this one works in actual rA c++.
    It has a few fixes, including vending tax only working with Zeny as currency.
    What is new?
    I tried to improve this amazing mod adding a new feature: Vending Report (Mailbox).
    Basically... whenever you buy items to a vendor, he receive a report that who bough,what items, how many and total profit of them.

    You can disable this feature through conf/feature, or If you want to disable it for a specific player you must set the permanent variable called NOVREPORT (by a NPC/Bindatcmd/Idk)
    For < 2015-05-13 Clients
    Since old mailbox has 300 characters less than RoDex, I decided to take off items name and amount.
    So only will send 'who bought' and 'total profit'.
     
     
    Feel free to Donate If you want to support me.

    4645 downloads

    Updated

  17. More information about "Extra Mapflags [nofalcon, noriding, nomadogear, nowug, nocart]"

    Free

    Extra Mapflags [nofalcon, noriding, nomadogear, nowug, nocart]

    They are simple mapflags but I believe they can be very useful in general.
    Note: noriding affects pecopeco, dragon, gryphon.
    prontera mapflag nofalcon prontera mapflag noriding prontera mapflag nomadogear prontera mapflag nocart prontera mapflag nowug  

    102 downloads

    Submitted

  18. More information about "Fake Icon Stats"

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

    4635 downloads

    Submitted

  19. More information about "Fix to auto-close on wrong password/id for new clients"

    Free

    Fix to auto-close on wrong password/id for new clients

    Well, the code is kinda simple and since most people don't know about it yet, I'm releasing a diff for those who want it, it is just a piece of code copied from char.c and pasted into login.c to make the client send "rejected from the server" on wrong password, so it will not close anymore, and you can edit your msgstringtable.txt to show "wrong password/rejected from the server", hope you enjoy.

    608 downloads

    Updated

  20. Free

    Fixed Cast and Delay Adjustment Mapflag

    This mapflag modification allows you to set a mapflag to reduce fixed cast time and delay by a percentage placed after the mapflag. I made this for a server I ran for awhile and used it specifically to reduce cast time and delay on standard (Non PvP or GvG) maps. It gives the game a quicker pace, without forcing you to modify a set config that changes the whole server. It's great for events, PvP, PvM... just about anything you can think of since you can modify this to your heart's content between maps.

    Example:prontera mapflag pvmcast 50 // Any player who goes to map 'prontera' has a 50% reduction in fixed cast time and delay
    This modification is dynamic, so you should be able to go between any map and have the correct reduction applied when necessary. Please test before releasing in a production server as I have ported it with a few different features in the latest GIT compared to what I use to have it set as.
    Also note the modification only adjusts fixed cast delay, it does not change variable cast time. This means it will only work in RENEWAL as well. Also, feel free to modify and re-release if you add some extra functionality to it.

    179 downloads

    Submitted

  21. More information about "Forcibly Strip"

    Free

    Forcibly Strip

    Info : http://goo.gl/RXACXL
    Preview :

    ----------------------------------------------------------------------
    Transform request (hercules --> rA) by Adam

    426 downloads

    Submitted

  22. More information about "Free cash/Kafra points item binding"

    Free

    Free cash/Kafra points item binding

    Information
    This source mod makes everything bought with Kafra Points (Free Cash) becomes bound to the character.
     
    Use Case
    Give #KAFRAPOINTS instead of #CASHPOINTS in events to utilize this source mod to prevent distribution of the reward.
     
    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. Terms above may be changed or adjusted without prior notification. Copyright © - Secrets 2017 - All Rights Reserved

    225 downloads

    Updated

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...