question

pierrealexandre avatar image
pierrealexandre asked

Issue with Country/Region on Players

Hello everyone

We had noticed connection problems on players located in Bangladesh, Pakistan & Algeria due to a problem retrieving their Geo Ip Info for tracking.

To test our internal fix, we "simulated" connections in these three countries using two VPNs (Nord VPN & Proton VPN), however, Playfab tagged our connections in different countries than we expected.

Nord VPN Connection to a point in Algeria: Country/Region set to Spain Connecting to a point in Pakistan: Country/Region set to UK Connect to a point in Bangladesh: Country/Region set to Canada

Proton VPN Connecting to a point in Algeria: Country/Region set to Czechia Connecting to a point in Pakistan : Country/Region set to Pakistan Connect to a point in Bangladesh: Country/Region set to Brazil

After checking various IP address location sites, we noticed that ipapi.com returns the same location error (unlike ip.me & ipapi.co, which return the correct country).

6961-image-2024-04-04-154313764.png

I would therefore like to know how Playfab defines the "Country/Region" part of a player's Overview? In this way, we will adapt our solution to the situation and avoid creating false data in our tracking.

Thank you in advance for your future replies

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

PlayFab identifies the country part based on the IP address. In your case, since you are using a VPN, the IP address should be the VPN server IP address. If the IP address and location in the "player_logged_in" event do not match, please provide your TitleId and the PlayFabId of the player in question.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pierrealexandre avatar image pierrealexandre commented ·

Hello

Here's the information requested :

  • TitleID : E2A4

  • Title player account ID : 92E3014E558140EE

  • Master player account ID : E852BF52B5EBFC0E

  • IP used : 36.50.238.15

Thanks again for your research and sorry for taking so long to reply.

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha pierrealexandre commented ·

IP geolocation lookups work by using one of the industry-standard databases to perform an IP-to-geolocation lookup. While these data tables are highly accurate, due to the frequent buying and selling of blocks of IP addresses, there are always a small number of IPs that resolve to their previous locations and therefore report the incorrect locations. These data tables are continually updated to help resolve this situation. Overall, accuracy is pretty good in most areas, but it won't be 100%, and you need to be aware that this will occasionally happen.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.