skybaks / pyplanet-cup_manager

Competition Management Plugin for Trackmania Pyplanet
GNU General Public License v3.0
6 stars 2 forks source link

$m tag gets ignored by maniaplanet but not by the exporter #40

Closed rocheGit closed 11 months ago

rocheGit commented 1 year ago

When someone has a username with a $m in it, for example "Example$mExample", Maniaplanet ignores it and shows it as "ExampleExample" ingame. The plugin shows it a "Example$mExample" in the results export

Maybe there are other tags that glitch that way, but I didn't encounter them (yet !)

skybaks commented 1 year ago

Hm, im not even sure what m means. Why would someone put that in their username?

rocheGit commented 1 year ago

Sometimes when you mess around with your username or if you don't really know what you do and just try random things you can end up with tags that don't do anything by mistake

I also found this username that broke, but couldn't isolate why it did : $00»$f6Ootje Nack.nl .Smurfin

skybaks commented 1 year ago

I think that one makes sense because color codes are supposed to have 3 values for rgb after the $. I think I'll have to fix this one in pyplanet since the format functions im using is part of pyplanet itself.

skybaks commented 1 year ago

Related to https://github.com/PyPlanet/PyPlanet/issues/1249

skybaks commented 11 months ago

Resolved by https://github.com/PyPlanet/PyPlanet/pull/1268