1mrpaul1's Recent Forum Activity

  • 1mrpaul1

    Important thing I forgot to mention is adding "C0" to the list of properties available in lobby. Call "Set props listed in lobby" action with PropNames set to "C0" before creating a room.

    For exact property match, you can also use "expected custom properties" feature instead of sql lobby. Set current room property of arbitrary name like "level", add property name to the list of properties available in lobby and create a room. On other client, set the same "level" property to required value and select "MatchMyRoom" option in "random join" action.

    Thanks! the second option looks more clear for me. Will try

  • 1mrpaul1

    > no such column: CO (-2)

    >

    Did you try C0 column instead? C1, C2, ... C9 also should work according to documentation.

    If to be honest I do not understand the logic itself, why we are using string as a comparison here

    s1.construct.net/images/v722/uploads/articleuploadobject/0/images/34622/join.png

    I mean in this place CO = 3

    This is my code

  • > 1mrpaul1

    > Can you provide a sample how to do it in construct 2? I didn't found the same commands in C2 interface

    Did you find it in C3? The commands should be the same:

    Thank you for your answer, but it doesn't work.

    I did everything as you showed, but changed the code a little to be able to use a variable for level.

    I got the error

    Photon-Javascript_SDK.min.js:7 Client: Operation 225 error: SQL logic error or missing database

    no such column: CO (-2)

    P.S. I'm using Construct 2 by the way

  • 1mrpaul1

    Probably you want SQL Lobbies doc.photonengine.com/en-us/realtime/current/lobby-and-matchmaking/matchmaking-and-lobby

    Set lobby type to SqlLobby when creating a room, set some room properties and use SqlLobbyFilter when joining room with "Join random" action.

    Can you provide a sample how to do it in construct 2? I didn't found the same commands in C2 interface

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you describe how to make several levels properly?

    I'm doing like this

    Creating a room in lobby with the name of the level

    Than joining the random room in the lobby with the name of the level.

    It worked when i test it locally with several opened windows, but when a lot of players started to play, lobbies are mixing, ex players from lobby 1 playin in the lobby 2 that is very weird.

    I saw test game in the zip with the plugin, there is a very complex behaviors how to write room properties into a list but no options how to select and join rooms with needed properties like level and number of players.

    PS

    I wonder why there is no simple block that will join the room with needed stats.

1mrpaul1's avatar

1mrpaul1

Member since 21 Feb, 2018

Twitter
1mrpaul1 has 6 followers

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Email Verified

Progress

12/44
How to earn trophies