Stencyl 3.4.0 is now out. Get it now!

Multiplayer Extensions Resource List

mdotedot

  • *
  • Posts: 1133
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

RulezTeam

  • *
  • Posts: 195
Hi mdotedot,

I've configured my server and all works well. I've only a question: this extension works with https ?
 I have some problem with this protocol.

Thank you

« Last Edit: April 25, 2017, 01:48:04 am by RulezTeam »

mdotedot

  • *
  • Posts: 1133
It could be that there are problems with HTTPS.  I only recently aquired a HTTPS certificate for my webcam things.
I had to make a change to the PHP code to accomodate things but I forgot if that was for WebSockets or if that was for the turnbased mechanism.

Anyhow try adding this to the PHP file(s) . It can be the second line (after the <?php)
Code: [Select]
header("Access-Control-Allow-Origin: *");

If that doesn't work please explain what exactly isn't working so that I can test it myself.
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

RulezTeam

  • *
  • Posts: 195
Hi mdotedot,

now, i'm using turn and lobby, so i've not tested websocket. I'll try to add that line at every php and test it.
I'll report here my success or not.

Thank you