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

    • G

      Async match without opponent
      General • unity async match • • Gavin Beard  

      1
      0
      Votes
      1
      Posts
      0
      Views

      No one has replied

    • A

      Support for Open Id so other backends can integrate with BrainCloud
      Suggestions • openid • • Ali Raza  

      3
      0
      Votes
      3
      Posts
      6
      Views

      A

      @Paul-Winterhalder Yes please, there are other gaming backends which only works with Open Id . I already shared one requirement with Jason. Implementing this will not just solve my edge case but open opportunities for lots of other backends to work well with BrainCloud
    • D

      ScriptsScheduler has the wrong quote character
      Documentation Defects • quote code example • • Dan Hewlett  

      2
      0
      Votes
      2
      Posts
      3
      Views

      Paul Winterhalder

      Hi Dan, Thanks for reporting that. We'll get it fixed up. Paul.
    • K

      getMessagesPage with $or field not working probably
      Client APIs • messaging • • Kirlos Yousef  

      2
      0
      Votes
      2
      Posts
      14
      Views

      J

      Hi Kirlos, as you can see from the response's message field, there are two elements (id and name) underneath, you need to append .id to specify the first search field for id, so change the "message.from" to "messsge.from.id" should solve this problem.
    • R

      Solution: WebGL: Unity 2021 Websocket-native Runtime Error
      Client APIs • unity web error solution • • Ralph  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • G

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

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

      Execute script when new user is registered
      Cloud Code • cloud code script authentication registration • • Gavin Beard  

      3
      0
      Votes
      3
      Posts
      7
      Views

      G

      @JasonL Thanks, I ended up with this cloudCode: isForceCreate = String(data.callingMessage.forceCreate) == "true"; isNewUser = String(data.message.newUser) == "true"; var response = {}; response.status = 200; response.data = data.message; if (isForceCreate && isNewUser) { var min = 10000000, max = 999999999 prefix = ["player", "user", "member"] const num = Math.floor(Math.random() * (max - min + 1)) + min; const pre = prefix[Math.floor(Math.random() * prefix.length)]; var defaultPlayerName = pre + String(num); var playerStateProxy = bridge.getPlayerStateServiceProxy(); // We are changing the player name on the server. playerStateProxy.updatePlayerName(defaultPlayerName); // And in this API Call's return data. response.data.playerName = pre + String(num); } response; //return the object This works just the way I need
    • J

      Convert Anonymous to username/password
      Client APIs • unity authentication • • Jesper Mansa  

      2
      0
      Votes
      2
      Posts
      6
      Views

      J

      Call AttachUniversalIdentity() method from client lib, the username is uniqueness enforced.
    • J

      UNSOLVED Password content specification?
      General • cloudcode email password • • Jake Simpson  

      3
      0
      Votes
      3
      Posts
      7
      Views

      Paul Winterhalder

      I agree - and security-wise prefer it to the pre-hook solution we were considering... We are looking into it. Jake - I've sent you a question in the support chat - wondering what the timelines for your app are... Paul.
    • J

      Timeout for email validation?
      Suggestions • cloudcode email account validation • • Jake Simpson  

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • A

      Unity SDK: Android build crash with Minify option enabled
      Client API Defects • unity minify android • • Alessio Falsetti  

      2
      0
      Votes
      2
      Posts
      7
      Views

      A

      Hi, I temporarily solved it by adding this line in the proguard_user: -keep class com.braincloud.unity.* { *; } so the BrainCloud classes are no longer minified.
    • T

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

      7
      0
      Votes
      7
      Posts
      33
      Views

      A

      @Ben-Morris unfortunately yes they promised to solve it in BC 5.0 though
    • G

      bridge.include doesn't exists
      Cloud Code • bug • • Gwenolé STEPHANT  

      2
      0
      Votes
      2
      Posts
      8
      Views

      J

      Hey, there must be some syntax error in your script, would you be able to provide your script code here?
    • B

      Gamesparks Migration - Authentication Questions
      General • unity authentication gamesparks • • Ben Morris  

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • Paul Winterhalder

      brainCloud 4.11 is coming!
      Announcements • braincloud release 4.11 • • Paul Winterhalder  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Kenneth Lightner

      HTTP Client API - DELETE calls
      Cloud Code • cloudscript • • Kenneth Lightner  

      3
      0
      Votes
      3
      Posts
      20
      Views

      Kenneth Lightner

      Delete call update and everything is working now. Thanks!
    • C

      How to create a private system entity from cloud code?
      Cloud Code • cloud code global entities • • Carlos Barcenilla  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • dhpt

      Steam StartPurchase: No docs, no success
      Client APIs • steam marketplace products microtx startpurchase start purchase • • dhpt  

      2
      0
      Votes
      2
      Posts
      8
      Views

      J

      Hi Dylan, actually, the argument purchaseData for StartPurchase() method takes the Steam Item ID (from Edit Price Entry pop-up) as the input field (not the Item ID from the product list)
    • G

      Clear and recalculate user milestones : rewards are replayed
      General • monitoring gamification • • Gwenolé STEPHANT  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • H

      How to add to an array in Cloud Code?
      Cloud Code • cloud code script cloud code function array push • • helliyum  

      2
      0
      Votes
      2
      Posts
      13
      Views

      H

      I posted this almost 13 days ago with zero answers, so I took some time to look through a bunch of documentation and did a ton of trial and error. Please Braincloud for the love of god add this to your API. Rhino does not handle Arrays the way that other coding languages do. I figured it out, unlike most arrays that return an array after you call push- Rhino returns the new length. So if you call push, don't set it's value. var copyArray = []; //I assume this line tells it to be an array for (var i = 0; i < postResult.data..length; i++) { copyArray[i] = postResult.data[i]; //arrays do not behave like .Net arrays, you can change length without initializing, so you just set each index to the index of the array you're copying } copyArray.push(variableToAdd); //Do NOT set this as the value of your array, the push method returns an int (length of array) NOT an array! //you probably dont need to call push at all to add to the array as shown in the for loop above if you already know your length or want a specific length Then just set your value to the variable, like this var entityData = { "variableName": copyArray }; //No need to call Array(copyArray) or any of the prototype. slice stuff. If you call Array() you'll just nest the array a second time. Use this page for further info on functions you can do with arrays.