NATION

PASSWORD

Region with accented character in its name

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Region with accented character in its name

Postby August » Wed Jun 16, 2021 3:16 am

A region with an accented character was created yesterday. It appears in the daily dump, but is inaccessible from the website. Interestingly, I was able to found a region by the same name, but subsequent attempts returned the error message "A region by that name already exists." This error message was returned for any name containing any accented character. As it turns out, the same is true for the API--it does not distinguish between any region names containing accented characters. I tried to create a nation with an accented character, and was unable to do so.

Daily dump:
Code: Select all
<REGION>
<NAME>League of Sevéish Nations</NAME>
<FACTBOOK><![CDATA[A league of nations comprised of Sev&eacute;land and all nations that adhere to the Sev&eacute;ish crown.]]></FACTBOOK>
<NUMNATIONS>1</NUMNATIONS>
<NATIONS>seveland</NATIONS>
<DELEGATE>0</DELEGATE>
<DELEGATEVOTES>0</DELEGATEVOTES>
<DELEGATEAUTH>W</DELEGATEAUTH>
<FOUNDER>seveland</FOUNDER>
<FOUNDERAUTH>XABCEP</FOUNDERAUTH>
<OFFICERS></OFFICERS>
<POWER>Low</POWER>
<FLAG></FLAG>
<EMBASSIES></EMBASSIES>

<LASTUPDATE>1623817563</LASTUPDATE>
</REGION>

Image

Image

Image

Image

Image

Call to https://www.nationstates.net/cgi-bin/api.cgi?region=á&q=name+nations+numnations (notice the accented "a," not an "e"):
Code: Select all
<REGION id="">
<NAME>League of Sevéish Nations</NAME>
<NUMNATIONS>0</NUMNATIONS>
<NATIONS/>
</REGION>
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 25691
Founded: Dec 16, 2003
Anarchy

Postby Frisbeeteria » Wed Jun 16, 2021 8:08 am

That's certainly odd. I can see your [region]League of Sevéish Nations[/region] and the original Seveland in their region League of Sevéish Nations, but clicking the region link both gameside and using the mod examination tools simply fails to fill in the region name.

I'm not sure if the problem is the accent, or simply a failure to properly create a region correctly when Seveland first tried it. Regardless, Seveland is almost certainly now existing outside the realm of regions and won't get updated until they move again. We'll have to send them a TG after our admins have had a look at this.

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 25691
Founded: Dec 16, 2003
Anarchy

Postby Frisbeeteria » Wed Jun 16, 2021 8:09 am

Frisbeeteria wrote: [region]League of Sevéish Nations[/region]

Heh. Bug #2 - you apparently can't make a region link in the forums if it has an accented character.

User avatar
Bormiar
Ambassador
 
Posts: 1145
Founded: Mar 25, 2019
Inoffensive Centrist Democracy

Postby Bormiar » Wed Jun 16, 2021 10:46 am

Frisbeeteria wrote:Regardless, Seveland is almost certainly now existing outside the realm of regions and won't get updated until they move again. We'll have to send them a TG after our admins have had a look at this.

If that’s true — and I’m doubtful — this bug could have enormous ramifications on R/D. I was able to replicate it for the nation Twertis, and found identical results. If the nations within such a region never update, jumppoints are now deprecated, and nations (during coups or liberation attempts) no longer have to worry about losing influence or endorsements upon being ejected.

But unless Fris sees something I don’t, Seveland seems to have updated during major (look at the happenings).

User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Postby August » Wed Jun 16, 2021 10:59 am

Bormiar wrote:If the nations within such a region never update, jumppoints are now deprecated, and nations (during coups or liberation attempts) no longer have to worry about losing influence or endorsements upon being ejected.

But unless Fris sees something I don’t, Seveland seems to have updated during major (look at the happenings).
I believe you are correct about the region having updated, but even if it had not, I am not sure this could be used for a practical purpose. It seems like nations cannot move to these regions, nor can they found new ones if one already exists, so a maximum of one nation per update would be able to take advantage of the bug. (Kind of a shame--that could be an interesting mechanic.)

I checked on Seveland again, and the nation page has updated to reflect your test region's name.
Image

The region shard says Seveland is in League of Sevéish Nations. The happenings shard has no idea what to make of this.
Code: Select all
<EVENT>
<TIMESTAMP>1623795181</TIMESTAMP>
<TEXT>@@seveland@@ relocated from %%lazarus%% to %%%%.</TEXT>
</EVENT>
<EVENT>
<TIMESTAMP>1623795181</TIMESTAMP>
<TEXT>@@seveland@@ founded the region %%%%.</TEXT>
</EVENT>
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Nicole Malliotakis
Political Columnist
 
