[violet] wrote:Sandaoguo wrote:Given that the Script Rules for HTML interaction have always had an ambiguity problem, I'd rather not be staring down the barrel of a potential DEAT or WA ban because 5 years from now admins forget this thread and read the wording like I am.
I have to point out, this is the exact problem with bots on the HTML site, and why we're trying to shift them onto the API!
Branching off of this in the HTML Script Rules thread, I'd like to make a feature request. This could be an API feature, but I also think there's no game balance issues in making it a user-facing feature. A feature like this wouldn't be useful for R/D due to speed issues. if there is a concern there, the page doesn't have to be "live" and could instead be updated per major update.
Cross-Endorsement Page
Current state: Players have no way of knowing who they aren't endorsing, without cross-referencing every single WA member of their region with their endorsement list. Players rely on scripts that use HTML-scraping or API calls to generate lists for them.
Current dev issues: Scripts are relying on a complex combination of daily dumps, rate-limited API calls, and page scraping of things like Happenings to craft accurate lists. The most user-friendly tools require users to enable cross-site cookies to work.
Proposed feature: A Endorsements page where players can easily endorse all World Assembly members in their region. The page would ideally provide buttons that use AJAX calls to endorse a nation, rather than just generating a list of links that players have to them open individually to the nation page and endorse.
Example: What I'm envisioning is essentially the tool I've created placed directly in NationStates itself (which obviously wouldn't require providing localids or enabling cross-site cookies) - https://tspforums.xyz/archer/interactive.html
This would be preferable over an API call that endorses a nation. Because the API is rate limited by source, API-based tools would have restricted usability and likely be poorly adopted compared to the current state options.