How do I automatically close a multiplayer room?

Just started using Construct 2? Post your questions here

Post » Fri Mar 31, 2017 2:59 am

I'm trying to test my game's multiplayer features. I set up a text object to tell me if I'm peer or host. Today when testing I kept logging in and being assigned as peer. Is this because I was host at a point in time and didn't disconnect properly and it thinks that there's a host still there?

How do I get the room to automatically close? Do they timeout after a while? Is there a way to ensure I log in as host? Is there a command to clear all active rooms in an instance?
B
3
Posts: 4
Reputation: 183

Post » Fri Mar 31, 2017 5:21 pm

Check your debug event to make sure its accurate?

You can make a quick test by changing the instance name to be sure everything is clear.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,695
Reputation: 64,438


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests