Source Modifications
Source Mods & Code Snippets located here.
135 files
-
@market clone update patch
By Mabuhay
This is my updated @market clone as per this topic:
Im currently using a sever file from December 2019. But I dont think it would not work on latest server files.
Enjoy
462 downloads
Submitted
-
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
-
@go/@warp delay when hit - Updated
By Mabuhay
Here is an updated @go and @warp delay when hit.
662 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
-
OnPCLootEvent
By joecalis
New NPC Label
OnPCLootEvent: This label triggers when a player picks up an item from the ground in a map marked with the 'lootevent' mapflag. This works with @autoloot and @alootid, this does not work for items given by script. When in a party with shared loot, only the player who looted the item from the ground will trigger this label. The information of the item picked up will be stored in an array called '@looted_data', check the script_commands.txt for the order of the data stored.
Usage Sample: lootevent_sample.txt
339 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
-
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");
237 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.
815 downloads
Updated
-
Multilevel Range
By Chun3
Tired of multilevel ON and go to level 63 by killing a poring?
Use this to give a more real levelling experience with multilevel. Useful for highrates and to avoid abuse on Original Quests Exp.
225 downloads
Updated
-
@voteleader for the Battleground
By Chun3
Min votes configured: 3 // Can be changed
Can vote on yourself: Disabled // Can be activated.
165 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;
}
4495 downloads
Submitted
-
[SCRIPT COMMAND] Fake Player
By Zell
This modification allows you to create fake players without further using mob_avail for such behavior.
Usage:
.@monsterGID = fakeplayer( map, x, y, name, job_id, sex, hair_style, hair_color, weapon, shield, head_top, head_mid, head_bottom, option, cloth_color );
1554 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
590 downloads
Submitted
-
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
-
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
508 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
-
@norecall command
By Vykimo
@norecall/@nr : Don't be recalled by Emergency Call skill.
It's only a .diff file to Apply on your rAthena folder.
I made this free release starting of the idea of @YtalloNv here : https://rathena.org/board/topic/117304-i-need-to-add-the-norecall-command-on-my-server/#comment-353203
259 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
-
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
-
Usefull Status Icons (EC, Bragi, Pneuma, Sunset, Idun,...)
By Vykimo
Easy for the player and good looking.
The pack contain source modification + icons made by me (with the color palette which reminds the skill).
6 usefull main icons availables :
Emergency Call Cooldown Pneuma Bragi Don't forget me Assassin of the Sunset Apple of the idun DEMO Video for Emergency Call :
52 purchases 239 downloads
Updated
-
@at with afk hat very easy Modify
By systemD2540
Inside file have Notice_Board .spr .act and image item for some one No have in data kRO Offcial
*** Only use for autotrade you can modify New @afk Just need some more from the old version.
414 downloads
Submitted
-
Instakill Mapflag
By Ninja
Tested and working with: 3e625dfdf9868690e36677701cbebe1b379a7485
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
Create a mapflag for instakill. As it would suggest, all damages done within the map will be amplified to max damage, thus instakilling the target.
It works both for the following use cases:
1. Player attacking a Monster
2. Player attacking another Player
3. Monster attacking a Player
4. Monster attacking another monster
Where "Monster" can be a normal mob or a Homunculus
Usage
In-game
@mapflag instakill [0|1] Script as mapflag
prontera<tab>mapflag<tab>instakill Script as used in setmapflag
setmapflag .EventMap$, mf_instakill; Example
Tag, You're Dead Script
Source In Action
Source file
1. I will retain all the rights in all the scripts that I create
2. Client cannot redistribute nor resell the scripts that I provide
3. No refunds
4. Maintenance of scripts does not include modification of the original intended behavior. If the script has been broken due to prior modification of the original behavior then it would mean a new service request
5. Modification of the original intended behavior would mean a new service request and would go through the process mentioned above
2. This can be redistributed anywhere in any form.
3. This shall not be in any way be branded for sale anywhere in any form.
4. Maintenance will not be provided. Feel free to use the support section.
5. See #3.
6. Ninja has the right to post all my free services to the release section and make it available for everybody to use
7. Maintenance of scripts will be provide free of charge
8. I will not keep any sensitive information from your server nor any credentials that you lend me
9. I will backup all my server files before I use this.
10. Ninja will not be liable in any way at any time.
11. The moment I use anything from here, I accept all the terms of services stated above.
Where the script author is Ninja (https://rathena.org/board/profile/7005-ninja/).
82 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
-
@lockid - Account Protection for Gepard
By Break
Bind your account to the hardware and login the game only from it. Compatible only with Gepard Shield
9 purchases 21 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
259 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.