How do I fix this peerID bug??

Not favoritedFavorited Favorited 0 favourites
  • 1 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • Hello.

    Instead of making peer objects as they join. Their ID is added to a list that the host keeps besides other information regarding the player. (their team, chosen vehicle. ect)

    when the round starts all players go to the loadout and then the host makes the vehicle for each peer.

    however peers seem to get the wrong vehicle. on their end they get the wrong peerID when the object is made. As if they get it backwards. As you can see from the photo the peers on the left see the same tank on the blue square as belonging to the same peer. but the host sees it belonging to the other.

    update:

    it seems to be related to initial objects. I removed all instances of the tank from the layout and now peers always see the correct peerID. Before when there was one on the layout but it was destroyed on entering it seemed to cause peers to see the wrong ID when an object was made.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)