Lurker News

Comments (257) 78 threads

Show all comments

Showing thread 53 of 78

ape41 reply#
I am missing something. It started me in Ireland - I am in North America
adamlynch1 reply#
It must not have been able to detect where you are located. You can zoom out and click/tap the map to choose the location. And it'll remember that location next time.

It defaults to Ireland in this case because I'm Irish.

ape41 reply#
Thanks. Using Firefox on Windows laptop, FYI.
adamlynch2 replies#
Thanks. It's a third-party server-side API I use so it would be just based on your ID address I think. You can go here to see where it thinks you are: https://cloudflare-pages-geolocation.pages.dev. However, this can change if you reload it minutes apart or if you turn on/off WiFi, etc. It's not 100% reliable
ape41 reply#
That give me a very accurate location! Not using any VPN, etc.

Continue this thread — 1 reply

zamfi3 replies#
I was also started in Cork in-game, while this link showed me the right location.

I think your integration may have a bug?

adamlynch1 reply#
Maybe. It uses the geolocation information Cloudflare provides. In general, it isn't extremely accurate and it doesn't always return the same location, so this doesn't surprise me too much.

If it consistently works in one and not the other (at the same point in time), then the only difference I can think of is that Back Of Your Hand uses their "edge handlers" / "functions" and I made that other URL with their "workers". Hmm.
---
Maybe I could inform the user somehow when it cannot find a location at all. I really want to avoid a browser popup asking for the user's location though

slobotron1 reply#
Submitted lino includes hardcoded location, maybe that's what's tripping people up?

Continue this thread — 1 reply

AussieWog931 reply#
Same here. Cloudflare link gives me a pin accurate to a couple of hundred metres, the link in the submission takes me to Ireland.

Continue this thread — 1 reply