out of sync

Post new topic   Reply to topic

 :: Bugs

View previous topic View next topic Go down

out of sync

Post by Templar_VII on Fri Aug 26, 2016 7:47 pm

Since two weeks I try to find the "out of sync - bug" in multiplayer without success.
Did anybody notice when the "out of sync" happens?

I guess it happens when wide range units (archers or stone thorowers) are in action, but I can't reproduce it.
Sometimes it happens, sometimes not.

If someone has discovered a pattern, any help is greatly appreciated.

I hope the problem is not caused by floating point values. My whole game is based on float :-(


What "out of sync" means:
Multiplayer does not share absolute positions of units among the client players. It just transfer commands. This means both client simulations must be calculated absolutely synchronously. If one value is different (per example an archers shoot angle), the entire games are changing more and more. The result is an absolute different game. By the way, this problem is also known in Age of Empires.

Templar_VII
Admin

Posts : 126
Join date : 2015-01-04

View user profile http://hightreason.forumotion.net

Back to top Go down

Re: out of sync

Post by Templar_VII on Wed Aug 31, 2016 10:06 pm

"Out of sync" seems never to occur in the first game. I have it always in the second game. Have any of you found the same behavior? If that were so, you could restart the game before you start a multiplayer game.

I feel that it occurs more frequently at stone throwers or perhaps archers.

All in all I still groping in the dark.

Templar_VII
Admin

Posts : 126
Join date : 2015-01-04

View user profile http://hightreason.forumotion.net

Back to top Go down

Re: out of sync

Post by Templar_VII on Sat Sep 03, 2016 3:31 pm

Wooooohooo! I got him, after 3 weeks of bug tracking!
It had nothing to do with float value deterministic nor with network latency.
The solution was so simple...
I just forgot to reinitialize the unit-healer on restart.

I will commit the fix on monday.
Thanks for your patience!

Templar_VII
Admin

Posts : 126
Join date : 2015-01-04

View user profile http://hightreason.forumotion.net

Back to top Go down

Re: out of sync

Post by meme123321123222 on Sat Sep 03, 2016 3:40 pm

No problem creator of high treason!!!!!

meme123321123222

Posts : 25
Join date : 2016-07-24
Age : 13
Location : Iran, Tehran

View user profile http://kongregate.com/accounts/meme123321123222

Back to top Go down

Re: out of sync

Post by Keetongu74 on Mon Oct 17, 2016 11:24 pm

Its to bad that i didn't check the forum in a while because i could have told you that most of my out of sync problems had to do with the units not having the same health.
i noticed that on my screen some enemies would die and on there screen i died.
Glad its fixed!!

Keetongu74

Posts : 20
Join date : 2016-02-15
Location : USA

View user profile

Back to top Go down

Re: out of sync

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


Post new topic   Reply to topic

 :: Bugs

 
Permissions in this forum:
You can reply to topics in this forum