Posts: 4
Founded: Jun 16, 2021
Ex-Nation

Postby Nicole Malliotakis » Wed Jun 16, 2021 11:12 am

This is Tinhampton.

I can confirm that it is possible to move to regions that have characters with diacritics in their names, not just to create them.
Last edited by Nicole Malliotakis on Wed Jun 16, 2021 11:12 am, edited 1 time in total.

User avatar
Bormiar
Ambassador
 
Posts: 1145
Founded: Mar 25, 2019
Inoffensive Centrist Democracy

Postby Bormiar » Wed Jun 16, 2021 11:12 am

August wrote:
Bormiar wrote:If the nations within such a region never update, jumppoints are now deprecated, and nations (during coups or liberation attempts) no longer have to worry about losing influence or endorsements upon being ejected.

But unless Fris sees something I don’t, Seveland seems to have updated during major (look at the happenings).
I believe you are correct about the region having updated, but even if it had not, I am not sure this could be used for a practical purpose. It seems like nations cannot move to these regions, nor can they found new ones if one already exists, so a maximum of one nation per update would be able to take advantage of the bug. (Kind of a shame--that could be an interesting mechanic.)


That’s where you’re wrong. I’ve successfully moved one of Tinhampton’s nations to the region via a recruitment telegram: https://www.nationstates.net/nation=nicole_malliotakis

August wrote: I checked on Seveland again, and the nation page has updated to reflect your test region's name.

The region shard says Seveland is in League of Sevéish Nations. The happenings shard has no idea what to make of this.
Code: Select all
<EVENT>
<TIMESTAMP>1623795181</TIMESTAMP>
<TEXT>@@seveland@@ relocated from %%lazarus%% to %%%%.</TEXT>
</EVENT>
<EVENT>
<TIMESTAMP>1623795181</TIMESTAMP>
<TEXT>@@seveland@@ founded the region %%%%.</TEXT>
</EVENT>


That happenings thing is really odd. I’ve also put a tag on my invisible region and found that it does show up on the tag list.

User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Postby August » Wed Jun 16, 2021 11:18 am

Bormiar wrote:That’s where you’re wrong. I’ve successfully moved one of Tinhampton’s nations to the region via a recruitment telegram: https://www.nationstates.net/nation=nicole_malliotakis
Fascinating! Is that the only way you have been able to move into the region? Can you eject Nicole Malliotakis using Twertis?

Edit: I regret not testing the Region Control page while I was the founder this morning...
Last edited by August on Wed Jun 16, 2021 11:19 am, edited 1 time in total.
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Nicole Malliotakis
Political Columnist
 
Posts: 4
Founded: Jun 16, 2021
Ex-Nation

Postby Nicole Malliotakis » Wed Jun 16, 2021 11:21 am

August wrote:Is that the only way you have been able to move into the region?

Quite possibly - I cannot move into Èshsb by going to its region page like I can for a region with a name that does not contain any diacritics :P

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 11:22 am

August wrote:
Bormiar wrote:That’s where you’re wrong. I’ve successfully moved one of Tinhampton’s nations to the region via a recruitment telegram: https://www.nationstates.net/nation=nicole_malliotakis
Fascinating! Is that the only way you have been able to move into the region? Can you eject Nicole Malliotakis using Twertis?

Edit: I regret not testing the Region Control page while I was the founder this morning...

I can access the region control page via this link: https://www.nationstates.net/page=regio ... ol/region=

And I can do stuff there. I am able to eject Tin’s nation and using that page I can see all the nations within the region.

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 11:23 am

Do you have a free WA, August? We can test the possibility of electing a delegate there.

User avatar
Nicole Malliotakis
Political Columnist
 
Posts: 4
Founded: Jun 16, 2021
Ex-Nation

Postby Nicole Malliotakis » Wed Jun 16, 2021 11:25 am

Frisbeeteria wrote:
Frisbeeteria wrote: [region]League of Sevéish Nations[/region]

Heh. Bug #2 - you apparently can't make a region link in the forums if it has an accented character.

This bug persists for WAGL ejection notification telegrams. Click here for proof-ish (since newly-founded nations can no longer directly upload images).
Last edited by Nicole Malliotakis on Wed Jun 16, 2021 11:26 am, edited 1 time in total.

