Multiplayer peer disconnecting

Get help using Construct 2

Post » Sat Apr 25, 2015 8:04 pm

Im trying to test multiplayer for my game on the same computer and I join a room with 2 players and after about 10 seconds the peer will just drop out of the room but the host will remain in the room.......

Why does the peer randomly disconnect?
B
3
Posts: 9
Reputation: 195

Post » Sat Apr 25, 2015 8:46 pm

I just found out that "On Kicked" is being set off which means the peer is being kicked out for some reason.

"On kicked
Triggered if kicked from the current room. This can occur if the host quits, the connection to the host could not be established, or the host otherwise decides to forcibly remove you from the room. After On kicked the player is no longer in the room and must re-join a room to be able to participate in a game."

I think this is whats happening here... So can you just not test multiplayer from the same computer/IP? Is that why its not working?
B
3
Posts: 9
Reputation: 195

Post » Sun Apr 26, 2015 12:40 am

Even if I use the "multiplayer chatroom tutorial" project I still get the same behavior. The peer is always kicked after a short time.


Edit
I just found out that it works on google chrome but not on firefox.
B
3
Posts: 9
Reputation: 195


Return to How do I....?

Who is online

Users browsing this forum: VictoryX and 10 guests