Client input state values not grabbed by host

0 favourites
  • 2 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)