Jump to content

Ind

Retired Staff
  • Content Count

    1655
  • Joined

  • Last visited

  • Days Won

    131

Everything posted by Ind

  1. Ind

    New Instance System

    yes since the may 30th update.
  2. Ind

    New Instance System

    you don't need the db to create instances (can create right thru the npc) we considered adding it while we were reviewing it prior to writing the update and we decided not to add it, we found it highly inconsistent -- many of the values in the fields are selectively used so even if you change for example a map name in the db you still have to change the many occurrences in the script, therefore it just adds up work, and besides that it also enables limitations on the system which would otherwise not exist (e.g. hardcoded number of instances). As for converting, the differences are very few (diff this vs theirs and you'll see there are like ~15 different lines per script), and we'll be the ones doing the updating anyway
  3. Ind

    New Instance System

    We've reworked the instance system in May on the http://herc.ws/board/topic/928-memory-slasher-may-30-patch/ update, and the new instances were recently updated http://herc.ws/board/topic/2564-n-help-testing-new-instances/ (as frost points out)
  4. Fixed and blocked, thanks for bringing it up
  5. I've stumbled by this while working on the shadow system update, it works like the magic blue key (e.g. @kami blueWhatever => blue 'Whatever' announce), its called 'micc'. I'm midst fixing some stuff so I can't play with it, those of you willing to try let me know if you get lucky
  6. There we go https://github.com/HerculesWS/Hercules/commit/baef78f7954fa4e6fa2449f2c7de92a901c7f5f3 this is the base of the feature, which allows for shadow gear to be created (the item db entries)
  7. much appreciated, thank you for the information
  8. added in https://github.com/HerculesWS/Hercules/commit/8629562655cfcbd6aef97307e3e0c078235619ff
  9. Ind

    Mapflag for Cash Shop

    added in https://github.com/HerculesWS/Hercules/commit/8629562655cfcbd6aef97307e3e0c078235619ff
  10. Ind

    checkidle2()

    There we go, I've made it in a way that would satisfy the argument in the bug report https://github.com/HerculesWS/Hercules/commit/e08c05a0f73d6e6ea4fe64a9b91291bc0a002251
  11. we considered adding it while we were reviewing it prior to writing the update and we decided not to add it, we found it highly inconsistent -- many of the values in the fields are selectively used so even if you change for example a map name in the db you still have to change the many occurrences in the script, therefore it just adds up work, and besides that it also enables limitations on the system which would otherwise not exist (e.g. hardcoded number of instances). As for converting, the differences are very few (diff this vs theirs and you'll see there are like ~15 different lines per script), and we'll be the ones doing the updating anyway
  12. Ind

    [Script] getcharname

    to my understanding charid2sd doesn't get the name of offline characters, it looks up the charid list for online characters
  13. Version 0.2

    159 downloads

    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.
  14. File Name: bonus bCoolDownRate,<x>; File Submitter: Ind File Submitted: 18 Oct 2013 File Category: Plugins 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. Click here to download this file
  15. We heard you, and we're very close to releasing it, while the adjustments were few I'd like to have it properly tested just to be sure we didn't miss anything. Includes: [*]npc/instances/EndlessTower.txt [*]npc/instances/NydhoggsNest.txt [*]npc/instances/OrcsMemory.txt [*]npc/instances/SealedShrine.txt [*]npc/re/instances/BakonawaLake.txt [*]npc/re/instances/BangungotHospital.txt [*]npc/re/instances/BuwayaCave.txt [*]npc/re/instances/HazyForest.txt [*]npc/re/instances/MalangdoCulvert.txt [*]npc/re/instances/OctopusCave.txt [*]npc/re/instances/OldGlastHeim.txt Please post in this thread for any issues you encounter, I'll be committing it into the repository once we deem it to be all green. InstancesUpdate.003.patch Thanks.
  16. This is now online, the application can now maintain the cache on its own, whenever commits that affect the HPM are made the application will follow up in a few seconds with the appropriate updates, in commits such as this https://github.com/HerculesWS/Hercules/commit/d93252a35eac6da8e06a1db016ea40d9d7fede00Made Possible Thanks to Haruna <3!
  17. Thanks for bringing it up, fixed in https://github.com/HerculesWS/Hercules/commit/cda114b13c65df0249c4c5b365c6860a1c7831ee
  18. Haru and I tested the problem throughly and were able to solve it (we wouldn't know where to start if it werent for you demonstrating the client wanted only how much time was left in the ack packet). https://github.com/HerculesWS/Hercules/commit/ca15680b184ae630ee90eaa4f71faab19f8fe20e Again, thank you for your contribution, its highly appreciated.
  19. Thank you for your contribution, its much appreciated (I'll be going over it once my next commit is complete) By the way, pull requests can also be done without having to download or install anything -- entirely on github.com, by: 1) Hit the fork button. 2) Edit desired files over github.com using their webeditor interface (in the repository you forked) -- https://help.github.com/articles/creating-and-editing-files-in-your-repository 3) Hit the Pull Request Button in the forked repository, and voila.
  20. Ind

    @storeitem

    Version 0.1

    120 downloads

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

    @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
  22. Added code to automatically disable auction on clients it is unstable: https://github.com/HerculesWS/Hercules/commit/646f7e2f4ea4bd6b07e66d2949817ebdc18f3484
  23. Bank Support Account-Wide Bank May store up to 2.1 Billion Zeny Works on clients from 2013-07-24 onwards New DB Table 'account_data' Primarily to store the bank value, we have plans to employ it on new features as well (the official exp/death/drop modifiers for example) Run the '2013-10-09--21-38.sql' and '2013-10-10--16-36.sql' upgrade files. New Log TypeBan(K) to store bank transactions Bank Enable/Disable SwitchIn /conf/battle/feature.conf map-server.conf/save_settings UpdateNew '256' option to save bank transactions as soon as they take place. Made Possible Thanks to Yommy Wouldn't have been able to complete the feature without all the data Yommy made available, Thanks! Special Thanks Yommy Haru Links~! Commit
  24. 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
×
×
  • Create New...

Important Information

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