I don’t know if my response is related to your problem, but:
When you are running that in Studio, yes, it actually gets your information since for Roblox Studio, your Computer is the Server. That should not be a problem if you run it in an actual Game Session using the Roblox Client.
If I’m not wrong, I think I know a service or two that offer geolocation for commercial use for free. I use it for my website to get visitors’ location. However these only give you the Country, not the City, ZIP Code, etc.
I will look into the code later and I will send the name of that service here for the people that want an alternative because I forgot their name.
The previous API host has canceled their FREE SERVICES, and many games are unable to get the Server Location, the tutorial has been updated to continue using the server location in Roblox for free.
Yep! It works pretty well. Though, I’ve ran into some cases where it’s come out with the wrong server location - for instance in an AU server (Australia), it says it’s actually in US (United States).
I’ve been messing around with this for the past few days because my game is literally unplayable for anyone that’s in Europe because every new server is either US or Japan. I’ve tried using this and I’ve made my own aswell, but every server says San Mateo, where Roblox HQ is.
Is anyone else having this issue or am I doing something wrong…?
I know the server defo isn’t San Mateo because I’m in the UK and when I am in a private server the ping is 20ms. And in my actual game, I get 80ms ping then it jumps up to 400ms, then 800ms at least 5 minutes and I’ll disconnect. It’s quite strange as I have tried making region-based servers in my game and the ping is still very high in those servers.