NATION

PASSWORD

[APP] NationStates Nation Manager

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

[APP] NationStates Nation Manager

Postby Auralia » Fri Jan 25, 2013 5:30 pm

NationStates Nation Manager has been replaced by nslogin-web and is no longer maintained.

NationStates Nation Manager

Summary
NationStates Nation Manager is a free and open source Windows application that displays the status of a list of nations. The application can also log into these nations or restore them if they have ceased to exist.

The application is designed to help players maintain a large number of puppet nations.

Features
  • Retrieves the status of nations, including whether or not they exist and their last login date
  • Logs into nations to prevent them from ceasing to exist
  • Restores nations that have ceased to exist
Documentation

System Requirements
Help

Adding a nation
1. Click on the menu item labelled *Nations*, then click *Add...*.
2. Type in the name and password of a nation, and then click *OK*. The nation will appear in the list view, and its status will refresh.

Editing a nation
1. Click on the menu item labelled *Nations*, then click *Edit...*.
2. Edit the name and password of the nation, and then click *OK*. The updated nation will appear in the list view, and its status will refresh.

Refreshing a nation's status
1. Select the nations whose statuses you wish to refresh.
2. Click on the menu item labelled *Nations*, then click *Refresh*. The nation's status will refresh.

Removing a nation
1. Select the nations you wish to remove.
2. Click on the menu item labelled *Nations*, then click *Remove*. The nation will be removed from the list view.

Logging into a nation
1. Select the nations you wish to log into.
2. Click on the menu item labelled *Nations*, then click *Login*. The application will attempt to log into the nation and display a success or error message, and its status will refresh.

Note: You cannot log into a nation that does not currently exist or whose status has not yet been successfully retrieved due to network issues. In the latter case, you will need to refresh the nation's status until it is successfully retrieved.

Restoring a nation that has ceased to exist
1. Select the nations you wish to restore.
2. Click on the menu item labelled *Nations*, then click *Restore*. The application will attempt to restore the nation and display a success or error message, and its status will refresh.

Note: You cannot log into a nation that does not currently exist or whose status has not yet been successfully retrieved due to network issues. In the latter case, you will need to refresh the nation's status until it is successfully retrieved. In addition, you cannot restore more than one nation at a time, due to NationStates scripting restrictions.

Creating a new list of nations
1. Click on the menu item labelled *File*, then click *New*. All nations will be removed from the list view. You may be prompted to save the existing list of nations.

Saving a list of nations

As encrypted binary data:
1. Click on the Menu item labelled *File*, then click *Save As...*.
2. Choose a destination to save the file, then click *OK*.
3. Choose a password, then click *OK*. The list of nations will be saved to disk.

Note: The file containing the list of nations is encrypted using the AES algorithm and a 128 bit key. If you lose the password, you will be unable to open the file and the data contained within cannot be recovered.

As plain text:
1. Click on the Menu item labelled *File*, then click *Export...*
2. Choose a destination to save the file, then click *OK*. The list of nations will be saved to disk.

Note: The list of nations and their passwords will be saved in a comma separated values format:

Code: Select all
Nation1, Password1
Nation2, Password2
Nation3, Password3

Opening a list of nations

As encrypted binary data:
1. Click on the Menu item labelled *File*, then click *Open...*.
2. Choose the file to open, then click *OK*.
3. Enter the file's password, then click *OK*. The file will be opened and a list of nations will be read from disk. You may be prompted to save the existing list of nations.

As plain text:
1. Click on the Menu item labelled *File*, then click *Open...*.
2. Choose the file to open, then click *OK*. The file will be opened and a list of nations will be read from disk. You may be prompted to save the existing list of nations.

Note: The nation file must be in the comma separated values format described above.

Changing the user agent
1. Click on the menu item labelled *Tools*, then click *Options*.
2. Type in a user agent in the text box labelled *User agent*, then click *OK*. The user agent will be changed.

Note: You cannot use the application without setting a user agent. You will be prompted to do so when the application starts for the first time.

Downloads
Source code and binary downloads are available from the project's GitHub page. You can access the source and binary downloads for the latest version (0.2) here.

