Upgrade timer - clash of clans like

Get help using Construct 2

Post » Wed Apr 19, 2017 11:57 am

tldr.: Can construct somehow get server time? Or time from some other source?

Hello,

I'm trying to rebuild my tamagotchi-like f2p game and add premium currency, that can boost and speed up procces of upgrading. I'm using similar system as clash of clans, upgrades that lasts for days when you are high level. My problem is, that anyone can manipulate their local time and effectively cheat and skip whole upgrade proess.

I was searching the forums but without any luck. There is plenty of info and plugins for using local time, but I can't use those if I want to monetize the game.

Thanks for any info
B
8
S
1
Posts: 27
Reputation: 1,029

Post » Tue Apr 25, 2017 2:19 pm

Any ideas? :)
B
8
S
1
Posts: 27
Reputation: 1,029

Post » Tue Apr 25, 2017 4:27 pm

You can set up a time server with the multiplayer plugin. Connect to an always on host, which sends the servers Unix time.
Mistakes were made.
B
49
S
24
G
107
Posts: 1,581
Reputation: 60,303

Post » Thu Apr 27, 2017 7:24 am

Thanks, I did not realize multiplayer plugin can do something like that.
B
8
S
1
Posts: 27
Reputation: 1,029


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2 and 14 guests