Hi all!
I've got a big problem...
For my Starbuzzz Soccer Club program, I'm working on the multi with multisync.
Everything is ok. The client sends datas about keys pressed, and the host send informations by integers and floats(Players positions, object frames, etc.)
Everything is working perfectly... But, at the halftime, the program shows highlights of the match. Each computer makes this operation itself(there are no datas transfering in this part...)
When one player is pressing a key, the program calls the Team management menu... But if one player has pressed the key, he has to wait that the second player press too this key to go to the Team management menu...
For that, I use this part in my program :
if rezo=2
attentat:
sync
k$="":dec$="MAISOUI"
if net get message()=0 then goto attentat
k$=net get string():if k$<>"MAISOUI" then goto attentat
net put string dec$
net send 1
endif
if rezo=1
k$="MAISOUI"
net put string k$:net send all
attentat2:
sync
if net get message()=0 then goto attentat2
k$=net get string()
if k$<>"" then goto attentat2
ENDIF
Rezo = 1 for the host... Rezo=2 for the client.
But there is a problem with that. Sometimes, is a player is pressing the key, he'll wait that the second player press it too. But when this once does it, the first player goes to the menu (that's what I want...) but the second player is still waiting :S
I don't know why... Can this problem comes from "time" ? Because it seems to me that it appears when the second player waits a "long" time before clicking...
If anybody has an idea, I'll be very very very happy because that's the only thing that screw my game :S
(Sorry if what I say is not very clear... I'm french you know

)
Thanx
Starbuzzzz