Copyright and License
Copyright (C) 2013 Auralia.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This program uses icons from the Silk Icon Set and the Tango Desktop Project.
Last edited by Auralia on Sat Dec 23, 2017 10:03 am, edited 12 times in total.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Sanctaria
Senior Issues Editor
 
Posts: 7368
Founded: Sep 12, 2008
New York Times Democracy

Postby Sanctaria » Fri Jan 25, 2013 5:56 pm

These might be stupid questions, but bear with me as I don't usually use these things:

1. No one else will see our passwords, yes?
2. Does it log back out with the process is complete?
Divine Federation of Sanctaria

Ideological Bulwark #258
Member of UNOG

Dr. Katherine Saunders ORD DSJ, Sanctarian Ambassador to the World Assembly
Author of:
GA#109 GA#133 GA#176 GA#201 GA#222 GA#297
Frisbeeteria wrote:Do people not realize that moderators can tell when someone is wanking?

Luna Amore wrote:Sanc is always watching. Ever vigilant.

User avatar
Weed
Diplomat
 
Posts: 810
Founded: Oct 23, 2011
Anarchy

Postby Weed » Fri Jan 25, 2013 6:59 pm

I made an attempt to use it, it failed log in every time because something about cookies missing? I may just be too tech-dumb to use it. :p
EDIT:
Oh, ha, wait. It shouldn't be :
@@nation@@,@@password@@,
@@nation2@@,@@password2@@,

It should be that without the commas at the end. I didn't know what comma separated really meant. :P
Last edited by Weed on Fri Jan 25, 2013 7:18 pm, edited 2 times in total.

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Fri Jan 25, 2013 7:42 pm

Sanctaria wrote:1. No one else will see our passwords, yes?


The program doesn't secretly save passwords and send them to me, if that's what you're asking. You can verify this by looking at the source code.

Sanctaria wrote:2. Does it log back out with the process is complete?


Yes.
Last edited by Auralia on Fri Jan 25, 2013 7:47 pm, edited 1 time in total.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Klaus Devestatorie
Minister
 
Posts: 2528
Founded: Aug 28, 2008
Compulsory Consumerist State

Postby Klaus Devestatorie » Sat Jan 26, 2013 2:28 am

You, good sir of the OP, have saved my goddamn life, and I'm going to have to find a way to make it up to you.
The Avengrynkhal Ascendant of Klaus Devestatorie

User avatar
Northrop-Grumman
Ambassador
 
Posts: 1526
Founded: Dec 28, 2003
Benevolent Dictatorship

Postby Northrop-Grumman » Sat Jan 26, 2013 10:06 am

Before I go switching around passwords and the like, can this accommodate passwords containing characters like "$", "@", and so forth without breaking? I'm currently using someone else's program written in Perl (I think?), right now, that basically made me change all my passwords because those characters are restricted in that language.

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Sat Jan 26, 2013 11:23 am

Northrop-Grumman wrote:Before I go switching around passwords and the like, can this accommodate passwords containing characters like "$", "@", and so forth without breaking? I'm currently using someone else's program written in Perl (I think?), right now, that basically made me change all my passwords because those characters are restricted in that language.


It should work with most special characters. Try changing the password of one nation and testing it with this program.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Northrop-Grumman
Ambassador
 
Posts: 1526
Founded: Dec 28, 2003
Benevolent Dictatorship

Postby Northrop-Grumman » Sat Jan 26, 2013 3:11 pm

Auralia wrote:
Northrop-Grumman wrote:Before I go switching around passwords and the like, can this accommodate passwords containing characters like "$", "@", and so forth without breaking? I'm currently using someone else's program written in Perl (I think?), right now, that basically made me change all my passwords because those characters are restricted in that language.


It should work with most special characters. Try changing the password of one nation and testing it with this program.
Ok, good news. I tried it with "$", "@", "&", and "#" and it seemed to work fine.

User avatar
Ballotonia
Site Admin
 
Posts: 5347
Founded: Antiquity
New York Times Democracy

Postby Ballotonia » Sun Jan 27, 2013 1:08 am

