Popular Post Lyrositor Posted May 19, 2018 Popular Post Share Posted May 19, 2018 Several months ago I began development on a personal tool called Ferret, a web application which can be used to estimate nation revenue and resource production. This was loosely based on an old project I never finished. It periodically scrapes the API for data about each active nation in the game, then provides a web interface for viewing it and simulating changes. For several reasons, I never finished it, and it has not been updated for quite some time now. Since I don't really have further interest in developing it, I am releasing the code to the public, in the hope that it can be of use to someone. You can see an example of its output for my nation in the attached screenshot. Source: https://github.com/Lyrositor/pnw-ferret License: CC0 1.0 Universal - Basically, do whatever you want with it. You don't need to provide attribution or get permission to use it. Demo website: http://lyros.net/ferret/ Important notes: Ferret is out of date. There have been several updates to P&W since it was last updated, so some values are now very inaccurate. It is not 100% accurate. For reasons I never fully figured out, nation revenue is off, even when accounting for things like radiation/seasons/etc. (which Ferret does not currently take into account on its own). I am releasing this as is, with no additional instructions. I can try to answer questions if you have any, but if you want to set it up yourself and run it, you're mostly on your own. To anyone familiar with Python and Vue.js, however, it should be pretty straightforward. Most of the code that probably interests you is in the "ferret.pnw" package. This is the package responsible for calculating all the P&W formulas. Feel free to gut it for your own projects. Recently, there appear to be some issues with the API data. Some entries are not getting parsed correctly as a result. I haven't investigated it yet. The permission/authentication system is a legacy of my old plans for this. Now that it's open source, anyone can use it, so the whole thing could be stripped out for simplicity's sake. I may do this at some point if there is some interest. If people are interested in this enough, I may go back to work on it, but right now I have no further development plans for it. Cheers. 4 9 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.