Screenshot

General Stuff about Armagetron, That doesn't belong anywhere else...
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

z-man wrote:Plus, the new server filters away non-ascii characters in everything that comes from the clients in response to the problems Jonathan and Nemo reported with them. We may make that filtering configurable, though.

The chars get replaced by their non-accented versions mostly or _ if I was to lazy figuring out a good replacement.
This explains why tons of peoples names are getting blanked out...
Image
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

z-man wrote:Plus, the new server filters away non-ascii characters in everything that comes from the clients in response to the problems Jonathan and Nemo reported with them.
The server console output screwed up his display. I don't know exactly what happened, but it needed a reboot. Note that it depends on what it is outputting at.
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hmm. What kinds of characters did you send? Just those above 127 or those below 32? I think the low ones are those that are really dangerous because they are the control characters and are interpreted as such by various terminals.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Anything but 0 from /dev/random. :P
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Ah. Then maybe I make the filter less restrictive to only swallow control chars and we test again, shall we?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Allright, the filter now lets everything above 32 pass. Jonathan: wait for nemo to upgrade before testing again :) And take your time, I'll reopen the SF bug so we're reminded to test this before the release.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

I think it's best to have a more advanced configurable filter for stdout/stderr output. At this time the game itself uses ISO 8859-1, but my terminal is configured for UTF-8. In this case converting (which is not much harder than using a table) and blocking 'bad' characters would be appropriate. But some other may think it is binary (as in: not text) and display it as hex (just as an example - I don't know if anything does this). In that case blocking 'bad' characters and non-ASCII is appropriate.
ˌɑrməˈɡɛˌtrɑn
User avatar
DrJoeTr0n
"On a Roll. Paper wise."
Posts: 815
Joined: Fri Mar 05, 2004 6:49 am

Post by DrJoeTr0n »

Ðr.Jöê TrØn Would this help at all? This is the name I use on the grid
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Dr: Check font_extra.png, I think except the ö and ê, all characters are blank. If you want, you can fill them in (all of the others, too, if possible) and send us an update. They should be in the same order they are in the small font. We'll be happy to include it.

Jonathan: Yes, a console output filter may be a good idea. However, nothing terribly bad happens when you send Latin 1 to a UTF console, right? Of course, you'll get wrong characters (and some will get swallowed), but at least the display won't be corrupted. This is something to do as soon as we have full unicode support, I guess.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

z-man wrote:Jonathan: Yes, a console output filter may be a good idea. However, nothing terribly bad happens when you send Latin 1 to a UTF console, right? Of course, you'll get wrong characters (and some will get swallowed), but at least the display won't be corrupted.
That's true. UTF-8 allows for errors without screwing up. But no 1xxxxxxx char will show up correctly.
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Well, If the user does not want that, he can switch his console to Latin 1. (BOFH attitude at work)
We'll switch completely to unicode, and I guess that implies UTF8-output, sometime in the future. I don't want to spend developer time now that will be certainly obsoleted later.
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Post by Phytotron »

edit: moved to "random screenshots"
Last edited by Phytotron on Fri Aug 12, 2005 3:14 am, edited 1 time in total.
User avatar
TiTnAsS
Match Winner
Posts: 655
Joined: Sun Jan 23, 2005 2:44 am
Location: Reppin the Bay Area!

Post by TiTnAsS »

DrJoeTr0n wrote:My name doesnt show up well on high resolutions? Damn it!
Uhh, joe, its never shown up for me...


Edit: Post is a little late :)..
Damn, it sure has been a while!
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Update :D

Code: Select all

 Player   Ladder Score  Matches Won  Rounds Won  R/M
Player 5    234.245         25           109     4.4
Unfortunately there's ladder tax and such, otherwise I could just leave Player 5 there and use my usual name.
ˌɑrməˈɡɛˌtrɑn
Post Reply