Page 1 of 1
Is it possible to remove the "M2" label in metaserver lobbies?
Posted: Sun Dec 17, 2023 2:07 pm
by Thalander
When you sign into a Myth 2 metaserver lobby, there's a "M2" label that conflicts with the rank icon, if there is one. Since the only active metaservers are for M2 these days anyway, is it possible to remove the M2 label?
Re: Is it possible to remove the "M2" label in metaserver lobbies?
Posted: Sun Dec 24, 2023 6:31 pm
by Myrd
I think the metaserver might have control over it. Here's the relevant code:
Code: Select all
if (player_data->player.version && (player_data->flags & _player_show_version_flag))
So if the server doesn't send the _player_show_version_flag on the player data it sends, or sets the version to 0, it won't be shown.
Re: Is it possible to remove the "M2" label in metaserver lobbies?
Posted: Sun Dec 24, 2023 11:36 pm
by Thalander
Thanks, Myrd, much appreciated. I didn't see where _player_show_version_flag should be sent as it's not mentioned in the GoS codebase, and I couldn't figure it out from the C codebase either, but setting the game version to 0 in the player data packet worked great.