Extra player in my multiplayer game? [SOLVED]

Get help using Construct 2

Post » Wed Jan 04, 2017 10:14 pm

Hello all.

So I'm working on a multiplayer game, it's all going dandy until a peer joins and sees two other players. The first one obviously being the host who should be there, but there's another player with no ID and only the peer can see him, not the host. I have the event Is host ----- Else ----- Destroy "Peer" and that's not fixing the issue.

Any suggestions?

Thanks.
Last edited by PGNSean on Thu Jan 05, 2017 3:30 am, edited 1 time in total.
B
5
S
1
Posts: 6
Reputation: 337

Post » Thu Jan 05, 2017 1:47 am

Ok, so I decided to recreate my project and followed the EXACT same principles as the demo ghost shooter multiplayer, and I'm STILL getting this double player error. Idk what to do :cry:
B
5
S
1
Posts: 6
Reputation: 337

Post » Thu Jan 05, 2017 3:30 am

Ok. I solved the problem. For some reason, I put a wait event for 0.3 seconds in before the Peer was to be destroyed.
Any smaller time like 0.2 would still create the extra player.
B
5
S
1
Posts: 6
Reputation: 337


Return to How do I....?

Who is online

Users browsing this forum: David181, NECRONOMICRON and 22 guests