Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Channel desynchronization


Gurgarath

Question

  • 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

7 answers to this question

Recommended Posts

  • 0
  • 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

  • 0
  • 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

  • 0
  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 0

      erorrs after update granny to 2.9

    2. 0

      Navicat Premium 16.1.1 x64

    3. 5

      problem Dargon Soul Changre Attribute

    4. 5

      problem Dargon Soul Changre Attribute

    5. 41

      Global Chat

    6. 5

      problem Dargon Soul Changre Attribute

    7. 2

      Startup Loading Window Library

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.