Northrop-Grumman wrote:Before I go switching around passwords and the like, can this accommodate passwords containing characters like "$", "@", and so forth without breaking? I'm currently using someone else's program written in Perl (I think?), right now, that basically made me change all my passwords because those characters are restricted in that language.


In Perl strings with special characters are written by escaping them, so $mypassword is written as "\$mypassword"

Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Herrebrugh
Post Marshal
 
Posts: 15157
Founded: Aug 24, 2007
Liberal Democratic Socialists

Postby Herrebrugh » Sun Jan 27, 2013 12:27 pm

Okay... I tried it... I can't find anything bad to say about this. It's awesome, thanks a lot! :hug:
Geteekendt, Jozef III, bij den gratiën Godts, Koningh der Herrebrugheylanden ende Prins van Rheda
Unterzeichnet, Joſeph III., von Gottes Gnaden König der Herrenbrückinſeln und Prinz von Rheda

----------------------------------------------------------------------------------
------------------------------------Factbook------------------------------------
-------------Kingdom of the---------------------Herrebrugh Iſlands----------

User avatar
A Classless Society
Secretary
 
Posts: 29
Founded: May 05, 2008
Authoritarian Democracy

Postby A Classless Society » Sun Jan 27, 2013 4:13 pm

Good stuff.

Thanks, pal. I'll definitely recommend this to several people.

User avatar
Northrop-Grumman
Ambassador
 
Posts: 1526
Founded: Dec 28, 2003
Benevolent Dictatorship

Postby Northrop-Grumman » Mon Jan 28, 2013 12:33 pm

Ballotonia wrote:
Northrop-Grumman wrote:Before I go switching around passwords and the like, can this accommodate passwords containing characters like "$", "@", and so forth without breaking? I'm currently using someone else's program written in Perl (I think?), right now, that basically made me change all my passwords because those characters are restricted in that language.


In Perl strings with special characters are written by escaping them, so $mypassword is written as "\$mypassword"

Ballotonia
Oh! Good to know! Thanks!

User avatar
San Leggera
Postmaster-General
 
Posts: 13414
Founded: Dec 15, 2011
Ex-Nation

Postby San Leggera » Mon Jan 28, 2013 11:59 pm

Would adding an option to export the nationname/passport list as a .txt file be possible?
#JusticeForGat
Flag | CoA | Map (bigger!)
I Just Want to Sell Out My Funeral

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Tue Jan 29, 2013 12:15 am

San Leggera wrote:Would adding an option to export the nationname/passport list as a .txt file be possible?


I'll see what I can do.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
United Federation of Canada
Ambassador
 
Posts: 1417
Founded: Oct 09, 2012
Ex-Nation

Postby United Federation of Canada » Sun Sep 01, 2013 12:00 am

San Leggera wrote:Would adding an option to export the nationname/passport list as a .txt file be possible?


Copy and paste to a wordpad file.

I must say Auralia, you have created yet another fine piece of work here. Kudo's my friend.

User avatar
San Leggera
Postmaster-General
 
Posts: 13414
Founded: Dec 15, 2011
Ex-Nation

Postby San Leggera » Sun Sep 01, 2013 4:02 pm

United Federation of Canada wrote:
San Leggera wrote:Would adding an option to export the nationname/passport list as a .txt file be possible?


Copy and paste to a wordpad file.

I must say Auralia, you have created yet another fine piece of work here. Kudo's my friend.

Gravedig of the century.

(FWIW, that's what I already do. I just avidly dislike using wordpad.)
#JusticeForGat
Flag | CoA | Map (bigger!)
I Just Want to Sell Out My Funeral

User avatar
The Seafield Islands
Envoy
 
Posts: 284
Founded: Apr 03, 2013
Ex-Nation

Postby The Seafield Islands » Fri Sep 13, 2013 1:24 am

Great work!!
The Seafield Islands

Mallorea and Riva should resign

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Sat Jan 18, 2014 2:03 pm

Updated to version 0.2.
Last edited by Auralia on Sat Jan 18, 2014 2:03 pm, edited 1 time in total.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Eist
Ambassador
 
Posts: 1194
Founded: May 10, 2010
Left-wing Utopia

Postby Eist » Tue Jan 28, 2014 2:31 pm

Fantastic, Auralia, this is great stuff. Thank you very much.
Unibot III wrote:Frankly, the lows that people sink to in this game is perhaps the most disturbing thing about NationStates Gameplay.

User avatar
Klaus Devestatorie
Minister
 
Posts: 2528
Founded: Aug 28, 2008
Compulsory Consumerist State

Postby Klaus Devestatorie » Thu Feb 27, 2014 8:08 pm

Might have to try the new one then :)

