Ask a Question

Ask a Question
Answered

Message.timestampMillis formatting

How do you convert a Message.timestampMillis from long to an easier-to-parse format like DateTime in Beamable Chat?

Answered

Class level static variable

If I have a class level static variable in my microservice, is that static value global to all game clients calling the microservice, or is it unique to each client calling the microservice? For example, let's say I have a static class level variable that incremented every time a microservice method is called. If player A (client 1) calls 1 function, and player B (client 2) calls 2 functions, would the value be different for each player, or would it be a global value?

Answered

Endpoints to pull manifest / checksums

I'm working on a realm data diff tool that has this criteria

Answered

Connection Time Out with Server Shard?

Hello,

Answered

Failing microservice builds

How can I understand why my microservice build fails? Specifically, there are linkage errors (as though referenced assemblies aren't copied), though in the build folder those assemblies are pulled in. For all the types that I load from manually referenced DLLs, I get an error during build, saying that the type is not found. It used to work, and I think that this problem presents any time I push the microservice to the server, but not during local builds.

Answered

Prevent same account log in on different devices

I want to prevent players from logging in on multiple devices and playing the same account at the same time. Any good solutions?

Answered

Deleting baked content

Hi Beamable! I tried baking beamable content and now I want to reset it (download all content from server). Will simply deleting bakedContent.bytes do the job?

Answered

NullReferenceException when accessing a storage db

Every once in a while, after starting microservices locally, they return a NullReferenecException whenever they try to access a storage db with Storage.GetDatabase() (which is pretty much all the time in this case). Locally this usually goes away after restarting them a couple times. Deployed microservices keep doing that though. Any idea what could be going wrong?

Answered

ApplyToken and UpdateUserData

When do you use ApplyToken and UpdateUserData? Or should we be using just one and not the other?

Answered

Microservice randomly stopping

Is it possible to get more logs from the microservice or connect to a container? My microservice stopped starting (after adding too much code?), if I change the base image from 6.0-alpine to 6.0 it starts but seems to be crashing. The local container works fine.