Jump to content

Habilis

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    20

Reputation Activity

  1. Upvote
    Habilis reacted to Skyline in A friendly reminder to server owners   
    Well he was crafty enough to replace the logo on our main town with a random statue. Lmao
  2. Upvote
    Habilis got a reaction from Sephus in Any Digital Ocean users here?   
    try guide in my signature it should be a breeze if you use Debian or ubuntu as operating system...
     
    Just skip the part about Router setup .... Since you rent a VPS at DigiOcean this step already done by them...
  3. Upvote
    Habilis got a reaction from Sephus in Herc or Idathena?   
    Well, that's the risks of going with something Hipster,
     
    instead of going with one of big players...
     
    Never know it still going to be supported 6 months from now, and whether you will be able to get support when needed.
  4. Upvote
    Habilis got a reaction from tedexx in Any Digital Ocean users here?   
    try guide in my signature it should be a breeze if you use Debian or ubuntu as operating system...
     
    Just skip the part about Router setup .... Since you rent a VPS at DigiOcean this step already done by them...
  5. Upvote
    Habilis reacted to 4144 in Herc or Idathena?   
    Idathena stopped developed some years ago no?
    Because git what i have was last updated in april 2015. This mean it already dead for two years.
  6. Upvote
    Habilis reacted to Sephus in Herc or Idathena?   
    IdAthena is an Indonesian localisation of the emulator if I'm not mistaken? Hercules has HULD that supports localisation of scripts, the benefit of which outweighs using any other localised emulator. Because your users will be able to understand your server in their own language, if you support it. Hercules makes this possible.
    This among other several reasons why it is far more superior to rA or any other (and I don't mean to put them down but the code speaks for itself).
  7. Upvote
    Habilis got a reaction from baray in - Compiling Error -   
    CentOS...
     
    yum install gcc make mysql mysql-devel mysql-server pcre-devel git zlib-devel
  8. Upvote
    Habilis got a reaction from Ridley in Episode control ?   
    I don't have much time
     
    but so far what I did is I downloaded  rAthena rev 13414
    http://rathena.svn.sourceforge.net/viewvc/rathena/trunk/?pathrev=13414
     
    and I will edit db
    monsters skills etc..
     
    to match those in that revision
     
    huge work, will take long time
     
    I will also change morroc npc's ... Sorry Satan you weren't there back in the days..
  9. Upvote
    Habilis reacted to Ridley in How to allow one ip use on an NPC   
    *getcharip({"<character name>"|<account id>|<char id>})
     
     
    This function will return the IP address of the invoking character, or, if 
    a player is specified, of that character. A blank string is returned if no 
    player is attached.
     
     
    Examples:
     
     
    // Outputs IP address of attached player.
        mes("Your IP: " + getcharip());
     
     
    // Outputs IP address of character "Silver".
        mes("Silver's IP: " + getcharip("Silver"));
     
  10. Upvote
    Habilis got a reaction from Like it~* in Plugin errors   
    remove this 
    #define safestrncpy(dst,src,n) (strlib->safestrncpy((dst),(src),(n))) from 
    partyscript.c
  11. Upvote
    Habilis got a reaction from hercules newbie in What's the most stable version of the hercules repository?   
    I don't think that principles as stable or not applies to Hercules.
    Hercules being "versionned" by Git.
    Therefore, latest version in the git repository is the most stable.
  12. Upvote
    Habilis got a reaction from Sephus in What's the most stable version of the hercules repository?   
    I don't think that principles as stable or not applies to Hercules.
    Hercules being "versionned" by Git.
    Therefore, latest version in the git repository is the most stable.
  13. Upvote
    Habilis reacted to Asheraf in New /conf folder sucks   
    - Open inter-server.conf
    - Search for 
    @include "conf/global/sql_connection.conf"  
    - Replace with
    //Logs DB connection info sql_connection: { db_hostname: "127.0.0.1" db_port: 3306 db_username: "ragnarok" db_password: "ragnarok" db_database: "ragnarok" }  
     
     
     
  14. Upvote
    Habilis reacted to Asheraf in New /conf folder sucks   
    You can change them by editing inter-server.conf its just defaulted to use 1db.
  15. Upvote
    Habilis reacted to Sephus in Refinery UI   
    kRO had released anew refinery interface for item refinement last year in their 2016-10-* clients.
     
    Source: 
     
    A preview of my implementation:

     
    I already have it working on my local Hercules branch. A big thanks to @Asheraf for providing information from kRO. This will be available for Hercules as and when it support the newer clients.
    Just thought I'd share the info here
    Hope for its release soon!
  16. Upvote
    Habilis got a reaction from Like it~* in Plugin errors   
    For example autopot.c
     
     
    Replace top of file by
     
    #include <stdio.h> #include <stdlib.h> #include <string.h> #include "common/hercules.h" /* Should always be the first Hercules file included! (if you don't make it first, you won't be able to use interfaces) */ #include "common/HPMi.h" #include "common/timer.h" #include "map/script.h" #include "map/pc.h" #include "map/map.h" #include "map/unit.h" #include "map/atcommand.h" #include "map/itemdb.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h"/* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */ #define OPTION_AUTOPOTS 0x40000000  
      Then,
     
    remove 
    clif = GET_SYMBOL("clif"); script = GET_SYMBOL("script"); pc = GET_SYMBOL("pc"); atcommand = GET_SYMBOL("atcommand"); map = GET_SYMBOL("map"); unit = GET_SYMBOL("unit"); timer = GET_SYMBOL("timer"); itemdb = GET_SYMBOL("itemdb"); from 
     
    HPExport void plugin_init (void) {    
    Recompile..
     
    samme principle apply to others...
     
     
     
    UPD : Maintenance.c
     
    add
    #include "plugins/HPMHooking.h" before
    #include "common/HPMDataCheck.h"
  17. Upvote
    Habilis got a reaction from jupeto in rentitem2 plugins   
    ...
     
    replace top with
    #include <stdio.h> #include <string.h> #include <stdlib.h> #include "common/hercules.h" /* Should always be the first Hercules file included! (if you don't make it first, you won't be able to use interfaces) */ #include "common/HPMi.h" #include "common/timer.h" #include "map/script.h" #include "map/status.h" #include "map/pc.h" #include "map/clif.h" #include "map/pet.h" #include "map/script.h" #include "map/itemdb.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h" /* should always be the last Hercules file included! (if you don't make it last, it'll intentionally break compile time) */
    Im not sure, but I think you can remove 
    #include <stdio.h> #include <string.h> #include <stdlib.h> too
  18. Upvote
    Habilis reacted to tinchant in Hercules on docker container   
    Hi everyone,
     
    Im trying to create a container for hercules on Docker which i think would be great for the community!
     
    My main idea is to create a container which you can link to a mysql container and deploy the development to production faster!
     
    This could change how the server maintenance works and how long it takes!
     
    And getting a working hercules server would be as hard as a command "docker run ragnarok/hercules"
     
    Maintenance would take only seconds to get the server back up!
     
    Im learning docker as i work as software architect and as a noob when comes to creating a hercules server i need someone who understands how to put a hercules server online to help me set up the environment and the forum admin to create the hercules account  on dockerhub.
     
    It would be a single hercules image it would be free for everyone.
     
    Sorry for my lazy english im brazilian
     
    https://hub.docker.com/
     
    https://www.docker.com/
  19. Upvote
    Habilis reacted to Sephus in Introducing the Item Options System   
    Introducing the Item Options System!
     

     
    Commit
    https://github.com/HerculesWS/Hercules/commit/974222a8d3f189083205bf5d330de04a43226ad3
     
    Feature Information
    The Item Option System is a feature that was implemented in 2015-02-26 clients, allowing equipments to have up to 5 additional effects similar to cards or enchants. Each equipment is capable of having 5 information bars above the card slot/enchant bar that describes the effect of the option it is infused with.
     
    New Script Commands (The following snippet is available in doc/script_commands.txt.)
    *getequipisenableopt(<equipment slot>) This function checks if the equipped item allows the use of bonus options. Returns 1 if allowed, 0 if not. --------------------------------------- *getequippedoptioninfo(<info_type>); This function is to be used with the scripts of contents listed in db/item_options.conf only. Returns the value of the current equipment being parsed. If the equip was not found or the type is invalid, -1 is returned. --------------------------------------- *getequipoptioninfo(<equip_index>,<slot>,<type>); Gets the option information of an equipment. <equipment_index> For a list of equipment indexes see getequipid(). <option_slot> can range from 1 to MAX_ITEM_OPTIONS <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf) or IT_OPT_VALUE (the value of the bonus script of the equipment, @see "Script" in db_item_options.conf). returns the value of the slot if exists or -1 for invalid slot, type or slots. --------------------------------------- *setequipoption(<equip_index>,<slot>,<opt_index>,<value>); Set an equipment's option index or value for the specified option slot. <equipment_index> For a list of equipment indexes see getequipid(). <option_slot> can range from 1 to MAX_ITEM_OPTIONS <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf) <value> The value of the type to be set. returns 0 if value couldn't be set, 1 on success.  
     
    Release Notes
    This system allows the infusing of equipments with bonus item options. This feature is constrained to clients of packet versions greater than or equal to 20150226. Item Options and their effects are defined server-side in db/item_options.conf and client side in data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub The ID of the option must tally with the correct index of the description provided in the client side file. IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants. If you wish to disable item options for certain (equipment) items, an additional flag `disable_options` has been added to the item sql tables, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to the item_db.conf files. Documentation is provided for script commands. If upgrading, don't forget to run the sql upgrade files!
    Credits
    A big thanks to all the reviewers that helped make the code closer to perfection. -
    Emistry, dastgir, MishimaHaruna, Jedzkie, Ridley8819, Asheraf, 4144.
     
    Style and Script Fixes by Asheraf (https://github.com/Asheraf)
    Initial design Idea in rAthena commit.
  20. Upvote
    Habilis reacted to vykimo in Video Animation Cutin   
    Hi all,
    Here my latest preview video of one of my stuff : Video animation In Game
     





    If you noticed in the video, the main advantage of my mod is that you can continue talking with the NPC while watching the video !!
     
    Please, give me feedbacks ! 
    If you like my stuff, don't forget to follow my profile to get informed of new RO stuff I post on forum !
  21. Upvote
    Habilis reacted to Sephus in Hercules vs rAthena diff checker   
    Hey all,
     
    So I've worked on a difference checker between the fields of some rAthena and Hercules database files.
    This could help people or devs or users do quick lookups for differences.
     
    Key Features
    The differences are listed in libconfig format to make things easier for people trying to merge or lookup entries between rAthena and Hercules.
    It lists only the differences if any. (Except ID and Name field for quick lookups).
     
    Repository: https://github.com/Smokexyz/Hercules-vs-rAthena
     
    Currently supported files -
    db/pre-re/mob_db.conf db/pre-re/item_db.conf db/pre-re/skill_db.conf db/re/mob_db.conf db/re/item_db.conf db/re/skill_db.conf  
    TODO
    Add support for more files. Automate checks and updates to repository.  
    If you have any suggestions for files or format do let me know.
    If you want to report errors, please feel free to open an issue on the repository page.
  22. Upvote
    Habilis got a reaction from Mystery in Hercules on RaspberryPi 3   
    Soon will be writing a
    Step by step guide on how to setup a server on your RaspberryPi 3
    For my RaspberryPi Related blog, will publish a version of it here. though, I don't think it is meaningful, as there are already nice guides on how to setup Hercules on linux...
     
     

  23. Upvote
    Habilis got a reaction from Mystery in Hercules on RaspberryPi 3   
    Hello community!
    I'm new (well not so new anymore... Had server hosting experience back in 2007 with eAthena).
     
    Well, enough of lifestories. After all, you would read a book, if you wanted a story.
     
    So, I'm writing here just to share this proof of concept.
    Running Hercules server on RaspberryPi 3 is, indeed, possible.
     
    I've just started. So far, I've been able to setup and connect to server.

     
     
    As soon as I will finish sorting out Client PreRe 2013-12-30 mess
    (It is a mess, since most links are dead)
    I will Invite some friends to gather feedback about their overall experience playing on the server hosted on RaspberryPi,
    I thought, that could be a nice experience to share with you guys.
     
     
    UPD : Ow, and I suppose, the choice of Hercules is pretty obvious ?  ( back in 2007, I hosted that eAthena server on a similar spec PC as the RaspberryPi 3.)
  24. Upvote
    Habilis got a reaction from Vitox in Hercules on RaspberryPi 3   
    Hello community!
    I'm new (well not so new anymore... Had server hosting experience back in 2007 with eAthena).
     
    Well, enough of lifestories. After all, you would read a book, if you wanted a story.
     
    So, I'm writing here just to share this proof of concept.
    Running Hercules server on RaspberryPi 3 is, indeed, possible.
     
    I've just started. So far, I've been able to setup and connect to server.

     
     
    As soon as I will finish sorting out Client PreRe 2013-12-30 mess
    (It is a mess, since most links are dead)
    I will Invite some friends to gather feedback about their overall experience playing on the server hosted on RaspberryPi,
    I thought, that could be a nice experience to share with you guys.
     
     
    UPD : Ow, and I suppose, the choice of Hercules is pretty obvious ?  ( back in 2007, I hosted that eAthena server on a similar spec PC as the RaspberryPi 3.)
  25. Upvote
    Habilis got a reaction from Legend in @emotion @heart @show @hold @detach   
    Aside from being 6 months old and there could be updates changing the commands mechanism...
     
    the only difference I can tell is this constant
    ALL_CLIENT
     
    as in 
    clif->specialeffect(&sd->bl,413,0);
     
    would be 
    clif->specialeffect(&sd->bl,413,ALL_CLIENT);
     
     
    And plugin init is not needed anymore?
    /* Server Startup */ HPExport void plugin_init (void) { addAtcommand("dance",dance); }  
    Anyways my code is cleaner than whatever you posted there.
     
    UPD: Soon will be installing fresh latest hercules and test 
    All of them one by one.
×
×
  • Create New...

Important Information

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