General

Discuss all the things!

75 Topics 185 Posts
  • 0 Votes
    3 Posts
    199 Views

    Hi Lee,

    You can schedule jobs in brainCloud using the ScheduleRuleScriptMinutes() or ScheduleRunScriptMillisUTC() calls - http://getbraincloud.com/apidocs/apiref/#capi-script-schedulerunscriptminutes

    And those jobs can reschedule themselves to run again at another time.

    You can find an example scheduler script here: https://getbraincloud.com/apidocs/cloud-code-central/handy-cloud-code-scripts/scriptscheduler-script/

    Hope that helps!

    Paul.

  • brainCloud 4.6 is now live!

    Moved
    1
    1 Votes
    1 Posts
    72 Views
    No one has replied
  • 1 Votes
    2 Posts
    116 Views

    As a further heads up folks - it is looking like the 4.5.6 server release may get delayed until early next week. This is to allow us to create a proper mechanism for controlling with specific versions of Lobby Services are active at a time... (right now, it is possible for both old and new lobby services to be active during an upgrade transition - and given how much lobby processing has changed in this release - that wouldn't be good).

    That said - the rest of 4.5.6 is ready - so we are going to be doing a bit of an incremental roll-out...

    We are starting to release the 4.5.6 Client Libraries today We are also making the 4.5.6 Relay Servers available (on our existing 4.5.5 servers) <- this is a simple feature gate for us to enable.

    Then, once the 4.5.6 servers (with the new Lobby Servers and a few other fixes) are available, we will release them... that should be either late this week, or more likely early next week).

    Anyway, just FYI...

    Paul.

  • Discord Server

    1
    1 Votes
    1 Posts
    79 Views
    No one has replied
  • 0 Votes
    1 Posts
    78 Views
    No one has replied
  • 1 Votes
    3 Posts
    166 Views

    Amazing, especially Amazon In-Apps support

  • 2 Votes
    5 Posts
    236 Views

    WOW, Thank you Paul

  • 0 Votes
    2 Posts
    100 Views

    Hi Madallin,

    Just send a message into our Support Chat bubble and we'll delete the team for you.

    Cheers!

    Paul.

  • Thank you

    5
    1 Votes
    5 Posts
    218 Views

    With the new include functionality I have been able to drop my script sizes by 60-90%! This cleans up the code dramatically and promotes code reuse.

    Excellent work to the BC team!

  • 1 Votes
    1 Posts
    76 Views
    No one has replied
  • Unity Network Simulation Debuging tools

    1
    0 Votes
    1 Posts
    93 Views
    No one has replied
  • Unity asset bundles

    2
    0 Votes
    2 Posts
    134 Views

    Hi,

    This is easily doable in brainCloud.

    Just go to Design | Custom Config | Files in the Design Portal - and use the Global Files (formerly S3 service) to download the files to your app.

    Hope that helps!

    Paul.

  • Global entities size

    Solved
    4
    0 Votes
    4 Posts
    232 Views

    No problem - happy to help!

    Paul.

  • brainCloud 4.4 is here!

    Moved
    5
    1 Votes
    5 Posts
    316 Views

    Hi guys,

    The plan is to release 4.5 in April.

    Cheers!

    Paul.

  • This topic is deleted!

    Moved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • 0 Votes
    2 Posts
    175 Views

    Hi Ali,

    First of all - sorry for the slow response. I somehow missed this message.

    The MultiSocialLeaderboard call is normally used to create Candy Crush-style maps - where you would normally show just the top player on each node of a map.

    It's otherwise a pretty expensive call (as we're filtering/joining your friends list with multiple leaderboard lists) - so thus we restrict things to keep things fast and server utilization reasonable.

    Do you have a use case that requires the larger leaderboard sizes - or maybe you were mistaking the intention of this call with another?

    Anyway, hope that perspective helps!

    Cheers,

    Paul.

  • 0 Votes
    2 Posts
    151 Views

    Hi Madalin,

    Good question - but unfortunately you assessment is correct. We do not currently have a way (other than with the API Explorer) to via and/or send Chat messages via the Portal.

    That said, we do have plans to implement a Chat Moderation portal. We're currently working on the scheduling of the work now - I expect it to start soon.

    You'll find the item in our Roadmap here - https://portal.productboard.com/braincloud/1-braincloud-baas-roadmap/c/61-chat-moderation-portal?utm_medium=social&utm_source=portal_share

    Feel free to add your +1 to it!

    Paul.

  • This topic is deleted!

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

    Solved
    2
    1 Votes
    2 Posts
    216 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

  • brainCloud 4.3 is here!

    Moved
    1
    0 Votes
    1 Posts
    135 Views
    No one has replied