playMaker

Author Topic: Photon Join Room Expected Properties not working?  (Read 6200 times)

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Photon Join Room Expected Properties not working?
« on: July 27, 2016, 07:50:39 AM »
I'm attempting to set up a system to allow players to join/spectate matches that are already in progress.

However, if an in-progress match is joined, the other Photon instantiated players will immediately spawn - but on the wrong map/scene (the lobby scene rather than the arena).

I've looked at the lobby/room example in Playmaker and see that you must pause the message queue immediately upon joining the room, load the appropriate scene, and then resume. But my problem is that this should only happen if the "Spectate" room property is set to true, otherwise the player should sit in the room and wait for the match to start.

It appears that the "Expected room properties" action is ignored when joining a random room, as it will join any open room regardless of the "Spectate" value.

I also found it odd that the property cannot be set to a value, only to a variable. Am I missing something here?


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #1 on: July 27, 2016, 11:11:06 AM »
Hi,

I'll try to repro this,

I'll also clean up the action so that it's not forced to variables, thanks for spotting this,

Bye

Jean

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Re: Photon Join Room Expected Properties not working?
« Reply #2 on: August 06, 2016, 04:14:37 AM »
Hi Jean,

Any update on this?

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #3 on: August 10, 2016, 10:20:37 AM »
Hi,

 Not yet sorry, keep getting post pon with all the testing... Hopefully I'll be able to get that out of the door before next week

 Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #4 on: August 11, 2016, 09:02:00 AM »
Hi,

 Just to double check, are you using RandomMatching for the matchmaking mode? else can you try with this mode?

 Bye,

 Jean

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Re: Photon Join Room Expected Properties not working?
« Reply #5 on: August 24, 2016, 08:24:42 PM »
Yes it's set to random matchmaking, have you been able to reproduce?

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Re: Photon Join Room Expected Properties not working?
« Reply #6 on: September 06, 2016, 03:06:04 AM »
Hi Jean,

Bumping this again, thanks for the support

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Re: Photon Join Room Expected Properties not working?
« Reply #7 on: November 10, 2016, 02:22:55 AM »
Sorry to keep bothering - have you been able to look into this yet?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #8 on: November 11, 2016, 03:24:53 AM »
Hi,

 yes, don't be sorry, I need the bumps! I'll try to testify this asap.

Bye,

 Jean

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
Re: Photon Join Room Expected Properties not working?
« Reply #9 on: December 23, 2016, 04:08:07 AM »
Just a friendly monthly bump, need this action working!  :'(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #10 on: January 09, 2017, 03:06:48 AM »
Hi,

 Thanks :) must get on this!

 Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Join Room Expected Properties not working?
« Reply #11 on: January 11, 2017, 04:17:11 AM »
Hi,

 ok, finally got around this and fixed it. Please get the latest version on the Ecosystem and you'll be able to match random rooms using custom properties.

 don't forget to expose these custom properties to the lobby

 Let me know how it goes. Sorry for the delay :)

Bye,

Jean

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Photon Join Room Expected Properties not working?
« Reply #12 on: March 31, 2017, 11:30:22 PM »
Hi, Jean.
I've noticed my random join problem lately.
How to expose custom room properties to the lobby?

---------------------------------------------
Found it here. First Time to Understand that ;)
http://hutonggames.com/playmakerforum/index.php?topic=4575.15
« Last Edit: March 31, 2017, 11:35:15 PM by human890209 »

rik

  • Full Member
  • ***
  • Posts: 246
Re: Photon Join Room Expected Properties not working?
« Reply #13 on: April 01, 2017, 12:13:10 AM »
you need to give expected properties while creating room while joining room those properties have to match.