multiplayer kill delay on client when associated

Bugs will be moved here once resolved.

Post » Thu Jan 22, 2015 7:16 pm

Problem Description
in a multiplayer game, where one browser is host only and other browsers or browser tabs connect as players, when the playerobject is associated to the peer on the host, and that player object gets destroyed by the host (through destroy command directly or over health=0=destroy) it takes several seconds for the client to also destroy the object. if you disable said association the destroy command happens instantly on host and client.
Attach a Capx
see attachment
Description of Capx
the wreck chassis helps out as a base where the player(smoke, use "up arrow" for moving to the right) should respawn instantly after he gets killed by pressing "k" on the host browser. disable the associate blacksmoketopdown with multiplayer.peerid on the host side of the code and the bug is gone. but not associating makes multiplayer impossible right?...
Steps to Reproduce Bug
  • Step 1: see "what the capx does"
  • Step 2
  • Step 3 etc.

Observed Result
few seconds delay to destroy player(smoke) on client if "k" is pressed on host and player is associated with multiplayer.peerid on host

Expected Result
player (smoke) gets deleted instantly on client and host on pressing "k" on host

Affected Browsers
[list]
[*] Chrome: YES
[*] FireFox: YES
[*] Opera: YES

Operating System and Service Pack
Win7 64bit SP1

Construct 2 Version ID
Release173 64bit
You do not have the required permissions to view the files attached to this post.
B
5
S
1
Posts: 12
Reputation: 403

Post » Tue Jan 27, 2015 5:53 pm

Closing, please only file bugs with the latest version of C2. You have indicated you are using r173 and we have fixed many bugs since then.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests