APIs

Questions specific to particular APIs, libraries, etc.

60 Topics 250 Posts
  • Error launching room on room server

    Unsolved
    2
    0 Votes
    2 Posts
    594 Views

    Hi,

    Has your dockerhub team invited the "braincloudhost" user to your team with read-only privileges so that we can retrieve your custom image?

    The email address of that account is paulw AT getbraincloud.com.

    Hope that helps!

    Paul.
    [PS - Once you've done that - ping us here or in the support chat. We need to manually access the request these days <- Recent change to how dockerhub works.]

  • 0 Votes
    2 Posts
    768 Views

    It's not. Just knowing a playerId is really not important as it's only a unique identifier for another player and nothing more than that.

  • Unreal 5.1 + Online Services

    4
    0 Votes
    4 Posts
    1k Views

    We should point out that this doesn't mean that there aren't Unreal multiplayer examples in brainCloud - they just don't use the online subsystem paradigm per se.

    Here's our latest Unreal dedicated server example: https://github.com/getbraincloud/braincloud-roomserver-unreal

  • [Unity] In App Purchases

    Solved
    2
    0 Votes
    2 Posts
    1k Views

    brainCloud supports a wide range of popular in-app purchases, including Google Play, Apple, Facebook, Amazon, and Steam, etc.. In most cases, the purchase process is initiated through the corresponding IAP plugin that you need to download into your Unity project. Then, verify the receipt received from the purchase outcome with brainCloud by calling VerifyPurchase API. It should be noted that the necessary configuration for the IAP store must be set up in the brainCloud portal for your app, including the products section and platforms section. Some store integration examples are available on our documentation website -- https://docs.braincloudservers.com/learn/portal-tutorials/store-integration-google/
    Hope this helps!

  • 0 Votes
    2 Posts
    747 Views

    Hi @francesco-lenolli ,

    The ProductService has actually been deprecated.

    You should use the AppStore service instead.

    I hope that helps!

    Paul.

    2024-09-17_19-55-15.png

  • 0 Votes
    2 Posts
    530 Views

    Hi there- thanks for bringing this to our attention! A newer version of the Unity Package containing a fix for this has been uploaded. Available here: https://github.com/getbraincloud/braincloud-csharp/releases/tag/5.4.1

  • 0 Votes
    8 Posts
    2k Views

    For clarity, Firebase Cloud Messaging recommends creating a topic using Pub/Sub, though this approach is optional.

  • Global Entities retrieval issues and questions

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views

    @wjurica Assuming you're using c#, consider Newtonsoft for the deserialization & mapping process. It's two lines of code to map your data to a class.

    https://www.newtonsoft.com/json

  • RelayService.Send not working and get disconnect error

    Solved
    7
    0 Votes
    7 Posts
    2k Views

    No problem! glad to hear that.

  • PostTournamentScoreUTC DateTime or ulong?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views

    Okay - cool!

  • 0 Votes
    9 Posts
    779 Views

    Sorry for the confusion, I was under the impression a publisher key gave you certain read-only permissions on a user given they own your game (this was silly in hindsight)

    While the users in question had public profiles, their privacy settings for friends lists were set to private.

    Thank you for your help! I now understand what you meant by "as long as users grant your app permission".

  • 0 Votes
    3 Posts
    451 Views

    Apologies for the late reply, but thank you! This really clears up the flow for me. 🙂

    The only thing regarding FindOrCreateLobby instead of CreateLobby is that the request to CreateLobby is deliberate. While I do intend to integrate FindOrCreateLobby as a "just throw me into a running game" option (which probably is the desired flow in most cases), I also want a player to be able to say "I want to start a game for my friends, and I also want to be the host and set the rules of the room".

    I'm just clarifying that in case I'm misunderstanding the intent between the two calls, and that FindOrCreateLobby can indeed be used for either flow that I just described.

  • List active tournaments

    Unsolved
    7
    0 Votes
    7 Posts
    767 Views

    Hi @richard,

    Hmm - yeah - I don't think that JSON is currently editable in the portal.

    Paul.

  • [Unity] Client SDK parameter inconsistency/error

    Unsolved
    3
    0 Votes
    3 Posts
    338 Views

    Thanks for reporting this. I’ll forward it to our team and get it fixed.

  • Voting Leaderboards

    Unsolved
    3
    0 Votes
    3 Posts
    312 Views

    Hi,

    Actually - voting leaderboards are implemented via the PostScoreToLeaderboardOnBehalfOf() call - where you can basically vote for someone else's score. [i.e. voting for that person].

    Create the leaderboard as a "Cumulative" leaderboard - and basically the player votes for the score of another player - incrementing it by +1.

    I suppose we should add those details to the roadmap item!

    I hope that helps to clarify things!

    Paul.

  • 0 Votes
    4 Posts
    391 Views

    Ok, I found it. It wasn't a global setting, it was a filter on the reports. Thanks!

  • Adhoc leaderboard version increases by 2.

    Unsolved
    2
    0 Votes
    2 Posts
    255 Views

    Hi. Yes, unless an adhoc tournament is scheduled to start immediately after one finishes, there will always be a "wait" version (version with no tournament) in between scheduled adhoc tournament versions.
    And when it comes to the retained versions, we skip counting the wait versions.

  • Platform IDs: Missing PS5

    Unsolved
    4
    0 Votes
    4 Posts
    165 Views

    Hi @jesgonzalez ,

    Yes - unfortunately, you need to use AuthenticateExternal. We do not have official middleware status with Xbox. We've been trying for years - but as anyone who has dealt with Xbox in recent years knows, they are extremely resource-constrained.

    Paraphrasing our most recent interactions

    Due to extremely limited resources and a couple of years of re-orgs, Microsoft won't adopt or support new tools or technologies unless we can prove there’s a clear and active need from developers working on officially approved Xbox titles.

    (We actually had been making progress on this a few months ago - but then the personnel we were working with got laid off... So now we're at the back of the bus again.)

    Unfortunately, our lack of status means we can't provide clear details on how to do it, but we do have some service partners / contractors / consultants we can refer you to who can quickly connect you. If you want to reach out to us via our Support widget, we can put you in touch with them.

    Oh - and be sure to mention this situation to your Xbox account rep (if you are lucky enough to have one). It's only via pressure from the dev community that we're going to get unblocked in this area!

    Paul.

  • Are there plans to support Storekit 2 receipt verification?

    Unsolved
    36
    0 Votes
    36 Posts
    3k Views

    Thanks for confirming @peter !

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied