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