Source Modifications
Source Mods & Code Snippets located here.
135 files
-
MVP Pets
By Break
Includes:
Client files Server files Example script Readme instruction You can view Information about MVP Pets from Word file attached below.
18 purchases 75 downloads
Updated
-
MVP Tomb save timer on Server Restart
By AllanEpi
1) Upon killing MVPs, it will save the date and time of death, killer , monster and map where it was killed in the database.
2) During server restart, reload or sudden crash, before spawning mobs, it will check and differentiate the date and time saved in the database with the current server time and check if the MVP should be alive or dead.
- If ALIVE, should spawn the MVP
- If DEAD, will not spawn the MVP, spawn the tomb (if tomb is enabled in the server config) and create a timer to spawn the MVP from the time it was killed
4 purchases 6 downloads
Submitted
-
MvP's Tombs with top 3 damage players
By EveeX
The mvps tombs include the top 3 players with damage.
tomb_damage.diff
356 downloads
Submitted
-
No @command while talking NPC
By Kichi
This mod is inspired by HERE and disable_items
I made this mod to prevent using @command while talking to NPC.
The default is prevent @command while talking to NPC
to allow @command while talking to npc.
enablecommand; // To allow @command while talking to NPC
This is first version, Bug is normal.
My suggestion
-add setting in conf file
285 downloads
Submitted
-
no @duel in Prontera
By EliteBlack
Information
This simple modification, players are not allowed to duel in Prontera.
User may apply the patch and re-compile.
Note: You may change the "prontera" to your desired map.
Mirror:
no @duel in prontera.
Patch (direct view)
166 downloads
Submitted
-
No @go when Player died
By EliteBlack
Information
This simple modification that players will not allow to use @go when they died in a battle.
User may apply the patch and re-compile.
Mirror
No @go when players died
398 downloads
Submitted
-
No-Drop +7 or higher items
By Elliott
A small request I responded to from the eAthena forums ages ago, it's very simple and even though the last time it was tested was on eAthena r14410, there shouldn't be any problems.
I used msg slot "520" but again this can be changed, as well as the refine rate of dropping too. Someone with no src knowledge can easily configure it. Enjoy.
401 downloads
Submitted
-
Normal + VIP Storage
By Emistry
Enable Account with GM Level 20 and above ( default ) to have extra slot for Storage.
the GM Level are configurable in the diff..
Original Post Link
http://www.eathena.w...dpost&p=1496268
made by AnnieRuru at eAthena
567 downloads
Updated
-
OnPCAttackEvent
By Mastagoon
This event triggers when a player character attacks another entity. And it registers the damage and other information about the attack.
Example usage:
// @damage holds the amount of damage dealt. // @damagegid holds the GID of the target (account ID if the target is a player). // @damagerid holds the rid of the mob OnPCAttackEvent: dispbottom "You've dealt "+@damage+" to target with GID "+@damagegid+" and RID "+@damagerid;
388 downloads
Updated
-
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
337 downloads
Updated
-
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.
172 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
448 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.
812 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!
117 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
979 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.
411 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.
251 downloads
Updated
-
Racing Cap Enchant
This Enchant System is based on this KRO : Hugel monster racing - Content updates - Divine Pride (divine-pride.net)
0 purchases 2 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
549 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
-
RODEX and BANK disabled - NORODEX and NOBANK MAPFLAG
By BeWan
You can disabled rodex and bank feature just add mapname in rodex.txt
You can use this mod to complete disabled rodex and bank function in the whole server by editing the condition in mod.
Kindly message me if you want to buy this.
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, kindly message me.
2 purchases 9 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
589 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!
33 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.
166 downloads
Updated
-
Recently Browsing 0 members
- No registered users viewing this page.