[Announcement] Load Planet Data

« Back to Developers

2770 days, 7 hours, 13 minutes ago
View oliphaunt's profile
oliphaunt
[Announcement] Load Planet DataWrite Reply
I've posted this before, but I'll repost in the proper, newly created forum section (thanks, Joshua!):

The VGA Planets tax & happiness calculator is a great tool for managing and planning the economy of one's space empire.  When using it, I found myself repeatedly switching between the game and the calculator to copy and paste data from one of my planets.
This script (available at userscripts.org) uses the planets.nu API to add functionality to the calculator. After logging in and selecting a game you're involved in, it adds a drop-down selection box for owned planets and then automatically fills in the calculator's fields with data (temperature, #colonists, #structures, natives etc.) from the selected planet.

The script works in Chrome and Firefox (at least).


Any suggestions and feature requests are welcome.  Current wish list:
  • offer a list of games instead of requiring manual entry of game ID
  • load data for hissing ships in orbit around a planet
  • search for planets by name or ID

2770 days, 6 hours, 24 minutes ago
Profile Image
cb1
RE: [Announcement] Load Planet DataWrite Reply
I've used this utility. Very useful.

A "run for 10 turns" option would be helpful.

Even better, but totally unrealistic, is "If I cycle my taxes this way (and this way and this way), what is the result after 20 turns?" (I should brush off my own programming skills. Don't hold your breath.)

Does it get the host settings from the current game, or use the defaults?

2770 days, 6 hours, 20 minutes ago
View oliphaunt's profile
oliphaunt
RE: [Announcement] Load Planet DataWrite Reply
I thought host settings on planets.nu are constant?  The script is not loading them, at least.  I'm not even sure whether they're available through the API.

The page itself has a 'next turn' button, but I guess you're aware of that.  I'll keep that "run for 10 turns" option in mind.
2770 days, 5 hours, 54 minutes ago
Profile Image
cb1
RE: [Announcement] Load Planet DataWrite Reply
The defaults settings are here:
http://planets.nu/documentation/default-config

However, having been a tech writer, I know how easy it is to tweak something and not update the docs.

One of the dictionaries in
http://planets.nu/api-documentation/load-turn-data
is 'settings', which contains some, but not all, of the variables. For example, Climate Death Rate and Hiss Per Ship aren't in the file.

2650 days, 10 hours, 42 minutes ago
View lord helmet's profile
lord helmet
RE: [Announcement] Load Planet DataWrite Reply
The script seems not to work any more. The error message is raised after the game id is entered. Maybe that's connected to the recent change in the API? I don't understand the matter enough to investigate further...
2647 days, 19 hours, 38 minutes ago
View beandigger's profile
beandigger
RE: [Announcement] Load Planet DataWrite Reply
I've run into the same issue as Lord Helmet.
2644 days, 4 hours, 56 minutes ago
View oliphaunt's profile
oliphaunt
RE: [Announcement] Load Planet DataWrite Reply
Hi guys,

I haven't been playing here myself for the last couple of months, so thank you for bringing this to my attention.  I've fixed the script; a new version is available at userscripts.org.

Cheers!
- Oliphaunt
2643 days, 10 hours, 55 minutes ago
View lord helmet's profile
lord helmet
RE: [Announcement] Load Planet DataWrite Reply
Thanks, this feature helps me a lot!
2643 days, 9 hours, 9 minutes ago
View oliphaunt's profile
oliphaunt
RE: [Announcement] Load Planet DataWrite Reply
You're welcome, I'm glad people find it useful!  If you have any feature requests, let me know... not sure when I'll be able to work on it but it'd be good to know which features are most wanted.