A couple of questions about opFindFriends

Options
natasky
edited August 2013 in Native
Hi all,

I'm working with the Andoird NDK Photon Cloud SDK, got a couple of question about LoadBalancing::Client::opFIndFriends:
  • Can use it while inside a room? (seems like this doesn't work).
  • At Understanding Photon Cloud it says there are multiple regional servers. Will I be able to find players connected to other servers? Will I then be able to join a room created by that friend? (player and room names will be shared by some other means).

Thanks!
Nathan

Comments

  • Kaiserludi
    Options
    Hi Nathan.
    a) No, sorry, it only works outside of gamerooms.
    b) The different cloud regions and their player pools are fully separated. If a player wants to find a friend or a certain gameroom online, then he needs to be online in the same cloud region.
  • OK, thanks!
  • liortal53
    Options
    Is there any way to manually select a regional server to connect to? (for testing purposes)
  • I believe you simply call connect with the JString of the region's master server address. E.g connect(L"app-eu.exitgamescloud.com");

    http://doc.exitgames.com/photon-cloud/R ... -reference
  • Kaiserludi
    Options
    liortal53 wrote:
    Is there any way to manually select a regional server to connect to? (for testing purposes)
    Not only can you do that, you even have to manually select the cloud region to which you want to connect, if it should ever be anything else than the default region, which is the eu cloud. Photon does not automatically measure pings and then chooses the region with the lowest latency (at least not curretnly and not in the very near future.)
    Tustvold wrote:
    I believe you simply call connect with the JString of the region's master server address. E.g connect(L"app-eu.exitgamescloud.com");

    http://doc.exitgames.com/photon-cloud/R ... -reference
    Yes, that's the correct way.