Source Modifications
Source Mods & Code Snippets located here.
146 files
-
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.
175 downloads
Updated
-
Ping ''IP address''
By goddameit
Preview :
!! WARNING !!
I don't know anything about ping.c (in this patch file)
and I have no idea what will happen after install this.
I only know this command will do and return message about ping answer.
Main function author : http://goo.gl/tZ4fu
Modify : Goddameit
.
This script command will return a string to let you know what is answer
about this server use 'ping' to specify IP address
ping("IP adress")
.
SAMPLE : http://pastebin.com/download.php?i=tWnafFc9
461 downloads
Updated
-
PK mode if MVP is alive.
By Chun3
When a mvp spawns on his natural map, the pk mode goes on, when he dies, off.
@monster or script commands doesn't trigger.
893 downloads
Updated
-
Prevent hitting mobs near NPC or Warper
By pajodex
Hi,
It's been a while since I posted anything.. As of now, I want to release this simple src mod that prevents players from hitting MVPs near an NPC/Warper. Purpose of this is to discourage players from going near warpers while hunting MVPs.
I'm not sure how helpful this be but I just want to do something small for a while .
I will be lurking around the request section to see some good ideas and might be releasing them here after!
Cheers!
147 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
-
PVP on MVP Maps
By cook1e
When a MVP Spawns PVP is enabled, When this MVP dies PVP is disabled.
New Mapflag MF_MAPMVP - Disable going to savepoint once you die 2 times in a PVP map.
597 downloads
Submitted
-
Race AntiSkill
By Kichi
======== Compatible ==========
Compatible With rAthena, other emulator just PM me
I made this code in purpose to event
======== How To Use ==========
example:
1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,..;
change to
1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,13,21,0x83,...;
And your poring will immune again Skill (offensives).
Note:
3 = Race Plant
13 = Race Anti Skill
======== Suggestion ==========
Suggestions are welcome.
254 downloads
Updated
-
Refine UI [ Announce ]
By Valkyries
if player upgrade item success [ refine ui ] The system will announce the message.
can be configured in the file conf/battle/athenastudio.conf
796 downloads
Updated
-
Reflect "Reflection damage"
By goddameit
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
227 downloads
Submitted
-
Rental Card Return
By dantoki
If your Rental Item has a card compounded it will automatically mail you the card after the expiration.
Thanks to RDL.
202 downloads
Submitted
-
RentItem2
By Emistry
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
414 downloads
Updated
-
Sader Attendance Requirement
By sader1992
this patch make the player must have a variable true to claim his attendance reward
the variable is
#Attendance_YYYYMMDD ofc the variable change each day
this will allow you to create a script to make for example a quest that the player must do every day to claim the attendance
like for example the player must kill 500 monster before he can claim his attendance
or must gather items
or must be x level
or must player x amount of time in the day so he can claim the reward
of all the above
the file include an information script file
that have 2 function , one to set the variable and one to get the variable value (if you want to use them , just add them to your rathena/npc/other/Global_Functions.txt)
it also include 2 example quests for you to get some inspiration to create your own script
TODO: create function for gepard
655 downloads
Submitted
-
Script command: Dynprompt
By Talis
Works like prompt(), but lets you specify return values by adding a pipe symbol.
Examples:
dynprompt("Menu Entry");
Return Value: 1
@menu: 1
@menustr$: Menu Entry
@menunum: 1
dynprompt("^EE0000Menu Entry^000000|Test");
Return Value: 1
@menu: 1
@menustr$: Test
@menunum: 1
dynprompt("Shazam|5 Shazam");
Return Value: 5
@menu: 1
@menustr$: 5 Shazam
@menunum: 5
Script example:
// Dynprompt usage - Advanced example// Probably the best way to use thisfunction script dynprompt_sample3 { // The real power of dynprompt is that you can specify the return value for each menu element. // The return value is a atoi of the string following the pipe | - the full string can be accessed through @menustr$ // The atoi val can also be accessed through @menunum // If you want to use both number & string, the number has to come first else atoi won't work // Use the pipe character | to denote the return value - best to work with numbers, but strings work as well set .@menu$[0], "^009900Hello!^000000|1Hello"; set .@menu$[1], "^0000EEInfo~^000000|2Info"; set .@menu$[2], "^222222Test.^000000|3Test"; // This time we'll just add a element based on a condition if(.@somecondition) set .@menu$[3], "^EE0000- Admin -^000000|4Admin"; set .@menu$[4], "^990099G'bye^000000|5Bye"; // Lets implode & switch/case switch(dynprompt(implode(.@menu$, ":"))) { case 1: mes "Oh, Hello to you too!"; break; case 2: mes "You want info? How about the time?"; mes gettimestr("%Y-%m/%d %H:%M:%S",21); mes "Also, you selected option #" + @menu; // @menu still works break; case 3: mes "Debug info:"; mes "@menu is " + @menu; mes "@menustr$ is " + @menustr$; mes "@menunum is " + @menunum; break; case 4: mes "Wow, a admin!"; break; case 5: mes "Bye bye~"; break; case 255: // Cancel button mes "Hey, don't ignore me!!"; break; } close;}
I havn't tested it yet in production, but so far I havn't been able to encounter any issues with it.
Also, I do all my eAthena devving on a windows box so I can't guarantee that it'll work with linux.
Performance of dynprompt is going to be naturally worse than prompt, select or menu, but it might perform equally well in a dynamic setting if you take into consideration the array looping usually required - but I have not yet done any benchmarking or anything, so don't take my word for it. ( and to be honest, being able to create super clean code using switch / case is worth a tiny performance hit for me )
I hope it will make your scripting less painful - it sure has for me!
35 downloads
Submitted
-
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.
173 downloads
Updated
-
Script command: itemlink to generate <ITEML>
By Cydh
To simple generate <ITEML> string by using itemlink. <ITEML> is string that auto-parsed by client that support item link feature, when user SHIFT+Click the item or equipment.
Credits:
These people from OpenKore: lututui, exaxia, and jchcc872 downloads
Updated
-
Snatch Modification
By Vykimo
SRC Modification of skill "RG_INTIMIDATE, Snatch".
Teleport the player near a mob with the same id or near a monster with the same race present on the current map (if none, on random location).
That's only a patch to apply on your rathena folder.
Don't forget to thumbs up me if you like my content~
102 downloads
Updated
-
Sonic Blow and Arrow Vulcan v3.patch for 2018/12/19 Up Client
By gamingmagic
thanks to ckx_, syon, gidz, sadre
Video_2024_08_04-5_edit_0.webm326 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
-
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
161 downloads
Updated
-
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/.
221 downloads
Updated
-
trunk_17511_inflation.patch
By freeman129
This mod implement floating items price ingame.
Tested/Compatible with rAthena SVN r17511.
Idea Credited To: http://rathena.org/board/topic/86695-done-inflation-in-npc-shop/
132 downloads
Submitted
-
Unimplemented Official Skills
By grenat50
After the success of our previous release Battleground Extended , Mystic Project has decided to release another work for free in the community of rAthena - The Gravity's Unimplemented Official Skills. We've long heard about them since the beginning. I've seen posts of people wondering if there was any releases of them. It took a while but here it is. We did some researches about what was intended by Gravity. I think we came close to the initial project with a few modifications.
What are the Unimplemented Official Skills ?
Unimplemented Official Skills are skills designed by Gravity long ago that have never been released. They were forgotten / dropped by Gravity.
On iRO official wiki, you can see some informations about them. For example: Fire Ivy - iRO Wiki Classic
Forgotten Skills List and Effect:
Fire Ivy: Wizard has plenty of fire skills, as it was supposed to be an immobile skill that causes damage, we've renamed it to Wind Ivy and made it Wind. It can stop the target and does damage each second. Can be stackable up to 5.
Class: Wizard Fury: The LK enters a Fury Phase. Each attack received increases LK's ATK by 1 each 500 damage (up to 5). Some damage are being absorbed and reduced depending of current maxhp.
Class: Lord Knight Steal Backpack: Steal 1 stuff / item of Players directly in the inventory. Item is sent to the storage and the Stalker will have it as a rental for 5 minutes. If used on monsters, does a AOE Steal/Steal Coin
Class: Stalker System Creation: Auto-Attack system of Whitesmith was designed to summon small devices to attack targets. There are ATK/MATK devices depending on level. Iron is required to make the device.
Class: Whitesmith Synthesis Potion: Creates a rental potion that lasts 5 min for the whole party around the Creator if items requirements met. It costs 3 misc items to create a potion. Amount of players in the party increases the amount of items required. Those items are healing potions (heal over 10 seconds), ATK/MATK/Flee/Hit potions.
Class: Creator Ragnarok: Ensemble Skill done by a bard and a dancer together. It causes damage in the area, as well as abnormal statuses. Allies receive buffs. Buffs and abnormal statuses are random each second. (similar to gospel)
Class: Bard/Dancer Hallucination Walk: Summons a clone of self and cloak the SinX. If used while being cloaked: uncloaked the SinX and causes Hallucination in an area.
Class: Assassin Cross Biotechnology: Passive skill. Increases chance to create an embryo and MaxHP of Homunculus by 2% per level.
Class: Alchemist Drill Master: Passive skill. Increases damage of homunculus by 2% per level.
Class: Alchemist Heal Homunculus: Same as Potion Pitcher lv 4 but targets directly the homunculus by using it without having to click on the homunculus.
Class: Alchemist Flame Control: Alchemist inflicts damage linked to the homunculus based on homunculus's ATK and MATK. Chances to inflict a common status depending on homunculus type.
Class: Alchemist Twilight Alchemy IV: Creates 200 blue potions if all requirements are met.
Bonus - Extra Custom Skills:
Earth Wall: Same as Ice Wall but it is indestructible and one cell only. 5 instances maximum.
Class: Wizard Earthquake: Adapted version of Earthquake for Wizard. Part of ATK and MATK are defining damage.
Class: Wizard
Installation and Compatibility:
I did put some instructions in the read me file regarding the installation.
The diff is compatible with the latest rathena but it is easy to adapt to any version really.
Any Questions ?
You can contact me on Discord: Grenat#5220 for support regarding the installation.
575 downloads
Updated
-
VIP - Temporary Rasie Reel
By goddameit
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
250 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.