NATION

PASSWORD

Feature: Up/Download nation dossiers (beta testing)

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Ballotonia
Senior Admin
 
Posts: 5494
Founded: Antiquity
Liberal Democratic Socialists

Feature: Up/Download nation dossiers (beta testing)

Postby Ballotonia » Thu Apr 19, 2012 1:56 am

Greetings and Salutations,

After volunteering to help out on the technical side with NS, I've been slowly getting started on new additions to the game. I'd like to ask you all for comments about a new feature to upload and download nation dossiers.

The current (draft) implementation is here: Advanced Dossier.

This should allow players to easily add large amounts of nations to their dossier (the maximum is still 2500, that 's not planned to be changed), exchange nation dossiers between players by sharing the dossier file, generate/process the dossier off-site based on whatever information you might want to use, or stuff I hadn't thought of but you might.

So, please try this out. Is there anything wrong with it or not working? Can you think of making this more useful if only it could also do X, Y, or Z? Let me know!

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

User avatar
The United Soviet Socialist Republic
Post Marshal
 
Posts: 17944
Founded: Aug 10, 2011
Ex-Nation

Postby The United Soviet Socialist Republic » Thu Apr 19, 2012 2:00 am

Umm thanks but the current one is fine for me, its not like i have a whole lot of nations to dossier anyway.
Gay and Proudand also a brony
Political Compass:Left: 7.76, Authoritarian: 5.6
I am: Fascist/Corporatist on economy,
Conservative on social issues(Support same sex marriage),
Anti secularist on religion,
Anti-Republican on government,
Interventionist/Imperialist on international issues

User avatar
Frattastan
Diplomat
 
Posts: 701
Founded: Oct 24, 2007
Left-wing Utopia

Postby Frattastan » Thu Apr 19, 2012 2:06 am

I love you.
San Francisco Bay Area (forum) | Founderless Regions Alliance (FRA) | Rejected Realms Army (RRA)

Drop Your Pants wrote:I think raiders are cute, the way they think they're big and scary people who threaten others :)

User avatar
Eist
Ambassador
 
Posts: 1197
Founded: May 10, 2010
Civil Rights Lovefest

Postby Eist » Thu Apr 19, 2012 5:39 am

I will try it out later, but thank you so much for doing this! It will help immensely. What a fantastic idea :)
Unibot III wrote:Frankly, the lows that people sink to in this game is perhaps the most disturbing thing about NationStates Gameplay.

User avatar
Improving Wordiness
Diplomat
 
Posts: 641
Founded: Dec 05, 2009
Ex-Nation

Postby Improving Wordiness » Thu Apr 19, 2012 6:18 am

No chance at all of enlarging the dossier size? Due to invaders now using 10 times the nations due to switching an increase in size of the dossier seems appropriate.

I love this new feature so far, thanks for the work on it.
Klaus Devestatorie wrote:I'm a massive tool. ;)

User avatar
Mallorea and Riva
Game Moderator
 
Posts: 9986
Founded: Sep 29, 2010
Benevolent Dictatorship

Postby Mallorea and Riva » Thu Apr 19, 2012 6:31 am

Improving Wordiness wrote:No chance at all of enlarging the dossier size? Due to invaders now using 10 times the nations due to switching an increase in size of the dossier seems appropriate.

I love this new feature so far, thanks for the work on it.

