generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re:

Previous Thread :: Next Thread 
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:21 PM
I'm using someone's Time API and at first it seemed to work great, but now that I've implemented it into 2 TextLabel's to show the date and the time, here is the script:

local t = script.Parent.Time
local d = t.Parent.Date

function hi(zone)
local timeapi = game:GetService("HttpService"):GetAsync("http://www.timeapi.org/"..zone)
return {
year=string.sub(timeapi,1,4),
month=string.sub(timeapi,6,7),
day=string.sub(timeapi,9,10),
hour=string.sub(timeapi,12,13),
minute=string.sub(timeapi,15,16),
second=string.sub(timeapi,18,19),
}
end

while wait() do
d.Text = (hi("est").month.."/"..hi("est").day.."/"..hi("est").year)
t.Text = (hi("est").minute..":"..hi("est").second)
end

I checked my FN+F9 output and it comes up with an error in Orange saying "Trying again" and then eventually ends up with err=0x223 or something along those lines.

Any help or ideas?
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:21 PM
The error is: err=0x2EE2
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:23 PM
bump
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:27 PM
bumpy bump
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:29 PM
bumpity bumpy bump
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
18 Nov 2014 02:38 PM
...bump
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
18 Nov 2014 03:01 PM
Are you trying to get the local time?
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
18 Nov 2014 03:13 PM
Yeah good idea sending 1,800 requests a minute
That's why you're getting an error
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
19 Nov 2014 12:44 AM
Maybe you should only do one request and count time from it.

This is a signature. Recommended username: GorgeousGskw
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
19 Nov 2014 01:38 AM
9,000 requests a minute*
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
19 Nov 2014 01:45 AM
Are you factoring latency in?
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
19 Nov 2014 12:33 PM
Well I fixed it now, I mean it still throws an odd error when it requests every minute but other than that it works perfectly; it doesn't break it just flags up an orange error :P
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
19 Nov 2014 12:38 PM
People are too dumb to identify the number of days, weekds, months, and a full year to calculate the proper time.
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
19 Nov 2014 12:41 PM
Problem is you just spelt weeks wrong, but thanks.
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
19 Nov 2014 12:44 PM
I didn't spell it wrong; it was a mere typo. Stop embarassing yourself.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image