Multiplayer - javascript errors

Discussion and feedback on Construct 2

Post » Mon Oct 20, 2014 6:28 am

Hello,
I tryed multiplayer examples but getting javascript errors (error depends on browsers - mostly by undefined arrays /objects etc.) all the time when I launch it. I not find any solutions on Google or tutorials here. Does implemented multiplayer work? Or should I download / install something?

Maybe I do something wrong? ... dunno.

Is there any limitations? Only same browsers can communicate etc? Which browsers can run multiplayer atm? Is it stable for chat (or non-game applications)? How many peers can be connected to host without getting lags?

Thanks!
U01
B
4
S
1
Posts: 56
Reputation: 462

Post » Mon Oct 20, 2014 12:35 pm

Did you try the examples from the official tutorial or some other 3rd party example?
B
27
S
7
G
3
Posts: 119
Reputation: 4,291

Post » Mon Oct 20, 2014 12:38 pm

junatar: I try the examples from the official tutorial. Still have problem to get it work on all browsers except Chrome. Chat example work on it.
B
4
S
1
Posts: 56
Reputation: 462

Post » Mon Oct 20, 2014 1:11 pm

You should post a bug report following all the guidelines (including the full and exact text of any error messages) if you want us to look in to this.

Note I'd first try disabling all your browser addons, since some buggy addons can break C2's code.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Mon Oct 20, 2014 1:21 pm

Message: Unknow01 is not yet permitted to post plain text URLS (300 rep required). 2 URLS removed. Why?
Ashley, Iam getting same errors on two computers (diff. specs, apps, connection). I thought that everyone have same problem or I overlooked something.

Ok so Multiplayer Chat Example:
Internet Explorer 9 - javascript error, ArrayBuffer is not defined, , line 119 (col undefined)
FireFox - javascript error, DataView is not defined, , line 120 (col undefined)
B
4
S
1
Posts: 56
Reputation: 462

Post » Mon Oct 20, 2014 1:42 pm

IE never supported webrtc AFAIK, firefox can be inconsistent sometimes but there's no problem so far from May until recent version.
Have you tried out opera?
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Mon Oct 20, 2014 1:54 pm

Oh, you're still on IE9? I'd better review the multiplayer code and check it doesn't assume higher support.

What version of Firefox are you on? DataView was added some time ago.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Tue Oct 21, 2014 5:10 am

So IE (all vesions) not support C2 Multiplayer object? ... Opera not work too (but I have not newest version because of its stupid control). I have Firefox 11.0 but mostly use IE ... like 90% of Earth population :)

MAC Safari not work with Multiplayer object too?
B
4
S
1
Posts: 56
Reputation: 462

Post » Tue Oct 21, 2014 5:16 am

Unknow01 wrote:I have Firefox 11.0

That is super old! I think webrtc is not yet ready when FF 11.0 is released though, that is how old it is.
Unknow01 wrote:mostly use IE ... like 90% of Earth population :)

Divide by 10.
Unknow01 wrote:MAC Safari not work with Multiplayer object too?

http://www.webrtc.org/

I think you did not notice the time has lapsed. You should update your browsers though.
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Tue Oct 21, 2014 5:31 am

Thanks for link to webrtc.org! This is what I looking for!

If you run Multiplayer with IE, function .IsSupported looks like not working.
B
4
S
1
Posts: 56
Reputation: 462

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests