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

    Error 40316 on authenticate

    Scheduled Pinned Locked Moved APIs s2s authentication
    3
    0 Votes
    3 Posts
    807 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
    838 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
    809 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
    734 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
    787 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
    507 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
    545 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

  • C

    RPG's on BrainCloud?

    Scheduled Pinned Locked Moved Solved General rpg braincloud web
    3
    0 Votes
    3 Posts
    692 Views
    J

    Hi Chad,

    Sorry for the late reply.

    Yes, brainCloud can handle RPG style games well, it provides a rich set of features that benefits any type of game - includes very flexible multiplayer tech, Our built-in real-time multiplayer services are more based around the idea of shared game experiences that last a finite period of time (i.e. arena shooters, casual multiplayer, etc.). Our matchmaking, lobby services, room server system, etc are all geared toward making this sort of experience easy and inexpensive to build - but also can integrate with 3rd party or custom tech. brainCloud provides support for custom Room Servers that can support any type of custom or 3rd party multiplayer tech. For all these characters related data (user data), you can use User Entity or Custom Entity to store and trace them. The end-user profileId and anonymousId are stored securely in the client library wrapper on user devices. Users' IAP items and currency end up “unlocking” “awarding” these to the associated profileId, so that will never be lost. If a player is offline, you need to have some code on your side to handle this situation with the request callbacks, as long as “update()” is not called, it will not process sending packet bundles or process callbacks from the received packets. Shouldn't keep all calls for later. Instead, update player stats once connected, in 1 call.

    Hope that helps!

  • C

    Shared Scripts not working

    Scheduled Pinned Locked Moved Feature Suggestions shared-scripts
    3
    0 Votes
    3 Posts
    1k Views
    C

    @JasonL
    I can confirm they are working despite a warning, in strict mode.
    Thanks!

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

    Amazing, especially Amazon In-Apps support

  • A

    Can I create a chat in Brain Cloud?

    Scheduled Pinned Locked Moved General unity server chat authentication
    2
    0 Votes
    2 Posts
    572 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 edge javascript
    2
    0 Votes
    2 Posts
    438 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 delete team design portal
    2
    0 Votes
    2 Posts
    318 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 unity file hosting asset bundles
    2
    0 Votes
    2 Posts
    326 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 chat channels messages
    2
    0 Votes
    2 Posts
    396 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 leaderboard social
    2
    0 Votes
    2 Posts
    449 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 items users
    2
    1 Votes
    2 Posts
    791 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 Feature Suggestions users
    2
    0 Votes
    2 Posts
    884 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

  • Login

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