playMaker

Author Topic: System Date Time  (Read 106 times)

Schleckenmiester

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
System Date Time
« on: September 17, 2019, 09:19:39 PM »
Hey,

I'm making a game on android and I'm making a sorta Pet Hotel tycoon, but the Get System Date Time action is crucial and it doesn't seem to work on mobile. It works on PC just fine but when I open my app on my phone nothing's going through. Is there a fix for this?

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: System Date Time
« Reply #1 on: September 18, 2019, 09:35:40 AM »
It's possible this action is only meant to work on a computer.
You may need to access the native functions of the Android phones and tablets and this might require acquiring a plugin or adding a cs script somewhere in your project and call its method.
Also, if getting time is important for your game as to deliver daily rewards, you absolutely need to use an external server to ping otherwise the user can trick the game.
Now this sounds complex but there are many solutions out there that actually provide easy ways to buy an almost already set up game server space with very setup required. You'll have to subscribe to a monthly payment though.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14480
  • Official Playmaker Support
    • View Profile
Re: System Date Time
« Reply #2 on: September 20, 2019, 03:12:38 AM »
Hi,

 system date time works on mobile.

 can you make a simple scene to output the raw result of that action? what do you get?

Bye,

 Jean

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: System Date Time
« Reply #3 on: September 21, 2019, 03:22:20 AM »
Maybe the problem he has in one phone in particular?