|
@doggy00 ################ # get how you feel. I actually come from Java, though I was never really good at it. All of my knowledge of that is gone though from sticking with RBX.Lua for so long. |
|
|
Why couldn't you get around it with a RemoteEvent or even a RemoteFunction? Sure, it'd grab the time based on the ROBLOX server's timezone, but you could do some conversions inside the script to get it to display the correct time. I don't see why that wouldn't work. |
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
The client and the website will never directly establish connection through roblox, so the website will never be able to locate the client's city. |
|
|
That's what I mean. Fire a remote function to grab the time from a server-sided server script that returns the time, then convert it in a localscript to the player's timezone. |
|
|
Doing that would still make the request through the server, thus only giving the server's location.
NULL > NIL |
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
I am not sure what you are talking about.
Could you please explain more clearly?
If you want to grab the current player's time, just use tick() in a local script.
If you want to know what timezone the player is in you'd have to compare his time zone to the server's timezone using HT tee pee.
The CITY of the player, however, can not found this way |
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
@SlimeMan22
Exactly. |
|
|
I guess it's just me trying to overcomplicate something simple.
/shrug |
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
? |
|
|
My goal is to find TIME, not LOCATION.
You can see he used a site called timeanddate, which obviously has the time somewhere on a page. In a localscript, invoke a remotefunction that grabs the time of the timezone that the ROBLOX servers are in from the serverscript and returns it back into the localscript. From there you can convert it into whatever timezone you need. |
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
I already said twice that if you just want to find the time of a client just call tick() in a local script and convert that to a time stamp using string.format and some math. |
|
|
That's why I said i'm "Overcomplicating something simple" to which you replied with a question mark.
|
|
DevJoasJoin Date: 2014-12-17 Post Count: 627 |
Aaah ok, I see
I understand what you meant now :D |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
Oh a lot happened while I was gone, lol. |
|
|
I found this really funny :P |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
That's a new way to describe it, thanks I suppose :P |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
Gonna bump this while the forums are more active. |
|
FPSPwnz0rJoin Date: 2011-06-27 Post Count: 2737 |
This is really, really cool
Also really, really creepy
R$1 |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
Thanks! |
|
|
Let's hope the admins are cool about this though. Now getting rid of the IP finding bugs from 2010-2011 was a good call, someone bad would've screwed crap up. However, this doesn't harm anyone. Even if you saved the information this returns, it's not like someone can just call a drone strike on your exact location, especially since it's still off by hundreds of miles in game.
NULL > NIL |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
^ True, it still interferes with personal information but it isn't THAT dangerous because it's still a very broad location. |
|
|
Well, there's a reason HT teepee service can't be used through the client. I do wish that you could IP ban someone from the game with a command that returns no information however, that'd be nice for developers and would not leak any information.
NULL > NIL |
|
doggy00Join Date: 2011-01-11 Post Count: 3571 |
Yeah, but I feel like hackers would be trying to find a way (and would probably be able) to get through any security there and get to the IP.
If ROBLOX were able to make the security strong enough, then this would be amazing and I've actually posted it on S&I before. |
|
Mr_CrunchJoin Date: 2016-07-16 Post Count: 275 |
attempted forking and making it work on a real time roblox server but nope, using a RemoteFunction to return the string from the # ### request just returned -loading- https://www.roblox.com/games/913507438/Creepy |
|
|
You don't need a remote function for that, but roblox servers are usually pretty far off from where the first player is located. Studio testing is very close, however.
NULL > NIL |
|