Script Rules are covered in this post by SalusaSecondus. If you don't know what scripts are or how to write them, then these rules are almost certainly unnecessary for you.
Is there a link that's supposed to be there?
by Kandarin » Wed Oct 21, 2009 9:24 pm
Script Rules are covered in this post by SalusaSecondus. If you don't know what scripts are or how to write them, then these rules are almost certainly unnecessary for you.
I wish I remember who wrote:Games like Nationstates are like a big cardboard box, and there are two kinds of people in the world. The kind who look at the empty void inside the box and ask "Where the hell is it?" and the kind who jump into the box with their friends and make it into a fort, or a spaceship.
by Kryozerkia » Thu Oct 22, 2009 5:09 am
by Ardchoille » Thu Oct 22, 2009 5:13 am
SalusaSecondus wrote:Ok, these are now binding (though still up for discussion)
- No script may send unsolicited telegrams. (1 reply message is permitted to a received telegram)
- No script may post regional messages without permission of founder (or delegate if no founder exists). Edited
- No script may access the forums (ie, any page with a URL starting with
http://forums.jolt.co.uk) (http://forum.nationstates.net)- No script may kick or ban nations (unless controlled by the region's founder).
- Scripts may not be used to endorse or unendorse other nations.
- Scripts may not access the server excessively.
- No script may create a nation. Edited
- No script may create a region. Edited
- Any Game Moderator, Admin, or Tech Modling may judge a script to be legal or illegal, separate from the above guidelines.
by [violet] » Thu Oct 27, 2011 10:23 pm
by TBone Steaks » Thu Oct 27, 2011 11:07 pm
by Ballotonia » Thu Oct 27, 2011 11:30 pm
[violet] wrote:Similarly, any kind of information-gathering script is acceptable, provided that it sends no more than 10 requests per minute, or uses the official API.
[violet] wrote:It is illegal to use a tool to automatically execute actions. "Executing an action" means sending a request to the NationStates server that causes something in the gameworld to change. Examples include: moving regions, sending a telegram to another nation, banning a nation from a region, creating a nation, and endorsing another nation.
by TBone Steaks » Fri Oct 28, 2011 12:51 am
by New South Hell » Fri Oct 28, 2011 4:04 am
by Bears Armed » Fri Oct 28, 2011 4:23 am
[violet] wrote:There is an exception to the above rule: A script or automated tool may send telegrams, providing that it does so at a rate of no more than 3 telegrams per minute.
by [violet] » Fri Oct 28, 2011 5:01 am
by New South Hell » Fri Oct 28, 2011 5:26 am
by Glen-Rhodes » Fri Oct 28, 2011 6:57 am
by Echolilia » Fri Oct 28, 2011 9:12 am
[violet] wrote:any kind of information-gathering script is acceptable, provided that it sends no more than 10 requests per minute, or uses the official API
There is an exception to the above rule: A script or automated tool may send telegrams, providing that it does so at a rate of no more than 3 telegrams per minute.
The rate limit is adjudged per region/group/cause. That is, a group of people may not work together to send more than this rate of telegrams to promote the same region, WA resolution, or other cause.
Please note: This does not overrule any of the broader site rules regarding spam! You are required to stay within those rules, too.
by Zybodia » Fri Oct 28, 2011 9:57 am
New South Hell wrote:I might have to kill the Ulthar bots. (Do what I say, or this cute little bot gets it! )
by Aurora-Nova » Fri Oct 28, 2011 10:07 am
Echolilia wrote:-snip-
As we speak, the Libyan people are being
massacred by terrorists in arms against the
legitimate government. The elderly, women,
children... everyone in Libya is in danger tonight.
Help raise awareness and support Gaddafi!
“I believe that Palestine is an occupied land
from the Mediterranean Sea to the Jordan River,
and this is the right of the entire
Palestinian people, this land.”
~Sayyid Hassan Nasrallah
by TBone Steaks » Fri Oct 28, 2011 11:41 am
by Echolilia » Fri Oct 28, 2011 11:51 am
TBone Steaks wrote:1. Stipping down a Graphic rich HTML version to a Txt only version of the HTML for us to scrape, automate, and run light.
Each of us is using different pieces. No matter what this covers them all in one shot.
by Augustus Este » Fri Oct 28, 2011 12:38 pm
by Ballotonia » Fri Oct 28, 2011 1:30 pm
<REGION>
<NAME>nederland</NAME>
<ENDOS NATION="leepaidamba">carlswald</ENDOS>
<ENDOS NATION="xamery">dangertk:carlwald</ENDOS>
<ENDOS NATION="dangertk">leepaidamba:carlswald:xamery:ballotonia</ENDOS>
<ENDOS NATION="carlswald"></ENDOS>
</REGION>
by New South Hell » Fri Oct 28, 2011 2:52 pm
by [violet] » Fri Oct 28, 2011 5:41 pm
New South Hell wrote:I would like to have this API before the rule of 10 per minute goes into effect
Glen-Rhodes wrote:So, would it be possible to either get World Assembly vote info in the API
Echolilia wrote:is there a single post that lists all the api functionality?
Echolilia wrote:It's not clear to me if you mean to include or exclude recruiting.
Zybodia wrote:I have a script I use to track World Census results in my region. (Or occasionally other regions/groups of nations.) I use the API to get the list of nations, but I still have 200-300 individual nation pages I have to scrape to get the information I want. Is this something that an API could be created for?
Zybodia wrote:I also, like others who have posted, use a script to log on and check for new issues/telegrams.
Zybodia wrote:Is there a reason scripts have to be slower than a keyboard and mouse?
Aurora-Nova wrote:For those of us unfamiliar with the API, and how to script using APIs
TBone Steaks wrote: In the end, which is easier?
1. Stipping down a Graphic rich HTML version to a Txt only version of the HTML for us to scrape, automate, and run light.
Augustus Este wrote:I would much prefer a recruitment re-haul that makes it easier for everyone to recruit than a rule that puts most UCR members at a disadvantage for not having the programming skills that a select few have.
Ballotonia wrote:Can the API perform logins at all? Cause that's what it would require to do in order to fetch telegrams ans answer issues...
New South Hell wrote:Given, Lady [violet], that you are now in the mood to make API changes, I would like to request the following additions to the nationdata.
by Christian Democrats » Fri Oct 28, 2011 8:02 pm
[violet] wrote:The new rule would be:
Script Rules
Exception: Sending Telegrams
In recognition of the fact that NS has a very crude messaging interface, and that an improved one is in the works, which will hopefully allow some form of mass telegrams:
There is an exception to the above rule: A script or automated tool may send telegrams, providing that it does so at a rate of no more than 3 telegrams per minute.
The rate limit is adjudged per region/group/cause. That is, a group of people may not work together to send more than this rate of telegrams to promote the same region, WA resolution, or other cause.
Leo Tolstoy wrote:Wrong does not cease to be wrong because the majority share in it.
by Aurora-Nova » Fri Oct 28, 2011 9:10 pm
[violet] wrote:New South Hell wrote:I would like to have this API before the rule of 10 per minute goes into effect
I won't require anyone to abide by that if they've asked for an API and I haven't provided it yet. So if you're currently scraping data from the HTML at a rate of more than 10 requests per minute, just post here exactly what data you want, and you're fine.
[violet] wrote:Zybodia wrote:I also, like others who have posted, use a script to log on and check for new issues/telegrams.
Do you use a subscription for this? That lets you check for new issues and TGs without having to log in.
[violet] wrote:Zybodia wrote:Is there a reason scripts have to be slower than a keyboard and mouse?
Yes, the reason is we're attacking Better-Than-Human scripts. I don't want those to be faster than a person. Information-gathering scripts I am happy to be much faster, and the best way to support that is to route them through an API.
[violet] wrote:Aurora-Nova wrote:For those of us unfamiliar with the API, and how to script using APIs
The API is supposed to be easier for scripters to use than the HTML site. If it's not, please post in the Technical forum and you'll get help.
One advantage of the API is that it doesn't change. Currently, if you're scraping HTML, you're probably making a few assumptions about the layout of various pages: e.g. that the data you want is enclosed within a particular set of tags. But if/when we tweak the layout, and the tags change, your script breaks.
As we speak, the Libyan people are being
massacred by terrorists in arms against the
legitimate government. The elderly, women,
children... everyone in Libya is in danger tonight.
Help raise awareness and support Gaddafi!
“I believe that Palestine is an occupied land
from the Mediterranean Sea to the Jordan River,
and this is the right of the entire
Palestinian people, this land.”
~Sayyid Hassan Nasrallah
by Cerberion » Fri Oct 28, 2011 9:38 pm
Advertisement
Users browsing this forum: Idzequitch
Advertisement