notaname320 / henson Goto Github PK
View Code? Open in Web Editor NEWA puppet manager for NationStates.
Home Page: https://hensonllc.me/
License: GNU General Public License v3.0
A puppet manager for NationStates.
Home Page: https://hensonllc.me/
License: GNU General Public License v3.0
May not even be technically possible, but will put some more time into it.
๐ Hello
While trying this application out I could not start it because of Windows Defender Blocking it.
Info
Reason: Behavior:Win32/DefenseEvasion.A!ml
OS: Windows 11
change the login request to a century region page from which you can log in, get the chk, AND get the localid in one request. totally didnt steal this by looking at the shine code.
can be done pretty easily with https://www.nationstates.net/pages/api.html#verification, idk why no other tools really use this
rn henson frequently stumbles over the suppression ratelimit, lets make it autoretry a suppression if it does that.
need to scrape page to do this but it's theoretically possible. also update certain things like auto skip prep selected if logged in nation matches.
will probably go in footer
This is probably gonna be a 1.2.0 thing
something that should really be done by default as long as something's checked.
removes need for ping upon closure of the window
right now it just crashes out if you import a json that doesn't work
would work like prep selected window, lemme just map it out rq:
this will be so painful to code lmao
i'll need to dive deeper into the avalonia docs for this. good luck, future me.
if a region is in that setting, don't withdraw the embassy.
probably something to do with async thread being blocked. might be a harder bug to get rid of than it sounds but i'll take a whack at it sometime.
yeah
Suggested by Unshleepd.
according to wasc at least
new .net LTS is out, and that means .net 6 is EOL in less than a year, need to upgrade everything to get ready for .net 8.
relevant:
https://learn.microsoft.com/en-us/dotnet/core/compatibility/7.0
https://learn.microsoft.com/en-us/dotnet/core/compatibility/8.0
after each prep in the footer change it i think
One of swarm's main draws is the ability to spam click. consider adding that to Henson.
i suck at writing readable code
literally just add a binding to change the fluent theme to dark lmao
Ability to group nations, easy way to move nations between groups, ability to select nations by group, etc. will also require a bit of finagling with the database so be prepared to rewrite some database code (not fun)
During a brief test today, henson 1.1.0 managed to hang on the prep window during a login request. However, while the window was frozen, it appears that move requests were still accepted and may have even been enqueued. This, depending on what exactly is happening in the backend, may result in a NS ToS violation. From the NS rules:
A request is manual if and only if it is initiated by immediately responding to a user's input (mouse click or key press), at the ratio of one click to one request. You must not queue or delay performing the action (for example, to wait for a previous request to complete) in any way; you must perform the action immediately when detecting the input (such as in the appropriate callback), or not perform it at all.
Since it appears that move requests are still being accepted from the user, but NOT being acted upon immediately (i.e. blocking for a previous request) this effectively forms a queue of clicks that have not yet been moved, which is in violation of NS rules.
Solution: Swarm solves this problem by disabling the prep button immediately after a click is registered, and only re-enabling it after the web request has been processed. This solves the issue of clicks arriving faster than they can be handled. Consider implementing the same method.
yeah
will attempt to reproduce on vm, unknowable if i can even fix this since it may be lower level code
Tag function says "None of the selected nations were in regions they could tag" when nation was in fact an RO with Appearance and Embassies perms.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.