Jump to content

Channel desynchronization


Recommended Posts

  • Forum Moderator

Hey guys.

If I came here to register and ask for your help it's simply because I don't have clues anymore. Let me explain my problem and what I did in order to solve it.

Sometimes and randomly, approximately one time a day, my channel (or my cores) lost their synchronization together. For example, is you're standing on a bugged core, let's say core 4, you will appear as offline for everyone, including /who, /user, friendlist, general chat and everything else while you'll only be able to see people on the same core as you.

The crash is completely random and after some examinations it happens ONLY on some core. The solution is to reboot until the core are desynchronized again.

Here is what I did :

What I basically did is checking all the ports of all cores, all of them were good (cores are 1300X while channel are 130YX) including P2P ports, which was the first thing I suspected.

I then checked all maps on every core, I checked if the map was declared elsewhere (so two times), it was the case for some maps so I declared them only in one core (for each channel).

After some tests, the bug was still there, so I checked all the map again, removing every unused map from the core (I checked the index and if it wasn't included in Index I removed the number from the MAP_ALLOW).

Searches mades & Additional Informations :

I also checked This post made by @yagokurt but he didn't give the solution (if he fixed it). I only got one additional information  : If the maps are moved on another core, then the core with the freshly added map will be bugged as well.

I also noticed that these bugs are likely to appear on villages (yellow & blue), I will currently check the other map included in the same core as these maps to see if they are suffering from the bug too.

Edit :

This is the place where I will notice what I found.

25/09/2017 - 23:24

I noticed that I got two times the same map (same coordinates under two different names, index & folders) in one single core (core 3 which is bugged || map id 216 & 206) and one time this map (216) declared on core 4 (which is also buggy).

I removed one of these dupplicated ID as well as the additional ID for the same map, I'll reboot and tell you the outcome.

Thanks everyone and sorry for the inconvenience :)

28/12/2018 - 15:22 (UTC+3)

I just logged-in again on my Metin2Dev account after a while and I noticed I haven't given any updates in more than a year on this topic and that maybe this problem might occur to some other people. If anyone is wondering, here is how I got rid of the bug.

I installed in a hurry (short deadline...) a trade chat system which I unfortunately couldn't check because of time running short. It was not "poorly" coded even though it unfortunately contained some code that requiered a review. After uninstalling the system, the bug went away but I got it to happen only a few hours ago, and this time I found the culprit too. It was related to my own offline shop which I made in a hurry too in approximatively a week.

So, if anyone ever stumbles across this post while trying to fix the exact same bug, try to check all the systems you code and all the system you install and don't forget to always check the code and the system in game. If you don't know which system is the culprit, just deactivate them until you find the wrong one. Then, either delete it or inspect it thoroughly.

Greeting, and thank you all for the help you gave! :)

PS: Topic now flagged as "solved"

 

  • Love 1

Gurgarath
coming soon

Link to comment
Share on other sites

  • Forum Moderator

Hi everyone and thanks for you answers.

 

Indeed it's not from packets. The desynchronizations still happens even after the 25 (cf : edits).

I will try to turn off my automatic core restarter and tell you the outcome.

If you have any additional clues just let me know.

Thanks everyone ! :)

Gurgarath
coming soon

Link to comment
Share on other sites

  • Forum Moderator
Le 27/09/2017 à 20:27, Dobrescu Sebastian a dit :

I had this problem when installing trade chat, so when i started write on chat > bug channel. So check what's creating first the bug.

Turns out it was the case ! I removed it entirely but unfortunately the bug is still happening...

Gurgarath
coming soon

Link to comment
Share on other sites

  • Forum Moderator

Thanks for the software, I usually use WinMerge.

Anyways, I've made clearly tons of change on my sources so I honestly think that I have to manually find wich system is culprit through a lot of tries... Thanks dude

 

Gurgarath
coming soon

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.