Multiplayer: Players turning invisible

Bugs will be moved here once resolved.

Post » Mon Apr 07, 2014 9:37 pm

Problem Description
____ A concise description of your problem here ____
I tested the multiplayer game example Scirra made on 15+ computers at my school. All the players could join, and they would appear on the hosts' screen, but after about 2 minutes the players were invisible on each others' screen, but the host could still see everybody. Rejoining fixes the problem, but after another 2 minutes the players would begin to disappear again. Please note I tested from downloading the .exe to each computer, not running off a browser.
Attach a Capx
____ Upload a Capx to this post ____
Default multiplayer game example included in Construct 2
Description of Capx
____ Concise description of what this CapX does ____
Multiplayer example game.
Steps to Reproduce Bug
  • Step 1 Have up to 3 players (including host) in a game together, and observe as they disappear after a time.


    Observed Result
    ____ What happens? ____

    Expected Result
    ____ What do you expect to happen? ____

    Affected Browsers
    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

Operating System and Service Pack
____ Your operating system and service pack ____

Construct 2 Version ID
____ Exact version ID of Construct 2 you're using ____
B
23
S
4
G
1
Posts: 153
Reputation: 1,963

Post » Tue Apr 15, 2014 2:48 pm

We did extensive testing of the multiplayer template over the Internet and we never heard of this happening. Are you sure this is not a problem with your school network? Can you reproduce it anywhere else?
Scirra Founder
B
399
S
236
G
89
Posts: 24,546
Reputation: 195,436

Post » Thu Apr 17, 2014 10:30 pm

It probably is a problem with the school network, I can't reproduce the problem at home on my own network.
B
23
S
4
G
1
Posts: 153
Reputation: 1,963

Post » Fri Apr 18, 2014 2:03 am

I have a game where after a long period of play, objects will start mysteriously disappearing or appearing invisible, including the peer objects. It's based on the real-time multiplayer example: http://microwebdiner.com/traps2/

I have a theory the disappearing trap objects may be related to collision sync issues, but there's no good explanation for invisible peers.
B
8
S
2
Posts: 17
Reputation: 1,484

Post » Fri Apr 18, 2014 7:00 am

Could it be that it is a Node-Webkit related problem?
Since it only uses Chromium 32 and not the most recent 34?

Edit: It seems like there are unresolved issues with Node-Webkit and WebRTC
https://github.com/rogerwang/node-webkit/issues/1526
(At least i have the exact same problem as described there ^^
Connection established, but no Data transmitted or recieved)
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Thu Apr 24, 2014 11:53 am

Closing as cannot reproduce.
Scirra Founder
B
399
S
236
G
89
Posts: 24,546
Reputation: 195,436

Post » Thu Apr 24, 2014 12:01 pm

@Ashley is the Multiplayer working with NW ? Since i can't get it to work :/
On Chrome everything works fine and as expected.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Thu Apr 24, 2014 12:03 pm

@SgtConti - no, node-webkit is still currently on Chromium 32 which is incompatible. It should work with the next node-webkit update.
Scirra Founder
B
399
S
236
G
89
Posts: 24,546
Reputation: 195,436

Post » Thu Apr 24, 2014 7:25 pm

That's weird because I used NW on the 15+ computers. I dragged the folder containing the .exe from a USB to each of the desktops and then ran it from there, and the multiplayer worked for a time. I've only used NW in my multiplayer testing endeavors, I didn't realize it wasn't supported.
B
23
S
4
G
1
Posts: 153
Reputation: 1,963

Post » Thu Apr 24, 2014 9:05 pm

@awmace5 i think connecting players work, but sending/recieving messages (including broadcasting) doesnt work.

while im at it: @Ashley how does the LAN thing work? How do 2 players connect in LAN mode to each other? (I haven't figured that out yet)
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest