Source Modifications
Source Mods & Code Snippets located here.
146 files
-
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
-
[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
158 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; }
158 downloads
Updated
-
@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
-
MVP Card to Mail
By dantoki
Will automatically send to Mail when the MVP Drops Card.
Thanks to RDL.
151 downloads
Submitted
-
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
-
[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
146 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
137 downloads
Updated
-
(QOL) Taekwon Mission printing % every monster killed for the mission
By Kreustoo
A small QOL some players asked me to add.
It justs print each time a monster is killed for the taekwon mission the % completed
136 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
133 downloads
Submitted
-
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
-
Freezemap Script Command
By Xantara
Information
This script command will apply a percent chance of freeze the players in the map (no matter what stats or equipment they have) for a duration.
Syntax
freezemap "<map name>",<chance>,<tick>;
Documentation
Mirror
[Xantara]_scriptcmd_freezemap.patch
Credits
Created by @Xantara
Requested by @ngek202
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Do not mirror without my consent.
128 downloads
Submitted
-
@partybuff / @spb
By Lilith
@partybuff (@spb) can display party member's special buffs in party list (Alt+Z)
Buffs are:
Look like
[BAFS+]Player name
Watch on YouTube
http://www.youtube.com/watch?v=YS4G18DoqUY&feature=youtu.be
47 purchases 117 downloads
Updated
-
@ignorebattle
By goddameit
When Someone use this command, all player in that map will not be attacked by mobs
116 downloads
Submitted
-
@dropall Modification & @dropalltab
By Xantara
Information
The modification on @dropall allows the user to specify what item type should be dropped. It still retains the ability to drop all items at once.
The new atcommand, @dropalltab, allows the user to drop all items in a specific inventory tab. The user may choose to drop all items in all tabs (similar to the default behavior of @dropall).
Tested on rAthena revision 16738.
Syntax
@dropall {item type}
@dropalltab {tab number}
Documentation
Credits
Created by @Xantara
Requested by @Peopleperson49
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.
112 downloads
Updated
-
Guild Activity Logging
By Ninja
About This File
Tested and working with: c212b2ed053d60855ce584a0368d98cff94c5059
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
To improve the Guild Activity Logging of rAthena.
It works for the following Guild Logging activities:
1. Guild Creation
2. Guild Breakage
3. Guild Member Addition
4. Guild Member Removal/Leave
5. Guild Alliance Formation
6. Guild Alliance Breakage
7. Guild Antagonist Formation
8. Guild Antagonist Breakage
9. Guild Castle Occupancy
10. Guild Castle Abandonment
Usage
1. Tracking guild activities of a character
SELECT origin, target, `activity`, COUNT(`activity`) as "Times Done" FROM interlog WHERE origin = "this" or target = "this" GROUP BY `activity` 2. Tracking a guild's WoE Castle occupancy rate SELECT castle_id, COUNT(`activity`) as "Times Done" FROM interlog WHERE `origin` = "ThisGuild" and `activity` like "%Occupied%" GROUP BY castle_id
111 downloads
Updated
-
[Not For Sell 2020-10-22] Sader's Renewal Mode [PRE-RE Only]
By sader1992
[Not For Sell anymore , after rAthena item YAML update 2020-10-22]
You can do it your self in less then 60 seconds in the new YAML update!
quest here rathena/quest_db.yml at master · rathena/rathena (github.com)
skills here rathena/skill_db.yml at master · rathena/rathena (github.com)
items here rathena/item_db.yml at master · rathena/rathena (github.com)
mob coming soon
if you already did buy this file , you can download it , however if you use the latest rathena , this file does not support that
it's easy to do what my mod does , in yml , you don't need this files anyway if you use the latest rathena
which mean , you don't need this mod anymore
License :
by downloading this file you are agree on the following:
i will Back Up my server before using this file. i will use this file for my own private server only , not for a group of servers . i will never share this file with anyone . i will never upload this file to public and i wont leave it on shared storage . i will report any bugs or errors to sader1992 . all the rights retain to sader1992 . Charge-back scams are not tolerated and will get you punished on rAthena. Terms above may be changed or adjusted without prior notification .
21 purchases 111 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
-
Extra Mapflags [nofalcon, noriding, nomadogear, nowug, nocart]
By Hyroshima
They are simple mapflags but I believe they can be very useful in general.
Note: noriding affects pecopeco, dragon, gryphon.
prontera mapflag nofalcon prontera mapflag noriding prontera mapflag nomadogear prontera mapflag nocart prontera mapflag nowug
102 downloads
Submitted
-
MF_NORECALL (Custom Mapflag)
By Gidz Cross
MF_NORECALL a custom mapflag that restrict players being recalled via @recall / @recallall command when in special maps.
In response to:
100 downloads
Updated
-
@security - Prevent account transaction
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.
Features
Prevent unwanted transaction for your account -well, just for safety- by using (at)security command. When transaction is blocked, a char cannot drop, sell, buy items, compound a card, put off cart, and other item-consumed activities Included FluxCP Addon to reset security code Compatibility:
Updated for Git Hash: 9da3ad14 (20191016) 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:
17 purchases 99 downloads
Updated
-
Inject - Allows running dynamic scripts in running time
By Zell
This script commands allow you to "Inject" scripts inside other scripts.
But Zell, why I want this?
Well, you can use a script code from a SQL table! Imagine that now you can change scripts code blocks without reloading scripts direct from your database or you can even do like me where I'm building scripts from a API!
Sample Script:
prontera,150,150,5 Script Inject Test 91,{ .@test = rand(1, 100); mes "Let's test Inject"; mes "I will declare variable .@test as " + .@test + "."; mes "My npc id is " + getnpcid(0), " "; mes "[Inject Code Start]", " "; // This script text coud be loaded from a SQL table! Inject( "mes \"Running NPC is \" + getnpcid(0); " + "mes \"Value of .@test is \" + .@test; " + "next; " + ".@test = rand(200, 500); " + "mes \"Now value of .@test will be \" + .@test;" + "close2; " ); mes "[Inject Code End]", " "; mes "Inject was ok and .@test is now " + .@test; close; }
98 downloads
Updated
-
[Script Command] npcisnear
By Zell
This commands verify if any NPC is near the distance of a player. Can be useful for some script restrictions.
Script Sample:
prontera,150,150,5 Script Curious Boy 90,{ .@n$ = "[Curious Boy]"; .@distance = 5; mes .@n$; if(isnpcsnear(getcharid(0), .@distance)) mes "Sorry, I will only talk with you when no NPC is near you!"; else mes "Hi!"; close; }
88 downloads
Submitted
-
[Mapflag/QOL] NoDeath_Count
By Kreustoo
A mapflag that doesn't increment death count when a player dies. Usefull to preserve super novice bonus.
88 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/).
86 downloads
Updated
-
Recently Browsing 1 member