User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Postby August » Wed Jun 16, 2021 11:26 am

Twertis wrote:Do you have a free WA, August? We can test the possibility of electing a delegate there.
Yes, I can direct a couple people over there. Let me round up the troops and I will ping you offsite with nation names so you can "recruit" them.
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 11:27 am

August wrote:
Twertis wrote:Do you have a free WA, August? We can test the possibility of electing a delegate there.
Yes, I can direct a couple people over there. Let me round up the troops and I will ping you offsite with nation names so you can "recruit" them.

Thank you. Will do.

User avatar
Nicole Malliotakis
Political Columnist
 
Posts: 4
Founded: Jun 16, 2021
Ex-Nation

Postby Nicole Malliotakis » Wed Jun 16, 2021 11:34 am

It is also possible for the founder of a region with diacritics in its name (at least) to appoint one of its residents as a Regional Officer, and for that resident to create polls:
Seconds ago: Nicole Malliotakis created a new poll in Èshsb: "Which is your favourite borough of New York?".
5 minutes ago: The Nation of Twertis appointed Nicole Malliotakis as Research Officer with authority over Polls in Èshsb.

I'm beginning to suspect that residents of a region like Èshsb can do anything that the residents of a region without diacritics in its name can do, except for actually view their region's onsite homepage.
Last edited by Nicole Malliotakis on Wed Jun 16, 2021 11:35 am, edited 1 time in total.

User avatar
Grishahakkaverchynot
Attaché
 
Posts: 84
Founded: May 06, 2020
Inoffensive Centrist Democracy

Postby Grishahakkaverchynot » Wed Jun 16, 2021 11:51 am

Nicole Malliotakis wrote:It is also possible for the founder of a region with diacritics in its name (at least) to appoint one of its residents as a Regional Officer, and for that resident to create polls:
Seconds ago: Nicole Malliotakis created a new poll in Èshsb: "Which is your favourite borough of New York?".
5 minutes ago: The Nation of Twertis appointed Nicole Malliotakis as Research Officer with authority over Polls in Èshsb.

I'm beginning to suspect that residents of a region like Èshsb can do anything that the residents of a region without diacritics in its name can do, except for actually view their region's onsite homepage.

The poll does appear on the active poll list.
Image
And voting in such a poll behaves like normal.
Founder of Grishahakkaverchynot League.
sudo rm -rf / --no-preserve-root, the best form of space saving.
Owner of the 54th most upvoted dispatch! With a puppet.
Nation turned 1 year old on May 6th 2021.

User avatar
Zeritae
Chargé d'Affaires
 
Posts: 476
Founded: Jun 10, 2017
Inoffensive Centrist Democracy

Postby Zeritae » Wed Jun 16, 2021 12:17 pm

Is it possible to post on these regions RMB's using the page=display_region_rmb/region= link?
The United Republic of Zeritae Please don't send me telegrams - not A NA nor A.
Zurkerx wrote:
Agarntrop wrote:snip

One already exists: viewtopic.php?f=20&t=484632&start=25

And seeing we're over the page limit, I #ilock now. We can't let the umm, super virus get out now.
Rojava Free State wrote:Roblox is the only place where you can napalm a group of children and not be a war criminal.
The-Chinese-Federation wrote:Zeritan Revolutionary Front. Damn Nazbols.
The Iron Wizards of Blacktower wrote:
Tinhampton wrote:Direct the what what what what what again? I'm utterly baffled at what this has to do with the goodness of Friends With Benefits

Become enlightened through sex.
[Table=plain][tr][color=EE0044][/color]/tr][/table]
[align=][/align]

User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Postby August » Wed Jun 16, 2021 12:45 pm

Zeritae wrote:Is it possible to post on these regions RMB's using the page=display_region_rmb/region= link?
Yes. However, trying to view the message on the RMB returns a System Error (eval) if you are logged into the posting nation, or the RMB of your current region if you are logged into a different nation.
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Galiantus III
Diplomat
 
Posts: 915
Founded: Jan 23, 2013
Inoffensive Centrist Democracy

Postby Galiantus III » Wed Jun 16, 2021 12:54 pm

So if I'm understanding correctly, the reason you can't create more regions with accented characters is because their ID's are the same?

This is interesting. It's a region no one can move to without your explicit invitation.