:roll:
19 times out of 20 I use dirty puppets on my raids Wordy, and besides even if you don't have them in your dossier you can always spot them. I managed to do it when I defended without much difficulty. I do like the general concept, it's interesting. I don't mind that it doesn't really do much for raiders, I tend to keep a dossier of major defenders (let's me keep track of where they are and paints targets).
Ideological Bulwark #253
Retired Major of The Black Hawks
Retired Charter Nation: Political Affairs in Antarctic Oasis
Retired Colonel of DEN Central Command, now defunct
Former Delegate of The South Pacific, winner of TSP's "Best Dali" Award
Retired Secretary of Defense of Stargate
Terror of The Joint Systems Alliance
Mall Isaraider, son of Tram and Spartz, Brother of Tal and apparently Sev the treacherous bastard.
Frattastan quote of the month: Mall is following those weird beef-only diets now.

User avatar
Cerberion
Diplomat
 
Posts: 993
Founded: Apr 22, 2010
Corporate Police State

Postby Cerberion » Thu Apr 19, 2012 7:57 am

Great feature. It explodes if you aren't logged in when you try and visit it though. :)

User avatar
Unibot II
Senator
 
Posts: 3852
Founded: Jan 10, 2011
Ex-Nation

Postby Unibot II » Thu Apr 19, 2012 10:42 am

I tried uploading a list of my nations, but it said "Error processing the uploaded file." and "Processing halted at line 18."

Line 17 was "pink"
Line 18 was "red"
Line 19 was "robin_hood"

Perhaps the script has a problem with three-lettered nations?

EDIT: But "Red" was added to my dossier, "Robin Hood" was not.
Last edited by Unibot II on Thu Apr 19, 2012 10:44 am, edited 1 time in total.
Vocenae wrote:Unibot, you have won NS.
General Halcones wrote:Look up to Unibot as an example.
Member of Gholgoth | The Capitalis de Societate of The United Defenders League (UDL) | Org. Join Date: 25/05/2008
Unibotian Factbook // An Analysis of NationStates Generations // The Gameplay Alignment Test // NS Weather // How do I join the UDL?
World Assembly Card Gallery // The Unibotian Life Expectancy Index // Proudly Authored 9 GA Res., 14 SC Res. // Commended by SC#78;
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Duty is Eternal, Justice is Imminent: UDL

User avatar
North Wiedna
Post Marshal
 
Posts: 17759
Founded: Apr 01, 2009
Ex-Nation

Postby North Wiedna » Thu Apr 19, 2012 10:59 am

Unibot II wrote:I tried uploading a list of my nations, but it said "Error processing the uploaded file." and "Processing halted at line 18."

Line 17 was "pink"
Line 18 was "red"
Line 19 was "robin_hood"

Perhaps the script has a problem with three-lettered nations?

EDIT: But "Red" was added to my dossier, "Robin Hood" was not.

Maybe it counts the first line as line 0, then line 1 and so on, so what you see as line 19 is really line 18?
I am not at all interested in immortality, only in the taste of tea.

User avatar
Crushing Our Enemies
Ambassador
 
Posts: 1413
Founded: Nov 16, 2004
Corporate Police State

Postby Crushing Our Enemies » Thu Apr 19, 2012 12:03 pm

Ballotonia wrote:Can you think of making this more useful if only it could also do X, Y, or Z? Let me know!

I'm sure this has come up before in previous discussions of dossier enhancement, but it would be really cool if we could organize our dossier in some fashion (tags, folders, or the like). The Advanced Dossier now allows us to easily reorder the nations in our dossier (download file, reorder nations, clear dossier, upload new file), but it would be nice to add some levels of classification.

Naturally, this can be worked around by using the dossiers of puppet nations, but it seems in keeping with the spirit of this addition to have a way to sort dossier'd nations.
[violet] wrote:You are definitely not genial.
[violet] wrote:Congratulations to Crushing Our Enemies for making the first ever purchase. :)

User avatar
Mallorea and Riva
Game Moderator
 
Posts: 9986
Founded: Sep 29, 2010
Benevolent Dictatorship

Postby Mallorea and Riva » Thu Apr 19, 2012 12:06 pm

Crushing Our Enemies wrote:
Ballotonia wrote:Can you think of making this more useful if only it could also do X, Y, or Z? Let me know!

I'm sure this has come up before in previous discussions of dossier enhancement, but it would be really cool if we could organize our dossier in some fashion (tags, folders, or the like). The Advanced Dossier now allows us to easily reorder the nations in our dossier (download file, reorder nations, clear dossier, upload new file), but it would be nice to add some levels of classification.

Naturally, this can be worked around by using the dossiers of puppet nations, but it seems in keeping with the spirit of this addition to have a way to sort dossier'd nations.

Now that would be interesting. Creating our own categories would be nice, but even some simple lists would really enhance the feature.
Ideological Bulwark #253
Retired Major of The Black Hawks
Retired Charter Nation: Political Affairs in Antarctic Oasis
Retired Colonel of DEN Central Command, now defunct
Former Delegate of The South Pacific, winner of TSP's "Best Dali" Award
Retired Secretary of Defense of Stargate
Terror of The Joint Systems Alliance
Mall Isaraider, son of Tram and Spartz, Brother of Tal and apparently Sev the treacherous bastard.
Frattastan quote of the month: Mall is following those weird beef-only diets now.

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 27796
Founded: Dec 16, 2003
Capitalizt