Will this ever be upgraded so that I can have my nations automatically answer issues when they login?
The Avengrynkhal Ascendant of Klaus Devestatorie

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Thu Feb 27, 2014 8:43 pm

Klaus Devestatorie wrote:Will this ever be upgraded so that I can have my nations automatically answer issues when they login?


One day, I hope.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Parhe
Powerbroker
 
Posts: 8274
Founded: May 10, 2011
Anarchy

[APPLICATION] NationStates Nation Manager (ver. 0.2)

Postby Parhe » Thu Feb 27, 2014 10:23 pm

Amazing thing. One thing I noticed though, that exactly causes the Network Issues? I imported my list of passwords and nations, a bit over two thousand, and am using this to resurrect them. However, when I first imported it only about fifty or so nations went through without Network errors, saying "A network error occurred while attempting to retrieve this nation's information. Are you connected to the internet?" To the question, yes I am. Then I usually have to wait a while before it actually allows me to right click and refresh, and no matter how many I highlight before right clicking and picking to refresh only about forty to fifty nations actually go through. I was wondering what caused the Network Issues so that perhaps I could get it to go through for each of them quicker.

Besides that everything seems to be working well and again thanks for helping me.
Hey, it is Parhe :D I am always open to telegrams.
I know it is a Work-In-Progress, but I would love it if y'all looked at my new factbook and gave me some feedback!

BRING BACK THE ICE CLIMBERS

User avatar
Auralia
Senator
 
Posts: 4949
Founded: Dec 15, 2011
New York Times Democracy

Postby Auralia » Thu Feb 27, 2014 10:43 pm

Parhe wrote:Amazing thing. One thing I noticed though, that exactly causes the Network Issues? I imported my list of passwords and nations, a bit over two thousand, and am using this to resurrect them. However, when I first imported it only about fifty or so nations went through without Network errors, saying "A network error occurred while attempting to retrieve this nation's information. Are you connected to the internet?" To the question, yes I am. Then I usually have to wait a while before it actually allows me to right click and refresh, and no matter how many I highlight before right clicking and picking to refresh only about forty to fifty nations actually go through. I was wondering what caused the Network Issues so that perhaps I could get it to go through for each of them quicker.

Besides that everything seems to be working well and again thanks for helping me.


That's very odd. I'll have to look into that.
Catholic Commonwealth of Auralia
Also known as Railana

"Amor sequitur cognitionem."

User avatar
Ballotonia
Site Admin
 
Posts: 5347
Founded: Antiquity
New York Times Democracy

Postby Ballotonia » Sat Mar 01, 2014 1:32 am

Sounds like it's bumping into a rate limit and gets locked out of NS for a while.

Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Parhe
Powerbroker
 
Posts: 8274
Founded: May 10, 2011
Anarchy

[APPLICATION] NationStates Nation Manager (ver. 0.2)

Postby Parhe » Sat Mar 01, 2014 7:16 am

Ballotonia wrote:Sounds like it's bumping into a rate limit and gets locked out of NS for a while.

Ballotonia

Oh thank you Ballo. Though you do say it as a theory it seems to make sense as my internet connection works with everything else and I usually have to wait from between two to ten minutes before the NS Nation Manager works.

If what you say is the real reason does that mean it would be more efficient for me to highlight only the number that is less than the limit at a time? Say try to push through more smaller batches instead of less large batches.
Hey, it is Parhe :D I am always open to telegrams.
I know it is a Work-In-Progress, but I would love it if y'all looked at my new factbook and gave me some feedback!

BRING BACK THE ICE CLIMBERS

Next

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bormiar

Advertisement

Remove ads