Jump to content

DorekoNeko

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by DorekoNeko

  1. 20 hours ago, Cadmium said:

    Después de varias pruebas me pude percatar que al entrar con el personaje con el basic skill en 3, osea ya cuando se puede sentar pues no se pega el personaje me parece extraño pero eso me pasa no se si solo a mi o alguien mas pasa por esto.

    Lo comento por si es un bug o algo que pasa normalmente.

    Gracias, saludos!

    Pues no soy un experto pero estoy bastante seguro de que el map_cache no tiene nada que ver con un personaje concreto. Por lo que es bastante raro que funcione con uno si y con otro no. Desconozco al entrar al mapa se activa algun script o algo parecido que pueda tener que ver con lo que comentas del Basic skill...

    Cuando pueda le echo un ojo.

  2. Si no puedes andar a ninguna celda pero puedes sentarte por ejemplo o algo similar, es probable que tengas que añadir el mapa al map_cache. Para ello puedes usar Map Cache Editor para abrir y modificar los map_cache.dat y GRF Editor para abrir los GRF y extraer el mapa que te da problemas e introducirlo en el map_cache.dat.

    ¿Cómo se llama el mapa? Puedes ponerme el output del comando /where en ese mapa?

  3. You can't connect from a container to the host network. That's probably why rAthena can't connect to MySQL. 

    Assuming your load balancer is just a debian server, you can follow the steps in the README of the repository I mentioned in earlier posts ignoring the MySQL setup with Docker (since you already have one).

    You will need to make a small modification to the `run` command of your server like this:

    sudo docker run -it --network host -v 6900:6900 -v 5121:5121 -v 6121:6121 --name=my-running-server my-cool-server

    This `--network host` option will allow the Docker container to use the host's network, so you will be able to access your MySQL server, which is outside Docker.

    The last part I didn't understand very well. But I think for a generic answer I'll say it depends. You can have all the services (MySQL, Apache, rAthena, etc...) in the same server or split in multiple servers. Moreover, you can have all of them split in multiple containers in the same server. So it depends on what do you want to do.

     

  4. 10 hours ago, kilow said:

    ok, thank you.
    Acces is based on request (your link), so i will wait the access, if i understood.
    I didn't understood, that new for me. So this docker image is used to run rathena server on the hoster? I can't load your docker but i tried with one of an other topic but i'm still lost. I don't see any guide for hosting a server on dedicaced server from zero. I know some hoster are specialized on ragnarok online host but i would like to host my server on hoster which run with sustanaible energy. That's why this step is difficult for me.

    About the access to the repository, check again. I forgot to save some settings.

    About the rest:

    Docker is not needed in any way to run rAthena. I just mentioned it because it's easier.

    Docker lets you reproduce environments easily. It's like building a lego house once and being able to rebuild it exactly the same anywhere and at any time without effort.

    Any hosting provider will work as long as they can sell you a server with Linux. Just pick one close to where your players are going to be located (geographically speaking) to keep the latency at a minimum.

  5. 4 minutes ago, kilow said:

    @DorekoNeko
    Thank you for the answer. When i 'm reading your post, i understand that finally i don't really need to have linux on my computer to make the server run on hoster with linux?
    Once is setted up, if i install mysql, apache etc on the hoster, the server should be run, even if i maded it on windows?
    thank you

    As long as we're talking about rAthena, yes. It doesn't matter if you modify source code on windows as long as you compile the server in the target system afterwards. Install docker in the linux server of your choice and follow the instructions in the repository I linked above.

    The compilation part is actually only needed once if you don't modify the source code and instead only modify the conf files.

  6. You should recompile only when you change source files inside the `src` folder and of course you need to restart your server after each compilation. But that shouldn't be a thing you need to do very often. You're probably going to compile the source once and that's it.

    The `.conf` files and `.txt` files can be modified easily with notepad, vim, or your favorite plain text editor. You also need to restart your server after these changes to be sure. It's not always 100% neccessary though. You can use the in-game at-commands to reload NPCs and a lot of other things:

    https://github.com/rathena/rathena/blob/master/doc/atcommands.txt#L1376

     

    You should not have issues working with Windows and then deploying to linux. I do have my own fork of rAthena's repo and a few deployment scripts I can run in my linux with Docker Compose to run the server while I do some modifications to the source or make my NPC scripts in Windows. You just need to know how to use a version control like Git.

     

    Here's my base docker image to compile rAthena:

    https://gitlab.com/asier_paz/rathena-base

    I've added a quick guide in the README to get started. Note that since you're going to run the server inside a Docker container, your actual machine only has to have Docker installed and that's it. Hope this helps someone.

  7. 6 hours ago, AinsLord said:

    i was trying to do some src edit for sanctuary heal on emp that can only be "1" but i got this kind of error

    image.png.dbf23829809a998d704ddf9e23757b36.png

    i tried the src edit i found here

    
    case PR_SANCTUARY:
           hp = (skill_lv>6)?777:skill_lv*100;
           if (dstmd->class_ == MOBID_EMPERIUM)
                hp = 1;
           break;

    thanks in advance

    Shouldn't it be something like this?

    case PR_SANCTUARY:
        hp = (skill_lv > 6) ? 777 : skill_lv * 100;
        if (target->id == MOBID_EMPERIUM) {
          hp = 1;
        }

    At least in my case, the argument to the skill_calc_heal method describing the target of the skill is called literally target.

    /**
     * Calculates heal value of skill's effect
     * @param src: Unit casting heal
     * @param target: Target of src
     * @param skill_id: Skill ID used
     * @param skill_lv: Skill Level used
     * @param heal: True if it's the heal part or false if it's the damage part of the skill
     * @return modified heal value
     */
    int skill_calc_heal(struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, bool heal) {

     

    EDIT: Actually I think this would be better and safer:

    case PR_SANCTUARY:
        hp = (skill_lv > 6) ? 777 : skill_lv * 100;
        if (target->type == BL_MOB && target->id == MOBID_EMPERIUM) {
          hp = 1;
        }

    I'm not 100% sure, but I think that it could be possible for another type of entity to have the same ID of the Emperium. So maybe checking the type of entity to ensure it's a monster is wise.

    • Upvote 1
  8. I guess this is a live server. This could be, if I recall correctly, that you're missing some client file and when another player enters the map with something your client can't understand/render/find, the game just crashes.

    I don't really know how to read the crash log, but I'm guessing it has something to do with you not having the `model\event\ÀϺ»_õÇÏÀÏÇ°.rsm` part.

    Searching the forum I found this: 

    Seems like the `DATA/model/event` folder has all the file names in korean. Turns out that the missing file is actually inside the directory, but it is named "일본_천하일품.rsm". You can try renaming the files with the `windows-1258` encoding.

    You can check the conversion using this online tool: http://string-functions.com/encodedecode.aspx

    Paste a file name in korean, select the `euc-kr` encoding in the "Encode with" select box and the `windows-1258` encoding in the "Decode with". Click "Encode / decode!" button and rename your file with the result.

     

    I'm not totally sure this is going to work, but it's the only thing I can think of.

  9. Would be nice if you say your OS version and which guide, if any, did you follow.

     

    I have a server running in a debian stretch. I think the only related thing to your error is installing `default-libmysqlclient-dev` if you're using debian. For any other, I think `libmariadb-dev` and `libmariadb-dev-compat` are used. However, you should follow the official guide for your OS here:

    https://github.com/rathena/rathena/wiki/installations

     

    Also, the error might be related to MariaDB 10.2.6 and up not having the `reconnect` definition, according to this post:

    https://forum.kopano.io/post/4006

  10. On 6/12/2021 at 3:38 PM, myimmortal said:

    this problem is fixed.

    I got a new problem.

    I want to use 2021-01-07aRagexeRE.exe to support to kRO_FullClient_20210406.

    How to config enable /disable on Nemo?

    It would be nice if you post the solution to the problem.

    I guess it had to be with a mismatching packet version. At least that was my problem.

    For anyone else with the same issue, you need to recompile the server with the --enable-packetver=[your_packet_version_here].

    You can follow the guide here: https://github.com/rathena/rathena/wiki/installations
     

    Select your OS and follow the steps.

  11. 1 hour ago, cook1e said:

    rAthena doesn't have an option to choose episode.
    You have to change mobs/db/npc, etc... on your own

    The only thing that can help you is looking for the changelogs in the official servers and wiki and make those changes manually.

    That's exactly what I was asking. Thank you very much.

     

    If I end up doing it myself I will share it.

  12. Hello there.

    Is there an easy way to restrict the server to a specific Ragnarok episode or a specific patch?

    I'm asking because I can't seem to find a matching kRO client and ragexe for the Ragnarok episodes I want to run. So my idea is to restrict the server side to only have support until a certain episode. I don't want anybody going for example to maps that are not from the episode I want. I know the maps will be in the client if it's recent enough, but maybe warps/quests or different ways to reach those maps can be disabled.

    I know I could probably use an older version of rAthena. The thing is that I don't know which Ragnarok episodes correspond to what releases/commits of the repository.

    Thank you very much.

  13. Hello.

    So, I wanted to know which Ragnarok episodes are supported in previous, current or future versions of rAthena and what is the percent of completion for each episode.

    Is there a doc or something where I can check this info? Tried searching in the forum and I didn't find anything useful.

    Thanks!

  14. On 4/28/2021 at 11:35 PM, Caspian said:

    You can find all the clients here:

    http://nemo.herc.ws/downloads/

    I recommend you to use 2010-07-30aRagexeRE for pre-renewal servers.

    Thank you very much sir.

     

    Well. It doesn't work with kRO client 20210406, 20180813, 201204 or even 200806.

     

    I am actually having a very hard time trying to match a kRO client with a working or seemingly working exe. I've tried tens of Nemo clients and all the main/sakray kRO clients.

    I have no clue of what's happening right now. Lots of years without playing Ragnarok I gues...

×
×
  • Create New...