-
Notifications
You must be signed in to change notification settings - Fork 29
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
Bad steam name prevents getting nodes #110
Comments
I suggest we detect this and once again display a popup to explain the situation. |
I'm thinking a popup might get annoying, and this is a local issue instead of poisoning the network. I'd like to correct it silently and just throw an exception in the bottom left. What are your thoughts on that? Anything requiring user interaction is going to be an issue for a small percent of the population, whether due to language issues or just apathy/inability. |
This completely breaks DSCM – if the user doesn't fix this, DSCM is completely useless to them. So I don't think this can be too annoying. If a user is annoyed by it, they can just not use DSCM - that will have the exact same outcome. |
Well either way "something" will have to be implemented. Once we do "something", that something may as well be a quiet fix to their name instead of a popup. |
Hello. Here is a little contribution to this issue: I blame the quotes to screw everything up, but you know better I guess. Hope you find it useful. |
After some testing, those odd characters themselves do 'not' cause an issue. The problem comes when they are the first character in a name. Dark Souls translates them as 0x00, 0x00, therefore when the name starts with them the game obviously sees this as a null string. You need to send a name along with your connection packets or else it won't work. |
Can you test the characters 0int mentioned? The question is whether it's only non-bmp characters that trigger this problem or maybe all non-ascii. |
I can later tonight. I specifically worked on the skull character, i If you'd like to test earlier check the latest commit. A name with a 0x00 first character is switched to "Invalid Name".
|
I have now seen two reports of this on the forums:
💀✞Radical Batz✞💀
http://steamcommunity.com/app/211420/discussions/0/358415206079547081/🐆 Black Panther 🐆
http://steamcommunity.com/app/211420/discussions/0/364039531220008335/?ctp=72#c358415103478209273What they obviously have in common is the use of non-bmp unicode characters. I would guess this is the source of the problem, as they are also special in UTF-16, which DS uses for character names.
The text was updated successfully, but these errors were encountered: