Unity3D Daily or Hourly Reward - Daily Event System using Internet/Server Time

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии •

  • @RawZebra
    @RawZebra 4 года назад

    Thank you sooooooo much!
    You saved me!

  • @alax155
    @alax155 3 года назад +2

    What if I want to use the actual remaining time instead of the circle? I can't figure it out. Where can I find the remaining time in the code to use it in a timer?

  • @rastazorastra1772
    @rastazorastra1772 2 года назад +1

    How can I have it to the daily reward when claimed triggers another prefab with a script?

  • @JBtheWARVillain
    @JBtheWARVillain 2 года назад

    Could I use this Daily Event for multiple daily events (eg: Waypoints on a Map to be active/inactive), to be more precise, the TimeSpan.Parse only displays the same time on the TextLabel for all GameObjects in the scene, where each object is supposed to display different (their own) times for event start time.
    Any help or suggestions be appreciated

  • @_minke
    @_minke 3 года назад

    Very usefull,thank you !

  • @stevewillsmusic607
    @stevewillsmusic607 4 года назад +3

    Hi! Thanks for the tutorial, but Plz am having issues with the reward system codes . The code on your site is giving me errors, plz can you review the code again. Especially the first and second if else statement under updateTime. It’s giving me an error saying Cannot be converted from String to Int.

  • @joysonst
    @joysonst 3 года назад +1

    I uploaded the PHP code to a server, and the text is retrieved. but the text retrieved isn't the time or date, it's showing some HTML header, 403 forbidden error and all. Is there a way to fix this?

    • @ikee_2947
      @ikee_2947 2 года назад

      Hi! I'm having the same issue. Have you solved it?

    • @joysonst
      @joysonst 2 года назад +1

      @@ikee_2947 Nope. Now I'm using client side time checking form the device itself.

    • @ikee_2947
      @ikee_2947 2 года назад +1

      @@joysonst Okay thanks.

    • @veinsofgames2674
      @veinsofgames2674 2 года назад

      You have to use explode() instead split()

  • @aminferecov4425
    @aminferecov4425 4 года назад

    Very good voice 👍

  • @musictalez3323
    @musictalez3323 4 года назад +2

    hello, i have a question, what happend when the player are offline

    • @OnlineCodeCoaching
      @OnlineCodeCoaching  4 года назад

      It still works, if they go offline then the timer will check the time when they are back online and see if the reward should be available based on how long they been offline

    • @cassinodobentao2039
      @cassinodobentao2039 4 года назад

      @@OnlineCodeCoaching My code very well in unity in pc, but when i trying in a real android phone it doesent, the time progress not move, and (I put a 10 seconds) if i wait for click again, becouse the button is inactive, dont active back after the 10 secs. Can you help?

  • @cornchowder_channel
    @cornchowder_channel 3 года назад

    Thank you man!

  • @veinsofgames2674
    @veinsofgames2674 2 года назад +1

    Hi! servers are down!! :(

  • @romeo4333
    @romeo4333 3 года назад +2

    For me its stuck at ''Checking the time'' does anyone knows a fix?
    Edit: i literally did nothing but its fixed

    • @romeo4333
      @romeo4333 3 года назад +2

      Im also having this error:
      NullReferenceException: Object reference not set to an instance of an object
      DailyReward1.setProgressWhereWeLeftOff () (at Assets/DailyReward1.cs:117)
      DailyReward1._configTimerSettings () (at Assets/DailyReward1.cs:96)
      DailyReward1.updateTime () (at Assets/DailyReward1.cs:73)
      DailyReward1+d__20.MoveNext () (at Assets/DailyReward1.cs:148)
      UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
      Maybe someone has the same?

  • @mrahmedfuad2656
    @mrahmedfuad2656 4 года назад

    I love it 🌷

  • @asiasphoenixes
    @asiasphoenixes 2 года назад

    Thank you so much!

  • @logiclabsgame
    @logiclabsgame 4 года назад

    Hello. How can i show the remaining time. Thanks

  • @Pezicodes
    @Pezicodes 3 года назад

    it's not letting me get the package for free

  • @HexerMain
    @HexerMain 4 года назад

    Is the mentioned Asset from the Asset Store needed to create this system? Cheers!

  • @syednaqvi6561
    @syednaqvi6561 4 года назад

    HI,
    THIS VOUCHER NOT WORKING ASV-U4PX-N7PD-Q6NH-EADY-RKLG

  • @isaacrivera7808
    @isaacrivera7808 4 года назад

    Thanks for the tutorial, this video help me a lot to solve this part of my game!!! Improve your audio, the microphone very close of your mouth create annoying noise. :P

  • @pixelvalue5142
    @pixelvalue5142 3 года назад

    Why it's not working for me 🥺

  • @VEOdev
    @VEOdev 3 года назад

    this will not work , because its based on playerprefs .. if you delete the game cash it will reset everything

  • @crashzzalex9218
    @crashzzalex9218 2 года назад

    Don’t work your sites