• 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

    Discussion - strategies to prevent cheating in tournaments...

    Scheduled Pinned Locked Moved General cheating api hook tournament
    2
    1 Votes
    2 Posts
    526 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?

  • D

    Can you reward items using when you achieve an XP level?

    Scheduled Pinned Locked Moved Solved General
    2
    0 Votes
    2 Posts
    208 Views
    Paul WinterhalderP

    Hmm - not currently - but it's coming...

    Unfortunately it didn't make it into 5.4 (which drops in a few weeks) - so that will end up in 5.5.

    Paul.

  • D

    How to implement "loot boxes"

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

    brainCloud doesn't directly support loot boxes currently... Though of course the Item Catalog and User Items services give you the building blocks to construct your own system in cloud code.

    To implement such a system, you would:

    use Global Entities or Unowned Custom Entities to represent the collection of loot box templates construct your JSON with the rules (percentages, etc.) for constructing the loot box then write a cloud code script that when run - performs the work to award the user the relevant items

    Note - there are future plans to add such a feature to brainCloud - but it isn't scheduled yet. I'll add your +1 !

    Paul.

  • D

    Best way to set default items

    Scheduled Pinned Locked Moved Solved General
    2
    0 Votes
    2 Posts
    193 Views
    Paul WinterhalderP

    Hi - normally what you'd do there is attach it as a reward to XP level 1. <- XP level 1 has a minimum XP of 0 - so users get it when the user account is created.

    I hope that helps!

  • L

    More Segment Detail Criteria

    Scheduled Pinned Locked Moved Portal-X Suggestions
    2
    0 Votes
    2 Posts
    394 Views
    Paul WinterhalderP

    Hi,

    Thanks for the suggestion. We're actually working on more country support right now - so adding segment criteria for it makes total sense.

    As for the "OR" and "AND" support - the system currently supports "AND" ...
    ... but yeah, adding "OR" will be a bigger deal.

    I'll run it by the devs and add it to the roadmap with your +1 though...

    Paul.

  • L

    New Pricing based Studio

    Scheduled Pinned Locked Moved Feature Suggestions
    2
    0 Votes
    2 Posts
    237 Views
    Paul WinterhalderP

    Hi Lee,

    brainCloud's pricing models are designed to accommodate changes in usage over time.

    Apps using Enterprise features in the Business/Business + plans are still allowed to access those features if they later downgrade to Standard or Lite plans. Note that the app will no longer be covered by the Business / Business Plus plan SLA though.

    I hope that helps!

    Paul

  • L

    Cloud Code not loading in Console

    Scheduled Pinned Locked Moved Solved General
    2
    0 Votes
    2 Posts
    306 Views
    Paul WinterhalderP

    In case anyone else had a similar issue...

    There was a Cloudflare-related cert issue associated with a site called cdn.jsdelivr.net.

    As I understand it, the Monaco editor that Portal-X uses for editing source and JSON files (and many other common web-based components) makes use of that site.

    More details on the issue here: https://github.com/jsdelivr/jsdelivr/issues/18565

    The issue was temporary - and seems like it only affected only certain localized regions... (just a guess on my part there).

    Anyway - all good now - and nothing directly related to brainCloud.

    Paul.

  • F

    [Unity] In App Purchases

    Scheduled Pinned Locked Moved Solved APIs unity in app purchases mobile
    2
    0 Votes
    2 Posts
    562 Views
    J

    brainCloud supports a wide range of popular in-app purchases, including Google Play, Apple, Facebook, Amazon, and Steam, etc.. In most cases, the purchase process is initiated through the corresponding IAP plugin that you need to download into your Unity project. Then, verify the receipt received from the purchase outcome with brainCloud by calling VerifyPurchase API. It should be noted that the necessary configuration for the IAP store must be set up in the brainCloud portal for your app, including the products section and platforms section. Some store integration examples are available on our documentation website -- https://docs.braincloudservers.com/learn/portal-tutorials/store-integration-google/
    Hope this helps!

  • N

    Memcache in Braincloud

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

    Hi Nguyen,

    brainCloud makes use of both Memcached and Redis as part of it's architecture - but we do not directly expose these in our APIs.

    What was your use case?

    Paul.

  • K

    How to let a user request Email Password Reset when they aren't authenticated?

    Scheduled Pinned Locked Moved Unsolved General authentication
    2
    0 Votes
    2 Posts
    383 Views
    J

    Hi Kuabs, you can use brainCloud webhooks to achieve this feature, the steps are as follows.

    Create a cloud code script, in this example use the name "webhook_forgotPassword", and paste the following code into the script. "use strict"; function main() { var response = {}; bridge.logDebugJson("Script inputs", data); var userEmail = data.parameters.email; response.stringResponse = "webhook is processing user email reseting..." + data.parameters.email; // validating the user email if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(userEmail)) { // checking if the email is existed in brainCloud users var context = { "pagination": { "rowsPerPage": 20, "pageNumber": 1 }, "searchCriteria": { "emailAddress": userEmail }, "sortCriteria": { "playerName": 1 } }; var userProxy = bridge.getUserServiceProxy(); var postResult = userProxy.sysGetPage(context); if (postResult.data.results.count > 0) { var userProfileID = postResult.data.results.items[0].profileId; // sending password reset email postResult = userProxy.sysSendPasswordResetEmail(userProfileID); if (postResult.status == 200) { response.stringResponse = "password reset email has been sent to user's email:" + userEmail; } else { response.stringResponse = "system error with sending email..."; } } else { response.stringResponse = "user doesn't exist with the email you provided"; } } else { response.stringResponse = "user's email is invalid."; } return response; } main();

    Open Design | Cloud Code | WebHooks page, and create a WebHook link to the script you created from the previous step. Copy down the WebHook URL for the next step.73ee4986-3d38-4694-bac5-d7c4896c99ba-image.png

    Now, you have completed the work from brainCloud. Next, open your client app editor (if you are using Unity), define the WebHook URL as a variable, and link it to your forgotEmail object (could be a link or button in your app) onClick event, making it trigger this URL when the user clicks with Application.OpenURL command. Grab user inputted email and append it as an email parameter to the URL as follows:

    const string passwordResetWebhookUrl = "https://portal.braincloudservers.com/webhook/12832/forgotPassword/6dc675bb-f8b4-495f-ac5e-1f0658bfe09c"; Application.OpenURL(passwordResetWebhookUrl + "?email=" + userEmail);

    Run your app to test, you should get a similar pop-up window as follows once a user clicks the forgotEmail object,
    94dd0dae-7d6e-44c8-ab26-0d57a8544bb4-image.png

    Check the reset email in your test email account...25a6f240-5246-4ba2-a216-e978eaccee8c-image.png

  • S

    UE 5.3

    Scheduled Pinned Locked Moved Unsolved General
    2
    0 Votes
    2 Posts
    361 Views
    N

    Hi @shawnryanbruno

    Thanks for pointing out that issue in our readme, you're right there is no BCClient folder, this will be corrected. The readme is referring to the folder contained in the latest .zip release file, current latest release is 5.1.0

    We have a couple example projects that use Unreal 5.3 and the brainCloud client compiles with no issues there. I will need some more information to better assist with the issue you're having.

    Did you get the brainCloud library from the release .zip file or did you download a copy of the repository?

    Can you guide me through the steps you took to get to this issue?

  • K

    Cloud code retries, error handling question

    Scheduled Pinned Locked Moved Unsolved Cloud Code cloud code error
    2
    0 Votes
    2 Posts
    366 Views
    P

    A good way to handle failure besides retrying in code, is to schedule another script to run 1 minute later that will basically repeat the same action.

  • K

    Is profileId returned by auth considered sensitive?

    Scheduled Pinned Locked Moved Unsolved APIs profile authentication
    2
    0 Votes
    2 Posts
    363 Views
    P

    It's not. Just knowing a playerId is really not important as it's only a unique identifier for another player and nothing more than that.

  • K

    How can we ensure that users data (Entities, Global Entities, Leaderboards, Statistics etc) are *only* writable from cloud-scripts?

    Scheduled Pinned Locked Moved Unsolved General cloudscript cloud code script api
    2
    0 Votes
    2 Posts
    340 Views
    P

    Use API blocking in the cloud code category to block all apis from client that write your user entities. Then clients can only write their entities using cloud-code and there you have the total control

  • S

    Error launching room on room server

    Scheduled Pinned Locked Moved Unsolved APIs
    2
    0 Votes
    2 Posts
    322 Views
    Paul WinterhalderP

    Hi,

    Has your dockerhub team invited the "braincloudhost" user to your team with read-only privileges so that we can retrieve your custom image?

    The email address of that account is paulw AT getbraincloud.com.

    Hope that helps!

    Paul.
    [PS - Once you've done that - ping us here or in the support chat. We need to manually access the request these days <- Recent change to how dockerhub works.]

  • R

    Can I use Braincloud with Gamemaker?

    Scheduled Pinned Locked Moved Unsolved General gamemaker
    2
    0 Votes
    2 Posts
    268 Views
    J

    I believe that you can integrate the brainCloud C++ library as a third-party library within Gamemaker. brainCloud C++ library can be found here -- https://github.com/getbraincloud/braincloud-cpp

  • Paul WinterhalderP

    brainCloud 5.1 is on it's way!

    Scheduled Pinned Locked Moved General braincloud 5 5.1
    2
    0 Votes
    2 Posts
    385 Views
    Paul WinterhalderP

    And brainCloud 5.1 is now live. Let us know what you think!

  • C

    Update profile name

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

    Hi,

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

    Good luck!

    Paul.

  • C

    Unreal 5.3.x support

    Scheduled Pinned Locked Moved Solved General
    2
    0 Votes
    2 Posts
    336 Views
    C

    Update: Fixed in the latest release
    https://github.com/getbraincloud/braincloud-unreal-plugin-src/releases/tag/5.0.1
    Thanks Joanne 🙂

  • A

    Deserializing the JSON matchState into a custom object

    Scheduled Pinned Locked Moved Unsolved General
    2
    0 Votes
    2 Posts
    262 Views
    Franco LagoF

    Hello Andrey and thank you for your inquiry,

    For an approach like this I would recommend grabbing the matchState as a Dictionary<string,object> and then making a new instance of JsonMatchState and filling in each field one at a time.

    An example of this would look like to get one of the fields:

    JsonMatchState matchState = new JsonMatchState(); var matchState = data["matchState"] as Dictionary<string, object>; matchState.turnNumber = (int) matchState["turnNumber"];

    Hope this helps and 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