Source Modifications
Source Mods & Code Snippets located here.
146 files
-
DuplicateCreate and DuplicateRemove command
By Zell
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
-
Soul Link Modification - Script-based
By Secrets
Information
This source allows you to "script" additional bonuses on soul link buffs like an item script.
See db/soul_link.yml for example.
Q: Why this and not OnPCStatCalcEvent?
A: PCStatCalc is known to be buggy.
Alternate diff link: https://github.com/secretdataz/rathena/commit/6b91c4d18cc537e25a64f371ee3faf468b9dcc99.diff
THIS RELEASE IS SUBJECT TO GPLv3 LICENSE
Copyright © - Secrets <[email protected]> 2018 - All Rights Reserved
Take a look at my premade script list if you like my works or want one of my premade scripts. or
1007 downloads
Updated
-
[Not For Sell 2020-10-22] Sader's Renewal Mode [PRE-RE Only]
By sader1992
[Not For Sell anymore , after rAthena item YAML update 2020-10-22]
You can do it your self in less then 60 seconds in the new YAML update!
quest here rathena/quest_db.yml at master · rathena/rathena (github.com)
skills here rathena/skill_db.yml at master · rathena/rathena (github.com)
items here rathena/item_db.yml at master · rathena/rathena (github.com)
mob coming soon
if you already did buy this file , you can download it , however if you use the latest rathena , this file does not support that
it's easy to do what my mod does , in yml , you don't need this files anyway if you use the latest rathena
which mean , you don't need this mod anymore
License :
by downloading this file you are agree on the following:
i will Back Up my server before using this file. i will use this file for my own private server only , not for a group of servers . i will never share this file with anyone . i will never upload this file to public and i wont leave it on shared storage . i will report any bugs or errors to sader1992 . all the rights retain to sader1992 . Charge-back scams are not tolerated and will get you punished on rAthena. Terms above may be changed or adjusted without prior notification .
21 purchases 111 downloads
Updated
-
Protection System ( @security ) #Free
By Haikenz
This system is already activated in the source of the brAthena.
It was created by Orce, and with my friend's help, we converted to rA, and it's working perfectly with the last revision
Language: PT-BR, EN-US
Ps. Sorry my english
1098 downloads
Updated
-
@security - Prevent account transaction
By Cydh
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.
Features
Prevent unwanted transaction for your account -well, just for safety- by using (at)security command. When transaction is blocked, a char cannot drop, sell, buy items, compound a card, put off cart, and other item-consumed activities Included FluxCP Addon to reset security code Compatibility:
Updated for Git Hash: 9da3ad14 (20191016) 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:
17 purchases 99 downloads
Updated
-
Hop Jump
By Vykimo
Hop Jump [ GLO_SAUT ]
Can be used with the skill id 5000 or the atcommand @hop <skill level>
2 purchases 8 downloads
Submitted
-
Different Item Requirement for Skill in PVP/GVG Maps
By Cydh
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 50 downloads
Updated
-
Keitenai Resistance Capping
By Keitenai
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.
409 downloads
Updated
-
Mapflag NoAttack (MF_NOATTACK)
By M4karov
Modification created to block the attack on monsters on a given map.
Script command created to enable / disable attacking players and monsters.
Script:
prontera,171,203,4 script NoAttack 67,{ mes "NoAttack"; mes "What can I do for you?"; switch(select("Enable Attack:Disable Attack")){ case 1: noattack 1; end; case 2: noattack 0; end; } } prontera mapflag noattack
By buying 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 © - Emperium Games 2017 - All Rights Reserved
11 purchases 40 downloads
Updated
-
Usefull Status Icons (EC, Bragi, Pneuma, Sunset, Idun,...)
By Vykimo
Easy for the player and good looking.
The pack contain source modification + icons made by me (with the color palette which reminds the skill).
6 usefull main icons availables :
Emergency Call Cooldown Pneuma Bragi Don't forget me Assassin of the Sunset Apple of the idun DEMO Video for Emergency Call :
53 purchases 258 downloads
Updated
-
Free cash/Kafra points item binding
By Secrets
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
226 downloads
Updated
-
Guild Activity Logging
By Ninja
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
-
Instakill Mapflag
By Ninja
Tested and working with: 3e625dfdf9868690e36677701cbebe1b379a7485
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
Create a mapflag for instakill. As it would suggest, all damages done within the map will be amplified to max damage, thus instakilling the target.
It works both for the following use cases:
1. Player attacking a Monster
2. Player attacking another Player
3. Monster attacking a Player
4. Monster attacking another monster
Where "Monster" can be a normal mob or a Homunculus
Usage
In-game
@mapflag instakill [0|1] Script as mapflag
prontera<tab>mapflag<tab>instakill Script as used in setmapflag
setmapflag .EventMap$, mf_instakill; Example
Tag, You're Dead Script
Source In Action
Source file
1. I will retain all the rights in all the scripts that I create
2. Client cannot redistribute nor resell the scripts that I provide
3. No refunds
4. Maintenance of scripts does not include modification of the original intended behavior. If the script has been broken due to prior modification of the original behavior then it would mean a new service request
5. Modification of the original intended behavior would mean a new service request and would go through the process mentioned above
2. This can be redistributed anywhere in any form.
3. This shall not be in any way be branded for sale anywhere in any form.
4. Maintenance will not be provided. Feel free to use the support section.
5. See #3.
6. Ninja has the right to post all my free services to the release section and make it available for everybody to use
7. Maintenance of scripts will be provide free of charge
8. I will not keep any sensitive information from your server nor any credentials that you lend me
9. I will backup all my server files before I use this.
10. Ninja will not be liable in any way at any time.
11. The moment I use anything from here, I accept all the terms of services stated above.
Where the script author is Ninja (https://rathena.org/board/profile/7005-ninja/).
86 downloads
Updated
-
ALL monster drop item with Random Option
By nutminemz
ALL equipment drop by monster has chance of getting Random-Option.
Like MU online every item you found have some (random) option .. now in rathena.
/////////////
News update
28/04/2107
due to #2065 one of the requirement was merged in to rathena master so
we no longer need any source modification for those who using latest release.
/////////////////
UPDATE
V.1.0 - 3 random option in each item.
V.1.1 - has chance of getting 0-3 option in stead of fixed 3option.
V.1.2 - drop chance is lower according to option quantity. Now 3option is rare (not yet applied to weapon).
- Fixed error message.
pre-re user still getting error message refer to Invalid monster ID.
but random-drop-system work fine with this error.
get in touch with next update.
/////////
Requirement (for athena before bf2461f 28/04/2107)
Initial release item random option for monster drop #2065 ////////////////
Installation
replace the following files.
db/re(pre-re)/item_randomopt_group.txt
db/re(pre-re)/mob_drop.txt
make sure your /db/re(pre-re)/item_randomopt_db.txt is 201 lines (200 sloc) 16.7 KB.
add following 6 line at the end of /db/const.txt
RDMOPTG_WEP 1
RDMOPTG_EQARM 2
RDMOPTG_EQSH 3
RDMOPTG_EQGAR 4
RDMOPTG_EQFOOT 5
RDMOPTG_EQACC 6
//////////////////
Option Description (DEFAULT)
///////////
Drop rate (DEFAULT)
same rate as you can see in db/re/item_db.txt
customize your droprate by editing db/re(pre-re)/mob_drop.txt
/////////
Feel free to PM me
3750 downloads
Updated
-
@command pack
By rootKid
¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦¦¦ ¦¦ ¦¦¦ ¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦ ¦¦¦ ¦¦¦ ¦¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦¦¦¦¦ @command pack. (@runlabel, @allchat, @emo, @allemo, @alleffect) //////////////////////////////////////////////////////////////////////////////////////////////// [src/map/atcommand.c] is the only file needed to be editted. Set your account group permissions as desired. You're assumed to know how to implement these. However, if you have further questions, feel free to contact me. //////////////////////////////////////////////////////////////////////////////////////////////// ACMD_DEF(runlabel), //rootKid ACMD_DEF(allchat), //rootKid ACMD_DEF(emo), //rootKid ACMD_DEF(allemo), //rootKid ACMD_DEF(alleffect), //rootKid /*========================================== * @runlabel by [rootKid] * Makes invoker run an 'On' label from within an npc * @runlabel Healer#OnMinute44 *------------------------------------------*/ ACMD_FUNC(runlabel) { char label_output[256],npcname[100],label[100]; nullpo_retr(-1, sd); if (!message || !*message) { sprintf(atcmd_output, "Usage: @runlabel <npc name>, <label>"); clif_displaymessage(fd, atcmd_output); return -1; } if (sscanf(message, "%23[^,], %99[^\n]", npcname, label) < 2) { clif_displaymessage(fd, "Please, enter the correct info (usage: @runlabel <npc name>, <label>)."); return -1; } if (npc_name2id(npcname) != NULL) { sprintf(label_output, "%s::%s", npcname, label); npc_event( sd, label_output, 0 ); clif_displaymessage(fd, "Label was triggered."); return 0; } else { clif_displaymessage(fd, "NPC doesn't exist."); return -1; } } /*========================================== * @allchat by [rootKid] * Makes all players, except the invoker, send out a desired message * eg. @allchat blahblah *------------------------------------------*/ ACMD_FUNC(allchat) { struct map_session_data* iter_sd; struct s_mapiterator* iter; char tempmes[200]; iter = mapit_getallusers(); nullpo_retr(-1, sd); memset(tempmes, '\0', sizeof(tempmes)); memset(atcmd_output, '\0', sizeof(atcmd_output)); if (!message || !*message || sscanf(message, "%199[^\n]", tempmes) < 0) { clif_displaymessage(fd, "Please, enter a message (usage: @me <message>)."); return -1; } for (iter_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); iter_sd = (TBL_PC*)mapit_next(iter)) if (iter_sd != sd){ //Triggers on all players except the one who initiates it. sprintf(atcmd_output, "%s : %s", iter_sd->status.name, tempmes); // *%s %s* clif_disp_overhead(&iter_sd->bl, atcmd_output); } mapit_free(iter); return 0; } /*========================================== * @emo by [rootKid] * Makes invoker send out an emote * @emo 3 *------------------------------------------*/ ACMD_FUNC(emo) { if (!message || !*message) { clif_displaymessage(fd, "Usage: @emo 1-81"); return -1; } clif_emotion(&sd->bl, atoi(message)); return 0; } /*========================================== * @allemo by [rootKid] * Makes all players, except the invoker, send out a desired emote * eg. @allemo 1 *------------------------------------------*/ ACMD_FUNC(allemo) { struct map_session_data* iter_sd; struct s_mapiterator* iter; iter = mapit_getallusers(); if (!message || !*message) { clif_displaymessage(fd, "Usage: @emo 1-81"); return -1; } for (iter_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); iter_sd = (TBL_PC*)mapit_next(iter)) if (iter_sd != sd){ //Triggers on all players except the one who initiates it. clif_emotion(&iter_sd->bl, atoi(message)); } mapit_free(iter); return 0; } /*========================================== * @alleffect by [rootKid] * Makes all players, except the invoker, send out a desired special effect * eg. @alleffect 89 *------------------------------------------*/ ACMD_FUNC(alleffect) { struct map_session_data* iter_sd; struct s_mapiterator* iter; int type = 0, flag = 0; iter = mapit_getallusers(); nullpo_retr(-1, sd); if (!message || !*message || sscanf(message, "%d", &type) < 1) { clif_displaymessage(fd, "Please, enter an effect number (usage: @effect <effect number>)."); return -1; } for (iter_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); iter_sd = (TBL_PC*)mapit_next(iter)) if (iter_sd != sd){ //Triggers on all players except the one who initiates it. clif_specialeffect(&iter_sd->bl, type, (send_target)flag); } mapit_free(iter); return 0; }
298 downloads
Updated
-
(HANSIP) Skill Spam Protection
By Kichi
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
1742 downloads
Updated
-
@autopots
By goddameit
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
1536 downloads
Updated
-
@afk with AFK Hat
By Rebel
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.
3144 downloads
Updated
-
@partybuff / @spb
By Lilith
@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
47 purchases 117 downloads
Updated
-
@AutoAttack
By goddameit
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.
2943 downloads
Updated
-
[Label] OnPCAttackMobEvent
By Zephyr
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".
498 downloads
Submitted
-
Fix to auto-close on wrong password/id for new clients
By EvilPuncker
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
-
Account Bound Items
By Xantara
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.
1129 downloads
Updated
-
[Release] Script Command *equip2
By Xantara
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.
174 downloads
Updated
-
Block items from @item
By herenow
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
-
Recently Browsing 0 members
- No registered users viewing this page.