Navigation

    brainCloud Forums
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Solved
    • Unsolved
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • Announcements
    • General
    • Client APIs
    • Cloud Code
    • S2S APIs
    • Defects
    •      Portal Defects
    •      Client API Defects
    •      S2S API Defects
    •      Documentation Defects
    • Suggestions
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • C

      UNSOLVED RPG's on BrainCloud?
      General • braincloud web rpg • • Chad Elstad  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • D

      Processing Refunds?
      Client APIs • transaction log refunds • • Davis Knox  

      6
      0
      Votes
      6
      Posts
      11
      Views

      A

      @Paul-Winterhalder It'd be great if we can have this info. +1
    • L

      is there automation scheduled events?
      General • portal event automation • • LEE JONG GUN  

      3
      0
      Votes
      3
      Posts
      56
      Views

      Paul Winterhalder

      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.
    • Paul Winterhalder

      brainCloud 4.6 is now live!
      Announcements • braincloud release saml • • Paul Winterhalder  

      1
      1
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • T

      Stacktrace for Cloud Code errors?
      Cloud Code • cloud code script cloud code rhino • • Travis Brown-John  

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • T

      Shared Global Context for each CloudCode invocation?
      Cloud Code • cloud code script loot tuning • • Travis Brown-John  

      8
      0
      Votes
      8
      Posts
      17
      Views

      Paul Winterhalder

      @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.
    • T

      Does a Pre-hook consume an extra API call?
      General • cloud code • • Travis Brown-John  

      5
      0
      Votes
      5
      Posts
      16
      Views

      T

      @Paul-Winterhalder @Ali-Raza Thanks for the help!
    • H

      Recommended way to read Entity data? (Unity, C#)
      Client APIs • unity entity • • Henry Smith  

      3
      0
      Votes
      3
      Posts
      30
      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!
    • A

      Entities Pagination Api : Increase Max Item Limit from 100 to 1000
      Suggestions • entities pagination limit • • Ali Raza  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Paul Winterhalder

      New Relay Servers coming in brainCloud 4.5.6...
      Announcements • braincloud release 4.5.6 • • Paul Winterhalder  

      2
      1
      Votes
      2
      Posts
      6
      Views

      Paul Winterhalder

      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.
    • A

      Friends Api with Invitation Acception/Rejection Support
      Suggestions • api social friends • • Ali Raza  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • P

      Discord Server
      General • general community • • Panagiotis Milios  

      1
      1
      Votes
      1
      Posts
      17
      Views

      No one has replied

    • A

      Pre Hook for Authenticate Or send Custom content
      Suggestions • authentication prehooks • • Ali Raza  

      4
      0
      Votes
      4
      Posts
      11
      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)
    • G

      Authentication error - Unity iOS
      Client APIs • unity ios error • • Gavin Beard  

      3
      0
      Votes
      3
      Posts
      11
      Views

      G

      Also getting the same error with "Sign In With Apple" when using the brainCloudWrapper.AuthenticateApple() method
    • T

      Saving global stats that are accessible with listFriends request.
      Client APIs • unity summaryfrienddata publicdata cheatprevent • • Tal Rumer  

      2
      0
      Votes
      2
      Posts
      3
      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
    • Paul Winterhalder

      Anybody tried the new Slack integration?
      General • braincloud 4.5.5 slack • • Paul Winterhalder  

      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • Paul Winterhalder

      brainCloud 4.5.5 release on Tuesday July 14th...
      Announcements • braincloud 4.55 4.5.5 rele • • Paul Winterhalder  

      3
      1
      Votes
      3
      Posts
      18
      Views

      A

      Amazing, especially Amazon In-Apps support
    • C

      Shared Scripts not working
      Suggestions • shared-scripts • • Carson Herrick  

      3
      0
      Votes
      3
      Posts
      22
      Views

      C

      @JasonL I can confirm they are working despite a warning, in strict mode. Thanks!
    • L

      RTT features not working
      Client API Defects • rtt redis • • Lee Eon U  

      2
      0
      Votes
      2
      Posts
      9
      Views

      Paul Winterhalder

      Hi Lee, Apologies for the issue. As you mention - it appears that the issue was due to a Redis failure - and some fail-over handling in our API Servers that didn't seem to work properly for all servers. This resulted in some RTT errors for some apps. The issue has since been addressed (by rebooting the failing servers). We're going to do a post-mortem on the Redis fail-over code to see if we can find the offending code-path - and we've added additional monitoring alerts that will look for just this sort of error in the future so that we can act upon it immediately. Thanks for reporting it! Paul.
    • D

      brainCloud Space Shooter not working in Unity 2019.3.2f1
      Client API Defects • unity • • dev.permutations  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied