Jump to content

DorekoNeko

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by DorekoNeko

  1. 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. Here you have a list of possible commands to use in a script: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt I've read it quickly but I don't see any command to do what you're asking, so it is very possible that you need to implement the command in the source. I might do that later if I have some time. It should be pretty easy by copying and pasting the `pc_resetstate` method.
  3. 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?
  4. 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.
  5. The first part I didn't look yet. For the second part I think you need to replace the `announce` keyword with the `mapannounce` keyword.
  6. 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.
  7. 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.
  8. It is working on my server. But I have it compiled with the `--enable-prere` option. Do you have a renewal server? The formulas used in renewal are different in favor of more powerful weapons as opposed to weapons with less power but more slots.
  9. 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.
  10. You welcome Ains Sama. Oh supereme being ~
  11. 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.
  12. The part about extracting the grf with grf edit and stuff?
  13. Is the data.grf encrypted or something?
  14. 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.
  15. 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
  16. So. Apparently someone shared a docker image that has everything: I did not test it myself.
  17. 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.
  18. Hello. Can't you use a guide from this forum? Example: Try following and if you have any issue just ask here. It would be better if your doubts and errors are resolved in the forum instead of Discord so anyone can find it.
  19. That's exactly what I was asking. Thank you very much. If I end up doing it myself I will share it.
  20. 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.
  21. Oh. That's so helpful. I see the left-most column is about episode 14.2. Does that mean that until episode 14.1, every previous episode is completely implemented in rathena?
  22. 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!
  23. 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...
  24. I used the options to hide the ones I don't want. But the ones I do want have an updated icon instead of the old button style. Anyways. It doesn't matter really.
×
×
  • Create New...