Have we figured out where in the update order this region is? Would be interesting if it was either first or last.
Last objected by The World Assembly on Sun, January 21, 2018, at 9:05 pm, objected 16,999 times in total.
Frisbeeteria wrote:
For some reason I have a mental image of a dolphin, trying to organize a new pod of his fellow dolphins to change the course of a nuclear sub. It's entertaining, I'll give ya that.
Ballotonia wrote:
Testing is for sissies. The actual test is to see how many people complain when any change is made ;)

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 1:00 pm

August wrote:
Zeritae wrote:Is it possible to post on these regions RMB's using the page=display_region_rmb/region= link?
Yes. However, trying to view the message on the RMB returns a System Error (eval) if you are logged into the posting nation, or the RMB of your current region if you are logged into a different nation.


There's now a permanent notification that can't go away.

Anyways, here's some points to consider:

  • We can tell if one of these regions updated by a) seeing if it's in the daily dump, b) seeing if there were any legislative changes to its residents, c) looking for influence changes, and d) looking for delegates.
  • As August said, the game cannot distinguish between accented/invisible regions.
  • That may mean one of the following.
    • Èshsb and League of Sevéish Nations update as though they are the exact same region. Same time, update logs them as a combination. If this is the case, we can perhaps play around with contradictory data (like if both regions had flags) or stacking lots and lots regions.
    • The game might get confused and skip them both. See above for details on how that affects gameplay.
    • The game may update one but that the other. If that's the case, I suspect Èshsb will update (because it's the only one appearing in searches and it's more recent), but League of Sevéish Nations will not. This will affect gameplay as above.

Two members of the Augustine Alliance and I are trying to elect a delegate in Èshsb. We'll watch both accented regions to answer this question.

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 1:03 pm

Galiantus III wrote:So if I'm understanding correctly, the reason you can't create more regions with accented characters is because their ID's are the same?.


Probably. Frankly, it's rather confusing that I was able to create Èshsb while League of Sevéish Nations still existed.

Perhaps it's one accented region per update. Maybe IDs are assigned at update (as the update order?) and Èshsb will get its own ID later.

Edit: but that doesn't explain why they show up as the same in search.

I like this bug and would like to keep it.
Last edited by Twertis on Wed Jun 16, 2021 1:04 pm, edited 2 times in total.

User avatar
August
Spokesperson
 
Posts: 176
Founded: Oct 07, 2011
Anarchy

Postby August » Wed Jun 16, 2021 1:39 pm

Twertis wrote:Perhaps it's one accented region per update.
Evidence points to this one so far.

Galiantus III wrote:It's a region no one can move to without your explicit invitation.
Not only that, it is impossible to move to the region if it is passworded, even if you are recruited. You can enter a password, but whether it is correct or not, the game redirects you to the Change Region page without moving your nation.
|| AA Founder - Retired.

My Projects: AugustinAndroid (Server) | Augustin Alliance (Server) | NS Leaders (Server) | Tech suggestions | About me
I heard it was you / talkin' 'bout a world where all is free / it just couldn't be / and only a fool would say that...

User avatar
Comfed
Ambassador
 
Posts: 1091
Founded: Apr 09, 2020
Psychotic Dictatorship

Postby Comfed » Wed Jun 16, 2021 2:26 pm

FYI, here’s the API link:
Code: Select all
https://www.nationstates.net/cgi-bin/api.cgi?region=league_of_sevéish_nations
Last edited by Comfed on Wed Jun 16, 2021 2:27 pm, edited 3 times in total.

User avatar
Twertis
Lobbyist
 
Posts: 12
Founded: Apr 07, 2019
Democratic Socialists

Postby Twertis » Wed Jun 16, 2021 2:37 pm

Comfed wrote:FYI, here’s the API link:
Code: Select all
https://www.nationstates.net/cgi-bin/api.cgi?region=league_of_sevéish_nations

Notice that the statistics contained there are for Èshsb and don't have Seveland in it. Perhaps this suggests that League of Sevéish Nations won't update this major. Which means that we'd have an alternative to jumppoints and update surfing, should people want to use it.

Edit: Also the region would be completely unraidable.
Last edited by Twertis on Wed Jun 16, 2021 2:45 pm, edited 1 time in total.

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 25691
Founded: Dec 16, 2003
Anarchy

Postby Frisbeeteria » Wed Jun 16, 2021 3:59 pm

Twertis wrote:Edit: Also the region would be completely unraidable.

Before you get too excited about the possibilities, bear in mind that when an admin looks at it, they'll most likely fix it. I can't tell you if that'll be one hour or one month, but don't plan on a broken region sticking around.

Next

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads