1 (edited by Bibi 2013-03-24 01:57:14)

Topic: Bug 0.6.2-releasecandidate (server side)

If the player's name is composed of unicode characters, the name is '(1)' on the server. This bug does not appear with the player's clan. Tested on 'Vanilla [xyz]' and 'Vanilla [aze]' servers.
The version of the client does not matter.

Here are the logs of the server:

[514e3a01][server]: player is ready. ClientID=0 addr=x.x.x.x:51867
[514e3a01][game]: Teams are balanced (red=1 blue=0)
[514e3a01][server]: '(1)    ' -> '(1)'
[514e3a01][server]: player has entered the game. ClientID=0 addr=x.x.x.x:51867
[514e3a01][chat]: *** '(1)' entered and joined the red team
[514e3a01][game]: team_join player='0:(1)' team=0
[514e3a13][server]: client dropped. cid=0 addr=x.x.x.x:51867 reason=''
[514e3a13][game]: kill killer='0:(1)' victim='0:(1)' weapon=-3 special=0
[514e3a13][chat]: *** '(1)' has left the game
[514e3a13][game]: leave player='0:(1)'
[514e3a13][game]: Teams are balanced (red=0 blue=0)

2

Re: Bug 0.6.2-releasecandidate (server side)

That's not a bug.
Unicode characters are not allowed anymore within the player names, it's limited to ascii range

https://github.com/teeworlds/teeworlds/ … c2dd2ae7f0

3 (edited by PhOen!X' 2013-03-24 16:20:27)

Re: Bug 0.6.2-releasecandidate (server side)

why not allowed? i have a name with special symbols by UTF-8

I'm a god.

4

Re: Bug 0.6.2-releasecandidate (server side)

Because there is no reason to? It just makes up for freaky nicknames.

Not Luck, Just Magic.

5

Re: Bug 0.6.2-releasecandidate (server side)

What happens to other language players? Cyrillic? I'm english, but I'm concerned some of the communities out there might view this negatively and not adopt the new version when the time comes

6

Re: Bug 0.6.2-releasecandidate (server side)

I dont like names with fancy symbols because it make me jealous because I cant do them.

0.0
MISSINGNO. APPEARED

7

Re: Bug 0.6.2-releasecandidate (server side)

@Phönix:
The commit states, this should prevent utf8 impersonating, which can be done using similar looking letters.


However, I totally agree with goo, this change negatively affects many users of Cyrillic, Arabic or even just of Ümläüts, áçèntş, ø, æ, … . At the very least, each Alphabet should be completely included.
And considering Teeworlds doesn't even have an account system, blocking utf8 impersonating seems kind of silly to me.


@Lachn007:
Don't be jealous, look up the symbols online and paste them into your config ;-)

8

Re: Bug 0.6.2-releasecandidate (server side)

For example of impersonating : https://github.com/teeworlds/teeworlds/issues/1036

9

Re: Bug 0.6.2-releasecandidate (server side)

needs wrote:

For example of impersonating : https://github.com/teeworlds/teeworlds/issues/1036

Thanks for the link, especially the “'regate' called for vote to kick 'regate'” seems problematic. Myself, I would surely vote “Yes”, to get rid of that “funvoter”.

But shouldn't a good solution just treat similar looking characters as the same? That may be more difficult to implement though. (One needs large tables of “forbidden” Symbols)

A easy solution would just unblock the Unicode blocks used by other Alphabets.