Using spreadsheet to get planet data

General discussion for players of Oolite.

Moderators: winston, another_commander

marius
Poor
Poor
Posts: 4
Joined: Wed Nov 24, 2010 1:58 pm

Using spreadsheet to get planet data

Post by marius »

Hi commanders,

I was trying to use the spreadsheets at [wiki]Oolite_planet_list[/wiki] to get information on all the planets in Oolite. The spreadsheet in the first bullet point under the 'crazy names' subheading (http://wiki.alioth.net/images/5/5c/Oolite_galaxies.zip) gives this information, but the figures for Productivity and Population are different to those in the game (perhaps the result of changes on the planet over time ??? :wink: ).

e.g. for Lave, the info in the game agrees with that on the wiki http://wiki.alioth.net/index.php/Sector1/Lave population is 2.5 billion, productivity 7000 MCr.

But the spreadsheet gives: population 2.9, productivity 8120. Other information is the same, e.g. radius is 4116 Km.

Do I need to change the seeds to get the game values? If so, any idea what to?

Thanks!
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: Using spreadsheet to get planet data

Post by Gimi »

First off, welcome to the friendliest Board this side of Riedquat.

I'm not familiar with the origins of that spreadsheet, but there are several OXP's around that change the planet/system data. Famous Planets and the Lave OXP both change Lave, and there are probably more. So, unless you have already done so, remove any OXP's or start the game in strict mode and see if the data in the spreadsheet matches.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Using spreadsheet to get planet data

Post by maik »

Hi marius, and welcome to the friendliest board this side of Riedquat (after a year of lurking ;-))!

From what the wiki states, the spread sheet you are referring to implements the generation algorithms. I would expect that there are differences to the algorithm used in Oolite, e.g. from different random number generators.

There are two other Excels linked to from the same page, just above the "crazy names" heading. Have you taken a look at those?

Cheers,
-Maik
marius
Poor
Poor
Posts: 4
Joined: Wed Nov 24, 2010 1:58 pm

Re: Using spreadsheet to get planet data

Post by marius »

Hi, thanks for the replies.

Maik, yes, I have been using the other spreadsheets as well. One of them contains descriptions of the planets, but not the data on productivity, radius and population. I was trying to combine two spreadsheets to get a complete set of information.

Some good news - I have now discovered that the files used to build the vector maps contain some XML with raw planet data. These give Lave's population at 2.5 billion and productivity at 7000 MCr, as I find in the game and on the wiki, not as in the spreadsheet. I wanted to have the numbers as in a standard game, so I'm going to pull the figures out of the XML files to add to my dataset.

I take your point though, Gimi, about OXPs changing these values, so perhaps it doesn't matter too much. Currently I only have Oolite installed, no OXPs (and Oolite is in a sorry state, unplayable at 4FPS :( but that's another story...) and I was checking the information against what F7 shows for different planets.
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 397
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: Using spreadsheet to get planet data

Post by maaarcooose »

I created a spreadsheet recently for my OOliteInfo utility.
http://theramist.co.uk/files/oolite_gal ... llinfo.xls

Have a look at my util if you havn't done already.
http://www.theramist.co.uk/blog/?page_id=80

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Using spreadsheet to get planet data

Post by Eric Walch »

marius wrote:
Hi, thanks for the replies.

Maik, yes, I have been using the other spreadsheets as well. One of them contains descriptions of the planets, but not the data on productivity, radius and population. I was trying to combine two spreadsheets to get a complete set of information.
When you have the console installed, you can also type in the console:

Code: Select all

for (var i=0; i<256; i++){log(System.infoForSystem(galaxyNumber, i).productivity)}
That will give you a list of all productivities in the current galaxy. You can than just copy and past it to your spreadsheet. For other galaxies info in this way, you need to be in that galaxy.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: Using spreadsheet to get planet data

Post by Fatleaf »

