41 files
-
Costume Item Plugins
By Mhalicot
HPM @costumeitem 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 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 costumeitem
3. Your done. you can now try your 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 have any questions feel free to drop a comment.
NOTE: You done have to edit your src to add this custom features(Less conflict when you want to update your server). Thanks to Mr. Ind for making this Plugins possible, This Plugins will convert your items to costume(item stats/combos/bonuses will also copied)
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 146**)
Script Release: Costume System
1582 downloads
0 comments
Updated
-
[Script Command] addrid
By Mhalicot
Converted to plugins since its been a month in pull request e5d29d7 by Dastgir
topic request here
HPM addrid complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only addrid.c
Instructions: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 addrid
3. Your done. you can now try your plugins
/*========================================================================= * Attaches a set of RIDs to the current script. [digitalhamster] * addrid(<type>{,<flag>{,<parameters>}}); * <type>: * 0 : All players in the server. * 1 : All players in the map of the invoking player, or the invoking NPC if no player is attached. * 2 : Party members of a specified party ID. * [ Parameters: <party id> ] * 3 : Guild members of a specified guild ID. * [ Parameters: <guild id> ] * 4 : All players in a specified area of the map of the invoking player (or NPC). * [ Parameters: <x0>,<y0>,<x1>,<y1> ] * Account ID: The specified account ID. * <flag>: * 0 : Players are always attached. (default) * 1 : Players currently running another script will not be attached. *-------------------------------------------------------------------------*/ Quote
A small example to how it works:
- script bla -1,{ end;OnClock0820: addrid(0); if (zeny>20000) set zeny,0; end;} means 08:20 each player who's currently logged in and has more than 20000 zeny would have his money set to 0;
Another example:
prontera,120,120,2 script bla 120,{ addrid(2000001); set cake,2; dispbottom "soup"; end;} means that if someone talks with that npc, it'd also add the player with the acc_id 2000001 ,set both of their cake variables to 2 and display soup at the bottom of their chatwindow.
And a last one:
prontera,120,120,2 script bla 120,{ addrid(3,1,getcharid(2)); mes "hey my guild"; close;} means that if someone in a guild talks with that npc , his entire guild as long as they aren't involved in a script currently, get a npcwindow with "hey my guild"
Main Link~
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
263 downloads
- addrid
- script addrid
- (and 1 more)
0 comments
Updated
-
Auraset
By Dastgir
For Building Plugins:
Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC
Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc
Usage:
Atcommand:
(usage: @aura <aura1> {<aura2> <aura3>})
(aura1,aura2 are optional)
ScriptCommand:
(usage: aura aura1{,aura2,aura3}
aura1 is compulsory, while aura2,aura3 are optional.
aura1,aura2,aura3 are AuraID's
NOTE: 1) This effects are permanent(unless the effect is not, which is clientside) and if you want to remove it, either do "@aura 0 0 0" or by Script (aura(0,0,0))
2) If you type aura(586,-1,240), the 2nd aura will remain same, while first and third aura will change.
You can check/set User's AuraID's by following variables
USERAURA - Aura1
USERAURA1 - Aura2
USERAURA2 - Aura3
You can also change aura by changing these variables.
Some Useful aura Combinations:
{ 586, -1, -1 },{ 586, 362, -1 },{ 586, 362, 240 },{ 418, -1, -1 },{ 486, -1, -1 },{ 485, -1, -1 },{ 239, -1, -1 },{ 240, -1, -1 },{ 241, -1, -1 },{ 620, -1, -1 },{ 202, -1, -1 },{ 362, -1, -1 },{ 678, -1, -1 },{ 679, -1, -1 },{ 680, -1, -1 },{ 239, 418, -1 },{ 239, 486, -1 },{ 239, 485, -1 },{ 240, 418, -1 },{ 240, 486, -1 },{ 240, 485, -1 },{ 241, 418, -1 },{ 241, 486, -1 },{ 241, 485, -1 },{ 620, 418, -1 },{ 620, 486, -1 },{ 620, 485, -1 },{ 239, 418, 202 },{ 239, 486, 202 },{ 239, 485, 202 },{ 240, 418, 202 },{ 240, 486, 202 },{ 240, 485, 202 },{ 241, 418, 202 },{ 241, 486, 202 },{ 241, 485, 202 },{ 620, 418, 202 },{ 620, 486, 202 },{ 620, 485, 202 },{ 239, 418, 362 },{ 239, 486, 362 },{ 239, 485, 362 },{ 240, 418, 362 },{ 240, 486, 362 },{ 240, 485, 362 },{ 241, 418, 362 },{ 241, 486, 362 },{ 241, 485, 362 },{ 620, 418, 362 },{ 620, 486, 362 },{ 620, 485, 362 },{ 239, 418, 678 },{ 239, 486, 678 },{ 239, 485, 678 },{ 240, 418, 678 },{ 240, 486, 678 },{ 240, 485, 678 },{ 241, 418, 678 },{ 241, 486, 678 },{ 241, 485, 678 },{ 620, 418, 678 },{ 620, 486, 678 },{ 620, 485, 678 },{ 680, 679, 678 },
I guess no further explanation is needed.
744 downloads
Updated
-
[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
2158 downloads
Updated
-
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
868 downloads
- autopots
- plugins autopots
- (and 5 more)
0 comments
Updated
-
plugin Restock System
By Dastgir
It is a restock system(which I apparently made 5-6 months ago) [Also its a Plugin - Yay]
So I am just releasing it, as I feel its been useful for many servers.
Though there can be some optimizations on script-side(will be applied later on).
You need to enable plugin as well as script provided in the download.
2 commands:
@restock - Enables/Disables Restock System
@restock2 - To Add/Remove item
Usage:@restock2 <itemid> <quantity> <type1> <type2>Type 1:1 = Storage2 = GStorageType 2:1 = Add2 = Remove3 = Help4 = List5 = Empty The List@restock2 x y z 3 For Help@restock2 x y z 4 For Current Restocking List@restock2 x y z 5 For Removing All Items From Restockx,y,z Can be any number, e.g: @restock2 0 0 0 3 will give you help option,@restock2 x y z 5 will Empty your list
It Support Restocking of All Kinds of Item.
759 downloads
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
1260 downloads
- HPM Plugins
- @autoattack
- (and 3 more)
0 comments
Updated
-
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.
573 downloads
Submitted
-
@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
415 downloads
Updated
-
Party Script Plugins
By Mhalicot
Works only in HERCULES.
Due to insistent public demand
HPM party script complete package released.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only partyscript.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 partyscript
3. Your done. you can now try your 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
Note: Recompile if you modify the script.
List of Script Commands
List of AtCommands
If you have any questions feel free to drop a comment.
NOTE: I do not own the whole script, I only convert it into plugins. Thanks to Mr. Ind, Mumbles, Haru, for making this Plugins possible.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 141**)
Special thanks to the original Author Cydh
259 downloads
- Party Script
- @leaveparty
- (and 1 more)
0 comments
Updated
-
@arealoot
By Dastgir
Hello,
I wanna release this awesome @arealoot plugin.
Credits to Streusel for providing the Source diff, I converted it to a plugin, for easy to install and use
For Changing the Arealoot Range: Either change it via source:
int arealoot_range = 3; //x BY x Range
Or Add this to any one of conf file in conf/battle
// Arealoot, determine the range of arealoot// Min: 1, Max: 10// Default: 3// 2 -> 2x2 range, 3 -> 3x3 rangearealoot_range: 3
397 downloads
- arealoot
- loot by area
- (and 1 more)
0 comments
Updated
-
plugin Warp Hit Delay
By Dastgir
It is warp delay plugin
Once you get a hit(not a miss) , you will be attached by a timer of x seconds, only after that you will be able to warp(be it be any wings,warp command,go command, npc or skill)
You can have a battle_config on any of the files in conf/battle/ with
warp_delay_mob: Seconds*1000warp_delay_pet: Seconds*1000warp_delay_homun: Seconds*1000warp_delay_merc: Seconds*1000warp_delay: Seconds*1000 //For Playerswarp_delay_others: Seconds*1000 //(For All Other Hits except mob/pet/homunc/merc)
Building Plugin for Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc
Building Plugin for Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC
P.S: You need HPMHooking Enabled.
166 downloads
0 comments
Updated
-
@autoattack
By ossi0110
this is a @autoattack plugin , when using it your Char will run arround and attacks mobs
for more info on using HPM Click Me
have fun , ossi0110
528 downloads
0 comments
Updated
-
Odin Server side manner
By hemagx
~ Hello
Here's my Server side manner based on ind one with more advanced options.
~ Features
-- For Full Version
it uses regular expressions
Option to bypass by GM Level or Group Permission or by using special Variable
Auto mute
-- Full Lite Version
it uses regular expressions
Option to bypass by Group Permission
eh.. yep nothing else that why it's LITE
~ How to install
Download the File
Copy manner.c to "src/plugins"
Copy the config files to "conf/plugin"
Follow usual installation guide
~ How to customize
To change plugin options you can check "conf/plugin/manner.conf " ( Not Available in Lite Version )
To add more words to the filter you can add it to "conf/plugin/manner.txt"
~ useful information
you can know more about regex from : http://www.regular-e...quickstart.html
you can also test your regex and write your regex by this useful tools : http://www.rubular.com or http://regexp-evaluator.de/evaluator/ or http://www.weitz.de/regex-coach/ or http://regex101.com/
you have to know that one wrong regex can make no one able to talk.
~ Credits
Haruna
Ind
Hemagx
~ Changelog
Unknow date - First Working Version v0.1
2015/12/12 v0.2 - Update to work with latest Hercules, optimized a bit for faster plugin, officially release lite version.
~ thank you
180 downloads
0 comments
Updated
-
NpcTalk2
By KirieZ
NOTE: Hercules now provides this functionality by itself (check unittalk). I'm not updating this anymore.
Hello,
When converting iRO's Xmas event I missed a way to use npctalk to a specific player, so today I made it.
This plugin adds the npctalk2 script command that allows you to show a message like npctalk, but to a specific player only (by default the one attached to the script).
*npctalk2("<message>"{, "<npc name>",{"player name"}})This command will display a message to the a target player as if the NPC object running it was a player talking - that is, above their head and in the chat window. The display name of the NPC will get appended in front of the message to complete the effect.If NPC Name is given, the message will display on this npc's instead.If Player Name is given, the message will be displayed to that player instead of the attached one (if he's online)If the player is too far from the NPC (for example, in another map), the message will only show in the chatbox. Usage Example:
Assumming it's running in a NPC named Test and that there's a NPC named Test2 near.// Will display "I'm only talking to <Attached Player Name>" only to the attached player over NPC Testnpctalk2 "I'm only talking to "+strcharinfo(0);// Will display "I'm only talking to KirieZ" to player named KirieZ over NPC Testnpctalk2 "I'm only talking to KirieZ", "Test", "KirieZ";// Will display "Don't bother my friend, I'll talk to you" to the Attached player over NPC Test2npctalk2 "Don't bother my friend, I'll talk to you", "Test2"; If you find any bug let me know.
101 downloads
Updated
-
FluxCP Credits for In-Game Shop
By Guest
Plugin for using credits from FluxCP donations in your in-game shop.
How to install?
https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager
153 downloads
0 comments
Updated
-
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
406 downloads
- rentitem2
- rentitem2 plugins
- (and 2 more)
0 comments
Updated
-
plugin Duplicate NPC Commands
By Dastgir
2 Self Explanatory Commands:
duplicatenpc("NpcName", "DuplicateName", "DupHiddenName", "map", x, y, dir{, sprite{, xs, ys}});duplicateremove({"NPCname"});
Example Script:
prontera,150,150,5 script DupTest 999,{mes strnpcinfo(0);close;OnInit:duplicatenpc(strnpcinfo(0),"Duplicated","","prontera",150,148,5,998);end;OnWhisperGlobal:duplicateremove();}
^ Above script will self-duplicate itself with name "Duplicated" to prontera,150,148 with Sprite ID 998, and upon whispering to any of those npc, the duplicate will be removed.
Requested by GMOcean @ http://herc.ws/board/topic/7718-duplicatenpc-duplicateremove/?view=getnewpost
137 downloads
- plugin
- duplicatenpc
- (and 4 more)
0 comments
Updated
-
plugin Magic Critical Strike
By Dastgir
Its a plugin for Critical Strike on Skills
Critical Strike Calculation is as per normal calculations
You can have a battle_config on any of the files in conf/battle/ with
magic_critical_color: 1 or 2
1 = Red Critical Strike
2 = Blue Critical Strike
Method to Change Delay:
Either add the config in conf/battle/ as stated above or change "blue_red_critical" value in plugin
Building Plugin for Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc
Building Plugin for Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC
P.S: You need HPMHooking Enabled.
175 downloads
- plugin
- magic attack
- (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.
160 downloads
0 comments
Updated
-
[Script] storage{mod}item
By Tranquility
Greetings!
The past week I've been messing around with processing how to utilise the storage better for my in-game NPCs & scripts.
Coming from rA, I noticed we didn't have the script commands "storageadditem", "storagecountitem", "storagedelitem".
Because of that I thought I should give it a try and aim to develop a plugin or a means, to make it possible to use this functionality again.
How to use:
you can use storageadditem to add an item name or itemid to a players storage.
storageadditem <item id>, <amount>{, <account id>}
storageadditem<item name>, <amount>{, <account id>}
Example: storageadditem(501,10);
you can use storagecountitem to count a specific item name or itemid in a players storage.
storagecountitem(nameID,{accountID})
returns number of items that meet the conditions
Example: .@pots = storagecountitem(501);
you can use storagedeltitem to delete a specific item name or itemid in a players storage.
storagedelitem <item id>,<amount>{,<account id>}
storagedelitem "<item name>",<amount>{,<account id>}
Deletes items from the target/attached player.
Example: storagedelitem(501,.@pots);
Read the Hercules Plugin Manager wiki page if you don't know how to add this functionality to your server.
If you have any questions, suggestions or notice any bugs, kindly let me know and I'll see what I can do about it.
Uploaded to my Git Repo now for easier access.
156 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
-
Emo.c
By samsudin
-This is just atcommand emo, i just learn and try to convert it into plugin
-Original code by OnPlay
Usage: @emo <1-81>
65 downloads
0 comments
Submitted
-
SetQuest2
By KirieZ
NOTE: This functionality got merged into Hercules (check setquest and getcalendartime). That being said, I'm NOT maintaining this plugin anymore.
Hello,
This plugin adds the setquest2 script command that allows you to add a quest with your own time limit, ignoring the one in quest_db, thus allowing you to, for example, make a quest end at a determined time next day independently of when it was originally given.
*setquest(<ID>,<Time Limit>)Place quest of <ID> that will expire at <Time Limit> in the users quest log, the state of which is "active".
Examples:
- Ask the player to come back in a random number of minutes (1 ~ 3)
prontera,150,150,4 script SetQuest2 1_m_01,{ .@p = questprogress(7128,PLAYTIME); if (.@p == 1) { mes "Come back later!"; } else { if (.@p == 2) { mes "You came back!"; getitem Red_Potion, 1; erasequest 7128; } .@i = rand(1, 3); mes "Come back in " + .@i + " minutes"; setquest2 7128, gettimetick(2) + (.@i * 60); } close;}
- Ask the player to come back tomorrow (next day at 00:00)
prontera,150,152,4 script SetQuest2b 1_m_01,{ .@p = questprogress(7126,PLAYTIME); if (.@p == 1) { mes "Come back later!"; } else { if (.@p == 2) { mes "You came back!"; getitem Red_Potion, 1; erasequest 7126; } .@i = 86400 - gettimetick(1); mes "Come back tomorrow"; setquest2 7126, gettimetick(2) + .@i; } close;}
If you find any bug let me know.
36 downloads
0 comments
Updated
-
@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!
137 downloads
0 comments
Submitted