Jump to content

41 files

  1. [AtCommand] afk

    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

    2155 downloads

    1 comment

    Updated

  2. [AtCommand] autoatk

    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

    1239 downloads

    0 comments

    Updated

  3. [Atcommand]itemmap

    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

    134 downloads

    0 comments

    Submitted

  4. [Script Command] addrid

    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

    260 downloads

    0 comments

    Updated

  5. [Script] storage{mod}item

    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.

    154 downloads

    0 comments

    Updated

  6. @arealoot

    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

    389 downloads

    0 comments

    Updated

  7. @autoattack

    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

    502 downloads

    0 comments

    Updated

  8. @autobuyammo

    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

  9. @Autoloottype

    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!

    135 downloads

    0 comments

    Submitted

  10. @identifyall

    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

    0 comments

    Updated

  11. @storeit

    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

  12. @storeitem

    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.

    120 downloads

    0 comments

    Submitted

  13. @whosell

    //-------------------------------------------------------------------------------------------//
    * @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

    411 downloads

    3 comments

    Updated

  14. Auraset

    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.

    739 downloads

    3 comments

    Updated

  15. autopots

    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

    864 downloads

    0 comments

    Updated

  16. bonus bCoolDownRate,<x>;

    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.

    159 downloads

    0 comments

    Updated

  17. bonus3 bAtkEnemyStat

    Hercules Plugin
    bonus3 bAtkEnemyStat
     
    Description:
    Will increase Damage by z% if Enemy Stat is >= y
     
    Repo Link:
    https://github.com/Normynator/Ragnarok/blob/master/HPM-Plugins/bonustargetstats/bonustargetstats.c
     
    Credits:
    Senpai Dastgir, for giving me inspiration
     
     
    How to install?
    https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager
     
    How to use?
     
    Format:
     
    STR = 1
    AGI = 2
    VIT = 3
    INT = 4
    DEX = 5
    LUK = 6
     
    bonus3 bAtkEnemyStat, x, y, z;
    x = Stat
    y = Stat enemy must have
    z = damage increase (10 = 10%);
     
    e.g:
    bonus3 bAtkEnemyStat, 3, 50, 10;
    Increase Damage by 10% if enemy vit >= 50.

    32 downloads

    0 comments

    Updated

  18. Broadcast Alarm

    @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

  19. Channel Fee Plugin

    With this plugin you be able to set required Zeny and/or Items to players be able to send messages on channels.
     
    The idea came from this post, thank you @blaze.
     
    How to configure channels:
    // FIXME: make a better way to add fee on channels (directly on channels.conf) const struct { char name[HCS_NAME_LENGTH]; int zeny; int nameid; int amount; } channels_fee[] = { // -- Add channels with fee like the example: {"name", zeny, item id, item count}; {"main" , 1000, 0 , 0}, // #main - 1000z and no item };   Find 'channels_fee[]' declaration, and add an element just like the example.
     
    If you find any bugs please report them! Hope you enjoy it.

    57 downloads

    0 comments

    Updated

  20. check_bound command

    A simple command to check if the player currently has a bound item in their inventory. Thus eliminating the need to use getinventorylist; to do the check. Additionally, you can check for a number of parameters regarding that item.
    *checkbound(<item_id>{,<bound_type>{,<refine>{,<attribute>{,<card_1>{,<card_2>{,<card_3>{,<card_4>}}}}}}});This command allows you to check whether or not the attached player has the specified bound item in their inventory.Valid bound types are: 1 - Account Bound 2 - Guild Bound 3 - Party Bound 4 - Character BoundOptional Parameters: refine - checks to see if the item is refined to the given number. attribute - whether the item is broken (1) or not (0) card 1,2,3,4 - checks to see if the specified cards are compounded on the item as well.
    Example:
    if( checkbound(1205) ){ mes "You have a bound Cutter"; close;} else { mes "You do not have a bound Cutter"; close;}
    Example 2:
    if( checkbound(1205, 2) ){ mes "You have a guild_bound Cutter"; close;} else { mes "You don't have the required item."; close;}
    Example 3:
    if( checkbound(1205, 2, 7) ){ mes "You have a +7 guild_bound Cutter."; close;} else { mes "You don't have the required item."; close;}

    26 downloads

    0 comments

    Updated

  21. Costume Item Plugins

    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

    1566 downloads

    0 comments

    Updated

  22. Duplicate NPC Commands

    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

    133 downloads

    0 comments

    Updated

  23. Emo.c

    -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

  24. FluxCP Credits for In-Game Shop

    Plugin for using credits from FluxCP donations in your in-game shop.
     
    How to install?
    https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager

    144 downloads

    0 comments

    Updated

  25. getrandmob (script command)

    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

    0 comments

    Submitted

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.