question

sickshark avatar image
sickshark asked

Live Events without CDN

Hello! We read the Unicorn Battle example:
https://github.com/PlayFab/UnicornBattle/wiki/5-LiveOps-Systems-Guide

and it shows how to provide new content to the users.
As for now we can't afford the CDN service, we would like to make simple events like "Today Gems value is doubled" and similar, without pushing new Assets build.
Is this possible ? Do you have any tutorial for making "Gems X2 events" like this?
Thank you!

Push NotificationsContent
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sickshark avatar image sickshark commented ·

Also,
I read from here:https://github.com/PlayFab/PlayFab-Samples/blob/master/Recipes/RegeneratingCurrency/CloudScript.js

That you store the time recurring for each player in a stat?! how is that updated every second?! is not a mess?

0 Likes 0 ·
sickshark avatar image sickshark commented ·

Couldn't click modify answer so I write this comment.
About the timer, seems you use "UpdateUserReadOnlyData"
but where is data stored? You need to pay for this?
Thank you

0 Likes 0 ·

1 Answer

·
Andy avatar image
Andy answered

To your first question, It would absolutely be possible to have an event run through the PlayFab services without using the CDN feature. You'd be responsible for getting the assets down to the clients, but we would store the store configurations and any additional metadata. We don't have a tutorial on exactly that topic, but the getting started guide, especially the section on creating a discounted store, may be interesting: https://api.playfab.com/docs/general-getting-started-1

The data for UpdateUserReadOnlyData is stored on our servers and accessed through our APIs. You don't pay for it for basic usage, but you do pay if you want increased read/write frequency or larger amounts of data storage. I'd encourage you to create a free account and explore what can be done within the free tier limits.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.