|Anonymous | Login | Signup for a new account||2021-11-27 01:53 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003894||Zandronum||[All Projects] Suggestion||public||2021-08-05 15:08||2021-11-17 08:08|
|Target Version||3.1||Fixed in Version||3.1|
|Summary||0003894: Allow servers to present their country to launchers|
|Description||Many launchers display a country flag next to servers in their server list. Currently, they use IP geolocation to determine which country the server in - but this method is often inaccurate: for example, some geolocation services detect Blue Firestick's current host as being in France, despite being in the UK. Indeed, our previous host used to be detected by Doom Explorer as being in the US - an entire ocean's distance!|
I propose that Zandronum allow server hosts to set their server's country themselves, so that hosts can ensure their servers appear as in the correct location.
This would involve adding a new sv_country server CVAR. I suggest this CVAR accept ISO 3166-1 alpha-3 country codes - as Doomseeker and doomlist.net already use this format for their flags. In addition, the CVAR could accept two special values, "unknown", which tells the launcher to display a generic unknown flag, and "automatic", to tell the launcher it should attempt IP geolocation. "automatic" should be the default value for this CVAR.
This would also require the addition of a new field to the launcher protocol, which can simply contain three characters:
* If the value of sv_country is three characters long, send the uppercase value of the CVAR. If the value is not a valid country code, or the launcher is missing the flag for that given country, it should display the unknown flag (as a result Zandronum won't need to verify that the value of sv_country is a valid country code)
* If the value of sv_country is "automatic" (case insensitive) then this field's value should be XIP, and the launcher should attempt geolocation. If geolocation is unimplementated, disabled, or fails, it shoud display the unknown flag
* Otherwise, send XUN, and display the unknown flag
The ISO 3166-1 alpha-3 reserves any country codes within the range XAA-XZZ so we can safely use these for special values.
|Additional Information||GoldSrc and Source engine games have been doing something similar forever, with Garry's Mod doing exactly as I propose here.|
I can't see this causing issues for players, even if a host lied about their server's location, the latency when in-game might reveal that. Launchers could possibly offer the option to always use geolocation if a player distrust hosts enough.
Torr Samaho (administrator)
|Sounds reasonable to me.|
|3.1 now allows the server to choose their country with the new CVar "sv_country". It's also available in the latest unofficial 3.1 beta build: 200702-2143.|
|Marking this as resolved as everything's done and working on Zandronum's end - now all we need is for server browsers to implement this feature...|
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
|Supporters:||No one explicitly supports this issue yet.|
|Opponents:||No one explicitly opposes this issue yet.|
|2021-08-05 15:08||DrinkyBird||New Issue|
|2021-08-08 20:03||Torr Samaho||Note Added: 0021701|
|2021-09-08 02:22||Kaminsky||Note Added: 0021755|
|2021-09-08 02:22||Kaminsky||Status||new => needs testing|
|2021-09-08 02:23||Kaminsky||Product Version||=> 3.1|
|2021-09-08 02:23||Kaminsky||Target Version||=> 3.1|
|2021-09-08 02:24||Kaminsky||Product Version||3.1 => 3.1-beta|
|2021-11-17 08:08||DrinkyBird||Note Added: 0021835|
|2021-11-17 08:08||DrinkyBird||Status||needs testing => resolved|
|2021-11-17 08:08||DrinkyBird||Fixed in Version||=> 3.1|
|2021-11-17 08:08||DrinkyBird||Resolution||open => fixed|
|2021-11-17 08:08||DrinkyBird||Assigned To||=> DrinkyBird|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2021 MantisBT Team|