NATION

PASSWORD

Script rules?

Who needs it, who got it, who hands it out and why.

Advertisement

Remove ads

User avatar
Fischistan
Ambassador
 
Posts: 1384
Founded: Oct 16, 2011
Ex-Nation

Postby Fischistan » Thu Dec 08, 2011 9:07 am

[violet] wrote:And done: added customleader, customreligion, customcapital, legislation shards. See API documentation for examples.

Thank you [violet]!
Xavier D'Montagne
Fischistani Ambassador to the WA
Unibot II wrote:It's Carta. He CANNOT Fail. Only successes in reverse.
The Matthew Islands wrote:Knowledge is knowing the Tomato is a fruit. Wisdom is knowing not to put it in a fruit salad.
Anthony Delasanta wrote:its was not genocide it was ethnic cleansing...
Socorra wrote:A religion-free abortion thread is like a meat-free hamburger.
Help is on its Way: UDL
Never forget 11 September.
Never look off the edge of cliff on a segway.

11 September 1973, of course.

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

Postby [violet] » Thu Dec 08, 2011 2:36 pm

Ballotonia wrote:Can we also have a way to get a list of all WA nations in a region? That would save having to pull all the nation list pages when running an endochecker.

Example, TEP (using recent numbers):
Nations: 4267, UN:418
Running through the list of nations to build a list of all WA nations: 4267 / 14 = 305 calls to HTML pages. (using 14 instead of 15 to detect nations leaving/entering)
Then actual endorsement counting: 418 XML shards.

That's not something I can add at the moment, but I'm rewriting the WA server software anyway, so I can build this in to the next iteration. Then you'll be able to query the API for a list of WA member nations in a given region.

Ofcourse, if it would be possible to combine shards of multiple nations into one call, that would be awesome!

That wouldn't be hard to add. I wouldn't be able to allow too many nations to be queried at once, though, because API calls need to be light enough for us to handle 100 per minute per client. Why would this be helpful?

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

Postby Ballotonia » Fri Dec 09, 2011 12:54 pm

[violet] wrote:
Ofcourse, if it would be possible to combine shards of multiple nations into one call, that would be awesome!

That wouldn't be hard to add. I wouldn't be able to allow too many nations to be queried at once, though, because API calls need to be light enough for us to handle 100 per minute per client. Why would this be helpful?


An endorsement checker is only interested in endorsements, but from many nations. So combining them into fewer calls would make it all faster. Less network trafic, and should be same amount of work for the server in total.

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

User avatar
New South Hell
Spokesperson
 
Posts: 161
Founded: Feb 15, 2008
Ex-Nation

Postby New South Hell » Fri Dec 16, 2011 3:09 pm

I just wanted to note that I would like to see shards for all the categories of the Analysis tab. Of course I would.

Stop me before I scrape again!

User avatar
The Murtunian Tribes
Negotiator
 
Posts: 6919
Founded: Oct 17, 2010
Ex-Nation

Postby The Murtunian Tribes » Sat Dec 17, 2011 2:03 pm

[violet] wrote:
Solm wrote:
Any news on SalusaSecondus's thoughts?

No, so we'll just do it. I'll make the change next week.

Soooooooooo....did you change it and not inform us, or did you not change it yet?


Just making sure.

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

Postby [violet] » Sun Dec 18, 2011 4:52 pm

New South Hell wrote:I just wanted to note that I would like to see shards for all the categories of the Analysis tab. Of course I would.

Stop me before I scrape again!

I will definitely add these in the near future.

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

Postby [violet] » Mon Jan 16, 2012 11:07 pm

Last edited by [violet] on Mon Jan 16, 2012 11:07 pm, edited 1 time in total.

User avatar
Coffee and Crack
Bureaucrat
 
Posts: 59
Founded: Aug 17, 2008
Ex-Nation

Postby Coffee and Crack » Mon Jan 16, 2012 11:42 pm

This is the happiest day of my NS career. <3 the new rules.

User avatar
Chasrabidus
Bureaucrat
 
Posts: 45
Founded: Aug 06, 2010
Ex-Nation

Postby Chasrabidus » Mon Jan 16, 2012 11:46 pm

Do the new rules prohibit the automatic updating of a WFE via a script?

EDIT: I know it says this, I just wanted to verify.
[violet] wrote:It is illegal to use a tool to automatically cause something in the gameworld to change, other than your own nation. Examples include: moving regions, sending a telegram to another nation, banning a nation from a region, creating a nation, and endorsing another nation.
Last edited by Chasrabidus on Tue Jan 17, 2012 12:04 am, edited 1 time in total.
Proud Shareholder and DoPR of Region Inc (has nothing to do with drugs, I swear).

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

Postby Ballotonia » Tue Jan 17, 2012 4:55 am

