Source Modifications
Source Mods & Code Snippets located here.
135 files
-
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
417 downloads
Updated
-
bonus bXDefReturn
By Easycore
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::
190 downloads
Updated
-
Broadcast commands with global sound effect
By Sapito Sucio
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
447 downloads
Updated
-
Cart Config [Client 2015-08-26 or newer]
By Cydh
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
509 downloads
Updated
-
cell_pvp
By Anubis-K
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;}
458 downloads
Submitted
-
Charm item (New Code Source)
By Froost
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.
807 downloads
Submitted
-
Command MesClose
By LyDe
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
-
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 ) ================================
516 downloads
Submitted
-
Costumes Refiner & Card Support
By xRaisen
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]
424 downloads
Updated
-
Display Battle Ground information (@bginfo), Display the BG settings you made for your server!
By Aeromesi
Atcommand @bginfo displays the flee penalty, long, short, weapon, and magic rates all in one command.
229 downloads
Submitted
-
Drop Rate Seprator
By Rayan
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.
194 downloads
Submitted
-
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");
238 downloads
Updated
-
Event Consumables (a Telma patch update)
By Mabuhay
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.
140 downloads
Updated
-
Extended Vending 2.0
By Easycore
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.
4032 downloads
Updated
-
Fake Icon Stats
By Zell
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;
}
4496 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.
606 downloads
Updated
-
Fixed Cast and Delay Adjustment Mapflag
By Akinari
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.
161 downloads
Submitted
-
Forcibly Strip
By goddameit
Info : http://goo.gl/RXACXL
Preview :
----------------------------------------------------------------------
Transform request (hercules --> rA) by Adam
420 downloads
Submitted
-
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
159 downloads
Updated
-
Freezemap Script Command
By Xantara
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
-
Glicko-2 rating system - Now on rAthena
By Secrets
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.
251 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
108 downloads
Updated
-
guildgetitem2 & guildgetitembound2
By Skorm
This command sends items to the guild storage without the need of server restart.
Example:
prontera,100,100,5 script guildgetitem2 100,{ //guildgetitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; switch ( guildgetitem2(1218, 1, 1, 1, 10, 4305, 0, 0, 0) ) { case 1: dispbottom "Item added to your guild storage."; end; case 0: dispbottom "Unknown Error."; break; case -1: dispbottom "Cannot open both storages."; break; case -2: dispbottom "Player doesn't have a guild."; break; case -3: dispbottom "Player doesn't have a guild storage."; break; case -4: dispbottom "Guild storage being used by someone else."; break; case -5: dispbottom "Guild storage is full."; break; } end; } Works much like getitem2 and it uses the attached players guildstorage.
358 downloads
Updated
-
Hide announcements/broadcasts command @blockbc
By pajodex
Hi,
This is a response from this post :
Requirements:
Basic knowledge how to apply diff on your server files. How to use the command:
@blockbc <param>.
Parameters:
PARTY - block incoming broadcasts from party. GUILD - block incoming broadcasts from guild. BG - block incoming broadcasts from battleground. CLAN - block incoming broadcasts from clan. MAP - block all incoming broadcasts from the current map. ALL - block all incoming broadcasts. @unblockbc. - as per the command name suggest
Disclaimer:
This is tested on latest server files as of the day it was posted. May or may not work on older server files. Keeping this up-to-date or vice-versa won't be my responsibility. Compatibility is your responsibility. Use at your own risk.234 downloads
Submitted
-
Hotkey Scripts
By joecalis
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
260 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.