question

contato avatar image
contato asked

Hacks - Players are able to add coins for themselves, even with the option "Allow client to add/subtract virtual currency" disabled.

Hi, I'm having some issues with players being able to hack the game and add coins to them. The option that allows the client to add or remove currencies through the client api has been disabled. However, some players are still managing to add coins. I would like to know the best way to avoid these types of hacks. To add coins, we create a call to the cloud script which is passed a hash that identifies the value in coins to be added. This hash is done with a key that is decrypted in cloud script.

apisCloudScript
playfab-api.png (33.0 KiB)
10 |1200

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

1 Answer

·
Neils Shi avatar image
Neils Shi answered

You have to write cheat checking logic into the script, if you want to have one that adds VC. You will need to write cheat checking logic into the script to prevent cheating.

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.