Skip to content
  • Processing Refunds?

    APIs transaction log refunds
    6
    0 Votes
    6 Posts
    464 Views
    A
    @Paul-Winterhalder It'd be great if we can have this info. +1
  • is there automation scheduled events?

    General event automation portal
    3
    0 Votes
    3 Posts
    266 Views
    Paul WinterhalderP
    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 General saml braincloud release
    1
    1 Votes
    1 Posts
    172 Views
    No one has replied
  • 0 Votes
    8 Posts
    506 Views
    Paul WinterhalderP
    @Travis-Brown-John You can create them manually from the Monitoring menu. Monitoring | Global Monitoring | Global Entities. Note - if your app is live, you need to unlock it first. You'll see a bit [+] button to the right of the Bulk actions drop-down. Good luck! Paul.
  • Recommended way to read Entity data? (Unity, C#)

    APIs entity unity
    3
    0 Votes
    3 Posts
    360 Views
    T
    @Henry-Smith said in Recommended way to read Entity data? (Unity, C#): Sorry to bring back an old thread, but I'm just learning the platform and I thought I'd share my solution to this. First, define a generic class to handle the raw json response data: eg. my Tut1_AddTwoNumbers api returns: {"data":{"response":{"answer":24},"success":true},"status":200} public class Response<T> { public ResponseData<T> data; public int status; } public class ResponseData<T> { public T response; public bool success; } Then for each api call that you have, define a class that contains the fields that are custom to that response. public class Tut1_AddTwoNumbersResponse { public int answer; } Now, you call your function and handle the response like this: public void Tut1_AddTwoNumbers() { string scriptName = "Tut1_AddTwoNumbers"; // Anonymous object to supply the params. var data = new { num1 = 16, num2 = 8 }; var jsonScriptData = JsonWriter.Serialize(data); SuccessCallback successCallback = (response, userdata) => { var responseObject = JsonReader.Deserialize<Response<Tut1_AddTwoNumbersResponse>>(response); //var responseObject = JObject.Parse(response); Debug.Log($"Success The answer is '{responseObject.data.response.answer}' | raw_json={response}"); }; FailureCallback failureCallback = (status, code, error, userdata) => { Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error)); }; // Call the script _bc.ScriptService.RunScript(scriptName, jsonScriptData, successCallback, failureCallback); } this line is the important part: JsonReader.Deserialize<Response<Tut1_AddTwoNumbersResponse>>(response); Hope that helps someone!
  • 1 Votes
    1 Posts
    204 Views
    No one has replied
  • 1 Votes
    2 Posts
    182 Views
    Paul WinterhalderP
    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.
  • 0 Votes
    1 Posts
    237 Views
    No one has replied
  • Discord Server

    General general community
    1
    1 Votes
    1 Posts
    134 Views
    No one has replied
  • 0 Votes
    4 Posts
    369 Views
    A
    @JasonL I understand the reason, but please do provide a way to pass custom data to authenticate api so we can use that data to set user displayname or profile picture or soemthing else on post-hook. Without this, we have no choice but to call a seperate call from client (so no beneift of 2 free api inside cloud call)
  • 0 Votes
    2 Posts
    288 Views
    J
    To limit operations like IncrementExperiencePoints() to cloud code only. This will essentially take away the ability to make these calls from the bare client API. You can see a script that enforces these restrictions here - https://getbraincloud.com/apidocs/cloud-code-central/handy-cloud-code-scripts/restrictclientcalls-script/ Refer to another post below for more strategies you can apply to prevent cheating: https://forums.getbraincloud.com/topic/23/discussion-strategies-to-prevent-cheating-in-tournaments
  • Anybody tried the new Slack integration?

    General 4.5.5 slack braincloud
    1
    1
    0 Votes
    1 Posts
    137 Views
    No one has replied
  • 1 Votes
    3 Posts
    214 Views
    A
    Amazing, especially Amazon In-Apps support
  • Shared Scripts not working

    Suggestions shared-scripts
    3
    0 Votes
    3 Posts
    317 Views
    C
    @JasonL I can confirm they are working despite a warning, in strict mode. Thanks!
  • Server logs

    Suggestions logs monitoring server
    1
    0 Votes
    1 Posts
    180 Views
    No one has replied
  • Matchmaking: Search Multiple Lobby Types

    Suggestions matchmaking lobby
    3
    0 Votes
    3 Posts
    323 Views
    C
    @Paul-Winterhalder said in Matchmaking: Search Multiple Lobby Types: that Thanks Paul, I don't think I could do the different lobby info option as I would like the players to choose specifically which game mode and if I understand correctly, I can only do that by having the players search for a lobby of that game mode. It's not too much of an urgent issue, I just wanted to put it out there and see how realistic it was. I talked to Greg a bit and we discussed joining multiple lobby types at once. For now, I plan to search for multiple lobbies at once and cancel matchmaking for any possible 2nd joined lobbies.
  • 0 Votes
    3 Posts
    307 Views
    A
    Thanks @Paul-Winterhalder
  • brainCloud 4.5.5 release coming soon...

    Moved General amazon braincloud roadmap 4.55
    5
    2 Votes
    5 Posts
    337 Views
    A
    WOW, Thank you Paul
  • Segmentation APIs

    Cloud Code cloudscript segmentation
    4
    0 Votes
    4 Posts
    349 Views
    Paul WinterhalderP
    Hi @Alexandru , We've just officially added the Segment call you're looking for to brainCloud 4.55 - which is targeted for release in the next ~30 days... Updated Roadmap here - https://portal.productboard.com/braincloud/1-braincloud-baas-roadmap Paul.
  • Server Monitor

    Suggestions room server monitoring server
    3
    0 Votes
    3 Posts
    319 Views
    C
    @Paul-Winterhalder Thanks Paul, looking forward to any possible solutions.