Multiplayer issues - Scores, PlayGUI and data
by Andy Hawkins · in Torque Game Engine · 08/09/2008 (3:19 am) · 0 replies
I did a few tests last night with 2 friends over a wireless lan. There were some problems.
1. The Score and Timer (GUIText) were only updated on the host's screen. The playgui that defines these is under everyone's client folder, but the code to update it is under server/scripts. How do I make sure all players who join the host have their Score and Timer updated?
2. I noticed the other computers started downloading interiors and mission data from the host because the host had different data. What can I guarantee to be downloaded from the host so I can perform live updates?
3. The host started the countdown, and I assume everyone else started their countdowns using GameConnection::Duration - how can I pause the countdown until all players are ready? What's the procedure?
1. The Score and Timer (GUIText) were only updated on the host's screen. The playgui that defines these is under everyone's client folder, but the code to update it is under server/scripts. How do I make sure all players who join the host have their Score and Timer updated?
2. I noticed the other computers started downloading interiors and mission data from the host because the host had different data. What can I guarantee to be downloaded from the host so I can perform live updates?
3. The host started the countdown, and I assume everyone else started their countdowns using GameConnection::Duration - how can I pause the countdown until all players are ready? What's the procedure?