How do I can set a new host if this leave the room?

Get help using Construct 2

Post » Wed Nov 04, 2015 3:23 pm

Hello,
I have a problem, I'm trying to create a multiplayer game and multiroom. but of course if the host changes the room all the other peers are kicked. how do I look for a new host before the host previous change room?
thanks if anyone has a solution, I'm going crazy.

Greetings
Alelimpo
B
4
Posts: 7
Reputation: 214

Post » Wed Nov 04, 2015 3:33 pm

Seems like you already found a solution in the thread you just reacted to..
Events and actions are given..

how-do-i-find-new-host_t153211
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Nov 04, 2015 3:42 pm

Hi @LittleStain i know, but i think that is a old post and i dont know if @lennaert can see again
B
4
Posts: 7
Reputation: 214

Post » Wed Nov 04, 2015 3:47 pm

What should lennaert see?
Seems like the complete answer is there..
Al you'd have to do is make the events and actions like he explained..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Nov 04, 2015 3:56 pm

??? not working if the host change the room the other peer kick out
where i must put the event? in the segnalling Group? or where.
in the segnalling Group doesnt work
B
4
Posts: 7
Reputation: 214

Post » Wed Nov 04, 2015 4:49 pm

Why should the events be in a group?

What part of creating the events and actions written down by lennaert do you not get?

When the host leaves the room everyone gets kicked out..
Lennaerts events make it so both the peer group and the host group (why those should be present is explained in the multiplayer tutorials) are deactivated, the players reconnect to the room automatically and for one of them the host group is activated, for the others the peer group..

This is offcourse kind of a "hack" and because of that some things might not automatically work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Nov 04, 2015 5:40 pm

I understand thanks, now I'll do a bit of evidence until we can :))
B
4
Posts: 7
Reputation: 214


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 5 guests