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 feneq · Mar 21, 2014 at 03:32 AM · networkingmultiplayerhostcheathack

Combating cheaters in player hosted multi-player matches.

Hey there,

Posted this on /r/Unity3d as well, just a heads up. I could use some ideas.

I'm trying to come up with a good solution to combat cheating. This is not to be a full-scale cheat solution, maybe in the future but for now I need something relatively simple. Let me explain.

This project is quite small but still, it's important that the game remains competitive and that matches are played fairly. Obviously there will always be cheaters but were trying to take some steps against that. Part of the problem is that it's just not very realistic for our small project to have matches played on a dedicated server. The games will be played 1v1, using matchmaking and one of the 2 players will be selected as host.

I'm wondering if anyone has a solution of there own, it would be great to hear it. Currently I've thought up a solution in which say value A can only be changed by making a request. When the value is changed on one players end, it should then be checked on the other players end to see if the request to change the value on both machines was valid, only after receiving confirmation from the other player will the value be set for both players. I haven't fully designed and thought out this idea but it's an idea I'm playing with at the moment. Any input is greatly appreciated.

Edit: Game is a turn-based card game btw.

Comment
Add comment · Show 1
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 Benproductions1 · Mar 21, 2014 at 04:04 AM 1
Share

Just a note (I'm guessing this card game is some sort of trading card game where cards are gained etc.) unless you have a computer, generally a server, that you are in full control over and have all your games played on that server, there is no way to really prevent any cheating.

Every point where you are trusting the user with information is a "security fault" and can be used to "cheat" in your game. The idea is to generally code as if every piece of information you get from another player is wrong and needs to be checked.

I think this actually belongs on the forums, it's not specific enough for this website.

0 Replies

· Add your reply
  • Sort: 

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

22 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

Related Questions

Unity networking tutorial? 6 Answers

LLAPI, multiple connections 0 Answers

Multiplayer Server Networking- Player Server Hosting 2 Answers

Multiplayer problem 1 Answer

How can I transfer hosts once the current host leaves? 0 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