Jump to content

joao

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by joao

  1. Apparently this is an rAthena problem. I'll try to solve it when I get home, but if anyone is having the same issue, or anything related to instance, leak and map crashes here are some issue topics on github that might help:

    https://github.com/rathena/rathena/issues/3387

    https://github.com/rathena/rathena/issues/3386

    https://github.com/rathena/rathena/issues/3369

    https://github.com/rathena/rathena/issues/3336

     

    Also, it seems that these are the solutions:

    https://github.com/rathena/rathena/pull/3384

    https://github.com/rathena/rathena/pull/3347

     

    Edit:

    I think that all of those changes are already implemented. Instance commands and some maps are still unstable. I'm pretty sure this is an rAthena problem because I tested it on a server without any modifications, with default instances (just changed entry map on instance_db). I'm not sure which are the stable versions, or if this is already fixed. If you have any solution, I'd be grateful.

    • Upvote 1
  2. After a lot of effort on an instance script, I started testing it, and noticed that, whenever a player was in the instance, and another one entered the same instance (on a different party), map server would crash. Spent some hours trying to figure out the reason, so I created a script that only does the following:

    instance_create("Name");
    instance_enter("Name");

    To reproduce the error, I entered the instance (lets say entry map is mymap1), got warped, and then runned @warp mymap1. Map server would crash, just like it did. Then, I started changing the entry maps of my instance in instance_db. As the error would not occur on Ghost Palace, I tryed to change my instance's map entry to Ghost Palace's map, and the error didn't happen. As all of my instance entry maps were duplicates of real maps, I changed them for the real maps (new_zone03 and orcsdun01, for example). When testing with new_zone3 as entry map, the error did not occur, but with orcsdun01, it did.

    Packet obfuscation is disabled, I've tryed to recompile the server, and a lot of other stuff. Do you guys have any idea of what I am missing? Thanks ?

     

    Here's map_server error:

    Map-Server has shutdown successfully.
    Restarting in 15 seconds, press Ctrl+C to cancel.
    [Status]: Memory manager initialised: log/map-server.exe.leaks

    • Upvote 1
  3. Hi guys, it is the first time I'm developing a website (used django framework). I'd like to know how can I integrate both website and rathena databases without using plain text. Django framework already uses encryption, but I could only integrate both tables with a python SQL library and plain text being copied from one table to the other (which, I know, is far from good). Can you give me any light or tutorial? Thank you!

  4. Found the problem. For some reason, server was not prioritizing conf/import/char_athena over conf/char_athena. Same for map_athena. Just deleted conf/import/char_athena and map_athena, and did the whole configuration directly at conf/char_athena and conf/map_athena.

    Also, had to do the usual procedure of fowarding ports 6900, 6121 and 5121, adding subnet: 255.0.0.0:WANIP:WANIP to my subnet and adding my WANIP to data/clientinfo.xml of my friends.

  5. Hello guys. I've tryed to open my server so that my friends would be able to join, but had some issues. I already forwarded the ports 6900 6121 5121, correctly edited conf/import/char_athena and map_athena (with respective local and server IPs), and added a data/clientinfo.xml with my external IP to my friend's game folder. 

    They are being able to log in, see how many players are connected in the server, but once they select the server, it just keeps loading and the character screen doesn't appear. Their IP is being updated at my database.

    What am I missing? Could it be subnet_athena or login_athena? Thanks.

  6. On 7/6/2018 at 3:52 AM, crazyarashi said:

    why not just simply put it in the resnametable to remove the error.

    That's what I'm going to do. I wanted to know if there was an easier way, so I wouldn't lose time updating countless maps, but if that's the only way, I'll go for it.

    Thank you guys

  7. Is there a viable way to collect player data such as click rate, mouse movement speed, cursor heatmap, dieing frequency, attacking frequency, session avg time, packages exchange rate, etc?

    I'm sure there's no right or complete answer to this question, but anything that could give me a light would help. Thanks!

  8. Got it, thanks for the help. Just an update for anyone who might come to this topic searching for help: I found out you can't use decimals in sql_query function as well, but what you can do is Power/root operators in sql_query using the POW() SQL function.

  9. Despite of rAthenas' scripts not supporting decimals, I was wondering if there's a way to, for example, write a formula in C, compile it, and then call this C script inside a rAthena script (or must I do everything in C?). If you guys know any other way, or have any other suggestions on using decimals in rAthena, I'd love to hear. Thanks for the support!

     

    EDIT: If I, for example, assign a formula to a variable (even if it contains divisions), and then multiply it by 10000000 (assuming there's a limit to the decimals), would it work properly or would I have any problem (maybe overflow)? Example:

    $@formula = (x/7)*100000000

  10. I've been working on a pvp system. It involves 1x1's and 3v3's. The thing is: I have a pvp arena and I'd like to use it to host every battle (which could happen simultaneously). I don't want to make a queue system or even multiple copies of the original map (unless you make tons of copies, you will eventually have a queue forming up). Is there any argument capable of creating those various "dimensions" I'm talking about? Maybe a more complex scripting solution? Thanks!

  11. Everything is working fine, except that, when I try openning my diffed client, the game doesn't open. When I ctrl+shift+esc, the process is there, running on the background and consuming 30% of my CPU. Still, the screen doesn't appear. Can anyone help me? Thanks!

     

    Edit: Figured it out. I probably skiped the setup step, so the game was running, but not through my GPU.

×
×
  • Create New...