marius wrote:
Oolite is in a sorry state, unplayable at 4FPS :( but that's another story...)
Well that's not good. Is there any way we can help you to resolve the issues?
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
marius
Poor
Poor
Posts: 4
Joined: Wed Nov 24, 2010 1:58 pm

Re: Using spreadsheet to get planet data

Post by marius »

maaarcooose wrote:
I created a spreadsheet recently for my OOliteInfo utility.
http://theramist.co.uk/files/oolite_gal ... llinfo.xls
Thanks maaarcooose, that's the information I needed! Out of curiosity, how did you get the productivity and population figures? Did you use the console (thanks Eric for the suggestion), or reimplement the algorithm? (BTW, I think your spreadsheet should go on the wiki.)
maaarcooose wrote:
Have a look at my util if you havn't done already.
http://www.theramist.co.uk/blog/?page_id=80
I've seen the screenshot, and it looks good - unfortunately, I doubt I can run your program on my linux machine. I'll confess though, I am using the spreadsheet in a similar little program of my own...
Fatleaf wrote:
marius wrote:
Oolite is in a sorry state, unplayable at 4FPS :( but that's another story...)
Well that's not good. Is there any way we can help you to resolve the issues?
It needs a Linux/Ubuntu guru, I think. My computer suffered in a power cut, and files were damaged (including my oolite save :x ), so I ended up installing an upgrade to Ubuntu 11.04. I think it's a graphics' driver problem, as Oolite ran well on the earlier version. I must admit, I haven't tried too hard to fix the problem, but I also don't know where to start. (The posts I have seen suggest changing settings in compiz/openGL, and I've tried those to no effect.) If you have any suggestions, I'ld be glad to hear them!
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: Using spreadsheet to get planet data

Post by Fatleaf »

marius wrote:
It needs a Linux/Ubuntu guru, I think. My computer suffered in a power cut, and files were damaged (including my oolite save :x ), so I ended up installing an upgrade to Ubuntu 11.04. I think it's a graphics' driver problem, as Oolite ran well on the earlier version. I must admit, I haven't tried too hard to fix the problem, but I also don't know where to start. (The posts I have seen suggest changing settings in compiz/openGL, and I've tried those to no effect.) If you have any suggestions, I'ld be glad to hear them!
Try posting your issues in this section of the BB (https://bb.oolite.space/viewforum.php?f=9) There are a few competent individuals around here.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
PhantorGorth
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Wed May 20, 2009 6:48 pm
Location: Somewhere off the top left of Galaxy 1 map

Re: Using spreadsheet to get planet data

Post by PhantorGorth »

I am the author of that spreadsheet. If there are any problems I am quite willing to fix them. I will take a look at the calculations for those columns and fix accordingly.

Regards,

Phantor Gorth
Chat and relax with other commanders in the [url=irc://irc.oftc.net/oolite]DS's Seedy Space Bar[/url]. The Coolest Bar in the Eight.

Phantor's OXPs: [EliteWiki] GalCop Rewards and [EliteWiki] Safe Docking
User avatar
PhantorGorth
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Wed May 20, 2009 6:48 pm
Location: Somewhere off the top left of Galaxy 1 map

Re: Using spreadsheet to get planet data

Post by PhantorGorth »

I have fixed the spreadsheet. I had fallen for the usual trap of using the Tech Level displayed (which starts at 1) not the true value (which starts at 0). Changing this in Population column fixes that issue and in turn fixes the Productivity at the same time.

Unfortunately since I wrote that spreadsheet in 2009 the Wiki has been updated and now no one is allowed to upload zip or even ods files (only png, gif, jpg, jpeg are allowed) so I can not update it. If the Wiki maintainers can either change that restriction or upload the file from here for me then I would be very grateful.

Phantor
Chat and relax with other commanders in the [url=irc://irc.oftc.net/oolite]DS's Seedy Space Bar[/url]. The Coolest Bar in the Eight.

Phantor's OXPs: [EliteWiki] GalCop Rewards and [EliteWiki] Safe Docking
marius
Poor
Poor
Posts: 4
Joined: Wed Nov 24, 2010 1:58 pm

Re: Using spreadsheet to get planet data

Post by marius »

PhantorGorth wrote:
I have fixed the spreadsheet. I had fallen for the usual trap of using the Tech Level displayed (which starts at 1) not the true value (which starts at 0). Changing this in Population column fixes that issue and in turn fixes the Productivity at the same time.

Unfortunately since I wrote that spreadsheet in 2009 the Wiki has been updated and now no one is allowed to upload zip or even ods files (only png, gif, jpg, jpeg are allowed) so I can not update it. If the Wiki maintainers can either change that restriction or upload the file from here for me then I would be very grateful.
Phantor
Yes, that does the trick! I edited the formula in column AG to first subtract 1 from the value in AF, and the values now come out right.

Thanks for taking a look.
User avatar
PhantorGorth
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Wed May 20, 2009 6:48 pm
Location: Somewhere off the top left of Galaxy 1 map

Re: Using spreadsheet to get planet data

Post by PhantorGorth »

marius wrote:
Yes, that does the trick! I edited the formula in column AG to first subtract 1 from the value in AF, and the values now come out right.

Thanks for taking a look.
No problem. Hopefully one of the Wiki masters will see this thread and get my fixed file uploaded.
Chat and relax with other commanders in the [url=irc://irc.oftc.net/oolite]DS's Seedy Space Bar[/url]. The Coolest Bar in the Eight.

Phantor's OXPs: [EliteWiki] GalCop Rewards and [EliteWiki] Safe Docking
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Using spreadsheet to get planet data

Post by maik »

PhantorGorth wrote:
No problem. Hopefully one of the Wiki masters will see this thread and get my fixed file uploaded.
While I couldn't upload your file either (being only a minor wizard), I changed the page to link to the dropbox location of its new version. I have PM'ed the archmage asking for further promotion in the wizard ranks but apparently Winston didn't see the need... Might have asked for the wrong privileges, so will try again.
User avatar
PhantorGorth
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Wed May 20, 2009 6:48 pm
Location: Somewhere off the top left of Galaxy 1 map

Re: Using spreadsheet to get planet data

Post by PhantorGorth »

Maik,

Thank you for trying but I didn't want my Dropbox account being the source for that document on the wiki. Having my Dropbox account being the the source for stuff on the BB is okay as the bandwidth is likely to be less. Could you please change that back.

Regards,

Phantor
Chat and relax with other commanders in the [url=irc://irc.oftc.net/oolite]DS's Seedy Space Bar[/url]. The Coolest Bar in the Eight.

Phantor's OXPs: [EliteWiki] GalCop Rewards and [EliteWiki] Safe Docking
Post Reply