Multiplayer Auto-join Issue

0 favourites
  • 8 posts
From the Asset Store
game inspired by auto chess , with soulslike combat
  • Problem Description

    When you use Auto-join action of Multiplayer object, and you lock a room when it's full, there is a problem. When a room reaches its maximum peer number, it locks. BUT if then somebody from the room quits, it's not unlocked. For example, if maximum peer number in room is 4, and after it is locked, when somebody quits, the room with 3 peers is still locked.

    Attach a Capx

    Description of Capx

    When you run the Capx file, it auto-joins a room. You should run several preview pages to test the bug.

    Steps to Reproduce Bug

    • Run 3 preview pages
    • Close one of them (but not the one you opened first)
    • Run another preview page

    Observed Result

    The last preview page joins the "ExampleBugR2" room, although "ExampleBugR" is not full.

    Expected Result

    "ExampleBugR" should be unlocked and new pages should be able to join this room.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES

    Operating System

    Windows 10

    Construct 2 Version ID

    Construct 2 r216

  • This is currently by design. I will leave this report open as a feature request.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it is by design, please make an option to change that.

  • Heartily seconded!

    Lobby systems can't be implemented without the rooms unlocking as players drop out and re-locking as the max player count is reached.

  • Lasmelan Ashley Good morning — was there a resolution to this? I'm trying to build a workaround for my lobby system, but it would be much easier if rooms unlocked and locked as the max peercount was reached (or on command). Thanks very much!

  • brushfe you can make autojoin manually and set it to your likings.

  • brushfe I haven't heard of any solution to the problem yet. Automatically unlocking rooms which aren't full or having actions "Lock room / Unlock room" would really help.

  • Lasmelan ok cool, thanks!

    This weekend I want to try using On Room List to fetch the lobbies manually, and compare ListRoomPeerCount against ListRoomMaxPeerCount to see if there's room. If so, manually join the room (and never use auto-join or worry about "locked" states).

    After reading the manual it's the only way around it I can see so far. If it works out i'll let you know!

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