Signup Now
Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48
  1. #41
    Free User madness's Avatar
    Join Date
    Nov 2014
    Posts
    19
    Reputation
    13
    Rep Power
    0
    I dont know if its something wrong with the function or with my configuration(running on a vps with UTC -3 ) but sstime() doesn't return the correct time for me:

    print(time(sstime()))

    =
    01:52:53 6:07:07

    print(time(cettime()))

    =
    02:30:10 4:30:10

    And as i got to imba post on this thread about the same problem i ran the same test you asked him:
    print(time(tosec(os.date('!%X')) + tern(math.abs(os.date('*t').yday - 187) < 46, 7200, 3600) % 86400))

    =
    01:55:49 5:55:49

    EDIT: I just took a look again and with some fast tests with the time functions of the library(really fast so i didn't gave much thought to the logic, may be a completely wrong approach) it seems to me that the problem is actually on cetoffset() function, i removed the utcoffset() from the return and it worked as expected.
    Last edited by madness; 10-14-2015 at 07:20 AM. Reason: Correcting logic

  2. #42
    Free User madness's Avatar
    Join Date
    Nov 2014
    Posts
    19
    Reputation
    13
    Rep Power
    0
    @Raphael maybe you didn't looked at the previous post or you did before i edited so i'm just tagging you in...

  3. #43
    Free User
    Join Date
    Jul 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    collect loot floor to bp...bro any please =) <3

  4. #44

  5. #45
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,440
    Reputation
    283
    Rep Power
    27
    Library Updated!
    RaphSeller
    PayPal Instantaneous Reseller


    raphseller.com

  6. #46
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,669
    Reputation
    73
    Rep Power
    26
    Quote Originally Posted by Raphael View Post
    Library Updated!
    Boa!


    Visit:
    (◣_◢)

  7. #47
    Free User albaxin's Avatar
    Join Date
    Dec 2013
    Posts
    128
    Reputation
    12
    Rep Power
    21
    What is the functions of this library? I'm kind of new to script making xD, trying to learn how to make my own

  8. #48
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,440
    Reputation
    283
    Rep Power
    27
    Library updated.
    RaphSeller
    PayPal Instantaneous Reseller


    raphseller.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •