• 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
  • G

    Authentication error - Unity iOS

    Scheduled Pinned Locked Moved APIs unity error ios
    4
    0 Votes
    4 Posts
    1k 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
    1k Views
    A

    Thanks @Paul-Winterhalder

  • C

    Matchmaking: Search Multiple Lobby Types

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

  • 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
    1k 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
    1k 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
    1k 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
    1k 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
    1k 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
    799 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
    1k 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
    1k 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" } } ...
  • N

    Anonymous Login Cumulative Reasons

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

    Note - the system allows a maximum of 15 anonymous ids. If you exceed that, it will delete the oldest ids to keep you at 15.

    [Background - this used to be totally unlimited - but they really added up for some apps - so we implemented this behaviour and set the max of 15 as being "more than reasonable enough to handle all use cases!" 🙂

    Paul.

  • R

    Voting Leaderboards

    Scheduled Pinned Locked Moved Unsolved APIs
    3
    0 Votes
    3 Posts
    253 Views
    Paul WinterhalderP

    Hi,

    Actually - voting leaderboards are implemented via the PostScoreToLeaderboardOnBehalfOf() call - where you can basically vote for someone else's score. [i.e. voting for that person].

    Create the leaderboard as a "Cumulative" leaderboard - and basically the player votes for the score of another player - incrementing it by +1.

    I suppose we should add those details to the roadmap item!

    I hope that helps to clarify things!

    Paul.

  • devsleeperD

    [Unity] Client SDK parameter inconsistency/error

    Scheduled Pinned Locked Moved Unsolved APIs
    3
    0 Votes
    3 Posts
    286 Views
    J

    Thanks for reporting this. I’ll forward it to our team and get it fixed.

  • P

    [Unity] LobbyService.CreateLobby - Best time to show and hide a "Connecting..." popup?

    Scheduled Pinned Locked Moved Solved APIs
    3
    0 Votes
    3 Posts
    402 Views
    P

    Apologies for the late reply, but thank you! This really clears up the flow for me. 🙂

    The only thing regarding FindOrCreateLobby instead of CreateLobby is that the request to CreateLobby is deliberate. While I do intend to integrate FindOrCreateLobby as a "just throw me into a running game" option (which probably is the desired flow in most cases), I also want a player to be able to say "I want to start a game for my friends, and I also want to be the host and set the rules of the room".

    I'm just clarifying that in case I'm misunderstanding the intent between the two calls, and that FindOrCreateLobby can indeed be used for either flow that I just described.

  • W

    Ability to save custom-entity query macros

    Scheduled Pinned Locked Moved Portal-X Suggestions
    3
    0 Votes
    3 Posts
    458 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
    546 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
    633 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
    821 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.

  • Login

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