NATION

PASSWORD

[APP] nslogin-web (web app to log into/restore nations)

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
All Wild Things
Diplomat
 
Posts: 526
Founded: Apr 24, 2017
Inoffensive Centrist Democracy

Postby All Wild Things » Fri Sep 14, 2018 1:55 am

Jadis and Marthburg wrote:I meant lowering the screen of the pc, so it blocks the screen.

Apologies, my sarcastic comment was unnecessary. I hope you'll forgive me.
Browse The NewsStand
Watch the Wild Life

User avatar
Jadis and Marthburg
Bureaucrat
 
Posts: 50
Founded: Aug 03, 2018
Ex-Nation

Postby Jadis and Marthburg » Fri Sep 14, 2018 11:33 am

All Wild Things wrote:
Jadis and Marthburg wrote:I meant lowering the screen of the pc, so it blocks the screen.

Apologies, my sarcastic comment was unnecessary. I hope you'll forgive me.

Forgived :hug:
Last edited by Jadis and Marthburg on Fri Sep 14, 2018 11:33 am, edited 1 time in total.

User avatar
Zocra
Diplomat
 
Posts: 874
Founded: Feb 21, 2013
Inoffensive Centrist Democracy

Beautiful!

Postby Zocra » Sun Oct 14, 2018 11:32 pm

Thank you, Auralia! Lovely autologin tool!

Do you have any crypto addresses so that I can donate?
Last edited by Google Bot today, edited 1 time in total. | I exist for your benefit.

Founder: United Alliances
Timezone: US Eastern

User avatar
Zocra
Diplomat
 
Posts: 874
Founded: Feb 21, 2013
Inoffensive Centrist Democracy

Schedule log-ins

Postby Zocra » Mon Oct 15, 2018 12:53 am

Is there a way to set the auto-login on a schedule? Say, auto-login once per day or something like that?
Last edited by Google Bot today, edited 1 time in total. | I exist for your benefit.

Founder: United Alliances
Timezone: US Eastern

User avatar
Klaus Devestatorie
Minister
 
Posts: 2937
Founded: Aug 28, 2008
Capitalist Paradise

Postby Klaus Devestatorie » Tue Oct 16, 2018 7:52 pm

For reference, this app no longer works properly for me on my Opera browser, but cooperates just fine on Firefox. No idea why, it just doesn't seem to do anything at all.

User avatar
Greater vakolicci haven
Post Marshal
 
Posts: 18661
Founded: May 09, 2014
Ex-Nation

Postby Greater vakolicci haven » Wed Oct 17, 2018 6:51 am

Someone who knows the script rules better than me would be able to answer this, but would a feature which sends you an email notification (optional of course) when a nation is soon to CTE, and auto-enters it into the app to be activated by a button click be against site rules? If their is interest I will consider building such a feature into a new app, if it is legal.
Join the rejected realms and never fear rejection again
NSG virtual happy hour this Saturday: join us on zoom, what could possibly go wrong?
“I predict future happiness for Americans, if they can prevent the government from wasting the labors of the people under the pretense of taking care of them.” - Thomas Jefferson
“Silent acquiescence in the face of tyranny is no better than outright agreement." - C.J. Redwine
“The rifle itself has no moral stature, since it has no will of its own. Naturally, it may be used by evil men for evil purposes, but there are more good men than evil, and while the latter cannot be persuaded to the path of righteousness by propaganda, they can certainly be corrected by good men with rifles." - Jeff Cooper

User avatar
Flanderlion
Minister
 
Posts: 2226
Founded: Nov 25, 2013
Psychotic Dictatorship

Postby Flanderlion » Wed Oct 17, 2018 7:59 am

Greater vakolicci haven wrote:Someone who knows the script rules better than me would be able to answer this, but would a feature which sends you an email notification (optional of course) when a nation is soon to CTE, and auto-enters it into the app to be activated by a button click be against site rules? If their is interest I will consider building such a feature into a new app, if it is legal.

Given you can login to a nation without any clicks at all (logging in to a nation isn't a restricted action, but restoring after it CTEs is) looks fine. You'd obviously have to stay within the limits - and depending on whether you're logging in via the API or game, and how you check the activity the rates might be different.

Seems kinda pointless, having an autologin script run every week or so, and turning on emails from NS (and possibly dossiering all your nations so you can notice any CTEs if an email somehow goes missing) as the backup if you forget to run it/the automatic running doesn't work seems a much better solution than this.
As always, I'm representing myself.
Information
Wishlist

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

[APP] nslogin-web (web app to log into/restore nations)

Postby Parhe » Tue Jun 18, 2019 5:37 am

Not really expecting a response, at least not any time soon, but I was wondering why I still see the ""There has been x bad login attempt/s since your last login"" message when I log on to some nations. An example is Birmingham, which I manually logged on to just now and was greeted to the same message-one attempt. This is despite the fact that this login script claims to have successfully logged on within the past six hours and the notices tab on NationStates showing that the last time someone tried to log on to the nation 291 days ago. This has happened with at least a dozen of my nations, with some like Bharat having as many as ten bad login attempts, or so the website claims when I manually log on less than a quarter of a day since running the script.

I tested it out to see if the message always stays on a nation until the notifications tab on NationStates is open, but it doesn't seem to be the case; as soon as I logged on to Birmingham and saw the bad login attempt/s on my main page in red, I logged out and logged back in, but the message did not appear again.
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: 4982
Founded: Dec 15, 2011
Ex-Nation

Postby Auralia » Mon Jul 29, 2019 6:56 pm

Parhe wrote:Not really expecting a response, at least not any time soon, but I was wondering why I still see the ""There has been x bad login attempt/s since your last login"" message when I log on to some nations. An example is Birmingham, which I manually logged on to just now and was greeted to the same message-one attempt. This is despite the fact that this login script claims to have successfully logged on within the past six hours and the notices tab on NationStates showing that the last time someone tried to log on to the nation 291 days ago. This has happened with at least a dozen of my nations, with some like Bharat having as many as ten bad login attempts, or so the website claims when I manually log on less than a quarter of a day since running the script.

I tested it out to see if the message always stays on a nation until the notifications tab on NationStates is open, but it doesn't seem to be the case; as soon as I logged on to Birmingham and saw the bad login attempt/s on my main page in red, I logged out and logged back in, but the message did not appear again.

I just tested restoring a nation and then logging into it using the app, and I can't reproduce the problems you're seeing (in Firefox, anyways).
Catholic Commonwealth of Auralia
"Amor sequitur cognitionem."

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

[APP] nslogin-web (web app to log into/restore nations)

Postby Parhe » Tue Jul 30, 2019 11:47 am

Oh okay. Thank you Auralia, much appreciated.

If it matters, I used Opera on Windows 10 and checked the box for logins only.
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
Lord Dominator
Powerbroker
 
Posts: 8900
Founded: Dec 22, 2016
Right-wing Utopia

Postby Lord Dominator » Thu Nov 21, 2019 5:49 pm

Somewhat belated thanks for making this Auralia, works like a charm

Once I realized running it in a browser that I'm logged into NS on doesn't work for presumably obvious reasons :oops:

User avatar
Harmonic Empire
Diplomat
 
Posts: 798
Founded: Mar 17, 2017
Corporate Police State

Postby Harmonic Empire » Sat Nov 30, 2019 5:07 am

This looks pretty awesome tool, no more manual switching!

Thanks Auralia, gonna bookmark this thread
| ♛ | HARMONIKSA RIKKEN | UNTEMAR | ♛ |
Story of Codex Ylvus will be rewritten and new story will be based on the War in Heaven.
Ase's Book - Eros's Book
Please be sure to check Terra Britania's works! | Someone awakaned me from my long stasis. | Up for a challenge? Just contact me.

User avatar
Bobki
Civilian
 
Posts: 1
Founded: Apr 22, 2020
Left-Leaning College State

Postby Bobki » Fri Oct 30, 2020 7:58 am

I seem to be having a problem with the web app, it worked perfectly he first time I used it but when i tried to use it again it doesn't do anything. I don't get any error messages, i just get nothing when i click "Start". Don't know if you still read this but thought i would give it a try.

User avatar
Zocra
Diplomat
 
Posts: 874
Founded: Feb 21, 2013
Inoffensive Centrist Democracy

Postby Zocra » Fri Feb 05, 2021 10:09 am

Bobki wrote:I seem to be having a problem with the web app, it worked perfectly he first time I used it but when i tried to use it again it doesn't do anything. I don't get any error messages, i just get nothing when i click "Start". Don't know if you still read this but thought i would give it a try.


I know this is really late, but are you still having an issue with it? Try a different browser or clear your cache and cookies.
Last edited by Google Bot today, edited 1 time in total. | I exist for your benefit.

Founder: United Alliances
Timezone: US Eastern

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

Postby Frisbeeteria » Fri Feb 05, 2021 10:40 am

Zocra wrote:I know this is really late,

Yeah, it is, but I also have relevant information to add.

I use this script in Firefox. Recently, I was prompted by Mozilla to do a major update. In that process, the script lost track of my configuration and all my puppets. I still had the spreadsheet with all my puppets and passwords and was able to replace the lost content. I don't know if there is a better way to reload the lost content, because I've long since forgotten where I saved it (if anywhere).

User avatar
LollerLand
Diplomat
 
Posts: 637
Founded: May 15, 2014
Ex-Nation

Postby LollerLand » Fri Feb 05, 2021 12:49 pm

Working completely fine for me in Firefox.
Loller Kingsmoreaux Corleone
WA Delegate, Minister of Foreign Affairs, and Lord of Autumn of The Autumnal Court of Caer Sidi

User avatar
LollerLand
Diplomat
 
Posts: 637
Founded: May 15, 2014
Ex-Nation

Postby LollerLand » Mon Mar 08, 2021 11:44 pm

Bobki wrote:I seem to be having a problem with the web app, it worked perfectly he first time I used it but when i tried to use it again it doesn't do anything. I don't get any error messages, i just get nothing when i click "Start". Don't know if you still read this but thought i would give it a try.

Came across this issue. The hosted version no longer works for me. It worked when I downloaded the files from GitHub and ran it from my PC though.
Loller Kingsmoreaux Corleone
WA Delegate, Minister of Foreign Affairs, and Lord of Autumn of The Autumnal Court of Caer Sidi

User avatar
Zocra
Diplomat
 
Posts: 874
Founded: Feb 21, 2013
Inoffensive Centrist Democracy

Postby Zocra » Tue Mar 09, 2021 9:41 am

Frisbeeteria wrote:
Zocra wrote:I know this is really late,

Yeah, it is, but I also have relevant information to add.

I use this script in Firefox. Recently, I was prompted by Mozilla to do a major update. In that process, the script lost track of my configuration and all my puppets. I still had the spreadsheet with all my puppets and passwords and was able to replace the lost content. I don't know if there is a better way to reload the lost content, because I've long since forgotten where I saved it (if anywhere).



Yeah, I lose the saved configuration from time to time. I think the app must be using a cookie to store the config in-session.
Last edited by Google Bot today, edited 1 time in total. | I exist for your benefit.

Founder: United Alliances
Timezone: US Eastern

User avatar
New Westmore
Spokesperson
 
Posts: 105
Founded: Jul 21, 2022
Democratic Socialists

Postby New Westmore » Tue Dec 05, 2023 10:37 pm

Hi, I've been having an issue with the program that prevents it from logging into my nations - when I run the script, it does this:
Code: Select all
info: Auto mode
info: New Westmore: Nation exists
info: New Westmore: Logging in...
error: New Westmore: Login failed
error: More than 30 seconds between now and last login

What is happening and how do I fix this?

If this classifies as gravedigging, I'm sorry but I need help from anyone who knows how to fix this issue.
Democratic Republic of New Westmore | Per Ardua, Ad Astra

----- Dalesburg Chronicle | Headlines gathered. Opinions probed. Unbiased reporting since 1935. (View old sig) (IC Flag)
Server room in Dalesburg for popular online game "CountryRepublics" explodes in spectacular fireball; cause suspected to be archaic equipment | New coat of arms currently being designed | IEIA fissure worsens as rival factions split between One Republicans and Reformists continue to butt heads | Body of dead soldier found near One Republic Arnhem Island stronghold in a sealed box; cause of death unknown

Previous

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: GrayingOut, Imafraid Jumitebeinagang, Mapperdonia, Reyo, Riemstagrad, Syberis, The Jerichowan Country, The Koryoan Union, The Reformed Dutch State, The Southern Dependencies, Tungstan, Very totally free

Advertisement

Remove ads