Jump to content

quesoph

Members
  • Content Count

    562
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Upvote
    quesoph reacted to Ind in Hercules Console Input Update   
    Hercules Console Input Update
    Hello~! What?
    Yet another super-mega-special update brought to you by Hercules Sometime ago we re-introduced "Console Input", and then I mentioned about changing the syntax (which was horrible), well thats what this is about. Changes
    Console Commands now make full use of the Hercules Renewal Phase One, there are global commands and there are per-server commands The new commands
    server server malloc_usage displays total memory (in MB) being used by the server's memory manager server ers_report displays the ERS (entry-reuse-system) report server exit shuts down the server (equivalent to @mapexit) server plugins lists all plugins being used by the server help lists all available commands and their subcommands, this is a special command and you can use it after a command section to list its specific subcommands e.g. "server help" Map-Server specific gm gm info changes the console's virtual character position (this data is used by @commands), e.g. "gm info 150 150 prontera" gm use uses a command in the game server, e.g. "gm use @broadcast HERCULES IS AWESOME" or "gm use #heal player" Hercules Plugin Mananger
    This update also makes console commands "HPM-FRIENDLY", it is incredibly easy to add new console commands, example: // Copyright (c) Hercules Dev Team, licensed under GNU GPL. // See the LICENSE file // Sample Hercules Plugin CPCMD(sample) {     ShowInfo("Hercules is awesome!n"); } CPCMD(sample2) {     ShowInfo("Hercules is incredible!n"); } CPCMD(sample2) {     ShowInfo("Hercules is efficient!n"); } HPExport void plugin_init (void) {     HPMi->addCPCommand("hercules:is:awesome",CPCMD_A(sample));     HPMi->addCPCommand("hercules:is:incredible",CPCMD_A(sample2));     HPMi->addCPCommand("hercules:is:efficient",CPCMD_A(sample3)); }The above creates 3 commands "hercules is awesome","hercules is incredible" and "hercules is efficient", you can do pretty much anything you want with them, it also makes use of the "help" key, for example "hercules help" or "hercules is help" will output all its respective subcommands. Links
    Hercules Plugin Mananger Commit
  2. Upvote
    quesoph reacted to Mystery in Add another class type for Rebellion, SuperNovice Ex. & Kagerou/Oboro   
    I think it'd be a little bit more better if there was a set parameter for Ninja/Gunslinger/SuperNovice classes.
  3. Upvote
    quesoph reacted to malufett in Monster Transform Update   
    Monster Transform Update

    What is it?
    A new feature when in you can transform your characters into monsters and you can still use all your skills like a normal character do. The Transformation Scroll is consumable for 20 mins. Can only be removed when your killed or if you die. What are those?
    Deviruchi Scroll: Increase ASPD +1, HIT + 5 during transformed as Deviruchi. Raydric Archer Scroll: Increase attack 25% by using bow. Mavka Scroll: Increase attack 25% by using bow. Marduk Scroll: Increase magical attack 25%. Banshee Scroll: Increase magical attack 25%. Poring Scroll: Increase critical damage 25% during transformed as Poring Golem Scroll: Increase  resistance of non property 2% and activate Endure 5Lv by certain chance when gets physical attack. Changes:You can customize your transformation by using 'montransformation' script command and add specific status effect. ex. montransform <monster name>, <duration>, <sc type>, <val1>, <val2>, <val3>, <val4> This feature can be disabled in GvG by switching its config in 'confbattlemisc.conf' // Is monster transformation disabled during Guild Wars? // If set to yes, monster transforming is automatically removed/disabled when entering castles during WoE times mon_trans_disable_in_gvg: no 
    Special Thanks:Beret Kyeme Super Awesome Yommy Link/s:commit Screenshot/s:

     
  4. Upvote
    quesoph got a reaction from brosss241 in help incorrect monster spawn.   
    try?
     
     
  5. Upvote
    quesoph reacted to Ai4rei in RO Patcher Lite, v4.2.2.1316 - last updated 2023/12/18   
    RO Patcher Lite


    About
    Replacement for Gravity's RO patcher. Works faster and doesn't consume your entire memory for just seeing it crashing, aside from this, it works almost exactly as the official patcher does, so that it shouldn't break, unless Gravity changes something vital to their patcher. It works on every 32-bit and 64-bit Microsoft* Windows* platform and is free of any cost.

    Known Issues
    None.

    Download & Website
    http://ai4rei.net/p/rsu

    License

    This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 International License.
  6. Upvote
    quesoph got a reaction from karazu in Thor Patcher Error (Launch)   
    http://thor.aeomin.net/
  7. Upvote
    quesoph reacted to Ind in @storeitem   
    File Name: @storeitem
    File Submitter: Ind
    File Submitted: 10 Oct 2013
    File Category: Plugins
     
    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.
     
    Click here to download this file
  8. Upvote
    quesoph got a reaction from esquilla13 in How to Update .grf files via Thor Patcher   
    Open ThorGenerator or ThorMaker and click Delete File Tab then
    then type the location of the file you want to delete.
     
     
    eg:data/clientinfo.xml  
    then click Add!, then Generate, upload it to your webhosting, update your plist.txt then patch.
  9. Upvote
    quesoph reacted to sketchyphoenix in HPM Hooking Now Available!   
    Ind you know what time it is.
  10. Upvote
    quesoph reacted to Mumbles in Pawn Shop   
    Utility: Pawn Shop
    As per themon's request: http://herc.ws/board/topic/2373-new-shop-npc-idea-pawn-shop/

    Description:
    Allows players to exchange items in their inventory for a percentage of its "fair market value (FMV)".

    By default, the formula to determine the FMV is approximately one-third of the item's "buy" price (as if you were purchasing it from an NPC), multiplied by its refine rate* (if it's equipment).

    Items "pawned" through this script are available to be reclaimed if the loan (plus interest) are repaid in full within seven days. If a loan expires, the item pawned will be claimed by the NPC and "sold"; the original owner will no longer be able to retrieve it.

    Loan rates, interest rates, loan days, and the refine bonus trigger can be modified within the configuration settings under the 'OnInit' label. Please take care to NOT modify the leap year formula under this label.

    *The refine multiplier calculates the number of UNSAFE refines, then adds it to the loan total. For example, a Sword with the refine rate of 10 (which has a safety cap of seven) has a multiplier of three; so, if the "Buy" price is 100z, the default loan would be 33z. Multiply that by three, and you get a 99z refine bonus in addition to the original 33z, for a grand total of 132z. Interest is added AFTER the final loan price is determined, so at a rate of 10 percent, it would cost approximately 145z to reclaim the Sword.
     
    Download:
    https://github.com/datmumbles/Scripts/raw/master/util/pawnshop.txt
  11. Upvote
    quesoph reacted to Ind in HPM Hooking Now Available!   
    Hercules Plugin Manager: Hooking
     
    Hello~! What?!
    In March 1st we started the Hercules Renewal Phase One, in order to prepare Hercules for this update, and now 7 months later it's fully complete, we've gone all over the map-server's code, taken hundreds of notes, modified thousands of lines, and have greatly improved our knowledge, making it very much worth the effort. HPM Hooking
    Zero Processing OverheadNormally programs that avail hooking end up paying a price for it, processing-time-wise, HPM Design frees Hercules from that toll -- absolutely no processing overhead to functions not being hooked to. Smart, Flexible Design Hooks receive all function params as pointers, whereas the original is int pc_dropitem(struct map_session_data *sd,int n,int amount)the one for the hook shall be (struct map_session_data *sd,int *n,int *amount)which allows for hooks to modify any and all data as it pleases.
    postHooks receive one additional param, which accounts for the result of the original function, int <name>(int retVal, struct map_session_data *sd,int *n,int *amount)In this case it'd allow for the postHook to react properly to what the original returned, in this case (for pc_dropitem) 0 (failure) or 1 (success) Hooking is a simple operation, it is possible to hook an infinite number of times to the over 2k hookable functions (all the interfaced ones, accounting for over 99% of map server) HPExport void plugin_init (void) {     addHookPre("pc->dropitem",my_pc_dropitem_preHook);  /* int my_pc_dropitem_preHook(struct map_session_data *sd,int *n,int *amount) */     addHookPost("pc->dropitem",my_pc_dropitem_postHook);/* int my_pc_dropitem_postHook(int retVal, struct map_session_data *sd,int *n,int *amount) */ } DocumentationThe sample plugin has already been updated to demonstrate hooking, the documentation present in the wiki will be updated shortly. Hercules-Hooks Updates This covers how we'll maintain the hookable points up to date with the game server's code The cache that boosts the hooks -- Made Possible Thanks to Haruna! -- is maintained by an application, for a couple days it will remain like that so we can keep an eye on it and debug as we go, once we're confident with it we'll enable its standalone mode, which will make the process automatic (without the need for developers to proofread and approve) and able to follow up on any new commits within seconds of it landing on the repository. Also in
    Haruna has redesigned the Makefile for plugins, so those of you not using windows will need to re-enter your plugins in it (its much easier now, Haruna provided a very straight-forward documentation in the file) Pre-existing plugins will need to be recompiled, given the chances in the Hercules Plugin Manager, attempting to load any not-recompiled plugin will lead to it not being loaded (and a warning in console will be displayed) Design by
    Haruna, Xgear, Gepard and Ind Special Thanks to
    Hercules Team, Contributors, for all have contributed to us getting here, Thank you all very much! Takkun for the MSVC-2012 project files Haruna for the MSVC-2010 project files Link~u!
    Commit And - On the Horizon
    Script Engine UpdatesThose of you who lurk our page on github probably have already noticed some stuff from it, we'll soon be resuming, for those of you not familiar with it: Many syntax additions and improvements (Thanks to Haruna!) Limitless array support, improvements to array storage and processing Support for Char and Account variable arrays (and no more limit on amount of char/acc vars), improvements to processing and storage of char/acc variables. Catching UpWe hear you, we're lagging on staying up to date with the releases of other projects, we'll be prioritising towards catching up with them. Hercules Stress Test ServerI'll be delaying the release of our Stress Test Server, while it is now viable thanks to hooking, I'd like to prioritise catching up with other releases
  12. Upvote
    quesoph got a reaction from jaBote in Reduce MATK   
    .../src/map/status.c
    Line 1912 and 1913
    Pre-RE
    static inline unsigned short status_base_matk_min(const struct status_data *st){ return st->int_+(st->int_/7)*(st->int_/7); }static inline unsigned short status_base_matk_max(const struct status_data *st){ return st->int_+(st->int_/5)*(st->int_/5); } Renewal:
    #ifdef RENEWALunsigned short status_base_matk(const struct status_data *st, int level){ return st->int_+(st->int_/2)+(st->dex/5)+(st->luk/3)+(level/4); }#endif I think you need to adjust this.
     
    return st->int_+(st->int_/7)*(st->int_/7) Try to change 7 to 10.
     
    return st->int_+(st->int_/5)*(st->int_/5); and 5 to 7.
     
    if Renewal
     
     
    return st->int_+(st->int_/2)+(st->dex/5)+(st->luk/3)+(level/4); Try higher numbers.
  13. Upvote
    quesoph reacted to Ai4rei in Paid Server   
    Reference topic, since you cared to post the image without attribution.
     
    tl;dr: The system is implemented, just does not work in real-time (you just get prevented from logging-in, but are not kicked as long you are in-game). It was not implemented the way it should be, because people were hysterically afraid, that all emulators would turn pay-to-play.
  14. Upvote
    quesoph got a reaction from Petey Pablo in help char command #cash to level2 gm   
    add:
     
    cash: [true, true] to his commands
  15. Upvote
    quesoph got a reaction from Mumbles in Rental NPC (with PAYMENT)   
    prontera,150,150,4  script  rentitem#123  100,{//prontera,150,150,4<tab>script<tab>rentitem#123<tab>100mes "Rent cost: " + .rentitemamt + "x " +getitemname(.rentitemid)+ " for one day";  next;  mes "What do you want to rent?";switch ( select ( .menu$ )  ) { // items to rent menu  case 1: callsub OnDeclareDays; // call OnDeclareDays to input days.      callsub OnRentItems,2410,.days; // 2410 is sleipnir's Item ID. only change the item ID.  case 2:  callsub OnDeclareDays; // call OnDeclareDays to input days.      callsub OnRentItems,2629,.days; // 2629 is Megs's Item ID. only change the item ID.  // to add more items add more cases example  // case 3: callsub OnDeclareDays;  //      callsub OnRentItems,2220,.days; // rent hat  // and add its name on .menu$ part at the bottom.  // pretty simple huh. }OnDeclareDays:    mes "How many days do you want to rent it?";    input .days; // input days    if (.days == 0 ) { // 0 is not a valid value.      mes "0 is not a valid value.";      close;    }    return .days;OnRentItems:    if ( countitem ( .rentitemid ) < getarg(1) * .rentitemamt ) { // not enough items      mes " ","Not Enough items","You need "+getarg(1) * .rentitemamt+"x "+getitemname(.rentitemid);      close;    }    delitem .rentitemid, getarg(1) * .rentitemamt; // delete items    rentitem getarg(0), getarg(1) * 86400; // rent an items. 86400 = 1 day in seconds    close;OnInit:  set .rentitemid, 7227; // item id of TCG change to your likings.  set .rentitemamt, 10; // item amount of TCG change to your likings.  set .menu$,"Sleip:Megs"; // to add an item separate the item with ":" without the quotes eg: "Sleip:Megs:HAT"} try?
     
    @edit
    added some comments.
  16. Upvote
    quesoph reacted to jaBote in R> Full Debuff   
    As doc/script_commands.txt says:
     
    'sc_end' will remove a specified status effect. If SC_All is used (-1), it will do a complete removal of all statuses (although permanent ones will re-apply). So I think it ends it but then it's reapplied.
  17. Upvote
    quesoph got a reaction from rmon008 in Hercules FluxCp How to add buttons   
    Dont write anything in here
     
    fluxroot/modules/downloads/index.php
     
    <?php if (!defined('FLUX_ROOT')) exit;$title = "Downloads";?>  
    Use the one in
     
    fluxroot/themes/default/downloads/index.php
     
     
    <?php if (!defined('FLUX_ROOT')) exit; ?><a href="MyClientInstaller.com"> MyInstallerNameDownload</a>
  18. Upvote
    quesoph got a reaction from rmon008 in Hercules FluxCp How to add buttons   
    application.php
     
    'Downloads' => array(      'Installer' => array( 'module' => 'downloads'),    )  
     
    Download folders.
    flux.7z
  19. Upvote
    quesoph got a reaction from Sanasol in Web Vending Database (Standalone and FluxCP Addon)   
    Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 21Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 21Notice: Undefined offset: 0 in C:Xampphtdocshervendorconfig.php on line 22Notice: Trying to get property of non-object in C:Xampphtdocshervendorconfig.php on line 22  
    this appears when trying to vend named item.
     
     
    @edit
     
    typo: line 13 of config.php
     
    $refine = array(0 =>"-", "+1", "+2", "+3", "+4", "+5", "+5", "+6", "+7","+8","+9","+10");  
    I think it should be:
     
    $refine = array(0 =>"-", "+1", "+2", "+3", "+4", "+5", "+6", "+7","+8","+9","+10");  
    @TS
    Good job
  20. Upvote
    quesoph got a reaction from mrlongshen in R> @afk compatible with Hercules   
    Original Topic: Click
    afk.diff
  21. Upvote
    quesoph got a reaction from LukeOdin in Extended Vending System UPDATED rev14395! by Lilith   
    db/item_vending.txt Modify your client data files:
     
    idnum2itemdisplaynametable.txt
    idnum2itemresnametable.txt
    Ragexe 2013 ( haven't tested it with Ragexe 2012 )
    System/Iteminfo.lub
    or
    System/Iteminfo.lua
     
     
    Update:
    item_db2.txt should be:
     
     
    Creator: Lilith
    Modified by: dastgir and quesoph
     
    *Warning: It will not work with auto trade persistency.
     
    Hercules Rev 14041.
    Extended Vending System Hercules Rev 14041.patch
     
    Hercules Rev 14395.
    Extended Vending System Hercules Rev 14395.patch
  22. Upvote
    quesoph reacted to Gepard in Flux Control Panel for Hercules   
    In each of your addon's folder there is `themes` folder which contains views for all themes. Just make a copy of `default` folder and rename it to `emphaino`. You should be able to use your addons with new theme then. If it doesn't look good you'll have to make some edits (but it should be good enough).
  23. Upvote
    quesoph reacted to Gepard in Flux Control Panel for Hercules   
    Flux Control Panel for Hercules
     
    Flux CP is now officialy available for Hercules!
     
    It is fully working with both pre-Renewal and Renewal Hercules servers. We will continue developing it, so it is always up-to-date and compatible with latest Hercules.
     
    New theme
    Hercules' Flux CP comes with a brand new theme. It's a grey-ish modern and clean HTML5 theme, called Emphaino.
    It has a nice dropdown menu located on top of the screen, and a customizable footer area, where you can put some stuff that should be visible all the time (like links to social media, forums etc.).
     
    A picture is worth a thousand words:



     
    It's a HTML5 theme, so it requires a decent browser, or IE9+ (if you insist on using that).
     
    Theme selection
    Having two themes is great, but until now it was impossible to make use of them both. That's why theme selector has been added to both themes, so your users can pick whichever theme they like more.
     
    Again, preview:

     
    Extra credits
    Authors of original FluxCP & FluxCP-rA. Authors of Emphaino theme (originally for Wordpress).

     
    Download
    Hercules' FluxCP Github repository: https://github.com/HerculesWS/FluxCP
     
    Issues
    Bug reports, questions and suggestions are all welcome directly on GitHub: https://github.com/HerculesWS/FluxCP/issues
     
    Enjoy~
  24. Upvote
    quesoph got a reaction from milk in emotions problem   
    https://subversion.assembla.com/svn/client-side-translation/
  25. Upvote
    quesoph got a reaction from Nameleszx in [Request] Mvp Drop   
    OnNPCKillEvent: if(killerid==mvpid) {getitem 501,1; // item id, item amountend;}
×
×
  • Create New...

Important Information

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