Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot grab usernames with non-ascii characters #2

Open
EmApex opened this issue Dec 14, 2023 · 4 comments
Open

Cannot grab usernames with non-ascii characters #2

EmApex opened this issue Dec 14, 2023 · 4 comments

Comments

@EmApex
Copy link

EmApex commented Dec 14, 2023

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
Copy link
Collaborator

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?

@EmApex
Copy link
Author

EmApex commented Dec 17, 2023

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
Copy link
Collaborator

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!

@semper-lux semper-lux changed the title Numerous errors and eventual hang Cannot grab usernames with non-ascii characters Dec 29, 2023
semper-lux added a commit that referenced this issue Dec 29, 2023
Noting incompatibility with ascii-characters in username. See Issue #2
@fionafibration
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants