Is it possible to remove the "M2" label in metaserver lobbies?

Talk about anything here.
Post Reply
Thalander
Posts: 23
Joined: Fri Sep 10, 2004 2:45 pm
Location: York

Is it possible to remove the "M2" label in metaserver lobbies?

Post 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?

Image
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: Is it possible to remove the "M2" label in metaserver lobbies?

Post 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.
Thalander
Posts: 23
Joined: Fri Sep 10, 2004 2:45 pm
Location: York

Re: Is it possible to remove the "M2" label in metaserver lobbies?

Post 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.
Post Reply