Hi everyone,
I have a problem with desynchronisations...
Actually, I searched everything with GetLocalPlayer(); nothing to say, me and other JASS'er loooked into them and found nothing abnormal.
I then looked at GetLocationZ(); I had somes so I removed them. The problem was still there sadly.
After that I looked for Pan Camera Has Necessary function, nope I wasn't using them (I use a camera function but not that one). Looked for select group for player, not using it, but using select unit for player. I don't have high Damage - Dice... Negative sight range etc... Nothing in the code seems "weird".
After that I saw a post saying that structures could cause desyncs due to global syncing; removed all the structures and transposed that with the cache. That didn't work either.
Now what else, I saved each replays to find out maybee what was going on, nothing. The only thing I can say is; it happens randomly (not every games), and it always happens between 12 minutes and 20 minutes game time. It is not always everyone that is desync'ed, sometimes some players are still there (1-3), but they still have nothing special with the host. Somehow there's nothing at all in the code that happens at that time.
I know the binary search but that is in fact a sure way to find it, but way too long since it does not happens everygame etc. So I'm asking if you have any ideas of how I could fix the problem. It's been many months (3-4) that this problem is there and by myself it seems I can't fix this.
Thanks
I have a problem with desynchronisations...
Actually, I searched everything with GetLocalPlayer(); nothing to say, me and other JASS'er loooked into them and found nothing abnormal.
I then looked at GetLocationZ(); I had somes so I removed them. The problem was still there sadly.
After that I looked for Pan Camera Has Necessary function, nope I wasn't using them (I use a camera function but not that one). Looked for select group for player, not using it, but using select unit for player. I don't have high Damage - Dice... Negative sight range etc... Nothing in the code seems "weird".
After that I saw a post saying that structures could cause desyncs due to global syncing; removed all the structures and transposed that with the cache. That didn't work either.
Now what else, I saved each replays to find out maybee what was going on, nothing. The only thing I can say is; it happens randomly (not every games), and it always happens between 12 minutes and 20 minutes game time. It is not always everyone that is desync'ed, sometimes some players are still there (1-3), but they still have nothing special with the host. Somehow there's nothing at all in the code that happens at that time.
I know the binary search but that is in fact a sure way to find it, but way too long since it does not happens everygame etc. So I'm asking if you have any ideas of how I could fix the problem. It's been many months (3-4) that this problem is there and by myself it seems I can't fix this.
Thanks