• bridge.getCustomEntityServiceProxy()

    Unsolved Cloud Code
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • 0 Votes
    2 Posts
    17 Views

    Hi @PJ ,

    Your usage of lobbies is exactly why we added the concept of long-lived lobbies. (Admittedly it wasn't part of the original use case - which is probably why some of the documentation doesn't seem to properly reflect that usage <-- we'll review that).

    So - needless to say - keep going as you are - and reach out if you hit issues!

    Happy coding!

    Paul.

  • Webhook routes

    Solved Cloud Code
    9
    0 Votes
    9 Posts
    62 Views

    Hi @devsleeper - if you contact us through the chat widget we can go through your logs with you and see if we can get to the bottom of this. Thanks.

  • 0 Votes
    3 Posts
    24 Views

    My profile displays in a different format than my logs do yes - reading 16:05:53.051 PST vs 4:05:53 PM PST, it's not a huge thing but would be nice as preference in profile settings (or cycling format on the log view timestamp itself)

  • 0 Votes
    4 Posts
    42 Views

    Awesome! Still a few things to clean up but I appear to be right back to testing within the editor, but against brainCloud's actual lobby system. The key was setting debug to true in the config.js and following the instructions at the end of the GitHub page. Thanks again!

  • Localization Issue

    Unsolved General
    6
    0 Votes
    6 Posts
    37 Views

    Thank you so much!

  • 0 Votes
    2 Posts
    21 Views

    You can achieve it by writing a cloud code script that retrieves the data of each individual user's user entities and stores it in a custom entity collection. After that, call the method RunBatchUserScript() to execute this process for every user within the app. Then, the resulting collection can be downloaded for analytical purposes.

  • 0 Votes
    8 Posts
    77 Views

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

  • Dedicated server getting all player's username

    Unsolved General
    5
    0 Votes
    5 Posts
    85 Views

    Oh, server can use client API

  • latest braincloud xcode build error

    Unsolved General
    4
    0 Votes
    4 Posts
    67 Views

    Okay, I built it using the commented out part above.

  • 0 Votes
    6 Posts
    91 Views

    Gooood!!!

  • 0 Votes
    2 Posts
    63 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
    2 Posts
    77 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

  • brainCloud 5.4 is on it's way!

    General
    15
    2 Votes
    15 Posts
    235 Views

    Yup. We as devs often resist change. Hopefully you'll come to appreciate Portal-X as you use it more!

  • Don't reward quests + milestones automatically

    Unsolved General
    3
    0 Votes
    3 Posts
    79 Views

    one workaround im thinking of doing is having a "fake" user stat. one that tracks the actually XP and another that's "unlocked XP". then just increase the unlocked XP whenever someone "claims" the milestone

  • Max number of keys on a user statistic?

    Solved General
    3
    0 Votes
    3 Posts
    105 Views

    Update - we discussed it and we think you are good to go.

    A test of 1000 stats revealed that the resulting statistics object (that contains all values) was only about 64KB - which is smaller than I had feared. So it looks like 2000-2500 stats will come in less than 200KB.

    Note - that IS 200KB more data that will be returned during an Authenticate call - and during readUserState() - but it should work okay.

    I assume you'll be creating these stats dynamically. That is controlled via the setting on this page (you've probably already discovered it).

    2024-08-27_09-37-51.png

    One warning is that stats are case sensitive - so we'd definitely recommend that you standardize the creation/accessing of the stats - maybe do an uppercase() or lowercase() cast before creating / accessing them.

    I hope that helps. Good luck!

    Paul.

  • How to implement Scheduled Scripts

    Solved General
    3
    0 Votes
    3 Posts
    98 Views

    Great. This perfectly answers my question. Thank you!

  • 0 Votes
    2 Posts
    90 Views

    Hmm - not currently - but it's coming...

    Unfortunately it didn't make it into 5.4 (which drops in a few weeks) - so that will end up in 5.5.

    Paul.

  • How to implement "loot boxes"

    Unsolved General
    2
    0 Votes
    2 Posts
    85 Views

    brainCloud doesn't directly support loot boxes currently... Though of course the Item Catalog and User Items services give you the building blocks to construct your own system in cloud code.

    To implement such a system, you would:

    use Global Entities or Unowned Custom Entities to represent the collection of loot box templates construct your JSON with the rules (percentages, etc.) for constructing the loot box then write a cloud code script that when run - performs the work to award the user the relevant items

    Note - there are future plans to add such a feature to brainCloud - but it isn't scheduled yet. I'll add your +1 !

    Paul.

  • Best way to set default items

    Solved General
    2
    0 Votes
    2 Posts
    75 Views

    Hi - normally what you'd do there is attach it as a reward to XP level 1. <- XP level 1 has a minimum XP of 0 - so users get it when the user account is created.

    I hope that helps!