question

unregistered33 avatar image
unregistered33 asked

Update player statistics via server

Firstly, I apologize if my question is already on the forum. I didn't find a clear answer. Please take a look at my diagram. If this is correct, please tell me what I need to implement on the game server to update player statistics? Special authorization or something else?

10 |1200

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

Seth Du avatar image
Seth Du answered

I am not very familiar with Photon Bolt, but according to the diagram, the major difference is when to update the statistic.

In terms of this question, I believe the second method is better. However, since you are using a dedicated hosted server, we can assume it is secure, which means there is no need to use Cloud Script to update the statistics, and you may call Server API UpdatePlayerStatistics directly in the server instance when the match is finished.

Cloud Script function will be useful when there are not hosted servers, while in your scenario, the server can handle the update process.


1.png (45.3 KiB)
1 comment
10 |1200

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

unregistered33 avatar image unregistered33 commented ·

Thanks a lot, SethDu! Clear answer and very helpful for me!

0 Likes 0 ·
unregistered33 avatar image
unregistered33 answered

Thanks a lot, SethDu! Clear answer and very helpful for me!

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.