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"

Mobile: Get Date/Time from a server

I am currently working on a mobile game that forces players to wait a certain amount of time until they can play again. I am using the node "Now" to get the current Time from the device. But the system time can be set forward manually. How can I prevent that type of cheating? How do I create a server that is refreshing the Date/Time every second? Or are there public "Time Servers" which I can use? How can i access that server in blueprints? Do I have to use C++?

Thank you so much for any kind of answer that points me in the right direction!!

Product Version: UE 4.21
Tags:
more ▼

asked Jan 26 '19 at 05:09 PM in Using UE4

avatar image

Tiefsignal
11 2 8

avatar image Aleksandro Jan 27 '19 at 12:45 PM

having similar cheting issues in my game;). I have made a bool variable in my save Slot, which is set to true when you click on the present, therefore you Need to Restart my game and on Event begin Play i set the value to false again. It's not a solution- it's just another obstacle.

avatar image Tiefsignal Jan 27 '19 at 01:21 PM

Thank you for showing me this obstacle :) I thought about another obstacle (Or maybe you have already included this): Most players who cheat this way will reset their device time to the present after they have gained their advantage in the game. Therefore you could check if the time they are playing is earlier than the timestamp they have made while cheating. So you could then take the advantage back from them. But still this won't prevent cheating. But at least they need to have a wrong time on their mobile device.

I was really surprised when i looked at big titles like Candy Crush. They don't have a server as well for their Live System. I was able to cheat in candy crush, just by setting the time forward. So this is just a thing we have to live with?

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

0 answers: sort voted first
Be the first one to answer this question
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