Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. Hello, I have a quick question that's probably simplistic to ask, but complicated to answer. How does one understand what in-game features are available to their server setup? I hate to use the classic example, since it's probably like beating a dead horse, but let's use 4th jobs as an example. My server setup is: Base client: kRO 2023 08 04 Client exe: 2022-04-06_Ragexe_1648707856 Hercules: v2024.03 With 4th classes being released in kRO around 2020, my instinct would be to assume that all of these versions allow for them to be present in the game. However, I don't know this for sure and posts appear to indicate otherwise. What part of the server determines what content is available to the players? While the content may be present in the base client, does Hercules need to implement the content as well, or do we simply gain access to features based on what version of the client we place Hercules on? Apologies, since this definitely indicates a misunderstanding of how Hercules fundamentally works on my part, but I'd really like to fix this by better understanding how these components work together. I'm not finding any immediate answer to the question, so I figured I'd ask here. If anyone has any documentation or a location to read up on this, I'm happy to take this in place of an answer- I'm just not having any luck finding something like this even after successfully establishing my server. Any help would be appreciated! Regards, Geras
  4. Fou-lu

    @arealoot

    I'm using this @arealoot plugin attached and it's working perfectly. (Collecting all items at once) arealoot.c
  5. Perfect. I have now submitted the change on GitHub. I share the same doubt as KirieZ. As far as I know and have learned about HPM Plugins, the only method to overwrite/replace a function is through this way. I know about HookPre and HookPost, however, in some situations where you want to remove a piece of code within the function, these solutions don't work, forcing you to resort to overloading. Of course, whenever possible, I will adhere to HookPre and HookPost, and I can identify well when this is necessary.
  6. Last week
  7. I'm looking to pay someone to create a custom MVP/Boss sprite based on our server mascot, the Jawless Fish who is known for its silly expression . Please contact me if anyone has interest.
  8. by "hpm overload things" you mean hookPre/hookPost? As far as I remember, overloading, as in "I want to completely skip hercules original function" (maybe it should actually be called override?) were always made with a direct assignment to the interface (like in the original post here), while hookPre/hookPost would be used if you want to keep the original code running, but wants to do something else before/after it. Example: https://github.com/HerculesWS/Hercules/blob/stable/src/plugins/db2sql.c#L1180 I am not aware of another method for overloading/overriding. I do agree that you should only do it if you have a reason to, but is there a better way to overload/override than a direct assignment?
  9. gleynn

    @arealoot

    same here using the latest Hercules as of this writing, does anyone can help to fix this issue?
  10. better not do direct overloading without reason. Because it may break other plugins if you not do correct overloading. better use hpm overload things
  11. Yes, you can look into inventory expansion ( npc/others/inventory_expansion.txt ) for details on how to do it via script. You probably can also do it via source, but it would need a bit more of digging through code.
  12. You are right, looks like "server_ready" is not part of the HPM events, so it is never called. I think the docs actually meant "server_online" (which means the server is ready / online). I generally prefer using plugin_init, as you said, since server_online runs after several processing already happened (e.g. config loading). So the tutorial should probably use "plugin_init" instead. Nice finding! Do you want to PR a fix to the docs? If not, I can edit it later
  13. Hello, From what I understand, the inventory has a limit of 100 different items. Is there any way to remove this limit or increase it? Any search on this topic doesn't seem to yield any details, so any help would be appreciated! Regards, Geras
  14. I apologize if this is posted in the wrong location. When programming a plugin that uses overloading, I realized that the way it is in the Hercules tutorial doesn't work. When reproducing what the tutorial asks for, placing it inside the "server_ready" function, overloading does not work. I needed to put it in the "plugin_init" function for it to work.
  15. it's works ..!! thank you to ALL.. Just a question, how can I make the "@storage 2" or "@storage vip" command only be used by vip players.?????? help me
  16. it's works ..!! thank you to ALL.. Just a question, how can I make the "@storage 2" or "@storage vip" command only be used by vip players.?????? help me
  17. specifically 0726 from 2007 but I'll take anything I can get. been trying to catalogue and save Ragnarok-related content and apparently much of it was lost throughout the years. rapidshare, megaupload, filefactory. official proxies. torrents. all dead...
  18. Ooh... no. Its no hercules. Didnt know that differences. Anyways, you helped me. THX!
  19. Your script is most likely creating a new item (delitem + getitem) instead of identifying it, and it is likely doing a basic item ignoring all of its enchants. Thus, it is a complete new item and loses everything. To properly identify items via script you should use one of these commands: - identify -- https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L3656 - identifyidx -- https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L3665
  20. All, I wanted to post my findings: All items (at least that are dropped from Sky Fortress monsters/have not tested others yet) which are identified by (my) healer npc script, do not have enchants. However, when identified through traditional means, such as a magnifier, have all of the stats loaded on them. Thanks!
  21. Hello all! I'm looking for some help. I've used the 2022 offline server pack and have had a great time so far messing with my own server, but I've noticed that with any Vicious Mind Weapon, there are no enchants on them. I was under the impression that these weapons always (?) come pre-loaded with up to 3 different enchants and so far I've not found a single weapon with any enchants. Is this due to me having a poor understanding of the instance/weapons in the instance, or is this an error on my server? Thanks in advance!
  22. Hello everyone, As you may already have seen from the 2024.03 release notes in GitHub ( https://github.com/HerculesWS/Hercules/releases/tag/v2024.03 ), Hercules' GitHub wiki has been moved to a new platform, powered by mkdocs and available at: https://docs.herc.ws/ This change aims to make the Hercules documentation generally better since the mkdocs-powered documentation does bring a better navigation, search capabilities and editing options. With that we can, hopefully, cover the gap that many have felt after we switched from MediaWiki to GitHub Wiki, while also providing some extras (like the ability to easily have a local copy). With the new mkdocs-powered document, we have: (compared to GH Wiki) - A bit more control over the sections, no longer a single side bar with everything - Extended markdown syntax for editing docs content - Better searching, as results are shown as you type - It is now possible to properly include image in the docs, without workarounds Contributions are highly appreciated and should be made through Pull Requests to the new hercules-docs repository ( https://github.com/HerculesWS/hercules-docs ). You may find general guidance on how to run the docs locally and edit it in the Editing the Docs page ( https://docs.herc.ws/contributing/editing-the-docs/ ) The content of the new repository was copied from the GitHub wiki (which was originally the MediaWiki content and had several contributions over the years), and reorganized into a few sections. Additionally, everything was converted to Markdown, so we should generally get an ok experience. The conversion of MediaWiki pages to Markdown was made through an automated tool (pandoc) so we should still expect some things to not be perfectly right, a few noticeable cases are: - Linking between pages are likely to be broken - Some syntax highlighting may not be in the most presentable format - Several images are still missing Fixing those will require manual work to replicate the images, update links, etc. Why not return to MediaWiki? This question has shown up a few times in our Discord, and I think it is worth linking to the topic when the move happened back then: TLDR; Maintaining MediaWiki together with IPB (our forum software) is complicated. Huge thanks to Haru for making this idea come true! Please let us know if you have questions, comments or suggestions for the new docs.
  23. use newer client exe or rollback maps and other client files to older version.
  24. can anyone know how to fix this error of payon map?
  25. how to fix the walkpath of this new prontera map?
  26. Earlier
  27. This is not Hercules, is it? "mob_db.yml" is not part of Hercules... I am not sure if I can really help, but you are trying to reduce the players Max Level? I don't think you need to change MAX_LEVEL constant in source for that. You only need to change it to go higher. To cap to lower levels, you can just change exp_group_db.conf. It will use a bit more memory than it really needed, but will be much easier, and you won't have issues like in your print, where the server MAX_LEVEL is lower than the monsters you are trying to load. See https://docs.herc.ws/customization/edit-max-level/#configuration-files for more info (I think this is still up to date) Although I don't think this is the cause for you to get inf% exp... unless you changed some source code that broke that.
  1. Load more activity
×
×
  • Create New...

Important Information

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