Closed pg9182 closed 1 year ago
i'm not 100% if i'd take a pr for this atm, not entirely certain, but for approach you'd likely want to just make another field in the server struct for it and add a new squirrel func for accessing it on client
i definitely think the appropriate approach is making it a seprate field. as bob said, this requires a new field in the server struct and a new squirrel func, plus some updates to the serverbrowser squirrel.
i would be willing to contribute the c++ and Squirrel parts of this, as I've done basically the same already for https://github.com/R2Northstar/NorthstarLauncher/pull/29
@BobTheBob9 what is your reasoning for not wanting a PR for this currently?
I started working on this now. It works by using GeoIP on gameserver IP and adding the geographic information to server list as region
key. On client it's displayed in the in-game serverbrowser replacing the existing (unused) latency column.
1 year later and this should be fully implemented since https://github.com/R2Northstar/Atlas/commit/f4fefa65ec1932056082d69d1bd827afbcb88174 on Atlas and v1.11.0
on client.
It would be quite useful to show country information for servers on the list, either in the description or the list.
This would involve:
@BobTheBob9, would you accept a PR for this, and if so, which approach would you rather take for showing the info?