Jump to content
  • 0

map server leak Instance


Question

Posted (edited)

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

Edited by joao
  • Upvote 1

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

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.

Edited by joao
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...