• 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

    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
    63 Views
    A

    Amazing, especially Amazon In-Apps support

  • A

    Can I create a chat in Brain Cloud?

    Scheduled Pinned Locked Moved General authentication unity chat server
    2
    0 Votes
    2 Posts
    56 Views
    Y

    I downloaded the BrianCloud plug in for Unreal Engine, I can integrate user authentication, and real-time chat between connected players in a day.

  • B

    braincloud javascript and edge

    Scheduled Pinned Locked Moved APIs javascript edge
    2
    0 Votes
    2 Posts
    127 Views
    Paul WinterhalderP

    Hi Bigzer,

    We aren't aware of any issues running our javascript client lib under Edge - and haven't been able to repro your issue.

    I'm not a javascript guy - but I'm noticing other warnings / errors there - do those also happen in Chrome?

    Paul.

  • M

    How to delete a team in Design Portal

    Scheduled Pinned Locked Moved General design portal delete team
    2
    0 Votes
    2 Posts
    40 Views
    Paul WinterhalderP

    Hi Madallin,

    Just send a message into our Support Chat bubble and we'll delete the team for you.

    Cheers!

    Paul.

  • U

    Unity asset bundles

    Scheduled Pinned Locked Moved General file hosting asset bundles unity
    2
    0 Votes
    2 Posts
    58 Views
    Paul WinterhalderP

    Hi,

    This is easily doable in brainCloud.

    Just go to Design | Custom Config | Files in the Design Portal - and use the Global Files (formerly S3 service) to download the files to your app.

    Hope that helps!

    Paul.

  • M

    Sending messages to Chat Channels using BrainCloud admin panel

    Scheduled Pinned Locked Moved General messages chat channels
    2
    0 Votes
    2 Posts
    100 Views
    Paul WinterhalderP

    Hi Madalin,

    Good question - but unfortunately you assessment is correct. We do not currently have a way (other than with the API Explorer) to via and/or send Chat messages via the Portal.

    That said, we do have plans to implement a Chat Moderation portal. We're currently working on the scheduling of the work now - I expect it to start soon.

    You'll find the item in our Roadmap here - https://portal.productboard.com/braincloud/1-braincloud-baas-roadmap/c/61-chat-moderation-portal?utm_medium=social&utm_source=portal_share

    Feel free to add your +1 to it!

    Paul.

  • A

    Increase GetMultiSocialLeaderboard limit to 100

    Scheduled Pinned Locked Moved General social leaderboard
    2
    0 Votes
    2 Posts
    118 Views
    Paul WinterhalderP

    Hi Ali,

    First of all - sorry for the slow response. I somehow missed this message.

    The MultiSocialLeaderboard call is normally used to create Candy Crush-style maps - where you would normally show just the top player on each node of a map.

    It's otherwise a pretty expensive call (as we're filtering/joining your friends list with multiple leaderboard lists) - so thus we restrict things to keep things fast and server utilization reasonable.

    Do you have a use case that requires the larger leaderboard sizes - or maybe you were mistaking the intention of this call with another?

    Anyway, hope that perspective helps!

    Cheers,

    Paul.

  • A

    Method to access "other user" items

    Scheduled Pinned Locked Moved Solved General users items
    2
    1 Votes
    2 Posts
    134 Views
    Paul WinterhalderP

    Hi Claudiu,

    It's possible to do this using cloud script... you just need to impersonate the other user...

    Here's an example script that does this - caveat, it only returns the first page of user items.

    Create the script, and set it's test parameters to:

    { "profileId": "www-xxx-yyy-zzzz-123456" }

    (Note - you'll of course want to replace profileId with an id of a user that you want to test with.)

    And here's the code...

    var response = {}; // We need to impersonate another user to make this call var otherSession = bridge.getSessionForProfile( data.profileId ); var otherUserItemsProxy = bridge.getUserItemsServiceProxy( otherSession ); // Now, request the page of items from that proxy var context = { "pagination": { "rowsPerPage": 50, "pageNumber": 1 }, "searchCriteria": {}, "sortCriteria": { "createdAt": 1 } }; var includeDef = true; var itemResult = otherUserItemsProxy.getUserItemsPage( context, includeDef ); if (( itemResult.status == 200) && ( itemResult.data.results.count > 0 )) { response.items = itemResult.data.results.items; } else { response.items = []; } response;

    For convenience I've attached an export of the script. You can import this script into your app from the Design | Cloud Code | Scripts screen.

    Hope that helps!

    Paul.

    RetrieveAnotherUsersItems.ccjs

  • Omar AlzayedO

    Online state when viewing user

    Scheduled Pinned Locked Moved Suggestions users
    2
    0 Votes
    2 Posts
    207 Views
    Paul WinterhalderP

    Hmm, I'm guessing that this is so that you as a developer have a warning that you may be mucking with an online user's data?

    Sadly, unless the user is using RTT, the system doesn't deterministically know that a user is still online.

    We do however know when the user last logged in - and that is shown on the User Summary page here (see capture).

    You can further get an idea if a user is still online via the User Monitoring | Logs page...

    Might be interesting to see if we could query the last session for the time of the last received request... though we'd need to somehow differentiate a real session from an API Explorer session... Hmm, some food for thought.

    2019-11-02_15-55-22.png

  • M

    Tool for provisioning all the infrastructure resources in BrainCloud

    Scheduled Pinned Locked Moved General infrastructure provisioning
    2
    0 Votes
    2 Posts
    148 Views
    A

    Hi,

    One thing that you wont be able to do via api is managing users (list api), other than that almost everything is available with cloud script.

  • M. Ramón López TorresM

    Tournament division by level

    Scheduled Pinned Locked Moved General sport-league divisions
    2
    0 Votes
    2 Posts
    127 Views
    Paul WinterhalderP

    Hi,

    This is very doable in brainCloud.

    Check out the Tiers design note in this knowledge-base article:
    http://help.getbraincloud.com/en/articles/3344756-increasing-tournament-engagement-with-divisions-and-or-tiers

    Hope that helps!

    Cheers,

    Paul.

  • C

    Group system with larger than 50 limit

    Scheduled Pinned Locked Moved Solved APIs groups group unity
    2
    0 Votes
    2 Posts
    120 Views
    Paul WinterhalderP

    Hi Chris,

    The maximum # of group members is controllable by our support team.

    Just send a request to our support team, indicating the name and appId of the app, and what you'd like the max to be and why. (A short description of your use cases would be helpful - since we just need to review to see if we think there would be any performance gotchas).

    We'll do a quick review and hopefully approve!

    Cheers!

    Paul.

  • P

    GetMyGroups never returns

    Scheduled Pinned Locked Moved Solved APIs groups unity
    2
    0 Votes
    2 Posts
    137 Views
    JonathanJ

    This error has been since resolved.

    A help article has been made on the groupType page: http://help.getbraincloud.com/en/articles/3272656-design-groups-group-types

    If experience similar problems to this forum topic with our Unity library, ensure brainCloud has been added to a gameObject, and that gameObject is not disabled.

  • A

    Users API

    Scheduled Pinned Locked Moved Suggestions users cloudscript pagination
    2
    0 Votes
    2 Posts
    208 Views
    Paul WinterhalderP

    Just noticed this was never replied to!

    To clarify - our new Users API was delivered in 4.3 late last year.

    Cheers!

    Paul.

  • Paul WinterhalderP

    brainCloud 4.1 is officially released!

    Scheduled Pinned Locked Moved General release
    2
    1 Votes
    2 Posts
    168 Views
    Omar AlzayedO

    @Paul-Winterhalder said in brainCloud 4.1 is officially released!:

    Group Enhancements

    Loving the summary data for groups. Made my life easier. Thank you, you guys rock!

    Omar

  • G

    Import IAP products catalog

    Scheduled Pinned Locked Moved General iap
    2
    0 Votes
    2 Posts
    145 Views
    Paul WinterhalderP

    Hi,

    Unfortunately the answer is no on that one.

    (For what it's worth, I'm not sure how we'd make that one work - since brainCloud allows you to link products across AppStores - not sure how we'd be able to establish those relationships in an import).

    The good news is that brainCloud allows you to set up one list of products, with multiple price points, across all stores. And then, if you want to change prices (put things on sale, etc) - it's just a couple of quick clicks to do that across all the stores (the new prices would be instantly active).

    So we recommend that devs initially configure both a "regular" and a "sale" price for all items.

    There's definitely a bit of pain getting it initially configured - but it's well worth it in the long run.

    Not the answer you were hoping for - but I hope it helps!

    Paul.

  • E

    [Unity] Authenticated Event ?

    Scheduled Pinned Locked Moved Solved APIs authentication unity
    2
    0 Votes
    2 Posts
    163 Views
    Paul WinterhalderP

    Hmm, actually Eric, authentication only happens when called directly in brainCloud.

    If you try calling an API and your app isn't authenticated, you'll receive an error - and generally would trigger authentication yourself as part of your error handling.

    Does that make sense?

    Paul.

  • Paul WinterhalderP

    Discussion - strategies to prevent cheating in tournaments...

    Scheduled Pinned Locked Moved General tournament cheating api hook
    2
    1 Votes
    2 Posts
    216 Views
    Steve JonesS

    Additionally!

    Using a Pre-Hook, to the Post Score Cloud Code Script, to validate incoming data. Doing the actual JoinTournament / PostTournament Score via Cloud Code Script, once again verifying data. Lastly, validating the results of the Cloud Code Script via Post-Hook, allows developer's to confirm that the incoming data results in the expected outgoing data.

    If at any point validation fails, tag the user as a Cheater! If users are going through enough trouble to try and cheat, they must enjoy the apps experience. Instead of blocking the Cheater from using the app, ensure all Cheaters are playing against each other, via a Cheater leaderboards or any other means. This way the apps experience to Cheaters is unchanged, and only cheating against cheaters, but most importantly the rest of the user base does not get negatively impacted via a few rare users.

    Any other ideas? Interesting Applications for Cheaters?

  • C

    Update profile name

    Scheduled Pinned Locked Moved Solved APIs account profile unity
    2
    0 Votes
    2 Posts
    135 Views
    Paul WinterhalderP

    Hi,

    The call you're looking for is called UpdateUserName() - https://getbraincloud.com/apidocs/apiref/#capi-playerstate-updateusername

    Good luck!

    Paul.

  • N

    Difficulty parsing JSON response in Unity

    Scheduled Pinned Locked Moved APIs jsonutility unity json
    2
    0 Votes
    2 Posts
    156 Views
    Michael CostaM

    Hello! Thanks for your inquiry.

    The format of this response has been used for several years so to change it at this point would cause many errors for our clients. However, in situations like this, we have included the JsonFx library to help deserialize dynamic JSON objects with.

    One way to deserialize the JSON items would be to include a DeserializeItems(string) method in your Data class to be able to store them in an array using JsonFx's JsonReader.Deserialize(string) method:

    public List<Item> Items = new List<object>(); public void DeserializeItems(string jsonResponse) { var response = JsonReader.Deserialize<Dictionary<string, object>>(jsonResponse); var data = response["data"] as Dictionary<string, object>; var items = data["items"] as Dictionary<string, object>; foreach (Dictionary<string, object> item in items.Values) { var newItem = new Item(); newItem.itemId = (string)item["itemId"]; newItem.defId = (string)item["boost_rapidfire"]; newItem.quantity = (int)item["quantity"]; // etc... Items.Add(newItem); } }

    Alternatively, you can also use JsonFx's JsonWriter.Serialize(object) method in the foreach loop to then be able to use Unity's JsonUtility to automatically map it as an Item.

    Understandably, both methods have their own pros and cons. However, it should be able to get the job done in this case.

    Hope this helps! Please let us know if you have further questions or inquiries about this.

  • Login

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