Client input state values not grabbed by host

Discussion and feedback on Construct 2

Post » Mon May 12, 2014 4:21 am

Is there something easy to miss that would make the host grab zero values for client input states? I followed the pong example, and used all the parts it looked like I needed for my project. But the host always grabs "0" (zero) for my input values no matter what I do.

Here's what I know:

-I originally added the input tags in another layout. I tried adding them in the same layout. No change.
-The PeerID that the peer says it is, is the same PeerID that the host is trying to read from
-The peer is setting the input values to non zero numbers.
B
5
S
1
Posts: 11
Reputation: 420

Post » Mon May 12, 2014 4:54 am

Alright the problem was with the second item there about the peerIDs. There was two issues I believe.

I was assuming the Multiplayer.PeerID returned the current instance's peerID.
and
The multiplayer peerID table is not ordered the same across host and peers. (I'm not 100% sure if this is the case)
B
5
S
1
Posts: 11
Reputation: 420


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests