Jump to content

41 files

  1. [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

  2. @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

  3. Mob Drop Qty

    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.

    89 downloads

    0 comments

    Submitted

  4. Visible Monsters HP

    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.

    571 downloads

    3 comments

    Submitted

  5. Server Side Manners.txt

    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.

    175 downloads

    0 comments

    Submitted

  6. rentitem2 plugins

    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

    399 downloads

    0 comments

    Updated

  7. 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

  8. @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

  9. 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

  10. 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

  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. @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

  13. @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

  14. @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

  15. [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

  16. Skill Error Messages

    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

×
×
  • Create New...

Important Information

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