Multiplayer in r176

0 favourites
  • 6 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • Problem Description

    Multiplayer is acting strange in version r176

    Attach a Capx

    [attachment=0:7zevmz9c]Multiplayer game example.capx[/attachment:7zevmz9c]

    Description of Capx

    Unmodified Multiplayer example

    Steps to Reproduce Bug

    • Step 1 Start Construct, Open the 3rd multiplayer example (real time game).
    • Step 2 Press the Run Layout Button (for me default is Firefox)
    • Step 3 Type "Foo" into the text box and start the server
    • Step 4 Run the layout in a new tab in Firefox by typing in the URL "LocalHost:5000"
    • Step 5 Type "Fred" into the text box and connect to the server

    Observed Result

    The game proceeds to the 2nd layout, and the user is presented with a pop up box that informs them that: [quote:7zevmz9c]Javascript error!

    Error: RTCPeerConnection constructor passed invalid RTCConfiguration - missing url

    http://localhost:50000/c2mp-peer.js, line 127 (col 35)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console

    In the background you can see that the networking text box says:

    Connected Logging in...

    Logged in with alias: Fred (AEEP)

    Joining Room...

    Kicked (either could not connect to host or host quit)

    The host's game does not appear to change in any way, they can still move and shoot and there are no new messages or peers.

    Expected Result

    Before updating, I would have a networked game.

    Affected Browsers

    • Chrome: Cannot connect to Firefox or visa versa, but can connect to a Chrome host.
    • FireFox: YES
    • Internet Explorer: Does not support multiplayer

    Operating System and Service Pack

    Windows 7 ultimate

    Construct 2 Version ID

    Construct 2 r176 (64 bit) beta

  • Getting the exact same error (in firefox only).

  • I tried my new game in preview mode in firefox and got this one when joining a room (chrome as host, firefox as peer & firefox as host + firefox peer):

    Javascript error!

    Error: RTCPeerConnection constructor passed invalid RTCConfiguration - missing url

    http://192.168.1.101:50000/c2mp-peer.js, line 127 (col undefined)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    its not happening in chrome+chrome

  • Darn it. +1 to this thread.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Also I got this while trying to sync an array:

    Javascript error!Uncaught TypeError: undefined is not a functionhttp://localhost:50000/Multiplayer_plugin.js, line 519 (col 12)This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    It's only one specific array, all the other work fine. I'll try to get a bug report, but it's only this one array in a huge project that I am unable to recreate in a small one. So, it will take a lot of time.

    It should be noted this is the first new object I have tried to sync since the update (176).

  • Thanks, should be fixed in next build. r176 accidentally broke support for Firefox, but Chrome should be unaffected.

    Tobye - that sounds unrelated, please post a separate report following all the guidelines

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)