NATION

PASSWORD

Leader name is invalid

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Bluth Corporation
Negotiator
 
Posts: 6849
Founded: Apr 15, 2008
Ex-Nation

Leader name is invalid

Postby Bluth Corporation » Tue Jul 14, 2009 9:54 am

When I try to enter my leader's name on the settings page, I get an error message saying it is invalid.

The leader's name is "Peyton Manning #18." The "#18" is an integral part of his name, just as "Cardinal" is not merely a title but actually part of the name of someone elevated to the rank in the Roman Catholic Church. I realize the octothorpe is a comment delimiter, but couldn't a step be added when sanitizing input to just escape it?
The Huge Mistake of Bluth Corporation
Capital: Newport Beach, Shostakovich | Starting Quarterback: Peyton Manning #18 | Company President: Michael Bluth

Champions of: World Bowl X


You should really be using Slackware

User avatar
Erastide
Retired Moderator
 
Posts: 1299
Founded: Antiquity
Democratic Socialists

Re: Leader name is invalid

Postby Erastide » Tue Jul 14, 2009 10:22 am

How about No. or Num. or even Number?

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Re: Leader name is invalid

Postby Pythagosaurus » Tue Jul 14, 2009 10:37 am

No, the digits are also invalid. I just grafted it onto the code for animals and currency. I'll look at it later and see what should actually be allowed.

User avatar
Kandarin
Diplomat
 
Posts: 869
Founded: Antiquity
Democratic Socialists

Re: Leader name is invalid

Postby Kandarin » Tue Jul 14, 2009 1:41 pm

Roman numerals are your friend here.
I wish I remember who wrote:Games like Nationstates are like a big cardboard box, and there are two kinds of people in the world. The kind who look at the empty void inside the box and ask "Where the hell is it?" and the kind who jump into the box with their friends and make it into a fort, or a spaceship.

User avatar
The Emmerian Unions
Minister
 
Posts: 2407
Founded: Jan 02, 2009
Ex-Nation

Re: Leader name is invalid

Postby The Emmerian Unions » Tue Jul 14, 2009 2:44 pm

I would love to be able to use ' for the leader's name.
The Cake is a lie!
<<Peace through Fear and Superior Firepower>>

STOP AMERICAN IMPERIALISM? America is ANTI-IMPERIAL!
Ifreann wrote:"And in world news, the United States has recently elected Bill Gates as God Emperor For All Time. Foreign commentators believe that Gates' personal fortune may have played a role in his victory, but criticism from the United States of Gates(as it is now known) has been sparse and brief."
For good Russian Rock Radio, go here.
Please note, I rarely go into NSG. If I post there, please do not expect a response from me.
ALL HAIL THE GODDESS REPLOID PRODUCTIONS!

User avatar
Sage Naumann
Lobbyist
 
Posts: 13
Founded: Jul 01, 2008
Ex-Nation

Re: Leader name is invalid

Postby Sage Naumann » Tue Jul 14, 2009 3:54 pm

I dont even have the option to have a leader?

User avatar
The Sedge
Spokesperson
 
Posts: 167
Founded: Sep 25, 2007
Ex-Nation

Re: Leader name is invalid

Postby The Sedge » Tue Jul 14, 2009 4:21 pm

Sage Naumann wrote:I dont even have the option to have a leader?


Its being introduced via issues. So long as you have issues enabled, one will turn up eventually that gives you the option of having a named leader.

User avatar
Corvian
Secretary
 
Posts: 29
Founded: Jul 02, 2009
Ex-Nation

Re: Leader name is invalid

Postby Corvian » Tue Jul 14, 2009 5:11 pm

The sign #, is invalid, all things above the numbers are invalid, so you have to do No. or num, or number, or any variation, but you cant use #

User avatar
Valipac
Ambassador
 
Posts: 1285
Founded: May 08, 2009
Ex-Nation

Re: Leader name is invalid

Postby Valipac » Tue Jul 14, 2009 7:37 pm

Corvian wrote:The sign #, is invalid, all things above the numbers are invalid, so you have to do No. or num, or number, or any variation, but you cant use #

The numbers themselves are also invalid, as explained above. Thanks anyways.
Maredoratica – A Realistic Modern Tech Roleplaying Region
"What is written without effort is in general read without pleasure." - Samuel Johnson

Wiki | Using Satellites in Warfare | BoF 34 Champion
Designer of Ex-Nation Flag | AKA: Kampf

User avatar
Bluth Corporation
Negotiator
 
Posts: 6849
Founded: Apr 15, 2008
Ex-Nation

Re: Leader name is invalid

Postby Bluth Corporation » Tue Jul 14, 2009 8:22 pm

Corvian wrote:The sign #, is invalid, all things above the numbers are invalid, so you have to do No. or num, or number, or any variation, but you cant use #


Had you read my original post in this thread, you would notice that I acknowledged that from the get-go.
The Huge Mistake of Bluth Corporation
Capital: Newport Beach, Shostakovich | Starting Quarterback: Peyton Manning #18 | Company President: Michael Bluth

Champions of: World Bowl X


You should really be using Slackware

User avatar
Linux and the X
Negotiator
 
Posts: 5487
Founded: Apr 29, 2006
Ex-Nation

Re: Leader name is invalid

Postby Linux and the X » Wed Jul 15, 2009 1:51 am

On the subject of invalid characters, is there a reason why letters with diacritics are invalid?
If you see I've made a mistake in my wording or a factual detail, telegram me and I'll fix it. I'll even give you credit for pointing it out, if you'd like.
BLUE LIVES MURDER

[violet]: Maybe we could power our new search engine from the sexual tension between you two.
Me, responding to a request to vote for a liberation: But... but that would blemish my near-perfect history of spitefully voting against anything the SC does!
Farnhamia: That is not to be taken as license to start calling people "buttmunch."

GPG key ID: A8960638 fingerprint: 2239 2687 0B50 2CEC 28F7 D950 CCD0 26FC A896 0638

they/them pronouns

User avatar
Valipac
Ambassador
 
Posts: 1285
Founded: May 08, 2009
Ex-Nation

Re: Leader name is invalid

Postby Valipac » Wed Jul 15, 2009 1:57 am

Linux and the X wrote:On the subject of invalid characters, is there a reason why letters with diacritics are invalid?

I'm pretty sure that it boiled down to them being multibyte characters, although I could be mistaken.
Maredoratica – A Realistic Modern Tech Roleplaying Region
"What is written without effort is in general read without pleasure." - Samuel Johnson

Wiki | Using Satellites in Warfare | BoF 34 Champion
Designer of Ex-Nation Flag | AKA: Kampf

User avatar
Charlotte Ryberg
The Muse of the Westcountry
 
Posts: 15007
Founded: Mar 14, 2007
Civil Rights Lovefest

Re: Leader name is invalid

Postby Charlotte Ryberg » Wed Jul 15, 2009 9:02 am

Looking at the ASCII table, a space, A-Z, a-z and 0-9 are all clearly acceptable but no sign of an "é".

I wonder which character coding system NS is using? ASCII or Unicode?

User avatar
Rejistania
Senator
 
Posts: 3607
Founded: Antiquity
Ex-Nation

Re: Leader name is invalid

Postby Rejistania » Thu Jul 16, 2009 2:14 pm

The Emmerian Unions wrote:I would love to be able to use ' for the leader's name.


I'd love to have a ~ or a helku (combining inverted breve 6below, just in case Hank͜hila Sede, would want to run for office again) as valid characters for a leader's name when I get the issue. *puppy dog eyes*
Last edited by Rejistania on Thu Jul 16, 2009 2:18 pm, edited 1 time in total.
Rejis sjiki, linux sjiki, alari sjiki, korona sjiki!
Forever united, forever free, forever in justice, forever prospering!


"Tekneluru mi'aru mi aji, il'sidekhir'ra mi, lajistas. Mi'ki'vasu kynha'het kijitax." Hank͜hila Sede, first lentine (translation: A dream is only a dream until it is reached. After that, it becomes something trivial)

Headlines from the Na~ovi Nanti: Hetkali election ended in no candidate over 2% hurdle - Syku I Jai fired as coach of Aetaila Seli, youth coach Hea I Juien takes over reins of club - Rising number of fairy penguins in Sumumusumu and neighboring islands


This person is pro-EU and proud of it! They are also a Eurofederalist and want the Federated States of Europe!


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Cojembia, DAMsel 80, Freedomina, Koble Fie, Kyrusia, Namsan, Narvatus, Pigeonalty, Taosun, The Merry-Men, Tourettesia, Tumbra, Turenia, United Gleb States

Advertisement

Remove ads