General

Discuss all the things!

115 Topics 364 Posts
  • Customizing your forum settings...

    Pinned Moved
    1
    1 Votes
    1 Posts
    371 Views
    No one has replied
  • Welcome to the brainCloud Forums!

    Locked Moved
    1
    1 Votes
    1 Posts
    226 Views
    No one has replied
  • 0 Votes
    4 Posts
    346 Views

    If your app uses Global Entities, don't forget to Export/Import the required entities from the Dev->Staging->Live apps. You can export all, or some via the Bulk Actions Menu within the Monitoring/Global Monitoring/ Global Entities page.

    More about Global Entity File Export Formats are here, https://getbraincloud.com/apidocs/api-modules/global-entity-file-formats/

    Hope this helps!

  • 0 Votes
    5 Posts
    438 Views

    Thank you, fantastic. I appreciate all the information you have given.

  • 1 Votes
    2 Posts
    362 Views

    Additionally!

    Using a Pre-Hook, to the Post Score Cloud Code Script, to validate incoming data. Doing the actual JoinTournament / PostTournament Score via Cloud Code Script, once again verifying data. Lastly, validating the results of the Cloud Code Script via Post-Hook, allows developer's to confirm that the incoming data results in the expected outgoing data.

    If at any point validation fails, tag the user as a Cheater! If users are going through enough trouble to try and cheat, they must enjoy the apps experience. Instead of blocking the Cheater from using the app, ensure all Cheaters are playing against each other, via a Cheater leaderboards or any other means. This way the apps experience to Cheaters is unchanged, and only cheating against cheaters, but most importantly the rest of the user base does not get negatively impacted via a few rare users.

    Any other ideas? Interesting Applications for Cheaters?

  • 4 Votes
    4 Posts
    371 Views

    I like the new forums. It was something I always felt was lacking and with the quick response time, they have already proven to be very useful. Hopefully this helps connect developers using brainCloud together as well as with the brainCloud team.

  • 1 Votes
    1 Posts
    180 Views
    No one has replied
  • Import IAP products catalog

    2
    0 Votes
    2 Posts
    243 Views

    Hi,

    Unfortunately the answer is no on that one.

    (For what it's worth, I'm not sure how we'd make that one work - since brainCloud allows you to link products across AppStores - not sure how we'd be able to establish those relationships in an import).

    The good news is that brainCloud allows you to set up one list of products, with multiple price points, across all stores. And then, if you want to change prices (put things on sale, etc) - it's just a couple of quick clicks to do that across all the stores (the new prices would be instantly active).

    So we recommend that devs initially configure both a "regular" and a "sale" price for all items.

    There's definitely a bit of pain getting it initially configured - but it's well worth it in the long run.

    Not the answer you were hoping for - but I hope it helps!

    Paul.

  • brainCloud 4.1 is officially released!

    Moved
    2
    1 Votes
    2 Posts
    245 Views

    @Paul-Winterhalder said in brainCloud 4.1 is officially released!:

    Group Enhancements

    Loving the summary data for groups. Made my life easier. Thank you, you guys rock!

    Omar

  • Award currency on new registration

    Solved
    4
    0 Votes
    4 Posts
    322 Views

    Happy to help! 馃檪

    Paul.

  • Mass delete of users.

    3
    0 Votes
    3 Posts
    262 Views

    @Chris-Brown I see it now. Thank you!

  • brainCloud 4.2 is released!

    Moved
    3
    0 Votes
    3 Posts
    354 Views

    +1 to updated roadmap. Also wishing you guys implement web payments soon (xsolla or any other)

  • 0 Votes
    6 Posts
    477 Views

    What sort of devices? Will people really sit there logged into multiple devices, and expect them all to rise in realtime?

    I mean, wouldn't a user play on one device. Finish, and maybe pick up another device - and when they do, you refresh all the stats when the app loads?

    I would suggest you use RTT for real-time notifications - but we actually assume that that a user would only have one logged in RTT session - so that won't work.

    You could send push notifications to all of the devices. Push notifications can have data payloads - so your client app(s) can catch the updated data, or maybe the notification is just a signal to the client to request updated data... (likely more flexible).

    Alternatively, I guess your option best option would be to have the devices poll every <x> minutes or so...

    Honestly, the use case still seems a bit weird though - I'm probably just not understanding something 馃檪

    Paul.

  • Tournament division by level

    2
    0 Votes
    2 Posts
    166 Views

    Hi,

    This is very doable in brainCloud.

    Check out the Tiers design note in this knowledge-base article:
    http://help.getbraincloud.com/en/articles/3344756-increasing-tournament-engagement-with-divisions-and-or-tiers

    Hope that helps!

    Cheers,

    Paul.

  • 0 Votes
    2 Posts
    205 Views

    Hi,

    One thing that you wont be able to do via api is managing users (list api), other than that almost everything is available with cloud script.

  • 0 Votes
    1 Posts
    158 Views
    No one has replied
  • 0 Votes
    1 Posts
    155 Views
    No one has replied
  • brainCloud 4.3 is here!

    Moved
    1
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • Method to access "other user" items

    Solved
    2
    1 Votes
    2 Posts
    291 Views

    Hi Claudiu,

    It's possible to do this using cloud script... you just need to impersonate the other user...

    Here's an example script that does this - caveat, it only returns the first page of user items.

    Create the script, and set it's test parameters to:

    { "profileId": "www-xxx-yyy-zzzz-123456" }

    (Note - you'll of course want to replace profileId with an id of a user that you want to test with.)

    And here's the code...

    var response = {}; // We need to impersonate another user to make this call var otherSession = bridge.getSessionForProfile( data.profileId ); var otherUserItemsProxy = bridge.getUserItemsServiceProxy( otherSession ); // Now, request the page of items from that proxy var context = { "pagination": { "rowsPerPage": 50, "pageNumber": 1 }, "searchCriteria": {}, "sortCriteria": { "createdAt": 1 } }; var includeDef = true; var itemResult = otherUserItemsProxy.getUserItemsPage( context, includeDef ); if (( itemResult.status == 200) && ( itemResult.data.results.count > 0 )) { response.items = itemResult.data.results.items; } else { response.items = []; } response;

    For convenience I've attached an export of the script. You can import this script into your app from the Design | Cloud Code | Scripts screen.

    Hope that helps!

    Paul.

    RetrieveAnotherUsersItems.ccjs

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied