Okay I think I got something.
I tried dumping on a player that had it's location accurate, and I got this JSON output:
Code:
{
"city":
{
"geoname_id":
785482 <uint32>
"names":
{
"de":
"Štip" <utf8_string>
"en":
"Shtip" <utf8_string>
}
}
"continent":
{
"code":
"EU" <utf8_string>
"geoname_id":
6255148 <uint32>
"names":
{
"de":
"Europa" <utf8_string>
"en":
"Europe" <utf8_string>
"es":
"Europa" <utf8_string>
"fr":
"Europe" <utf8_string>
"ja":
"ヨーロッパ" <utf8_string>
"pt-BR":
"Europa" <utf8_string>
"ru":
"Европа" <utf8_string>
"zh-CN":
"欧洲" <utf8_string>
}
}
"country":
{
"geoname_id":
718075 <uint32>
"iso_code":
"MK" <utf8_string>
"names":
{
"de":
"Ehemalige jugoslawische Republik Mazedonien" <utf8_string>
"en":
"Macedonia" <utf8_string>
"es":
"Macedonia" <utf8_string>
"fr":
"Macédoine" <utf8_string>
"ja":
"マケドニア旧ユーゴスラビア共和国" <utf8_string>
"pt-BR":
"Macedônia" <utf8_string>
"ru":
"Македония" <utf8_string>
"zh-CN":
"前南斯拉夫马其顿共和国" <utf8_string>
}
}
"location":
{
"latitude":
41.742300 <double>
"longitude":
22.197900 <double>
"time_zone":
"Europe/Skopje" <utf8_string>
}
"registered_country":
{
"geoname_id":
718075 <uint32>
"iso_code":
"MK" <utf8_string>
"names":
{
"de":
"Ehemalige jugoslawische Republik Mazedonien" <utf8_string>
"en":
"Macedonia" <utf8_string>
"es":
"Macedonia" <utf8_string>
"fr":
"Macédoine" <utf8_string>
"ja":
"マケドニア旧ユーゴスラビア共和国" <utf8_string>
"pt-BR":
"Macedônia" <utf8_string>
"ru":
"Македония" <utf8_string>
"zh-CN":
"前南斯拉夫马其顿共和国" <utf8_string>
}
}
"subdivisions":
[
{
"geoname_id":
863900 <uint32>
"iso_code":
"70" <utf8_string>
"names":
{
"en":
"Opstina Stip" <utf8_string>
}
}
]
}
However when I tried dumping on a player that had a wrong location, this was the JSON output:
Code:
{
"continent":
{
"code":
"EU" <utf8_string>
"geoname_id":
6255148 <uint32>
"names":
{
"de":
"Europa" <utf8_string>
"en":
"Europe" <utf8_string>
"es":
"Europa" <utf8_string>
"fr":
"Europe" <utf8_string>
"ja":
"ヨーロッパ" <utf8_string>
"pt-BR":
"Europa" <utf8_string>
"ru":
"Европа" <utf8_string>
"zh-CN":
"欧洲" <utf8_string>
}
}
"country":
{
"geoname_id":
390903 <uint32>
"iso_code":
"GR" <utf8_string>
"names":
{
"de":
"Griechenland" <utf8_string>
"en":
"Greece" <utf8_string>
"es":
"Grecia" <utf8_string>
"fr":
"Grèce" <utf8_string>
"ja":
"ギリシャ共和国" <utf8_string>
"pt-BR":
"Grécia" <utf8_string>
"ru":
"Греция" <utf8_string>
"zh-CN":
"希腊" <utf8_string>
}
}
"location":
{
"latitude":
37.966700 <double>
"longitude":
23.716700 <double>
"time_zone":
"Europe/Athens" <utf8_string>
}
"registered_country":
{
"geoname_id":
390903 <uint32>
"iso_code":
"GR" <utf8_string>
"names":
{
"de":
"Griechenland" <utf8_string>
"en":
"Greece" <utf8_string>
"es":
"Grecia" <utf8_string>
"fr":
"Grèce" <utf8_string>
"ja":
"ギリシャ共和国" <utf8_string>
"pt-BR":
"Grécia" <utf8_string>
"ru":
"Греция" <utf8_string>
"zh-CN":
"希腊" <utf8_string>
}
}
}
What I can see is that when the city is wrong/unknown, it doesn't output the city key/value pair, so basically there's no data about that city. The strange thing is that the module somehow figures out something is missing and replaces the missing city with a random one.'
Here is another wrong one:
Code:
{
"continent":
{
"code":
"EU" <utf8_string>
"geoname_id":
6255148 <uint32>
"names":
{
"de":
"Europa" <utf8_string>
"en":
"Europe" <utf8_string>
"es":
"Europa" <utf8_string>
"fr":
"Europe" <utf8_string>
"ja":
"ヨーロッパ" <utf8_string>
"pt-BR":
"Europa" <utf8_string>
"ru":
"Европа" <utf8_string>
"zh-CN":
"欧洲" <utf8_string>
}
}
"country":
{
"geoname_id":
3194884 <uint32>
"iso_code":
"ME" <utf8_string>
"names":
{
"de":
"Montenegro" <utf8_string>
"en":
"Montenegro" <utf8_string>
"es":
"Montenegro" <utf8_string>
"fr":
"Monténégro" <utf8_string>
"ja":
"モンテネグロ" <utf8_string>
"pt-BR":
"Montenegro" <utf8_string>
"ru":
"Черногория" <utf8_string>
"zh-CN":
"黑山共和国" <utf8_string>
}
}
"location":
{
"latitude":
42.000000 <double>
"longitude":
19.000000 <double>
"time_zone":
"Europe/Podgorica" <utf8_string>
}
"registered_country":
{
"geoname_id":
3194884 <uint32>
"iso_code":
"ME" <utf8_string>
"names":
{
"de":
"Montenegro" <utf8_string>
"en":
"Montenegro" <utf8_string>
"es":
"Montenegro" <utf8_string>
"fr":
"Monténégro" <utf8_string>
"ja":
"モンテネグロ" <utf8_string>
"pt-BR":
"Montenegro" <utf8_string>
"ru":
"Черногория" <utf8_string>
"zh-CN":
"黑山共和国" <utf8_string>
}
}
}