x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

CardGame : Preventing cheating, howto?

Hello folks,

So i'm making a cardgame like hearthstone, and wanted to know the safest place to store players deck to prevent any clients to read them. That also include a client about his own deck.

Usually PlayerState is a good place to store player's data but from what I read Player States of every clients exist on each individual machines so it shouldn't be the way to go to safely hide data about clients.

I was thinking about storing all decks information on the GameMode.

Any thoughts?

Thanks

Product Version: UE 4.8
Tags:
more ▼

asked Aug 25 '15 at 07:58 AM in Blueprint Scripting

avatar image

Genova
283 21 25 35

avatar image Daniel Ricci Aug 25 '15 at 02:13 PM

I think the question you should be asking yourself is how one would cheat. Usually its easier to solve a problem when it becomes a problem, so can you reproduce this cheating scenario?

avatar image Genova Aug 25 '15 at 02:41 PM

Reading the memory is not an easy task to anyone, but it's doable. Anti-Cheat procedures exist for that very reason.

Planning is always a better solution.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I don't quite understand why you'd want to store other player's cards on each local machine. If it's a networked game, your server code should know and handle all cards, not your clients. Each client should only see and store his own cards.

more ▼

answered Aug 25 '15 at 09:36 AM

avatar image

davek
150 13 9 10

avatar image Genova Aug 25 '15 at 01:59 PM

I never said I wanted to store other's decks on each individual machine. It's quite the opposite.

I don't even want a Client to store its own deck, as someone skilled enough would be able to make a tool to read those datas.

No, what I want is to store every decks in a secure place. And as I asked, maybe the GameMode is the way to go.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question