Jump to content

Source Modifications

Source Mods & Code Snippets located here.

135 files

  1. Free

    Normal + VIP Storage

    Enable Account with GM Level 20 and above ( default ) to have extra slot for Storage.
    the GM Level are configurable in the diff..
    Original Post Link
    http://www.eathena.w...dpost&p=1496268
    made by AnnieRuru at eAthena

    566 downloads

    Updated

  2. Free

    [Mapflag] droprate

    Information
    This source modification allows certain maps that have the droprate mapflag attached to have a modified drop rate based on the state/flag given. It affects all mobs on that map, including MvP. However, items that are looted by mobs (eg. Poring) are not affected (they have to drop).
    The modified rate is applied after all the other rate modifiers (such as those in the conf/battle/exp.conf, monster size, etc.)
    This bypasses the min and max drops in the exp.conf file and the drop_rate0item configuration.
    Mapflags noloot, nomobloot, and nomvploot take precedence over the droprate mapflag.
    There is also a battle configuration that allows you to toggle the global droprate effect on and off.
    Great for event or special maps where you want the items to drop less or more frequently without having to duplicate the mob(s).
    Syntax
    Configuration
    Documentation
    Example Snippet

    // Mobs that are killed in Prontera have their drop rate halved // ie. Poring normally drops Empty Bottle at 100% (@mi). If spawned in Prontera, the drop would become 50% prontera mapflag droprate 50 // Mobs that are killed in Geffen have a 2x (+200%) the drop rate // ie. Fabre normally drops Clover at 10% (@mi). If spawned in Geffen, the drop of Fluff would become 20% geffen mapflag droprate 200
    Credits
    Created by Xantara

    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

    595 downloads

    Submitted

  3. Free

    [Release] Script Command *equip2

    Information
    This command will equip a specific item on the invoking character.
    It will only equip if the player is online and the item is in his/her inventory.
    It does not bypass the item properties such as equippable, player job class, and level requirements.
    Works best with the getitem2 script command.
    Syntax

    equip2 <item id>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};
    Documentation
    Example Snippet:

    // Receive a +2 Quadruple Lucky Sword (4 poring cards) getitem2 1101,1,1,2,0,4001,4001,4001,4001; // Equip the specific item on the character who has the account ID of 2000000 equip2 1101,2,0,4001,4001,4001,4001,2000000;
    Credits
    Created by Xantara
    Requested by kevinchen (here)

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

    168 downloads

    Updated

  4. Free

    [Package] @itemmap & getitem_map()

    Information
    This command will give a specific amount of specified items to all players on the map.
    I tried to make it a bit more challenging for myself so I have added the capability of giving the same party or guild members of that specific map as well.
    Makes it easier to script stuff such as events especially those including parties and guilds to participate.
    Atcommand version now available!
    Tested on rAthena Trunk 17062
    Syntax
    Script
    Atcommand
    Documentation
    Script
    Example:
    Script Command (also found in doc/sample/npc_getitem_map.txt)

    // Sample NPC to test the custom getitem_map script command // Script and command created by Xantara prontera,156,170,3 script getitem_map test 120,{ mes "input item id"; next; input .@id; mes "input item amount"; next; input .@amt; mes "input type:"; mes "0=everyone, 1=party, 2=guild 3=bg"; next; input .@t; //getitem_map .@id,.@amt,strcharinfo(3),.@t,((.@t==1) ? getcharid(1) : (.@t==2) ? getcharid(2) : getcharid(4)); switch(.@t) { case 1: set .@type_id, getcharid(1); break; case 2: set .@type_id, getcharid(2); break; case 3: set .@type_id, getcharid(4); break; } getitem_map .@id,.@amt,strcharinfo(3),.@t,.@type_id; mes "done"; close; }
    Atcommand

    // Everyone one the same map as the who called this command will get 1 Jellopy (ID#607) @itemmap 607 // Everyone one the same map as the who called this command will get 5 Jellopy (ID#607) @itemmap 607 5 // Players who are in the party "myParty" and on the same map as the who called this command will get 2 Yggdrasil Berry (ID#608) @itemmap1 608 2, myParty // Players who are in the guild "hisGuild" and on the same map as the who called this command will get 3 Jellopy @itemmap2 "jellopy" 3, hisGuild
    Credits
    Created by Xantara
    BG Support Suggestion/Idea by Silvester
    Atcommand Suggestion/Idea by Mysterious
    Mirror
    http://downloads.artistic-coder.com/download.php?file=package_getitem_map_v2.0.1_%5BXantara%5D.patch

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

    1388 downloads

    Updated

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

    401 downloads

    Submitted

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

    422 downloads

    Updated

  7. Free

    Main Chat Modification

    This modification will allow the user to set a main chat delay (in seconds) for flood protection and a main chat color (in hexadecimal color format).
    The user will apply the patch and re-compile. Then, in /rAthenaroot/conf/battle/client.conf refer to the main_chat_delay and main_chat_color sections.

    401 downloads

    Submitted

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

  9. Free

    @AutoAttack

    Idea : http://rathena.org/b...k-close-enemys/
    Preview :
    Use this command you can turn on or off auto-attack.
    It will auto-search 9x9 and attack the near one
    if there is no monster in area, you will auto-walk randomly.

    2345 downloads

    Updated

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

    417 downloads

    Updated

  11. Free

    Partyinvite Script Command

    Information
    This script command will will add the player attached to the party specified by the id.
    Syntax

    partyinvite(<party id>{,<type>});
    Documentation
    Mirror
    Credits
    Created by @Xantara
    Requested by @Tetsuken

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

    172 downloads

    Updated

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

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

    605 downloads

    Updated

  14. Free

    @afk with AFK Hat

    Using @afk with AFK Hat. (Notice Board)
    I just modified it and put the AFK Hat effect.
    Changelog:
    v1.0 - Initial Release - Need to open a chat room to use @afk command and it is disabled to use in prontera
    v1.1 - No need to create a chat room to use @afk command as suggested by Mysterious (disabled to use in prontera)
    v1.2 (eA and rA) - Added a config in misc.conf. afk_timeout: 0 (0 is default) Tested with the latest rathena - Revision 17156
    v1.3 (rA ONLY) - Working with latest revision 17306 - Now you can't use @afk when you are dead.

    2963 downloads

    Updated

  15. Free

    Account Bound Items

    Information
    This system would allow (non-stackable, non-pet-egg) items to be bounded onto a player's account. This means that the bounded items cannot be traded, dropped, auctioned, nor mailed. But, they can be storaged so that it can be shared among the characters of that account.
    Features:
    - Item coloration to distinguish bounded items and non-bounded ones (see screenshot)
    - Script commands (getitembound, getitembound2, equipisbounded) to create and check for bounded items
    - At commands (@itembound, @itembound2) to create bounded items
    - New group permission (can_trade_bounded) to allow the group to distribute these bounded items if enabled (mostly just for High GMs / Admins)
    - Changes to the SQL files to track bounded items. This would effect cart, inventory, and storage databases.
    Tested on rAthena revision 17294 (using v1.5.1).
    Script Command Documentations
    At Commands Documentations
    Known Issues
    - When moving a bounded item to storage, item colouration is gone. However, re-opening the storage or re-logging will fix this issue.1
    - When moving a bounded item to the cart inventory, item colouration is gone. However, re-logging will fix this issue.1
    1 If you are able to find these packets (ie. PACKET_ZC_ADD_ITEM_TO_STORE3 and/or PACKET_ZC_ADD_ITEM_TO_CART3), please let me know!
    Credits
    Created by @Xantara
    Popularized by Zephyrus
    Idea by Ragnarok Online
    License

    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.

    1081 downloads

    Updated

  16. Free

    [Label] OnPCAttackMobEvent

    This label is invoked everytime a player attacks in a certain map flagged with "attackmobevent".
    Sintax:

    OnPCAttackMobEvent: (...)
    Mapflag:
    mapname<TAB>mapflag<TAB>attackmobevent
    It works ONLY in the maps with the mapflag "attackmobevent".

    488 downloads

    Submitted

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

    159 downloads

    Submitted

  18. Free

    [Skill] Coup de Grace

    When you use this, it will give you 100% critical.
    Preview :
    skill_db set :

    998,0,6,4,0,0x3,-1,5,1,yes,0,0,0,magic,0, DOTA_COUPDEGRACE,Coup de Grace
    skill_require_db set :

    998,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 :

    998,0,0,0,5000,0,30000,0
    Add new skill (Clinet) :
    http://rathena.org/wiki/Adding_new_skills#XRay_support
    http://rathena.org/wiki/Adding_new_skills#Renewal.2FNon-Xray_Support

    130 downloads

    Submitted

  19. Free

    @ignorebattle

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

    112 downloads

    Submitted

  20. 10.00 USD

    @partybuff / @spb

    @partybuff (@spb) can display party member's special buffs in party list (Alt+Z)
    Buffs are:
    Look like
    [BAFS+]Player name
    Watch on YouTube
    http://www.youtube.com/watch?v=YS4G18DoqUY&feature=youtu.be

    45 purchases   113 downloads

    Updated

  21. Free

    @ignoredrop

    Preview

    When you active this, you will not see any item on floor.

    380 downloads

    Updated

  22. Free

    Admin's Custom Broadcast

    That Mod adds a Custom Admin's Broadcast with a Custom Label:
    The format to this command is: @adm <message>
    For Example: If you write @adm Hello World, that's my Custom Command for rAthena.
    The result is: [Admin] Name: Hello World, that's my Custom Command for rAthena.
    If you want modify the broadcast's color you need change the hexadecimal color in that line for the color that you like it, in this case from Admin's Custom Label:
    0x99CCFF
    If you want modify the Label, you need to change the label intro [ ], in this case is Admin:
    "[Admin] %s : %s", sd->status.name, message);
    What's the New?
    Added GM's Custom Broadcast
    Added Super User's Custom Broadcast
    Used revision 17132
    Bug fixed

    280 downloads

    Updated

  23. Free

    @autopots

    Preview :
    http://bit.ly/XzIQJj

    When HP/SP lower than you set, it will auto use that item.
    Command :
    PS :
    Test and create on rA 17132

    1418 downloads

    Updated

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

    180 downloads

    Submitted

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


×
×
  • Create New...