Multiplayer Minify Script doesn't work

Bugs will be moved here once resolved.

Post » Mon Mar 17, 2014 3:13 am

Problem Description
When you minimize script after implementing the multiplayer plugin the game will not fully load or work when trying to run the exported files.
Error message recieved in the javascript console:
Uncaught ReferenceError: cr is not defined c2mp.js:811
C2Multiplayer.doPings c2mp.js:811
(anonymous function)


Attach a Capx
Use the included multiplayer samples with the beta release 164, I used the Multiplayer Chat example but I believe both templates have the error when minifying

Description of Capx
n/a

Steps to Reproduce Bug
  • Export one of the multiplayer templates
  • Check the box for "minify script"
  • Run the exported files from your server (I use dropbox)
  • Notice it doesn't load all the way, error appears in javascript console

Observed Result
it doesn't load all the way, error message received in javascript console, game is not functional

Expected Result
game to fully load and be functional

Affected Browsers
  • Chrome: YES
  • FireFox: YES

Operating System and Service Pack
I use windows 8

Construct 2 Version ID
beta r164


Thanks :)
B
63
S
12
G
6
Posts: 456
Reputation: 8,985

Post » Mon Mar 17, 2014 2:50 pm

Should be fixed in next build.
Scirra Founder
B
399
S
236
G
89
Posts: 24,525
Reputation: 195,382


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest