Source Modifications
Source Mods & Code Snippets located here.
135 files
-
Telma-for-rAthena++.patch
By xSoul
Telma-for-rAthena++.patch
Checking the source files of rAthena I found the Telma Source ... but not compatible for the new versions of rAthena.
So what I did was take the Source that updated Anubis-K, that was not compatible with the new versions of rAthena and I made it compatible.
Important: You must create a character in your sql table "Char" called Battleground and this same must have the id 165100.
In src/map/battleground.hpp
//Brian Bg Items - updated by [AnubisK] #define BG_CHARID 165100 // char named "Battleground" // you can change the character id. #define BG_TRADE 91 // trade mask of BG consumables // You can edit the mask When you want to use a normal item it is recommended that you do not have a battleground item of the same type in inventory.
Example:
If you want to use a "Blue Potion" with the skill "Potion Pitcher" and you have a "Battleground's Blue Potion" you will first take the BG Pocion and not the normal one.
This is solved by leaving the Battleground item in the Storage.
Note: I'm not the author, the only thing I did was to make it compatible with the new versions of rAthena so that this good file is not forgotten.
The credits of for the original idea must go to (as fas as I know) Brian one of the devs http://rathena.org/board/user/237-brian/.
198 downloads
Updated
-
Stormbreaker
By Panallox
Introduction
Stormbreaker is a large modification system which adds a collection of new features, bonuses and script commands to your own rAthena server. This package is designed to augment your server with new features which can breathe new life into your gameplay, and comes with a getting started guide, a Git patch file, and some optional client resources. Stormbreaker is developed against the latest version of rAthena, and will be continually updated to the latest on a weekly basis. (Videos will be coming soon highlighting each feature.)
Features
This package includes the following:
New item bonuses (83) New script commands (10) New GM commands (9) Item Bazaar Shop system Item Durability system Item Craft system Item Enchantment system Item Passive Script system Item Passive Status system More features are actively being developed and will be released in the near future.
Item Bonuses
All item bonuses are the same as those found on the Bonus Expansion Pack thread. If you're looking to acquire this package solely for the item bonuses, please be advised that these will be released soon for free on that thread. Stormbreaker will be updated with newer item bonuses as more are recommended.
Script Commands
Item Bazaar Shop
The bazaar shop system functions similar to that featured in Final Fantasy XII. As a player accumulates and sells items to shops, you can configure items which become available for purchase at specialist bazaar shops by the sale of certain combinations of items. These can be items which become permanently unlocked, can be unlocked multiple times, or those which can only be purchased the once and can never be unlocked again. This feature provides a great way to reward players for farming and killing monsters, and unlocks great potential for introducing unique items and equipment available only after acquiring and selling combinations of materials.
Item Durability
The item durability system works much like the Witcher 3 durability for equipment. All equipment has a durability score (a percentage) which determines how much more stress it can take before breaking. As players engage in battle, their equipment will slowly degrade (completely configurable), which can lead to weakened bonuses, weakened ATK and DEF modifiers, and chances of breaking. All equipment can be repaired through special NPCs (using new script commands described above) and can also receive protection with the Chemical Protect skills (configurable.) Item durability can be configured to decrease on a fixed percentage per attack (a denomination as low as 0.0001%) or based on the amount of damage dealt/received.
Note: For the item durability percentage to be visible as in the screenshot, this requires client version 2015-02-25aRagexeRE or later.
Item Craft
The item craft system uses the new refine user interface with a completely custom crafting database. Players can drag a source material and catalyst material into the refine window to be given the opportunity to craft something new. This feature isn't restricted to just equipment, but any other sort of item too! Your players could be upgrading their basic Red Potions to Orange Potions using Jellopies or Grapes, or could be upgrading their Knife[3] to a Knife[4] by combining it with a special material. The crafting database allows for a lot of flexibility, including key features like equipment being able to retain their refine level, cards, random options, and even item durability!
Note: For the new refine interface and the crafting system, this requires client version 2016-10-12aRagexeRE or later.
Item Enchantment
The enchantment system similarly uses the new refine user interface to provide a beautiful and unique point for being able to upgrade equipment with random options! The custom enchantment database lets you build your own system for allowing players to add unique or powerful random options to their equipment, restricted at a per-item level. Every item supports up to a maximum of 4 different enchantment types, and can be configured with custom chance rates and costs, which can further be configured depending on the current number of enchantments already on the equipment! New server configurations let you control how many enchantments can be added to each type of equipment to add finer control. With this system, players could enchant their boring Knife with ATK + 10% by using some rare or valuable material.
Note: For the new refine interface and the enchanting system, this requires client version 2016-10-12aRagexeRE or later.
Item Passive Script
The passive script system is designed to augment and empower the already powerful item database. The bespoke item passive script file lets you add new "equipment" scripts which are active while an item is stored in the players inventory! A player holding a rare coin in their miscellaneous item tab might find themselves with a constantly active HP + 5%, or perhaps they have acquired a sword which provides a permanent HIT - 30 while the item is held by the player. The system could also be used to reward players with EXP or Zeny increasing items. This system works with any existing or new items, and just needs a line adding to the file!
Item Passive Status
The passive status system works similar to the passive script system, except that the player receives a permanent (cannot be dispelled nor removed by death, nor cured from healing items) status effect while an item is held in their inventory. You could grant players a permanent Increase Agility effect while holding a magic feather, or perhaps afflict them with Poison while they carry some cursed tome. The passive status system is designed to improve on existing mechanics where equipments can provide permanent bonuses, with special flags indicating whether equipment provides the status only when equipped or when in the inventory.
Support
I intend to provide continual support with Stormbreaker by keeping the files up-to-date, on a weekly basis, with the latest hash of rAthena. Each week I will upload a new version of the Stormbreaker archive, along with any new augmentations (such as item bonuses, script commands) and bug fixes. If you encounter problems when running or using the new Stormbreaker features, please feel free to contact me directly on here, to my email address [email protected], or on our Discord server, and I will respond as soon as I am able (usually on the day, otherwise within 1-2 days.) For support on applying the Stormbreaker project to an older version of rAthena, again please contact me directly on here or on the Discord server.
Click here to join the Discord server.
Copyright
Stormbreaker © Chris Copeland 2019. All rights reserved. By purchasing this package you agree that you will not share or redistribute any and all files included in the package without the express written consent of myself (Epoque, Chris Copeland), and that you will not upload this package onto any secure or unsecure file sharing websites.
36 purchases 198 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
-
Mapflag gvg_noally
By Cydh
This is mapflag gvg_noally will ignores guild alliances in GVG maps
Compatibility:
The diff was made for rAthena Git Hash: 55acdb98 / 2018-10-10185 downloads
Updated
-
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.
183 downloads
Submitted
-
Partyinvite Script Command
By Xantara
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
-
[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.
168 downloads
Updated
-
Script Command: getrandmob()
By Akinari
Another quick package up of a small command I've had lying around for a long time. Grabs a random monster from one of the branch databases. Useful for hunter quests, disguise events, and anything else you can think of. Uses database stored in memory, so it's faster and more efficient than running SQL queries and doesn't require you to use SQL dbs for items and mobs.
/*==========================================
* Fetches a random mob_id
* getrandmob(num,type);
*
* type: Where to fetch from:
* 0: dead branch list
* 1: poring list
* 2: bloody branch list
* num: Mob level to check against (0 = all)
*------------------------------------------*/
To add, simply place the files into the src/custom folder. If you already use those files, add the new code into your existing populated files and do a clean make.
168 downloads
Updated
-
[QOL] Costume/Shadow no weight
By Kreustoo
This small src modif make you don't worry if you have some costume items in your item_db with some weight, they'll all be calculated at 0.
CostumeNoWeight.diff
Make only the costume having no weight on the player
ShadowAndCostumeNoWeight.diff
Make costume and shadow having no weight on the player
167 downloads
Submitted
-
no @duel in Prontera
By EliteBlack
Information
This simple modification, players are not allowed to duel in Prontera.
User may apply the patch and re-compile.
Note: You may change the "prontera" to your desired map.
Mirror:
no @duel in prontera.
Patch (direct view)
166 downloads
Submitted
-
@voteleader for the Battleground
By Chun3
Min votes configured: 3 // Can be changed
Can vote on yourself: Disabled // Can be activated.
165 downloads
Updated
-
[Skill] Call for help
By goddameit
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
-
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.
159 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
-
Mob Item Adder
By EveeX
This mapflag sets more drops for monsters at the map that it's been attached.
You can set up to ~50 more items for mobs.
"drop_per" is the chance of drop, from 1 (0,01%) to 10000 (100%).
There's an example at the screenshot, I setted a Yggdrasil Berry with 100% of chance for the Poring at prt_fild08 map.
You can set a lot of mobs, but you have to set more mapflags for your maps.
Original mod by @zephyr
Example:
mapname<TAB>mapflag<TAB>mobitemadder<TAB>mob_id,item_id,drop_per{,item_id,drop_per(...)}158 downloads
Submitted
-
[Mapflag] droprate
By EveeX
It's updated to current emulators.
Original mod by @Xantara
157 downloads
Submitted
-
@sann (Custom Broadcast Command)
The commands is @sann (contraction of staff announced), but you can use 3 types of sintaxis (because was add in the atcommand_eathena.conf 2 alias).
The sintaxis is:
@sann
@astaff
@staff
What's new in versión 3.1?
And auto detect what group belongs the GM and will add their label; all this using whatever you want in the sintaxis. So, if you'll use @sann, astaff or @staff the result will be the same.
Note: Don't remove the credits, please
156 downloads
Submitted
-
Stores Hom & Merc SC duration, Scripts: homexp, hom_heal, hom_sc_start
By Cydh
New Script Commands
homexp <exp>{,<char_id>}; based on idea on https://rathena.org/board/topic/115769-getexp-for-homunculus/ hom_heal <hp>,<sp>{,<char_id>}; hom_sc_start <type>,<tick>,<val1>,<val2>,<val3>,<val4>{,<char_id>}; Edited Script Commands
mercenary_sc_start <type>,<tick>,<val1>,<val2>,<val3>,<val4>{,<char_id>}; Feature added
Stores SC Datas for Mercenary and Homunculus to covers Issue: 3070 (assumed Mercenary and Homunculus are always char bound)
Important, don't forget to execute the SQL upgrade (included in .diff file)
ALTER TABLE `sc_data` ADD COLUMN `bl_type` VARCHAR(3) NOT NULL DEFAULT '1'; Sample NPC homscript.txt
PS: The screenshots are just random pics
154 downloads
Updated
-
[rAthena] & [eAthena] nopub.patch
By Jaburak
This mod hides the chat boards ingame.
Tested/Compatible with rAthena SVN r17324 and eAthena SVN.
Idea Credited To: http://rathena.org/board/topic/80276-novendingboards-novenders/
152 downloads
Submitted
-
[UPDATE] +7 and above refined item no drop
By Mabuhay
This is an update to the original post :
and a response to this topic :
Currently working on Git Hash : ea54670
145 downloads
Submitted
-
[Script Command] viewcondition
By Zell
This mod allows you to set some conditions to a player can see or interact with a NPC.
Command:
viewcondition( npc_name, int_variable_name, compare_method, value_1, { value_2 } );
Compara Methods Avaiable:
EVC_LESS - If player variable is < value_1
EVC_EQUALS - if player variable is == value_1
EVC_MORE - if player variable is > value_1
EVC_BETWEEN - if player variable is >= value_1 and <= value_2
EVC_DIFFERENT - if player variable is != value_1
You can apply more than one condition to a npc, but if one condition fail, the npc will not be seeing by the player.
Script Sample:
new_1,55,111,5 Script Lupina#1 10078,{ mes "You can see and talk with me because your @teste variable is less than one!"; next; mes "Now, I will set @teste to 2 and you will no longe see me when goes outsight me or if use @refesh!"; close2; @teste = 2; end; OnInit: viewcondition( strnpcinfo(0), "@teste", EVC_LESS, 1 ); end; }
145 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
-
[Script Command] isselling - Discovery if a npc is selling a item by ID
By Zell
This commands verify if a npc is selling, returning 1 to yes and 0 to no.
Its very useful to black market scripts for players who knows item id and don't want to lost time searching where items are sold.
Obs: Didn't test the sample script, but you can have a idea in how to use.
Sample Script:
prontera,150,150,5 Script Who's Selling 90,{ .@n$ = "[Who is Selling]"; mes .@n$; // Its nice to put a delay in this script if you use a lot of stores in one map and in your .npc$ array // I'm using 5 seconds in this sample. if((gettimetick(2) - whosell_delay) < 5) { mes "You have to wait 5 seconds to use me again."; close; } mes "Tell me the item ID you want to know what npc's is selling it!"; input .@id; // You can test this sample with 607 ID whosell_delay = gettimetick(2); for( .@i = 1; .@i < getarraysize(.npcs$); .@i++) { .@found = isselling( getcharid(0), .npcs$[.@i], .@id ); if( .@found ) { next; mes "Ha, this item is " + getitemname( .@id ) + ", right?"; next; mes .@n$; mes "Who is selling it is " + .npcs$[.@i] + "!"; close2; showevent QTYPE_EVENT,QMARK_YELLOW,getcharid(0),.npcs$[.@i]; // Show in npc a ballon to player end; } } next; mes .@n$; mes "No npc selling it :)"; end; OnInit: setarray .npcs$[1],"Store 1","Store 2"; end; } prontera,151,150,5 shop Store 1 90,607:1000 prontera,152,150,5 shop Store 2 90,610:1000
135 downloads
Updated
-
Item "allowed" restriction
By Anubis-K
With this mapflag you say where a certain item is allowed
Example:
seting:
prontera mapflag customevent 1
and
500,1
item id 500 just can be used in prontera.
More info here.
http://rathena.org/board/topic/97437-item-event-mapflag/
Compatible with: 20ff69e
134 downloads
Updated
-
[Skill] Coup de Grace
By goddameit
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
-
Recently Browsing 0 members
- No registered users viewing this page.