44 files
-
[AtCommand] afk
By Mhalicot
HPM @afk complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only afk.c
Instruction.
1. Download and extract files using any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add afk
3. Open Hercles/afk/afk.vcxproj and recompile.
4.Your done. you can now try your plugins
Note: It is compiled already, so don't bother to recompile it.
use recompile if you modify the script.
If you have any questions feel free to drop a comment.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. e9d695)
Credit: Original file by Rebel and converted by Me
2162 downloads
Updated
-
Instance Check Commands
By GmOcean
Additional Instance Check Commands to go along with the existing instance_check_party.
Commands:
*instance_check_guild(<guild_id>{,<amount>{,<min>{,<max>}}});This function checks if a guild meets certain requirements, returning 1 ifall conditions are met and 0 otherwise. it will only check online characters.amount - number of online guild members (default is 1).min - minimum level of all characters in the guild (default is 1).max - maximum level of all characters int he guild (default is max level in conf).Example:if( instance_check_guild(getcharid(2), 2, 1, 150) ){ mes "Your guild meets the Memorial Dungeon requirements.", mes "All online members are between levels 1-150 and at least two are online."; close;} else { mes "Sorry, your guild does not meet requirements."; close;}
*instance_check_ready(<IOT_TYPE>,<owner_id>{,amount{,min{,max}}});This function checks if the Char, Party, Guild, etc... meets certain requirements, returning 1 ifall conditions are met and 0 otherwise. It will only check online characters.IOT_TYPE: IOT_NONE - Not sure what this is, but will return 1 regardless of settings due to it being unknown. IOT_CHAR - Character ( Will only check for min or max level. Amount doesn't matter since only 1 character can enter IOT_CHAR instance ). IOT_PARTY - Party IOT_GUILD - Guildamount - number of online party members (default is 1).min - minimum level of all characters in the party (default is 1).max - maximum level of all characters in the party (default is max level in conf).Example:if( instance_check_ready(IOT_CHAR, getcharid(0), 1, 75) ){ mes "The player has met all the requirements to enter the instance.", mes "The player is at least level 75 and is online."; close;} else { mes "The player does not meet all the requirements or is offline."; close;}Example 2:if( instance_check_ready(IOT_PARTY, getcharid(1), 5, 10, 50) ){ mes "The party meets all the requirements to enter the instance.", mes "All online members are between the levels 10-50 and at least 5 members are online."; close;} else { mes "Sorry, your party does not meet all the requirements."; close;}Example 3:if( instance_check_ready(IOT_GUILD, getcharid(2), 36, 140, 150) ){ mes "The guild meets all the requirements to enter the instance."; mes "All online members are between the levels 140-150 and at least 36 of them are online."; close;} else { mes "Sorry, your guild does not meet the requirements."; close;}
[Credits: malufett for providing the base for which these commands were derived from].
24 downloads
0 comments
Submitted
-
autopots
By Mhalicot
HPM autopots complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only autopots.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add autopots
3. find autopots/autopots.sln and recompile it.
4. You can now start using your ready made plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
In Recompiling:
If you are using other MSVS/C
Quote
Note: Recompile if you modify the script.
if you want to use berry only type
@autopots 50 607 0 0
@autohp 50 607
@autosp 50 607
To turn it of, simply type @autopots again
If you have any questions feel free to drop a comment.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 137**)
Credit: Original file by Goddameit and converted by Me
881 downloads
- autopots
- plugins autopots
- (and 5 more)
0 comments
Updated
-
[AtCommand] autoatk
By Mhalicot
HPM @autoatk complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only autoattack.c and recompile it.. follow this steps
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1 if ask for Overwrite files? click OK.
3. Your done. you can now try your plugins.
In Recompiling:
If you are using VS2010
If you have any questions feel free to drop a comment.
for more info on using HPM Click Me
Original Released by: ossi0110
Requested by: Karazu
1272 downloads
- HPM Plugins
- @autoattack
- (and 3 more)
0 comments
Updated
-
@whosell
By ossi0110
//-------------------------------------------------------------------------------------------//
* @whosell - List who is vending the item (amount, price, and location).
* revamped by VoidLess, original by zephyrus_cr
* Converted into a Plugin by ossi0110
//-------------------------------------------------------------------------------------------//
Here is the @whosell Plugin
tested with Linux and VS2010
Current the Plugin is setted to show a Minimap Dot where the Vendor is Located , if you dont want this just change this line
change it to 0
bool flag = 1; // place dot on the minimap?
can be used ingame with , @whosell ITEMID/ITEM_NAME
for more info on how to to use HPM visit Here
have fun , ossi0110
418 downloads
Updated
-
Mob Drop Qty
By Ind
HPM Plugin.
/** * Adds a 50% ( customizeable ) chance for ETC (customizeable) items to drop from mobs with double quantity * Adds a 25% ( customizeable as well ) chance for it to use tripple quantity (this dice is only played if the 50% one succeeded) * Adds a 10% ( customizeable as well ) chance for it to use quadruple quantity (this dice is only played if the 25% one succeeded) * Adds a 5% ( customizeable as well ) chance for it to use quintuple quantity (this dice is only played if the 10% one succeeded) * For example, after a player succeeds at dropping a jellopy (at any rate), theres a 50% chance it'll be 2 jellopies instead of 1, * and if that 50% succeeds, there'll be another 25% chance for it to be 3 instead of 2, and if that 25% succeeds, * there will be another 10% chance for it to drop 4 instead of 3, and if that 10% succeeds, there will be a 5% chance to drop 5 instead of 4. * - MvP drops are not affected * - Items looted by monsters are not affected **/ - Requires HPM Hooking
Easy to Customize
switch( data->type ) { /** * uncomment those you wanna affect, don't even try adding gear or non-stackable types -- they are not meant to have qty higher than 1! **/ //case IT_HEALING: //case IT_USABLE: //case IT_CARD: //case IT_AMMO: //case IT_DELAYCONSUME: //case IT_CASH: case IT_ETC: /** * Feel free to modify the formula here! **/ if( rand()0 > 50 ) /* if rand > 50, break and do not affect the qty */ break; *qty += 1;//from 1 to 2 if( rand()0 > 25 ) /* if rand > 25, break and do not affect the qty further */ break; *qty += 1;//from 2 to 3 if( rand()0 > 10 ) /* if rand > 10, break and do not affect the qty further */ break; *qty += 1;//from 3 to 4 if( rand()0 > 5 ) /* if rand > 5, break and do not affect the qty further */ break; *qty += 1;//from 4 to 5 break; } You may also use the *nameid variable if you wish to further enhance the mechanic, for example
if( *nameid == 604 ) /* if dead branch, qty + 2 */ *qty += 2; How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
90 downloads
0 comments
Submitted
-
Visible Monsters HP
By Ind
HPM Plugin.
- Monsters HP is visible to all players, instead of only those who hit it.
- Monsters spawned with 'boss' flag have a greater bar (2-3x normal size, check screenshot in download page view)
- Requires PACKETVER >= 20120404
Whats the 'boss' flag?
For example, gef_dun.txt's Doppelganger
gef_dun02,0,0,0,0 boss_monster Doppelganger 1046,1,7200000,600000,1 How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
578 downloads
Submitted
-
Server Side Manners.txt
By Ind
HPM Plugin.
- Implements the 'server-side' manners.txt aka ability to blacklist words.
Includes:
- Ability to read 'conf/manners.txt' (you have to create the file, you can fill as you like, and use '//' to create commands as well).
- The @reloadmanners command
- Implements the 'mouthful' group permission, which allows individual groups to bypass the badwords filter.
Requires:
- HPM Hooking to be enabled.
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
176 downloads
0 comments
Submitted
-
rentitem2 plugins
By Mhalicot
HPM (Script command: rentitem2) (AtCommand: @rentitem) complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only rentitem2.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add rentitem2
3. find rentitem2/rentitem2.sln and recompile it.
4. You can now start using your ready made plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
Note: Recompile if you modify the script.
Sample Script:
// Structure*rentitem2 <Item_ID>,<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;*rentitem2 "<Item_Name>",<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;// Scriptrentitem2 @inventorylist_id[.@item],.rentime,@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item];
Note: cannot rent pet eggs/armor, stackable items.
// AtCommand Structureusage: @rentitem <item name/ID> <Minutes>
*getequipexpiretick(<equipment slot>)
Returns the number of seconds before the item expires.0 means it never expires (not a rental item)-1 means no item is equipped
Sample Script:
if (getequipexpiretick(.@part)) { mes "Sorry. I don't sign rental items."; emotion e_sry; close; }
If you have any questions feel free to drop a comment.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 137**)
Credit: Original file by Brian and converted by Me
409 downloads
- rentitem2
- rentitem2 plugins
- (and 2 more)
0 comments
Updated
-
Broadcast Alarm
By pan
@balarm <color> <type> <file name> <message> Type
0 - Global message
1 - Local message
File name
It's a file that is inside your grf\wav\file.wav
WARNING! If nonexistent file is put all hexeds that receive this broadcast will crash!
Color
Uses the same configuration as '@kamic'
Source-code:
http://pastebin.com/TFS0GCDs v1.0
http://pastebin.com/idsFvmhJ v1.1
For more information see: http://herc.ws/board/topic/3525-broadcast-with-sound-alarm/
57 downloads
0 comments
Updated
-
@identifyall
By Mhalicot
HPM @iall complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only identifyall.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1 then read "read me!.txt" or edit conf/plugins.conf and add identifyall
3. Your done. you can now try your plugins
If you have any questions feel free to drop a comment.
for more info on how to to use HPM visit Here
572 downloads
- identifyall
- identifyall plugins
- (and 2 more)
0 comments
Updated
-
bonus bCoolDownRate,<x>;
By Ind
HPM Plugin.
Implements the 'bCoolDownRate' item bonus, demonstrates how to implement a item bonus through a plugin.
works like bDelayRate example:
- cooldown is 10000 (10s)
--'bonus bCoolDownRate,50;' = 15000 (15s) (+50%)
--'bonus bCoolDownRate,-50;' = 5000 (5s) (-50%)
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
163 downloads
0 comments
Updated
-
getrandmob (script command)
By Samuel
Hi guys!
Just converted Akinari's getrandmob script command into a plugin.
What does it do?
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.
67 downloads
- getrandmob
- plugin
- (and 1 more)
0 comments
Submitted
-
@storeit
By Samuel
Hi guys!
Just converted Akinari's @storeit command into a plugin.
What does it do?
With this command you can store all items in your inventory except currently equipped equipment.
Have fun and God bless!
123 downloads
0 comments
Submitted
-
@autobuyammo
By Samuel
Hi guys!
Just converted Goddameit's @autobuyammo
This files includes the plugin + script for the bind command (will try to make it a real command soon)
How does it works?
Just activate the command and when your ammo is depleted it will be replenished with the same ammo by 10s as long as you have zeny
Have fun and God bless!
112 downloads
0 comments
Submitted
-
@Autoloottype
By Samuel
HI guys! Here is the plugin for the @autoloottype from rathena
Special thanks to Haruna for the tutorial
Credits for the original authors still indicated in the codes.
How to use:
@autoloottype +<item type>
@autoloottype -<item type>
Just type @autoloottype in game to see more details.
Have fun and God bless!
141 downloads
0 comments
Submitted
-
@storeitem
By Ind
HPM Plugin. Implements the @storeitem command
@storeitem <item name or ID> <quantity> <refine> <char name> Designed by Beowulf/Nightroad
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
122 downloads
0 comments
Submitted
-
[Atcommand]itemmap
By Fatalis
Itemmap Plugin
usage
@itemmap <mapname> <itemid> <amount>
Note: The code of @itemmap isn't mine, credit goes to the owner , I just converted it to a plugin for Hercules
135 downloads
0 comments
Submitted
-
Skill Error Messages
By Ind
Its more of a way to demonstrate how HPM overloading can be used (its going to be much more fun to play with once we get HPM Hooks released).
SkillErrorMessages
Replaces client-side error messages by custom server-side error messages, for skills.
Not Enough Spirit Spheres Message
%d requires a total mind bullets becomes
%s requires a total %d spirit spheres (%s being the skill name, %d the amount of spirit spheres)
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
122 downloads
0 comments
Submitted