Source Modifications
Source Mods & Code Snippets located here.
135 files
-
Fix to auto-close on wrong password/id for new clients
By EvilPuncker
Well, the code is kinda simple and since most people don't know about it yet, I'm releasing a diff for those who want it, it is just a piece of code copied from char.c and pasted into login.c to make the client send "rejected from the server" on wrong password, so it will not close anymore, and you can edit your msgstringtable.txt to show "wrong password/rejected from the server", hope you enjoy.
605 downloads
Updated
-
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
-
Forcibly Strip
By goddameit
Info : http://goo.gl/RXACXL
Preview :
----------------------------------------------------------------------
Transform request (hercules --> rA) by Adam
420 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
158 downloads
Updated
-
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.
125 downloads
Submitted
-
Ganbantein and Land Protector Old Behavior
By BeWan
Sample Video:
https://drive.google.com/file/d/1vsVErqmxK-JADKQbMwbTgM_8Vv49LgIa/view?usp=sharing
Kindly message me if you want to buy this.
Report all error/bugs in the forum post not in the PM for faster fix, Thanks!
By downloading this file, you agree with my Terms of Service:
• You are not allowed remove my signature from any of the included files.
• You are not allowed claim my work as yours.
• I can give you support, but please, do not message me.
17 purchases 45 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.
250 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
107 downloads
Updated
-
guildgetitem2 & guildgetitembound2
By Skorm
This command sends items to the guild storage without the need of server restart.
Example:
prontera,100,100,5 script guildgetitem2 100,{ //guildgetitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; switch ( guildgetitem2(1218, 1, 1, 1, 10, 4305, 0, 0, 0) ) { case 1: dispbottom "Item added to your guild storage."; end; case 0: dispbottom "Unknown Error."; break; case -1: dispbottom "Cannot open both storages."; break; case -2: dispbottom "Player doesn't have a guild."; break; case -3: dispbottom "Player doesn't have a guild storage."; break; case -4: dispbottom "Guild storage being used by someone else."; break; case -5: dispbottom "Guild storage is full."; break; } end; } Works much like getitem2 and it uses the attached players guildstorage.
358 downloads
Updated
-
Hide announcements/broadcasts command @blockbc
By pajodex
Hi,
This is a response from this post :
Requirements:
Basic knowledge how to apply diff on your server files. How to use the command:
@blockbc <param>.
Parameters:
PARTY - block incoming broadcasts from party. GUILD - block incoming broadcasts from guild. BG - block incoming broadcasts from battleground. CLAN - block incoming broadcasts from clan. MAP - block all incoming broadcasts from the current map. ALL - block all incoming broadcasts. @unblockbc. - as per the command name suggest
Disclaimer:
This is tested on latest server files as of the day it was posted. May or may not work on older server files. Keeping this up-to-date or vice-versa won't be my responsibility. Compatibility is your responsibility. Use at your own risk.227 downloads
Submitted
-
Hop Jump
By Vykimo
Hop Jump [ GLO_SAUT ]
Can be used with the skill id 5000 or the atcommand @hop <skill level>
2 purchases 8 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
258 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; }
81 downloads
Updated
-
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
-
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
-
Item Use, Drop & Pickup Events
By Akkarin
A handy extra set of script events and variables for you to maximise your event and quest scripts!
New Variables: DroppedItemID, DroppedItemQTY, UsedItemID, PickedItemID
New Scripted Event Triggers: OnItemDropEvent, OnItemUseEvent, OnItemPickupEvent
Includes 3 Test NPC scripts e.g.
- script onusetest -1,{ end; OnItemUseEvent: dispbottom "Found item use event"; dispbottom "Using on "+ UsedItemID; switch(UsedItemID){ case 501: dispbottom "You used a Red Potion!"; break; } end; } As an example use-case, I've previously used this code in an Easter event script where each time you pickup any 1 of the 13 different eggs, specific code will run for effects, item swapping, costume changes, play sounds, etc. The possibilities are enormous!
18 purchases 45 downloads
Submitted
-
Keitenai Resistance Capping
By Keitenai
File Name: Keitenai_Delay_System
File Submitter: keitenai
File Submitted: 27 Nov 2017
File Category: Src Modification
Content Author: keitenai
Information:
Resistance capping applies to item effects which have "bSubEle, bSubSize, bSubRace2, bSubRace, bSubClass, bNearAtkDef, and bLongAtkDef".
This modification can be set to less than 100 resistance cap to avoid too resistance heal, or set over 100 upto max of 200 if the dev would like to enable resistance heal.
Features:
Configurable Maximum resistance capping. Resistance capping can be applied to different resistance bonus types with different values. Resistance capping is applied to all items with resistance bonus scripts. By buying this scr modification code, you agree to these terms:
You are not allowed to redistribute this src code modification in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I @Keitenai still retain all rights to this src modification. Terms above may be changed or adjusted without prior notification.
273 downloads
Updated
-
Main Chat Modification
By Cookie
This modification will allow the user to set a main chat delay (in seconds) for flood protection and a main chat color (in hexadecimal color format).
The user will apply the patch and re-compile. Then, in /rAthenaroot/conf/battle/client.conf refer to the main_chat_delay and main_chat_color sections.
401 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
-
Mapflag NoAttack (MF_NOATTACK)
By M4karov
Modification created to block the attack on monsters on a given map.
Script command created to enable / disable attacking players and monsters.
Script:
prontera,171,203,4 script NoAttack 67,{ mes "NoAttack"; mes "What can I do for you?"; switch(select("Enable Attack:Disable Attack")){ case 1: noattack 1; end; case 2: noattack 0; end; } } prontera mapflag noattack
By buying 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 © - Emperium Games 2017 - All Rights Reserved
10 purchases 35 downloads
Updated
-
Meteor Storm + Land Protector
By BeWan
In response to this post :
Kindly message me if you want to buy this.
Report all error/bugs in the forum post not in the PM for faster fix, Thanks!
By downloading this file, you agree with my Terms of Service:
• You are not allowed remove my signature from any of the included files.
• You are not allowed claim my work as yours.
• I can give you support, but please, do not message me.
11 purchases 41 downloads
Updated
-
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:
52 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(...)}157 downloads
Submitted
-
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
-
MvP and Mini-Boss Card Ad & Log System
By Baad
Addition/Modification at Source - Announcement and Log system when dropping MvP/Mini-Boss Card
- Advertises globally when dropping a MvP or Mini-Boss Card regardless of the drop_rate and saves a log in the database.
NOTE1: Announces and saves the log of MvP/Mini-Boss cards only.
NOTE2: All settings can be accessed in the `conf/battle/drops.conf` file.
Use
- For those who have difficulty placing just to announce the drop of MvP/Mini-Boss cards without having a conflict of drop_rate.
- In addition to advertising, you can also save a log each time one of these cards is dropped to use as tracking.
- There is also an extensive way of configuring the system, being able to turn it off completely or activate only the advertisement or only the log.
General System Settings
- Enable or disable the entire system.
MvP Card Settings
- Enable or disable MvP card drop and log announcement system only.
- Enable or disable MvP card advertising only.
- Enable or disable MvP card logging only.
- Choose the color of the MvP card drop ad.
Mini-Boss Card Settings
- Enable or disable only the Mini-Boss card drop and log announcement system.
- Enable or disable Mini-Boss card advertising only.
- Enable or disable Mini-Boss card logging only.
- Choose the color of the Mini-Boss card drop announcement.
NOTE3: Sorry for the English, I used Google Translator and this is my first topic here.
591 downloads
Submitted
-
Recently Browsing 0 members
- No registered users viewing this page.