Postby Frisbeeteria » Thu Apr 19, 2012 12:19 pm

Crushing Our Enemies wrote:it would be really cool if we could organize our dossier in some fashion (tags, folders, or the like).

It's absolutely come up before. SalusaSecondus looked into it in great detail, and decided that the current structure really couldn't accommodate anything of that sort. We'd need a completely new Dossier concept, which simply isn't a coding priority for the vast majority of users, so it's on a far back burner.

I'll point out that this new feature allows all the organization you desire. Now that you have the ability to download and upload dossiers, you can do any sorting and tagging you wish offline, then upload the relevant parts as your 'working dossier' for whatever task you currently have. I can think of several methods using spreadsheets, personal databases, and XML-harvesting scripts right off the top of my head. It shouldn't be a problem for you to come up with custom solutions that do exactly what you want.
Last edited by Frisbeeteria on Thu Apr 19, 2012 12:32 pm, edited 1 time in total.
Reason: fixed attribution

User avatar
Mallorea and Riva
Game Moderator
 
Posts: 9986
Founded: Sep 29, 2010
Benevolent Dictatorship

Postby Mallorea and Riva » Thu Apr 19, 2012 12:28 pm

Frisbeeteria wrote:
Mallorea and Riva wrote:it would be really cool if we could organize our dossier in some fashion (tags, folders, or the like).

It's absolutely come up before. SalusaSecondus looked into it in great detail, and decided that the current structure really couldn't accommodate anything of that sort. We'd need a completely new Dossier concept, which simply isn't a coding priority for the vast majority of users, so it's on a far back burner.

I'll point out that this new feature allows all the organization you desire. Now that you have the ability to download and upload dossiers, you can do any sorting and tagging you wish offline, then upload the relevant parts as your 'working dossier' for whatever task you currently have. I can think of several methods using spreadsheets, personal databases, and XML-harvesting scripts right off the top of my head. It shouldn't be a problem for you to come up with custom solutions that do exactly what you want.

>.> *grumbles about being misquoted*
I'll be fiddling around with it and seeing what I can do ;)
Ideological Bulwark #253
Retired Major of The Black Hawks
Retired Charter Nation: Political Affairs in Antarctic Oasis
Retired Colonel of DEN Central Command, now defunct
Former Delegate of The South Pacific, winner of TSP's "Best Dali" Award
Retired Secretary of Defense of Stargate
Terror of The Joint Systems Alliance
Mall Isaraider, son of Tram and Spartz, Brother of Tal and apparently Sev the treacherous bastard.
Frattastan quote of the month: Mall is following those weird beef-only diets now.


User avatar
Mallorea and Riva
Game Moderator
 
Posts: 9986
Founded: Sep 29, 2010
Benevolent Dictatorship

Postby Mallorea and Riva » Thu Apr 19, 2012 12:34 pm

Frisbeeteria wrote:
Mallorea and Riva wrote:>.> *grumbles about being misquoted*

Oops. Internal 'quote' failure. Fixed and gave you mod powers.

Thanks Fris :lol:
Ideological Bulwark #253
Retired Major of The Black Hawks
Retired Charter Nation: Political Affairs in Antarctic Oasis
Retired Colonel of DEN Central Command, now defunct
Former Delegate of The South Pacific, winner of TSP's "Best Dali" Award
Retired Secretary of Defense of Stargate
Terror of The Joint Systems Alliance
Mall Isaraider, son of Tram and Spartz, Brother of Tal and apparently Sev the treacherous bastard.
Frattastan quote of the month: Mall is following those weird beef-only diets now.

User avatar
Ballotonia
Senior Admin
 
Posts: 5494
Founded: Antiquity
Liberal Democratic Socialists

Postby Ballotonia » Thu Apr 19, 2012 1:50 pm

North Wiedna wrote:
Unibot II wrote:I tried uploading a list of my nations, but it said "Error processing the uploaded file." and "Processing halted at line 18."

Line 17 was "pink"
Line 18 was "red"
Line 19 was "robin_hood"

Perhaps the script has a problem with three-lettered nations?

EDIT: But "Red" was added to my dossier, "Robin Hood" was not.

Maybe it counts the first line as line 0, then line 1 and so on, so what you see as line 19 is really line 18?


