Jump to content

Source Modifications

Source Mods & Code Snippets located here.

135 files

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

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

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

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

  5. Free

    Forcibly Strip

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

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

    420 downloads

    Submitted

  6. Free

    (HANSIP) Skill Spam Protection

    Info & History

    Info:
    HANSIP Protection is a src modification to make sure NDG,speed hack, WPE Users still follow the rules.

    History:
    This is a simple code, which we have made since long to minimize the NDG User.
    The first way to solve NDG, we add a cooldown for skills that dosn't has a fixed cooldown (Sonic Blow, Cross Impact, etc).

    But the player doesn't allowed to do double cast.
    Finaly we made this code that minimize the NDG users, but still keep the original feature that is double cast for some skills (Sonic Blow, Cross Impact, etc).



    Implementation & Feature

    Implementation:
    Download the file Apply manual "rA - Hansip Protection.diff" to your src. Paste "battle_conf.txt" to conf/import/ Don't forget to recompile your server. All done

    Features:
    The user still able to use double SB / CI / etc. You may switch on and off. Very simple Skill Packet Spam detector

    .

    Note:

    2013 client already detect modified file (after act delay).
    so i've tested this using WPE.
    i got the number from comparing with and without *cheat.



    Supported Skills:Bash Sonic Blow Arrow Vulcan Double Strave Bowling Bash Ninja Kouenka Ninja Hyousensou Jupitel Thunder Cross Impact Dragon Breath Fire & Water

    Change Log:
    1.1
    -Add archer double strave skill

    1.2
    -Add support for some skills

    1.3
    -Change name from NDG to Hansip
    -Add skill packet spam detector & punishment
    -Support PRE-RE

    1714 downloads

    Updated

  7. Free

    Advanced common drop system

    Ind's Special item drop system can't do it.
    so. I base on Ind's work to finish this to solve xazax's probrom.
    this patch. base on eAthena r15049 trunk.
    that is all,. enjoy it.

    519 downloads

    Updated

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

  9. Free

    VIP - Temporary Rasie Reel

    This is a researching release, maybe it will lead to something bad or you may have no idea how to use this.

    -
    Preview :

    -
    This system will create a VIP account by new script command ''setviptick''
    SAMPLE (be VIP for 10 seconds) : http://pastebin.com/raw.php?i=9KdLE7yJ
    and when you are VIP, you will get temporary ''Token Of Siegfried'' after you dead,
    so you can use it to raise up yourself.
    This temporary ''Token Of Siegfried'' also will disappear if you relogin server, raise up by other... etc

    244 downloads

    Submitted

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

    229 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]

    422 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

    @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

  14. Free

    RentItem2

    A Script command that extent the usage of

    rentitem
    it work just like item2 command..but with rental period.

    *rentitem2 <item id>,<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>; *rentitem2 "<item name>",<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
    original post link :
    http://www.eathena.w...1

    395 downloads

    Updated

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

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

    422 downloads

    Submitted

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

    77 downloads

    Submitted

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

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

  20. Free

    @ignorebattle

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

    112 downloads

    Submitted

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

  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

    [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

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


×
×
  • Create New...