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

    Virtual Purchase

    Scheduled Pinned Locked Moved Feature Suggestions
    3
    0 Votes
    3 Posts
    504 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
    517 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.

  • E

    Unity Compiler Error in RelayComms related to 'Task'

    Scheduled Pinned Locked Moved Solved Client API Defects error exception relaycomms unity task
    3
    0 Votes
    3 Posts
    848 Views
    Paul WinterhalderP

    Hi Eric,

    Thanks so much for the update!

    Good luck with your app.

    Paul.

  • devsleeperD

    Log timestamp to local time

    Scheduled Pinned Locked Moved Portal-X Suggestions
    3
    0 Votes
    3 Posts
    992 Views
    devsleeperD

    My profile displays in a different format than my logs do yes - reading 16:05:53.051 PST vs 4:05:53 PM PST, it's not a huge thing but would be nice as preference in profile settings (or cycling format on the log view timestamp itself)

  • D

    Don't reward quests + milestones automatically

    Scheduled Pinned Locked Moved Unsolved General
    3
    0 Votes
    3 Posts
    606 Views
    D

    one workaround im thinking of doing is having a "fake" user stat. one that tracks the actually XP and another that's "unlocked XP". then just increase the unlocked XP whenever someone "claims" the milestone

  • D

    Max number of keys on a user statistic?

    Scheduled Pinned Locked Moved Solved General
    3
    0 Votes
    3 Posts
    798 Views
    Paul WinterhalderP

    Update - we discussed it and we think you are good to go.

    A test of 1000 stats revealed that the resulting statistics object (that contains all values) was only about 64KB - which is smaller than I had feared. So it looks like 2000-2500 stats will come in less than 200KB.

    Note - that IS 200KB more data that will be returned during an Authenticate call - and during readUserState() - but it should work okay.

    I assume you'll be creating these stats dynamically. That is controlled via the setting on this page (you've probably already discovered it).

    2024-08-27_09-37-51.png

    One warning is that stats are case sensitive - so we'd definitely recommend that you standardize the creation/accessing of the stats - maybe do an uppercase() or lowercase() cast before creating / accessing them.

    I hope that helps. Good luck!

    Paul.

  • T

    How to implement Scheduled Scripts

    Scheduled Pinned Locked Moved Solved General
    3
    0 Votes
    3 Posts
    836 Views
    T

    Great. This perfectly answers my question. Thank you!

  • P

    Tournament Rank Rule

    Scheduled Pinned Locked Moved Solved General tournament
    3
    0 Votes
    3 Posts
    1k Views
    P

    Hi Paul,

    Yes this answers my question. I guess since the percentage is based on the number of players, I could query the number by checking how many entries there are in a given division leaderboard?

    In any case I'll stick to absolute ranks for now as you suggest. I was looking into percentages to future-proof our client API.

    Thank you for the quick help!

  • L

    Update Entity with updatesingleton not blocked by platform min version

    Scheduled Pinned Locked Moved Solved APIs
    3
    0 Votes
    3 Posts
    911 Views
    L

    thank you

  • Paul WinterhalderP

    D'oh - it looks like there is an issue registering new Forum accounts!

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

    Update: this has now been fixed!

    Note - brainCloud will now send over the first part of your email address as the suggested username for the forums. The forums will automatically append a number if there are others with that username.

    You can update/customize your username by clicking on your profile in the top-right, and choose Edit Profile.
    There you will find a bunch of info you can customize about your user account.

    Click Change Username on that screen to change your username itself.

    Hope that helps!

    Paul.

  • B

    Error 40316 on authenticate

    Scheduled Pinned Locked Moved APIs s2s authentication
    3
    0 Votes
    3 Posts
    990 Views
    B

    @panagiotis-milios Thank you for your response, appreciate your time !
    I solved the issue :
    The url I was using was wrong, more precisely I was using the wrong servlet :
    I was using

    /dispatcherv2

    while I was supposed to use

    /s2sdispatcher.

    I also want to point out that you are right about the "appId" below the "packetId", it is not needed.
    Thank you, I hope this thread will help anyone encountering this problem !

  • L

    tracking refund iap for google and apple

    Scheduled Pinned Locked Moved Feature Suggestions refunds iap
    3
    0 Votes
    3 Posts
    1k Views
    L

    @paul-winterhalder
    if detect refund than ban automatically with few condition matched(Size or number of refunds)
    Nxx Gamebxxx has this function

  • A

    Support for Open Id so other backends can integrate with BrainCloud

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

  • G

    Execute script when new user is registered

    Scheduled Pinned Locked Moved Cloud Code cloud code script registration authentication
    3
    0 Votes
    3 Posts
    1k 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

  • Kenneth LightnerK

    HTTP Client API - DELETE calls

    Scheduled Pinned Locked Moved Cloud Code cloudscript
    3
    0 Votes
    3 Posts
    901 Views
    Kenneth LightnerK

    Delete call update and everything is working now. Thanks!

  • Y

    Limiting number of async matches

    Scheduled Pinned Locked Moved APIs matchmaking async match
    3
    0 Votes
    3 Posts
    994 Views
    Y

    Thank you! I will try that out.

    Just for anyone else's future reference, I realized you can "log in" as another user using GetSessionForProfile(). So if the other user is offline, you will be able to modify their data (for example, to increment an attribute for number of matches they have).

    I believe this way, you can also do what JasonL said and TurnShieldOn() for the other user, stopping them from being able to match anymore.

    Correct me if I'm wrong.

  • D

    Few Questions Before Committing to This BaaS!

    Scheduled Pinned Locked Moved General question
    3
    0 Votes
    3 Posts
    672 Views
    D

    Update:

    Authentication seems to be going well. I can automatically sign user in using ANON, and attach an email and pass. I can also log a user in using existing email and pass and getAnonID and store it and proceed to use that AnonID to use AnonID on startup for silent authentication. However, if user selects anon account but then the user decides to log into an existing email and pass account, how would I go about deleting the new ANON account the user decides to "throw" away?
  • R

    Unique field for a Custom Entity

    Scheduled Pinned Locked Moved Cloud Code cloud code script cus cloud code
    3
    0 Votes
    3 Posts
    1k Views
    J

    Hi Reza, a simple workaround I would recommend is using our atomic methods, such as IncrementGlobalStats, to form the field values with the returned value of that method and some other characters you selected. (defined a global statistic ahead of time, call IncrementGlobalStats() get the returned current value of the global statistic, e.g. 123, then combine with the name you selected to a unique name, such as name_123)

  • C

    Web client security

    Scheduled Pinned Locked Moved General security web
    3
    0 Votes
    3 Posts
    707 Views
    C

    @David-St-Louis-0
    On my last question, can you restrict API calls to only be from a specific web domain or mobile app is? Google Api's allowed to restrict calls to firebase to be specifically from an web domain, or the specific app ID's.
    Another way to ask it, is there any way to restrict API calls to from a specific location?
    Thanks again,
    -Chad

  • Login

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