I seem to have no problem whatsoever to add robin_hood to my dossier, so I'm unable to reproduce this. Are you sure you used an underscore? Maybe you accidentally typed a tab after that nation name?

And, yes, it reports where processing halted, so the error is on the next line. I'll be changing that in the next version (a few days from now), so in the future it will report the line number where the first error occurred.

Ballotonia
Last edited by Ballotonia on Thu Apr 19, 2012 1:51 pm, edited 1 time in total.
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Unibot II
Senator
 
Posts: 3852
Founded: Jan 10, 2011
Ex-Nation

Postby Unibot II » Thu Apr 19, 2012 3:45 pm

Figured out what it was, there was some white-space after "robin_hood ", so I removed the white-space and it's worked since.
Vocenae wrote:Unibot, you have won NS.
General Halcones wrote:Look up to Unibot as an example.
Member of Gholgoth | The Capitalis de Societate of The United Defenders League (UDL) | Org. Join Date: 25/05/2008
Unibotian Factbook // An Analysis of NationStates Generations // The Gameplay Alignment Test // NS Weather // How do I join the UDL?
World Assembly Card Gallery // The Unibotian Life Expectancy Index // Proudly Authored 9 GA Res., 14 SC Res. // Commended by SC#78;
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Duty is Eternal, Justice is Imminent: UDL

User avatar
Letoilenoir
Chargé d'Affaires
 
Posts: 424
Founded: Nov 26, 2010
Ex-Nation

Postby Letoilenoir » Thu Apr 19, 2012 3:55 pm

All seems okay...

Now about the "Reports" being available as RSS feeds.......
KEEP THE BLOOD CAVE FREE

User avatar
Cerberion
Diplomat
 
Posts: 993
Founded: Apr 22, 2010
Corporate Police State

Postby Cerberion » Thu Apr 19, 2012 8:30 pm

The whitespace thing is annoying. That should be pretty easy to chomp when the list is parsed.

Perhaps adding the _ replacement for people that forget to put them in would be nice too.

User avatar
Testlandia
Lobbyist
 
Posts: 11
Founded: Antiquity
Inoffensive Centrist Democracy

Postby Testlandia » Thu Apr 19, 2012 8:56 pm

This so-called "feature" is going to destroy the game! Mark my words. I have been a long-time player but if this gets implemented, I will leave and NEVER COME BACK.




This post has been part of Ballotonia's admin training.

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Thu Apr 19, 2012 9:00 pm

Cerberion wrote:It explodes if you aren't logged in when you try and visit it though. :)

Added page to our list of those requiring login.

User avatar
Unibot II
Senator
 
Posts: 3852
Founded: Jan 10, 2011
Ex-Nation

Postby Unibot II » Thu Apr 19, 2012 9:09 pm

Testlandia wrote:This so-called "feature" is going to destroy the game! Mark my words. I have been a long-time player but if this gets implemented, I will leave and NEVER COME BACK.




This post has been part of Ballotonia's admin training.


Can you explain why this will destroy the game? Just trying to understand your concerns. :)


Did I pass?
Vocenae wrote:Unibot, you have won NS.
General Halcones wrote:Look up to Unibot as an example.
Member of Gholgoth | The Capitalis de Societate of The United Defenders League (UDL) | Org. Join Date: 25/05/2008
Unibotian Factbook // An Analysis of NationStates Generations // The Gameplay Alignment Test // NS Weather // How do I join the UDL?
World Assembly Card Gallery // The Unibotian Life Expectancy Index // Proudly Authored 9 GA Res., 14 SC Res. // Commended by SC#78;
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Duty is Eternal, Justice is Imminent: UDL


User avatar
Unibot II
Senator
 
Posts: 3852
Founded: Jan 10, 2011
Ex-Nation

Postby Unibot II » Thu Apr 19, 2012 11:10 pm

Frisbeeteria wrote:
Unibot II wrote:Did I pass?

Fail. Big time.


Well we can't all be admins! Alas, I guess I'll stick to being a player then.

User avatar
Aksun
Ambassador
 
Posts: 1046
Founded: Sep 07, 2010
Ex-Nation

Postby Aksun » Thu Apr 19, 2012 11:55 pm

I like the fact of a new system for the Dossier. The current is somewhat boring with not as much functionality as I'd like.

Next

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Ankuran, Betashock, Nerasian Empire, Organically Farmed Cards, Super Awesome Fun Times

Advertisement

Remove ads