Jump to content

Eris_

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Eris_'s Achievements

Poring

Poring (1/15)

0

Reputation

  1. Yes, if you read my first answer you'll see what was my problem and how I "fixed" it. Furthermore Functor's last answer shows a simple correction to my code that properly fixes it. I hope you find a solution for your issue.
  2. Thanks yet again! Can I bother you a bit more and ask if you can explain what is happening there? No worries if you don't want to! ?
  3. Thanks for the link, ended up not using it this time but I'm sure it will come in handy in the future! And you were right! I changed back all my ip configurations that I had done so my friends could connect to my server and that changed nothing, so I went looking for my source code modifications. I noticed buried amid all the lines of the map server console there was one pointing to some sort of problem in status.cpp. I had written some code that would increase player's base moving speed using their base level and agility as factors, apparently that was also affecting monsters. I think what was crashing the map server was when monsters exceeded the moving speed cap. For example map server crashed when Eremes MVP used Agility Up. Commenting the code solved the problem, and no more crashes happen. So yeah, the problem existed for a while I only hadn't encountered it yet. The only strange thing is that the return statement of the status_calc_speed function is like this: return (unsigned short)cap_value(speed, MIN_WALK_SPEED, MAX_WALK_SPEED); So it already should check for cap and prevent any problems with that. Because of this I can't fully understand what was happening, and if you could clarify it I would be grateful. Nonetheless commenting my custom code fixed it. Here is my code if you're curious: Once again thanks for reading and helping!
  4. Hello everyone! I'm running a server on my windows PC just to have fun editing and learning source code and customizing Ragnarok Online. Recently I changed some configurations in my server in order to let my friends connect to it using a simulated LAN connection/VPN. Before I made these changes I'm pretty sure I didn't have this problem, but I'm not sure. Perhaps I just didn't observe it before. What is happening is this: some monsters (not all) crash the Map Server when they use some skills (again, not all skills) on me. For example: Beelzebub uses Land Protector and some other skills and no problem, but something else it does crashes the Map Server. The MVP Eremes can also use some skills just fine, but also has one that crashes the server. When I turn off monster skills in monster.conf no crashes happen, thus I believe my hypothesis is correct. The configurations I changed so my friends can connect are the following: char_athena.conf, map_athena.conf, subnet_athena.conf (the fields login_ip, char_ip, map_ip and subnet) and the clientinfo inside the grf. I think I'll try reverting all these configurations to see if the crashes still happen, but ultimately I would want to actually fix it and keep the capability to let my friends play with me. Not related to this, but I also have made many source code modifications, but I don't think any of them are the cause. I've seen people advising the use of GDB to see stacktrace and coredumps of the server crashes, but I don't think I can use it on windows. When the Map Server crashes all I see in game is a simple "Disconnected from Server". Here is a image of the Map Server when it happens: It simply says "Map-Server has shutdown succesfully." and "Memory manager initialised: log/map-server.exe.leaks" and then proceeds to restart. If the log/map-server.exe.leaks refer to a log file with what happened, I can't seem to find it. I've hidden the IPs in the screenshot because I absolutely don't understand anything about this matter and I'm not sure if I should or should not show it for security reasons or some other reason. Finally, I've made the server using this guide. Wich means I'm using a fairly recent rAthena version and my exe is 20180530. I have yet to git pull because merging all my changes will be a pain, but I'll do it soon. Thanks everyone for reading everything and trying to help! I'm grateful!
  5. Thank you! This solves my problem perfectly, thank you for the other suggestion too! Do you know why this was set to 85 besides "this is the most we need normally"? Does changing this number have any consequences? I will avoid marking as best answer for now because I want more people to see the thread and the other questions, but thanks again!
  6. Hello everyone, I just started my very first project and I'm having a lot of fun and relative success. I've never made a RO server before, but I have some experience coding and thus far I've managed to solve all my doubts by googling and reading this (awesome) forum. But, alas, not this time - there are a few problems I've encountered that no ammount of googling, documentation and reading the code have solved, here they are: I want to make a "custom class" with all the skills in the game, for that I'm using the Super Novice, wich shall eventually be renamed to Adventurer. I edited" skill_tree.txt" and "skilltreeview.lub" so that the Super Novice now has all 1-1/2 and 2-1/2 skills in the game. But this problem surprised me: There is a limit on how many skills a class can have! See the following images: The error reads "Unable to load skill x into job y's tree. Maximum number of skills per job has been reached." As you can see, after using @allskills, I have access to all skills until a certain point, and then it stops working. The greyed out skills are not attainable using the command and I can not assign skill points to them. As you can guess, this is probably happening because these skills surpassed the aforementioned limit. Other points of interest: There are some skills that are not working, even though all other skills arround them are. See image: All Thief skills and Lex Aeterna are behaving like the rest of the greyed out ones, not being given to me by command usage and can not assign skill points. Haven't tested platinum skills yet, but I assume they will work if I do the quests. Even more interesting is the fact that in my GM account, where I have "all_skill: true" configured on "conf/groups.conf", not only do I have all skills working on my "Etc" tab, after using @allskills I also have all the skills on the "1st job" tab properly working and I'm able to assign skill points to them. So the question is: how do I make it so that I can have all the skills in one class? Where do I edit the maximum number of skills per job? This is my main and most critical problem, but I have a few more I'll put on this same thread: And finally some technical info to help you help me: I've made the server using this guide. Wich means I'm using a fairly recent rAthena version and my exe is 20180530. Thank you for reading and trying to help, I'm immensely grateful!
×
×
  • Create New...