Multiplayer: host question

Discussion and feedback on Construct 2

Post » Sun Mar 16, 2014 1:47 pm

Re: players unable to join host - looks like a possible browser bug, but it's worked around for the next build. It seems sometimes Firefox sends spurious blank messages which the host isn't expecting, but those can just be ignored. I think it might depend on the connection or NAT setup, since we've never had any issues with Ghost Shooter Multiplayer running on a dedicated server, but hopefully all will be sorted from r165 anyway.

Re: node-webkit - not sure what the issue could be but it's a version behind Chrome (node-webkit is v32, Chrome is currently v33). Development is moving quickly and it's possible it won't work until node-webkit catches up with Chrome.

Re: signalling server - the server crashed yesterday due to a bug. This is to be expected during beta. Being a weekend it took us a couple of hours to notice and restart it. We'll try to get some kind of auto-reboot set up so we don't have to have manual restarts with extended downtime, and perhaps publish a page with server status.
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,661

Post » Sun Mar 16, 2014 4:16 pm

@Ashley

Thanks :D

Server status page addition:
In the code there is the error message for unable to connect to signalling server, the output was [object event], if posssible, simply change this to "unable to connect to signalling server", so we can see it during tests (for those adding the logging output to screen)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Mon Mar 17, 2014 4:23 am

In my computer, i've tested the new multiplayer chat , only 2 window of firefox browser work, one as a host, and second as a peer.
And chrome do not work, it's showing some error.
Can't connect between firefox to chrome, and chrome to firefox too. Even chrome with chrome don't work too.
B
50
S
12
G
7
Posts: 259
Reputation: 10,381

Post » Mon Mar 17, 2014 9:41 am

Fer what its worth; I had no problem runnin the multiplayer ghost shooter example in chrome, had alotta fun talkin to other c2 users n hiding underneath the text entry bar.
B
14
S
3
G
4
Posts: 61
Reputation: 3,519

Post » Mon Mar 17, 2014 8:08 pm

don't want to create another topic so I post my question here.

Did someone was able to host/play your own game?

I can connect to http://www.scirra.com/labs/multiplayer/ghostshooter/ without any problems but every time i'm on preview or export my own stuff it doesn't work at all.
Even multiplayer examples - without any changes - works only while using two browser windows on same pc. I've tried 4 different computers with chrome and firefox and 3 phones and still nothing.
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Mon Mar 17, 2014 10:10 pm

Someone else having problems with Node-Webkit on 164.2. Kicked (either could not connect to host or host quit).
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Tue Mar 18, 2014 8:32 am

@Katala
For me, all connections involving a webkit resulted in on of the two not seeing anyone.

@Shinkan
yes, I can get normal connections going with the ghost shooter multiplayer if I use multiple instances (firefox profile manager) of firefox on the same computer.

I have spent quite a few hours now trying to implement the ghost shooter example in my tankwars game, but have not been able to get it working decent.
For instance, I am using a large map, and added the scrollto activation in the host group under the first event where it sets the ID. Then, somehow, every peer connected gets the scrollto enabled on all connection ends :\ (undesired)

Somehow I don't find the method of use intuitive at all and been wasting time trying to understand the mechanics .... and fail.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Tue Mar 18, 2014 11:18 am

I think node-webkit won't work until it's updated to v33+. Hopefully that will happen within a few weeks.

Can anyone confirm that the connectivity issues between Firefox/Chrome are fixed in r164.2?
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,661

Post » Tue Mar 18, 2014 11:25 am

@Ashley wrote:I think node-webkit won't work until it's updated to v33+. Hopefully that will happen within a few weeks.

Can anyone confirm that the connectivity issues between Firefox/Chrome are fixed in r164.2?



Yes, seems to work better now.

Fom a single computer:

Chrome host <=> firefox clients : works

Firefox host <=> chrome / firefox clients : works
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Tue Mar 18, 2014 1:38 pm

Can anyone confirm that the connectivity issues between Firefox/Chrome are fixed in r164.2?

@Ashley, At least for me both work.
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot], lkatkins, Tombas and 13 guests