Source Modifications
Source Mods & Code Snippets located here.
135 files
-
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
568 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
213 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
395 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
591 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!
34 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.
168 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 jchcc785 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~
96 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
927 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
154 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/.
198 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/
127 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.
436 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
244 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.