Source Modifications
Source Mods & Code Snippets located here.
135 files
-
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.
1081 downloads
Updated
-
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
-
Advanced common drop system
By dreamunreal
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
-
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
3231 downloads
Updated
-
Battleground Extended 2020 ! With Bomberman/Poring Ball
By grenat50
Mystic Project is about to open its last opus. For the occasion, Mystic Project has decided to make a gift to the community of rAthena and release one of its contents ! We've chosen the Battleground Extended, a memorable feature created by the eAmod and adapted for the new version of rAthena 2020.
What are Battleground Extended ?
They are an upgrade of the official Battleground made by the eAmod years ago and enhanced overtime.
Battleground guide Name Description Flavius Same as official. The Goal is to destroy each's crystal. Flavius Capture The Flag The objective of the Flavius Battle CTF is to score 3 points before your enemy, by capture their Flag. To capture a Flag you need to take the enemy flag, and bring it to your base flag. If your base flag is captured too, you need to kill the flag carrier and take the flag back to your base. Flavius Death Match Each team has a certain number, Kill all the enemy players to let their Team without points. Protect your army. Flavius Stone Control Take the Stones in the middle of the battlefield and put in on your base, in the Stone Points. Each Stone will give points to your team. First team reach 99 points wins the game. Protect your stones from to be captured by the enemy. Tierra Eye of Storm There are two bases, North and South which teams can capture by holding position on the Base more than the other team. Each base will give you points each 5 seconds of Domination. If your Team control both bases the amount of points increases. To get additional points, in the middle there is a Flag spawn, capture it and put it on any of your team Bases. The first Team reach 99 points wins the match.
Tierra Bossnia Attack the enemy base and destroy each MVP Guardian. To do damage to the guardian your team must capture the Balance Flag in the middle base. Each team have 5 guardian to be protected or killed.
Tierra Domination There are three bases, North, Center and South which teams can capture by holding position on the Base more than the other team. Each base will give you points each 5 seconds of Domination. The first Team reach 99 points wins the match.
Krieger Von Midgard (KVM) Same as official, regular PVP. Double Inferno There are 2 teams in the battlefield, your team and the opposite enemies. Kill the enemy players, collect the skulls and bring them to the Sacrifice Totem to win points. You can collect your own team skulls and bring then to your Sacrifice Totem to avoid other teams to score but it won't count as points. If you get killed all your skulls will be drop to the floor, including your own skull. First Team to get 80 points wins the battle.
Conquest If you are Attacking, destroy the enemy defenses and it's Flag. If you are Defending, protect your castle defenses and the Flag.
Rush Fight to capture the Castle and organize your team to defend it. If you fail on the first capture, kill the defender and take it for your team.
Poring Ball It is a soccer game, a poring (the ball) will be in the middle of the field. The match lasts 5min. The team that has the most goals win the game. Super Bomberman The classic game specially made in Ragnarok Online. The goal is to defeat the enemies by putting bombs that will explode on them. It is a 2vs2 version of the game.
Peco Peco Racer Coming soon... Mario Kart - RO version :
New Battleground Queue System
Battleground Commands
@joinbg will warp you only to the battleground room. (Use interface UI Battleground to join any running BG or create one)
@leavebg will warp you out of the the current battleground you're in.
@listenbg display or not the battleground explanations.
@order is only for the leader, an huge announce will be displayed to the team.
@reportafk is only for the leader, expulsing someone who is AFK.
@bginfo will display all curent running BGs + amount of players + scores for each team and remaining time of the BG
Battleground Skills
@bgskill is used by the leader. I left it there as a memory but you better use the guild interface alt + g -> guild skill tree
The leader can use the following skills:
- Emergency Recall: Warp everyone from the team to the leader.
- Battle Orders: All guild members visible on the guild leader screen will receive +5 STR, DEX, INT. (Now having a status icon on the right)
- Regeneration: All guild members visible on the guild leader screen will increase their HP and SP regen rate. (Now having a status icon on the right)
- Restore: All guild members visible on the guild leader screen will have their HP and SP restored to 90% of the respective maximum.
- Chargeshout Flag: The leader will summon a guild flag.
- Chargeshout Beating: Anyone in the guild can use this skill, it will warp to the guild flag IF you are on the same map as the flag.
- Emergency Move: All guild members visible on the guild leader screen will receive the effect of speed potion, increasing walking speed by 25%.
Kill Count
Each person killed on a battlefield will be counted in your guild information. This is like a rank.
In bg_common.txt, you will find this. If you already use OnPCKillEvent, I recommend you to remove this code and add it to yours.
Red / Blue Teams
Upon your arrival on the battlefield, you are going to see yourself in a clan (alt + g) and a guild (ctrl + g).
Blue Team : http://mysticprojectro.com/wiki/images/d/d1/Clan_emblem01.jpg
Red Team : http://mysticprojectro.com/wiki/images/a/a9/Clan_emblem02.jpg
Each team-mate will have this emblem by their character's name. Enemies will be displaying the opposite emblem.
Some battlefields will change your cloth dye as well for the attributed color but don't worry, you will get yours back as soon as the game is over.
You can communicate with your team through the guild chat.
When you leave the battlefield, the clan will be removed and you will be back in your actual guild.
Battleground Happy Hours
Battleground happy hours happen everyday from 4pm to 8pm during which, rewards obtained are increased by 60%. (Configurable in npc/battleground/bg_common.txt)
Battleground Rewards
Telma/Erundek NPCs from the official battleground are there to exchange Consumables / Stuff.
However, some of you rather customize the rewards. It's up to you to remove Telma/Erundek.
If you want to customize Rewards, here is a frame (located in bg_common.txt) made to buy stuff directly with badges.
Poring Ball
Youtube Video Demonstration : Ragnarok Online - DaRO : BattleGround Extended + - YouTube
The original Poring Ball Map was created by us 14 years ago. (On the left). At the time, we had poor experience in mapping so my apologies if you don't find it attractive. However, you can always purchase the beautiful rework done by Olrox (on the right): https://olroxgraphics.com/index.php?/store/product/107-soccer-stadium/
Depending on which map you will pick, you need to configurate the Poring Ball. I assume you already have Olrox's map so by default, it is this configuration. If you want the free map that is included in this pack, you need to comment /* */ Olrox Poring Ball Map and remove the comment of Grenat Poring Ball Map (See orange sign)
Bomberman
Video Demonstration : Super Bomberman Ragnarok Online YouTube Video
I've read a lot of times people asking about it ! We are releasing the new Bomberman Battleground Version with 3 bomberman maps (two of them are made by us)
In bg_bomberman.txt, you will find this code. Make sure to remove it and add it to your OnPCStatCalcEvent, otherwise just leave it there. Some newer rAthena version doesn't have OnPCStatCalcEvent anymore, you may need to reinstall it.
Installation :
In this package, you will find :
- BattlegroundExtended.diff : You will need to apply this patch. (cmd -> cd rathena -> git apply BattlegroundExtended.diff ) It has been created in 2020 and work with the latest rAthena. (Possibly working on previous version from 2018+).
- NPC folder: I strongly recommend to delete all BG NPCs and only install the ones that are in this folder. It is compatible with the new BG Queue Systeme. Please review Poring Ball.txt to configurate your poring ball as well as bg_common for the happy hour rate.
- DB: I did put items in txt and yml files since I don't know which version you guys are using. DO NOT copy paste in your db folder. Only take what's inside each files.
- Client: Contains items/maps/texture/files/lua (for the new BG queue system)/bomberman music etc... Extract the contents inside your RO client folder.
This patch modifies a lot of files, you may need to install the diff manually depending on your rAthena version. Once installed, please recompile your map_cache with the client data installed in the directory/grf the server reads to compile it.
Configuration :
Your server might be different than ours. This is why, it is important to configurate well the system.
conf/battle/battleground.conf -> Search for battleground eAmod and configure them.
db/battleground.xml -> "Color" represents the clothes palette given upon arrival on the battlefield. The player's Palette will come back to the original one when the BG is over. If you don't want players to have different cloth color, just put 0 or do not put anything at all. In our server, Color : 6 is blue, and 22 is red. Therefore, this is our configuration. I let you configure yours.
Additional New Script Commands :
* getnpcinfo <type>{,<char_id>}
type: NPC_X: X, NPC_Y: Y
* setporingball; (When activated, it would be like an OnClickedCell, almost ;), it calls a script for the poring ball (Or other things if you want to add things there).
* getporingballx() / getporingbally(); (Get coordination of a clicked cell)
* removeporingball; (Remove poring ball mode (Clickable cell calling a script)
* getunitdir <unit_id/account_id>; (Get direction the unit is looking)
* ispcsit <account_id> (Get information if a pc is sit or not)
* unitpush <unit_id/account_id>,<dir>,<cells>; (Push (knockback) a specific target in a specific direction)
* areaeffect( effect id, x, y);
Any Questions ?
You can contact me on Discord: Grenat#5220 for support regarding the installation.
Support post : Release: Battleground Extended 2020 ! With Bomberman/Poring Ball - Source Releases - rAthena
Team Mystic Project.
2351 downloads
Updated
-
Bg consume
By Anubis-K
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
392 downloads
Updated
-
BG Eamod
By Anubis-K
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
1143 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
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::
189 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
443 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
506 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;}
456 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.
800 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 ) ================================
511 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]
423 downloads
Updated
-
Devotion and Defender + Auto Guard Fixed
By BeWan
In response to this post : + two client requesting this
Kindly message me if you want to buy this.
By downloading this file, you agree with my Terms of Service:
• You are not allowed remove my signature from any of the included files.
• You are not allowed claim my work as yours.
• I can give you support, kindly message me.
4 purchases 17 downloads
Updated
-
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 49 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.
180 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");
236 downloads
Updated
-
EndlessTower HardMode
Modified EndlessTower :
- Hard mode.
- Reset Quest.
- Instant Jump to LV 100.
- Random Gift in hardmode.
- Costume Enchant in Hardmode (With Required Items).
- HP modification on boss fight.
2 purchases 5 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.
139 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.
4003 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;
}
4493 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.