Jump to content

Jey

Members
  • Content Count

    0
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Jey reacted to Ind in Introducing Hercules Plugin Manager   
    Introducing Hercules Plugin Manager
    Hello~! What?!
    I can't express how awesome this is. It's awesome, so awesome. ...Incredibly awesome, yet another awesome feature brought to you by Hercules Thoughtfully Designed
    This features' design began long ago, a precursor to this feature, which demonstrates for how long we've been planning it, is the Hercules Renewal Phase One Usage Example
    Can be used to create @commands Can be used to create script commands Can be used to create console commands Can be used to replace core functions with your ownA example of how handy this can be: when any RO emu updates a section of the code that is used by a user's modifications, e.g. Harmony, no matter how silly the edit is (e.g. a tab alignment update) the user has to wait for his modification's developer to update his patch (unless he manages to update it on his own), if the developer in question starts to use the HPM for his hercules users instead of a patch file, his users using hercules will no longer have to wait for updates unless the way the code works changes on hercules' end. All About It - Documentation
    Its being done, most of it is already available in our wiki Hercules Plugin Mananger Building HPM Plugin for MSVC Building HPM Plugin for GCC Links~!
    Hercules Console Input Update (HPM Friendly) Commit Visual Studio 2010 2 Notes
    The plugin "sample" is currently missing projects for msvc2010 and msvc2012, thats because I dont have them, this will be solved asap, once one of our developers who possesses them logs in. Login/Char server plugin support is currently disabled, it should be enabled by the next release, which will also include Hooks support (as an alternative to overloading)
  2. Upvote
    Jey reacted to Ind in Hercules April 22 Patch   
    Hercules April 22 Patch
    Hello~! - What?!
    1st, most of these things were meant to be released separately but as I started to work with them one thing hooked up to another and I ended up deciding to get all out at once No second today! The all-long, all-mighty list
    New Map Zone DB Updates Added New "All" Zone, easy way to add modifiers to all maps in the game. Automatically inherited by all existent zones. Added new zone setting disabled_commands, can disable any command in any zone "command-name: min-group-lv" also supports min group level to override, to enable back a command disabled by inheritance just use "command-name: 0" Added new zone setting skill_damage_cap (as requested by the community), can cap any skill damage to any range of unit types, and also a new core config "HMAP_ZONE_DAMAGE_CAP_TYPE" that controls how the cap is applied (before or after modifiers) New target-type support (used by skill_damage_cap and disabled_skills): PET (special thanks to frenzmu06 for bringing it up!), CLONE and MOB_BOSS Added support to ids! item and skill ids may now be employed in all sections of the file in the place of item/skill names Detailed Map Zone DB Update Hercules Channel System Update Added a IRC bridge as requested by the community, allows users outside of the game (but in a irc network e.g. thru mobile/cel app) to communicate with anyone in-game that is within a specific #channel, and vice-versa Detailed Channel System Update Added Beret and Yommy's suggestion on cash shop file format, also added support for item ids Added Ryuuzaki's kafra point support to the new cashshop Updated map-server's save_setting, added new option: 128, to save buyingstore transactions on the fly Revisited bindatcmd feature, dropped level support, added group level support and added a new flag capable of deciding whether calls to that command should be logged in the atcommand log. Performance Improvement Added a in-memory list to store existent shops (saves iterating through all online players) Modified searchstore to use said db above, making its queries faster Improved pc_groups processing, decreased runtime ram usage by a about 1mb. Improved @command log processing through groups, now caching the state (no longer does dbmap lookup). Improved atcommand.conf file processing (was doing a extra lookup instead of using atcommand_exists already-performed lookup result) Improved atcommand's help file processing (no more lookups! string is now cached directly in the atcommandinfo struct of each command) and data management Improved @help's processing: dropped the huge config file lookup and replaced by using the caches. Improved atcommand logging, added option to not log specific commands (so you dont waste log room with stuff such as @iteminfo/@mobinfo/etc) -- atcommand.conf nolog group Sightly improved zone inheritance processing. Speeded up mvp drop processing Speeded up item log processing Speeded up mob item drop processing Misc With map_zone_db's new clone support, flag 0x8000 (no-clone-use) in the skill db was dropped With map_zone_db's new way to block commands, mapflag nogo was dropped. Fixed a number of discrepancies between unsigned and signed variables in many packets. Fixed loading messages for exp_db, attr_fix, statpoint, mob_chat_db, mob_pouch, mob_branch, mob_classchange, mob_boss, mob_poring and item_group_db pets from gms who cant drop items no longer can loot items (prevents exploit where gm kills something, pet loots, then drops and action is not logged nor blocked). Fixed combo bonuses that used getrefine on weapons/cards that affect weapons. Added @searchstore as to offer same availability to gms as @auction/@mail does Improved 2013 client charselect procedure, all thanks to Yommy! Links~!
    Commit
  3. Upvote
    Jey reacted to Dastgir in Auraset   
    File Name: Auraset
    File Submitter: Dastgir
    File Submitted: 24 Mar 2014
    File Category: Plugins
     
    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.
     
    Click here to download this file
  4. Upvote
    Jey reacted to Mhalicot in [Script Command] addrid   
    File Name: [script Command] addrid
    File Submitter: Mhalicot
    File Submitted: 04 Dec 2013
    File Category: Plugins
     
    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
     
    Click here to download this file
  5. Upvote
    Jey reacted to Mhalicot in Implement addrid Script Command   
    Hi,
     
    Since its been a month in pull request queue, I convert it to plugins.
     
    [script Command] Addrid
  6. Upvote
    Jey reacted to Angelmelody in Implement addrid Script Command   
    https://github.com/rathena/rathena/commit/6572a9f
     
     
    Many people like this script command,it's pretty useful .
×
×
  • Create New...

Important Information

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