It doesn't say that when something hasn't been added to the API (yet), the old rate applies. So as the rules are written now, this limits my script to read telegrams / answer issues to 1 call per 6 seconds :(

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

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

Postby [violet] » Tue Jan 17, 2012 2:10 pm

Chasrabidus wrote:Do the new rules prohibit the automatic updating of a WFE via a script?

They do, yes. If you feel the rules should not prohibit this, go ahead and make a case for it. I'm happy to revise as need be.

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

Postby [violet] » Tue Jan 17, 2012 2:15 pm

Ballotonia wrote:It doesn't say that when something hasn't been added to the API (yet), the old rate applies. So as the rules are written now, this limits my script to read telegrams / answer issues to 1 call per 6 seconds :(

The deal is that if you post a thread in Technical requesting a particular API, and I agree that it's a good idea but I haven't coded it yet, I'll grant an exemption. This way, I get to hear exactly what you need, and everything is documented.

What I'm not doing is granting a blanket exemption to every script that wants something not in the API. Because then I would never hear from script authors.

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

Postby Unibot II » Tue Jan 17, 2012 2:19 pm

[violet] wrote:
Chasrabidus wrote:Do the new rules prohibit the automatic updating of a WFE via a script?

They do, yes. If you feel the rules should not prohibit this, go ahead and make a case for it. I'm happy to revise as need be.


I'd argue it on the grounds that like issue selection and similar mechanics, the interaction between players that is being automated is sort of one dimensional if you will. Similar things would be a script to automatically change one's flag (although everyone sees it) or motto, or a region's flag. There's not a whole lot of cause there to be alarmed or disgruntled if one finds out a player is automating his flag to change everyday or something like that... it hardly affects another person.
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
Region Inc
Civilian
 
Posts: 1
Founded: Feb 23, 2010
Ex-Nation

Postby Region Inc » Tue Jan 17, 2012 4:09 pm

[violet] wrote:
Chasrabidus wrote:Do the new rules prohibit the automatic updating of a WFE via a script?

They do, yes. If you feel the rules should not prohibit this, go ahead and make a case for it. I'm happy to revise as need be.


I can imagine a great use case for this regarding off-site forums. Have the forums update the WFE once an hour with the active topics on the boards, that would be pretty cool.

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

Postby [violet] » Wed Feb 01, 2012 4:12 pm

Update!

Following a query, I've added a line to the new Script Rules that makes clear that we do not permit people to distribute tools that exist for the primary purpose of rule-breaking.

We won't hold script authors responsible for everything anyone does with their scripts, but you should not disseminate a tool that breaks the rules when used normally.

User avatar
Nighton Prime
Political Columnist
 
Posts: 2
Founded: Aug 02, 2005
Ex-Nation

Postby Nighton Prime » Fri Feb 10, 2012 7:44 am

Sorry if this is an ignorant question. I'm not script-savvy or generally that technically minded. I like NS for the game not the skillz.

Isn't our post box limited in size anyway? If it is, even if a new nation gets sent 50 or 100 tgs, he or she won't see them all because the post box will "lose" the excess, right? Or is the box unlimited?
Nighton Prime founder of the region HibernationStates, once a featured region and the b*****d offspring of Curly, Polk and The South Pacific!

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

Postby [violet] » Sun Feb 12, 2012 9:38 pm

You are correct, and that would be a problem, because recruitment TGs could cause people to lose "real" TGs.

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

Postby Crushing Our Enemies » Sun Feb 12, 2012 11:23 pm

Perhaps a feature could be coded whereby all telegrams received between login sessions are saved until the next time the user logs in, and then the excess are deleted after he logs out. So, if I logged out now, and received 30 telegrams before I logged in again, I could read all 30 when I next logged in, but after I logged out again, the oldest 10 would be deleted. I'm no developer, so I don't know if that would work or not, but it's something to consider.
[violet] wrote:You are definitely not genial.
[violet] wrote:Congratulations to Crushing Our Enemies for making the first ever purchase. :)

User avatar
Christian Democrats
Postmaster-General
 
Posts: 10093
Founded: Jul 29, 2009
New York Times Democracy

Postby Christian Democrats » Mon Feb 13, 2012 12:26 am

When someone's telegram box is full of new and saved telegrams, I believe that person is unable to receive any additional telegrams. (I may be wrong.)
Leo Tolstoy wrote:Wrong does not cease to be wrong because the majority share in it.
GA#160: Forced Marriages Ban Act (79%)
GA#175: Organ and Blood Donations Act (68%)^
SC#082: Repeal "Liberate Catholic" (80%)
GA#200: Foreign Marriage Recognition (54%)
GA#213: Privacy Protection Act (70%)
GA#231: Marital Rape Justice Act (81%)^
GA#233: Ban Profits on Workers' Deaths (80%)*
GA#249: Stopping Suicide Seeds (70%)^
GA#253: Repeal "Freedom in Medical Research" (76%)
GA#285: Assisted Suicide Act (70%)^
GA#310: Disabled Voters Act (81%)
GA#373: Repeal "Convention on Execution" (54%)
GA#468: Prohibit Private Prisons (57%)^

* denotes coauthorship
^ repealed resolution
#360: Electile Dysfunction
#452: Foetal Furore
#560: Bicameral Backlash
#570: Clerical Errors

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

Postby Frisbeeteria » Mon Feb 13, 2012 8:16 am

Christian Democrats wrote: I believe that person is unable to receive any additional telegrams. (I may be wrong.)

You are wrong, actually.
[violet] wrote:You are correct, and that would be a problem, because recruitment TGs could cause people to lose "real" TGs.

User avatar
Christian Democrats
Postmaster-General
 
Posts: 10093
Founded: Jul 29, 2009
New York Times Democracy

Postby Christian Democrats » Mon Feb 13, 2012 10:59 am

Frisbeeteria wrote:
Christian Democrats wrote: I believe that person is unable to receive any additional telegrams. (I may be wrong.)

You are wrong, actually.
[violet] wrote:You are correct, and that would be a problem, because recruitment TGs could cause people to lose "real" TGs.

Then, how is it that someone's telegram box becomes "full"? At times, I've been unable to send some people telegrams for this reason. Is it just that they've saved too many telegrams?
Leo Tolstoy wrote:Wrong does not cease to be wrong because the majority share in it.
GA#160: Forced Marriages Ban Act (79%)
GA#175: Organ and Blood Donations Act (68%)^
SC#082: Repeal "Liberate Catholic" (80%)
GA#200: Foreign Marriage Recognition (54%)
GA#213: Privacy Protection Act (70%)
GA#231: Marital Rape Justice Act (81%)^
GA#233: Ban Profits on Workers' Deaths (80%)*
GA#249: Stopping Suicide Seeds (70%)^
GA#253: Repeal "Freedom in Medical Research" (76%)
GA#285: Assisted Suicide Act (70%)^
GA#310: Disabled Voters Act (81%)
GA#373: Repeal "Convention on Execution" (54%)
GA#468: Prohibit Private Prisons (57%)^

* denotes coauthorship
^ repealed resolution
#360: Electile Dysfunction
#452: Foetal Furore
#560: Bicameral Backlash
#570: Clerical Errors

User avatar
Sedgistan
Site Director
 
Posts: 35473
Founded: Oct 20, 2006
Anarchy

Postby Sedgistan » Mon Feb 13, 2012 11:00 am

Christian Democrats wrote:Then, how is it that someone's telegram box becomes "full"? At times, I've been unable to send some people telegrams for this reason. Is it just that they've saved too many telegrams?

Yes.

User avatar
Zemnaya Svoboda
Diplomat
 
Posts: 867
Founded: Jan 06, 2004
Civil Rights Lovefest

Postby Zemnaya Svoboda » Tue May 22, 2012 9:34 am

It recently came up that founders using scripts to eject and/or ban nations is no longer legal.

From what I recall of the debate here, this appears to have been an unintended consequence of the rules change. If that is so, I was wondering whether that could please be rolled back with an exemption for founder nations performing actions within the scope of their own regions (just as nation actions within the scope of the nation itself are permitted).

I can envision the possibility however that this change was intentional, and the administrators intend founders to not be 100% bulletproof. It would be good to hear that stated, if that were the case.

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

Postby Frattastan » Thu May 24, 2012 2:17 pm

*wonders too if the change was incidental or intentional* :)

I suppose it might have been changed because no-one was using it? I'm not sure.
Last edited by Frattastan on Thu May 24, 2012 2:17 pm, edited 1 time in total.
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
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Tue May 29, 2012 9:22 pm

Zemnaya Svoboda wrote:It recently came up that founders using scripts to eject and/or ban nations is no longer legal.

From what I recall of the debate here, this appears to have been an unintended consequence of the rules change. If that is so, I was wondering whether that could please be rolled back with an exemption for founder nations performing actions within the scope of their own regions (just as nation actions within the scope of the nation itself are permitted).

I can envision the possibility however that this change was intentional, and the administrators intend founders to not be 100% bulletproof. It would be good to hear that stated, if that were the case.

It wasn't discussed beforehand, but I don't believe there should be an exemption for Founders to use auto-eject scripts, no. The exemption was originally granted by Salusa, though, so I probably should have talked about it with him first. He is a little preoccupied with RL at the moment but I'll have a conversations with him when he's next free.

Previous

Advertisement

Remove ads

Return to Moderation

Who is online

Users browsing this forum: The Kharkivan Cossacks

Advertisement

Remove ads