fionafibration / team-frotress-2

Controls smart sex toys based on kills, Uber, and more in Team Fortress 2
GNU General Public License v3.0
16 stars 0 forks source link

Cannot grab usernames with non-ascii characters #2

Open TemApex opened 9 months ago

TemApex commented 9 months ago

I've tried a few times to get this working but it always seems to hang on "Getting name". There are also a number of warnings about syntax before it starts running, alongside a strange RCONMessage line. Despite Intiface Central being open the whole time it needs me to press enter twice to register, and after around 10 seconds on "Getting name" it disconnects. image

semper-lux commented 9 months ago

Hey,

Did you follow the first step in the set up of the Readme?

Copy config_default.py to config.py and fill out your game executable and console.log paths (console.log will be in tf folder)

If so, could you post your config file?

TemApex commented 9 months ago

I decided to try it again and I figured out what was wrong, it was my username. My username was "☆ Ema", and after removing the star it works fine, seems like something is going wrong when trying to process non-ASCII characters

semper-lux commented 8 months ago

We should look into processing non-ASCII characters in usernames. For now, I will make a note in the readme and update the issue title accordingly!

fionafibration commented 8 months ago

I should be able to change the codec that the RCON functionality is deciding with and hopefully this'll fix it, I don't know exactly what codec TF2 uses or returns so I will need to do some testing, which will be a while because I'm currently out of town, sorry