Hi @kinco-h - I assume (hope) you got the info you needed from our support folks?
Hint - you access chat support by clicking on the "Ask Support" button in the top right-hand corner of the Design Portal...
brainCloud personnel
Hi @kinco-h - I assume (hope) you got the info you needed from our support folks?
Hint - you access chat support by clicking on the "Ask Support" button in the top right-hand corner of the Design Portal...
Hi @wjurica ,
I do appreciate the perspective (for sure).
That said - 99% of entities are custom JSON - and most of our API objects have extensible JSON components. And of course - there are competing JSON libraries and approaches that devs use. Plus the complications of the capabilities of the different client+library platforms (Unity/C# vs. Unreal/C++ vs. JavaScript vs. Java, etc).
So - we've tried to have our libs take a light approach and focus on the networking + error handling + security
Your feedback is heard though! brainCloud is an ever-evolving platform. Never say never!
Paul.
Cool. Thanks for sharing the solution here @devsleeper !
Hi @wjurica ,
Yes - if you want to use the entityIndexedId (which we recommend) - you should be calling GetListByIndexedId().
And yes - brainCloud returns the JSON to the client - but it's up to the client app to handle it in a way that makes sense for their app. Our client libs <unfortunately> do not automatically de-serialize it into native classes.
<Forum folks may have some suggestions on that.>
I hope that helps!
Paul.
Update - @devsleeper was able to resolve this issue by providing the webhook secret as part of the URL instead of via header parameters.
Correct me if I got that wrong @devsleeper !
Are you grabbing the proxy for another user?
The technique is described here - https://help.getbraincloud.com/en/articles/3631086-how-do-impersonate-a-user-using-the-braincloud-api -- and is commonly used in multiplayer scenarios when attempting to update the stats of other players after a match.
Could that be what is happening?
(Though admittedly it doesn't look like such from your code).
If you message into our support chat system with your appId and profileId (and timeframe for when this last happened) we can check our loggs and see if we can figure out what is happening.
Hi @PJ ,
Your usage of lobbies is exactly why we added the concept of long-lived lobbies. (Admittedly it wasn't part of the original use case - which is probably why some of the documentation doesn't seem to properly reflect that usage <-- we'll review that).
So - needless to say - keep going as you are - and reach out if you hit issues!
Happy coding!
Paul.
Hi @devsleeper - if you contact us through the chat widget we can go through your logs with you and see if we can get to the bottom of this. Thanks.
For what its worth - plenty of apps on brainCloud are using Photon - so I would expect it is possible... (though as you say - our webhooks are a single route each. As @JasonL indicates - you should be able to indicate the different functions via a parameter?)
Hi @PJ ,
Have you seen our RoomServerDevTool? https://github.com/getbraincloud/braincloud-roomserver-devtool
It allows you to setup your local workstation as a remote "Room Server" -- and then you can run and debug the server remotely. Basically brainCloud will attempt to launch a server to your workstation.
Paul.