Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by samvilm · Feb 04 at 10:46 AM · cheat

Help with playfab

I'm trying to use playfab to stop people cheating on my game. My idea is to use playstream events to see if the player survived a round for long enough to actually achieve the score he is claiming. And maybe I can even use playstream to record the score every time the player gets a coin(?). Please tell me if this doesn't make sense.

Problem, I can't work out how to set this up on playfab. I followed a tutorial and have set up the player login. But from there on I'm stuck. Can someone walk me through it in detail or direct me to a good tutorial please?

Thanks a mil

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Captain_Pineapple · Feb 04 at 01:35 PM

Hey there,

i am not sure if you are on the right track here...

From your question i'd assume that your game is a single player game. Is that correct? If this is the case then you basically have lost in that regard. While you can take measures to make sure that it is more difficult to cheat you cannot prevent it 100%.

In case you have indeed such a setup then Playfab will not help you as it'd still work with data that comes from the client/player which can not be trusted to be correct. Think of it like this: If a player managed to mess with your game that they can locally change the amount of coins they got then what stops them from sending wrong data to playfab?


Let me know if that assumption is correct.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image samvilm · Feb 05 at 11:51 PM 0
Share

It is a single player game. However, the way I understand playstream works is that its a type of analytics. I could write a custom event and track when it gets triggered. Would it be possible to fake analytics? I got the impression from playfab that its a solid way of stopping cheating.

Just to reiterate, the main things i would track are game start and end, but maybe also each time the player gets a coin as opposed to how many coins they have collected.

avatar image Captain_Pineapple samvilm · Feb 06 at 01:09 PM 0
Share

as i said: In general all outgoing data can be faked. A playstream event is nothing else but an outgoing message from your client to playfab. Playfab will always just be able to deter$$anonymous$$e if someone is playing for real or not if we assume that the inco$$anonymous$$g data is not being tampered with. But as soon as you can have any form of gain from more coins someone can find a workaround.


I mean if i understand you correctly your idea would be to basically send a signal each time a player earns a coin and the for example check if that many coins were gainable in that level. But that in itself yould not be safe as people could fake the information being sent...

In the end you have to follow the one simple rule: You can't trust any data that the client produces

avatar image samvilm Captain_Pineapple · Feb 07 at 12:03 AM 0
Share

right I hear that. How about checking the start and end time of the game to see how long the player survived. Can that also be faked?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

134 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

XOR+ random Anticheat 0 Answers

Count time when the game is not running (mobile device)? 2 Answers

C# - Race Game Finish-line 3 Answers

Combating cheaters in player hosted multi-player matches. 0 Answers

How to make cheat code system like in GTA? 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges