Page 2 of 3

PostPosted: Mon Jun 15, 2015 6:44 pm
by South Jarvis
Letoilenoir wrote:http://www.nationstates.net/cgi-bin/api.cgi?q=happenings;filter=move

Could this be added as an alternative filter?

Reasoning being if a nation is already prepared to move they might be tempted to a different region than they originally aimed for


Thanks for the suggestion! It's on my list of things to add to pyNSrecruit.

PostPosted: Mon Jun 15, 2015 10:56 pm
by Jean Pierre Trudeau
This seems to be working great. Thanks for the good work, it is greatly appreciated by the community.

PostPosted: Sat Jul 04, 2015 9:58 pm
by Topid
I just tried to run this for my region. I got an error in the log "Error 403 Client Not Registered For API". To me that sounds like I do not have a valid API key, but it is the same API key I've used for over 2 years for The US. It was working last time I tried to use it (5 months ago). I don't know why it would have quit working.. o.O

I just thought I'd post here to see if anyone knows what could have happened before I waste a mods time asking for a new key that I only think I need. :p

PostPosted: Tue Jul 07, 2015 1:27 am
by The Confederate State of Missouri
Could be because of this

Frisbeeteria wrote:Just a notification to NS++ recruiting players:

I just cleaned up the Client Key database. I removed
  • Anyone whose script hasn't been active for a year or more
  • Anyone who had requested a key three or more months ago and never used it

We don't mind issuing Client Keys to players who will use them, but it's annoying and a fair amount of work to issue keys to people who just think it's cool to have a key.

Please don't request a Client Key unless you a) know how to use it and b) plan to use it.

Thanks,
The NS Game Mods

Anyone Managed to Run this on a Mac?

PostPosted: Thu Jul 09, 2015 8:45 pm
by Nouvelle Tealand
I'm not incredibly techy but really like the sound of this tool so I've downloaded Python 3.4 or something for Mac OSX but whenever I open the main file from the zip folder it just comes up with a box of code.... anyone know how to get to the user interface on a mac? :/

PostPosted: Sun Apr 10, 2016 2:00 am
by Farlander Socialist Republic
This is a great tool, but i keep encountering a problem. Sometime when instead 180 seconds between each telegrams, it waits forever.

PostPosted: Mon Apr 18, 2016 1:55 pm
by Kautharr
Is this legal?

PostPosted: Mon Apr 18, 2016 5:46 pm
by Zocra
Will there be a .deb file in the future?

PostPosted: Tue Apr 19, 2016 2:58 pm
by Zocra
Kautharr wrote:Is this legal?

Yes.

PostPosted: Wed Apr 20, 2016 5:56 am
by Dalaen
Zocra wrote:Will there be a .deb file in the future?


Dear Zocra,

Forgive me for interrupting but a .deb package is entirely unnecessary. Simply run from the command line, you can even create shortcuts that would do the command for you. Currently this is a beautifully simple solution to a problem. Creating a .deb package would simply add unnecessary bloat to the software and your system in turn.

Yours Sincerely,

Dalaen

PostPosted: Wed Apr 27, 2016 10:37 am
by Kautharr
When I try to open it, it just opens it as a text file... Is this linux only?

PostPosted: Sat Oct 08, 2016 1:25 am
by Imperium Anglorum
Kautharr wrote:When I try to open it, it just opens it as a text file... Is this linux only?

You may need to install Python to execute Python files (.py)

0.2.3 Update

PostPosted: Tue Feb 14, 2017 6:21 pm
by South Jarvis
Hu wha? Hey, this is still here!

I've just pushed a minor update, 0.2.3, which switches the telegram API over to HTTPS per the new API documentation.

0.2.4 Update

PostPosted: Thu Mar 16, 2017 10:31 pm
by South Jarvis
Another update today: pyNSrecruit will now refuse to start telegramming if you have not saved the settings to a campaign. The previous behaviour was a poor design decision on my part and has tripped up several people.

PostPosted: Thu Mar 16, 2017 11:01 pm
by Frisbeeteria
South Jarvis wrote:pyNSrecruit will now refuse to start telegramming if you have not saved the settings to a campaign.

I don't know what this means in your app, but I'm hoping it means you look for a checked 'campaign' or 'recruitment' checkbox in the telegram template. If it's not, that would be a great feature, welcomed by mods and players alike.

PostPosted: Mon Mar 20, 2017 12:15 pm
by LollerLand
Frisbeeteria wrote:
South Jarvis wrote:pyNSrecruit will now refuse to start telegramming if you have not saved the settings to a campaign.

I don't know what this means in your app, but I'm hoping it means you look for a checked 'campaign' or 'recruitment' checkbox in the telegram template. If it's not, that would be a great feature, welcomed by mods and players alike.

It actually means that the program won't run until the settings are saved into the save file. But a feature like the one you mentioned would be really great!

PostPosted: Mon Mar 20, 2017 1:56 pm
by Imperium Anglorum
Frisbeeteria wrote:
South Jarvis wrote:pyNSrecruit will now refuse to start telegramming if you have not saved the settings to a campaign.

I don't know what this means in your app, but I'm hoping it means you look for a checked 'campaign' or 'recruitment' checkbox in the telegram template. If it's not, that would be a great feature, welcomed by mods and players alike.

I don't think there is a way of verifying that a telegram is checked as campaign or recruitment without something like this, so it is possible to actually query for that information. There is a theoretical workaround in that you could webscrape your way to doing that, but you would have to log into NationStates with your username and password. It would also take forever to do, as there are strict rate-limits on web-scraping. I would note that Communique has this exact same save requirement, just that Communique automatically creates an autosave file when the program closes.

Please help! | Linux

PostPosted: Fri May 19, 2017 7:53 am
by Heaverian Islands
Hey guys! I am in need of help! I have a linux server. And well... I'm not very good with Linux. Is it possible to get this telegrammer or any with the Linux terminal? If so, how? Thank you!

PostPosted: Sun Nov 05, 2017 7:32 pm
by Vegaslovakia
Does this work on QPython 3? I don't know how to use the app, or obtain an API or whatever it is you need to run pyNSrecruit.

PostPosted: Sat Feb 03, 2018 12:19 pm
by Kassimo
Thank you kindly for this resource! :)

PostPosted: Tue Jan 22, 2019 5:36 pm
by Potato
http://prntscr.com/matnuj

I was sending telegrams through API yesterday and then restarted my PC, and then it did this when I started it up.

PostPosted: Thu Jan 24, 2019 12:56 am
by Waybaria
Exactly the same issue here, pyNSrecruit, NSTG and others are dead. The API seems to be not working at all

PostPosted: Sat Sep 28, 2019 9:45 am
by Androdium
So I think I’ve ran into a problem. PyNSrecruit used to work fine however once I tried getting the tgid and secret keys from a web address it gave me a warning message stating (If a nations have been telegramed then it’s ok to stop telegramming now.) or something on the lines of that

PyNSrecruit error message

PostPosted: Wed Oct 09, 2019 2:41 pm
by Al-Hadun
[warn] All applicable nations have been telegrammed already. Waiting 30 seconds
[warn] If telegramming a fixed number of participants it is safe to stop telegramming now.
What does this mean?! Please help?!

PostPosted: Wed Oct 09, 2019 3:40 pm
by Marxist Germany
What I understand is that you have already telegrammed the nations on the list recently and the game doesnt allow you to send recruitment TGs too frequently to the same nation.