• 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 Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    Load new posts
Log in to post
  • Paul WinterhalderP

    So - our forums are up! What do you think?

    Scheduled Pinned Locked Moved General general
    4
    4 Votes
    4 Posts
    980 Views
    C

    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.

  • G

    Authentication error - Unity iOS

    Scheduled Pinned Locked Moved APIs unity error ios
    4
    0 Votes
    4 Posts
    850 Views
    A

    Hi Gavin,

    Did you resolve the crash issue on iOS? I am experiencing it as well, so I feel I must have missed something 🙂

    Cheers,
    Andreas

  • A

    Cloud Api for Writing Global Properties

    Scheduled Pinned Locked Moved Feature Suggestions admin cloud code script global properties
    3
    0 Votes
    3 Posts
    800 Views
    A

    Thanks @Paul-Winterhalder

  • C

    Matchmaking: Search Multiple Lobby Types

    Scheduled Pinned Locked Moved Feature Suggestions lobby matchmaking
    3
    0 Votes
    3 Posts
    933 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.

  • H

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

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

  • G

    get custom entities associated to a player at login.

    Scheduled Pinned Locked Moved Cloud Code entity cloud code script custom entities
    3
    0 Votes
    3 Posts
    772 Views
    G

    Edit . you can get all custom entities for the current user with the query

    { "entityType": "[entitytype]", "ownerId": "[profileId]", "context": { "pagination": { "rowsPerPage": 50, "pageNumber": 1 }, "searchCriteria": { // other search criteria here }, "sortCriteria": { "createdAt": 1 } } }
  • C

    Server Monitor

    Scheduled Pinned Locked Moved Feature Suggestions monitoring server room server
    3
    0 Votes
    3 Posts
    850 Views
    C

    @Paul-Winterhalder Thanks Paul, looking forward to any possible solutions.

  • M

    Getting client app version

    Scheduled Pinned Locked Moved Solved Cloud Code client app version gameversion
    3
    0 Votes
    3 Posts
    732 Views
    M

    Thank you for your answer. Yes, it will be nice to have a separate API but for now, the solution suggested by you works for us.

  • A

    Shared Modules - Ability to share code between cloud scripts

    Scheduled Pinned Locked Moved Feature Suggestions cloudscript suggestion javascript
    3
    1 Votes
    3 Posts
    914 Views
    A

    Thank you very much 🙂

  • Paul WinterhalderP

    brainCloud 4.2 is released!

    Scheduled Pinned Locked Moved General release 4.2 announcement
    3
    0 Votes
    3 Posts
    856 Views
    H

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

  • P

    UpdateGroupEntityData doesn't update the "updatedAt" field.

    Scheduled Pinned Locked Moved Solved Client API Defects unity group entity
    3
    1 Votes
    3 Posts
    553 Views
    JonathanJ

    The fix will be going into the 4.2 patch on Tuesday. (Sept 17th) - now Wednesday Sept 18th.

  • C

    Mass delete of users.

    Scheduled Pinned Locked Moved General crud
    3
    0 Votes
    3 Posts
    742 Views
    C

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

  • C

    Getting names for request and invites to a group

    Scheduled Pinned Locked Moved Solved APIs unity group
    3
    0 Votes
    3 Posts
    909 Views
    JonathanJ

    As an interim solution, you can add a cloud code script or a post-hook to retrieve the missing data, using the profileIds found in the request.

    https://getbraincloud.com/apidocs/apiref/#capi-friend-getsummarydataforprofileid

    ... "pendingMembers": { "382eb04f-f80c-4bfc-9a12-fca508cad476": { // <- These profile ids "role": "MEMBER", "attributes": {}, "pendingReason": "ASKED_TO_JOIN" } } ...
  • W

    Ability to save custom-entity query macros

    Scheduled Pinned Locked Moved Portal-X Suggestions
    3
    0 Votes
    3 Posts
    42 Views
    Paul WinterhalderP

    Hi @william - thanks for the suggestion - I'll present it to the devs.

    One note - when doing custom queries, MongoDB should automatically choose the appropriate index for it -- you shouldn't have to mention it in your query. Thus - adding a custom index for queries that you are finding slow SHOULD pseed them up... (thus your last feature is actually part of the system)

  • Paul WinterhalderP

    Migration to MongoDB 8.0 - ask your questions!

    Scheduled Pinned Locked Moved Unsolved General mongodb 8
    3
    0 Votes
    3 Posts
    206 Views
    Paul WinterhalderP

    And... the upgrade is complete.

    Hopefully a non-event for everyone!

    Reach out to support if you see any weirdness!

    Cheers,

    Paul.

  • Paul WinterhalderP

    5.7 Discussion and Feedback!

    Scheduled Pinned Locked Moved Unsolved General braincloud 5.7 release
    3
    0 Votes
    3 Posts
    294 Views
    Paul WinterhalderP

    Oh - and one thing that wasn't in the release notes... we bumped up the Design Portal session timeout -- so if you go away from the portal and come back to it later -- there's a better chance that you can pick up from where you left off (instead of being booted and having to re-login).

  • C

    GetMyGroups doesn't return anything in requested

    Scheduled Pinned Locked Moved Solved Client API Defects unity group
    3
    0 Votes
    3 Posts
    580 Views
    C

    Thanks @Jonathan
    It was a bit confusing since I was thinking in terms of the owner having quick access to all their groups data, but I understand the difference in GetMyGroups now. It's a call on the profile and not on the group.

  • A

    Virtual Purchase

    Scheduled Pinned Locked Moved Feature Suggestions
    3
    0 Votes
    3 Posts
    351 Views
    A

    Almost, but you can't define the price in virtual currency.

    The solution I came up with is to make a cloud script that purchases and then immediately sells a user item. The user item has a buyPrice and a sellPrice which effectively does the currency conversion.

  • A

    Return global rank for entries in social leaderboard

    Scheduled Pinned Locked Moved Feature Suggestions
    3
    0 Votes
    3 Posts
    334 Views
    A

    Thank you! I've hacked an implementation for now that just guesses the ranks on the client side without grabbing the actual ranks. The players will only discover it if they're playing sitting side by side. 🙂

  • D

    Apple Push Notification service server certificate update

    Scheduled Pinned Locked Moved Unsolved General
    3
    0 Votes
    3 Posts
    2k Views
    Paul WinterhalderP

    Update - we've confirmed with the server team that we believe we are all set.

    We'll perform some tests when the Sandbox servers cut over the week of Jan 20th to confirm.

    Paul.

  • Login

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