• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    Load new posts
Log in to post
  • D

    Processing Refunds?

    Scheduled Pinned Locked Moved APIs refunds transaction log
    6
    0 Votes
    6 Posts
    1k Views
    A

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

  • Paul WinterhalderP

    brainCloud 4.6 is now live!

    Scheduled Pinned Locked Moved General release saml braincloud
    1
    1 Votes
    1 Posts
    413 Views
    No one has replied
  • T

    Shared Global Context for each CloudCode invocation?

    Scheduled Pinned Locked Moved Cloud Code tuning script cloud code loot
    8
    0 Votes
    8 Posts
    2k 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.

  • H

    Recommended way to read Entity data? (Unity, C#)

    Scheduled Pinned Locked Moved APIs unity entity
    3
    0 Votes
    3 Posts
    1k 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

    Scheduled Pinned Locked Moved Feature Suggestions limit entities pagination
    1
    1 Votes
    1 Posts
    825 Views
    No one has replied
  • Paul WinterhalderP

    New Relay Servers coming in brainCloud 4.5.6...

    Scheduled Pinned Locked Moved General release 4.5.6 braincloud
    2
    1 Votes
    2 Posts
    677 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.

  • A

    Pre Hook for Authenticate Or send Custom content

    Scheduled Pinned Locked Moved Feature Suggestions prehooks authentication
    4
    0 Votes
    4 Posts
    1k 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)

  • T

    Saving global stats that are accessible with listFriends request.

    Scheduled Pinned Locked Moved APIs unity publicdata cheatprevent summaryfrienddata
    2
    0 Votes
    2 Posts
    667 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 WinterhalderP

    Anybody tried the new Slack integration?

    Scheduled Pinned Locked Moved General slack 4.5.5 braincloud
    1
    0 Votes
    1 Posts
    403 Views
    No one has replied
  • Paul WinterhalderP

    brainCloud 4.5.5 release on Tuesday July 14th...

    Scheduled Pinned Locked Moved General 4.5.5 braincloud rele 4.55
    3
    1 Votes
    3 Posts
    778 Views
    A

    Amazing, especially Amazon In-Apps support

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users