Comprehensive Colony/OSB Overview Tool
31 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: Comprehensive Colony/OSB Overview Tool
Loke wrote:RAM, do you know if its possible to extract info of how many levels of enhacned production buildings are upgraded with?
It is not possible currently.
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Re: Comprehensive Colony/OSB Overview Tool
Loke wrote:Removing th *2 on line 305 and 306 in analyzer.js should make it correct:
- Code: Select all
//Winery,Brewery Daily Needs
if (structType[br][4] > 0) structType[gr][13] += structType[br][4] * 2;
if (structType[wi][4] > 0) structType[or][13] += structType[wi][4] * 2;
With the *2 there it shows 4 tons of grain/fruit used to make 1 ton beer/wine. I didnt find where the other 2* is, but I assume its done the same as for cigars, which is already correct.
Actually you have to remove those 2 lines altogether, the daily needs for winery and brewery are accounted for elsewhere, and those 2 lines just adds to it. After I removed them, the anayzer calculates correct on my local copy.
Callsign: Fraaggii or Loke
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Re: Comprehensive Colony/OSB Overview Tool
RAM wrote:Loke wrote:RAM, do you know if its possible to extract info of how many levels of enhacned production buildings are upgraded with?
It is not possible currently.
Thx for answering. yeah, I see farms and mines only have Enhanced production bonus in position 19, so no easy way of getting that info. But I also found that brewery, graph factories etc is different, they have the upgraded level in position 19 (probably because bonus is +1 per level). Which makes it possible to see that Tigs Treehouse has average upgrade level of 11 for graph factories. Only by doing this in the analyzer:
- Code: Select all
//after this line "structType[j][4] += structure[i][9]*1;" add this line:
structType[j][7] += structure[i][19]*1;
//And then later just do this to get average:
structType[gf][7] = Math.round(structType[gf][7] / structType[gf][5]);
I just reused structType[][7] that was used for Pwr off, just to get the result out without making other changes. I never have any buildings pwr off anyway.
Doesnt work while upgrades are being constructed, but that is just a few hours now and then. This is quite useful actually


Edit:
And if you add
structType[j][7] += structure[i][23]*1;
instead, it will give out the average core sample the mines and farms are placed on:

Callsign: Fraaggii or Loke
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Re: Comprehensive Colony/OSB Overview Tool
I power a lot of structures on and off. Would need to create a new column for that.
I will try to find some motivation to look at this this week.
AscentExtras.com will no longer exist after this month. I will carry all the tools on another domain I have. They will still be available, but at a new address.
I will try to find some motivation to look at this this week.
AscentExtras.com will no longer exist after this month. I will carry all the tools on another domain I have. They will still be available, but at a new address.
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Re: Comprehensive Colony/OSB Overview Tool
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Re: Comprehensive Colony/OSB Overview Tool
RAM wrote:Fixed the Firefox issue.
Nice! What did you need to change?
I did figured out how upgrades are calucluated for mines and farms:
base * 0.075 * upgrade_level = Enhanced production bonus
in analyzer.js that refers to:
base: structure[i][23] = Base production
Enhanced production bonus: structure[i][19] = Enhanced production bonus
So to find level of enhanced this needs to be calculated:
Enhanced production bonus / (0.075 * base)
To add this to analyzer I think its easiest to first get the average for base:
structType[j][14] += structure[i][23]*1; //line 196
structType[ve][14] = Math.round(structType[ve][14] / structType[ve][5]); // after line 261
Which is a useful output on its own.
Then get average of enhanced bonus:
structType[j][15] += structure[i][19]*1; //add after line 196
structType[ve][15] = Math.round(structType[ve][15] / structType[ve][5]); // after line 261
And lastly divide average of ehnaced bonus by (0.075 * average base)
should give correct enhanced level. I have not put this into analyzer.js to test yet, just an idea how it could be done.
I also found that decreased production do to lack of power is found here:
structure[i][13] = Insufficient power decreased production
Callsign: Fraaggii or Loke
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Mining yield calculator: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
RAM wrote: Loving the SiFi but Loke got his first.
Re: Comprehensive Colony/OSB Overview Tool
Loke wrote:Nice! What did you need to change?
Remmed out line 73. Having trouble reading the time stamp of the file.
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Re: Comprehensive Colony/OSB Overview Tool
I have added the link to the Colony Analyser at the bottom of the Main Page the Wiki.
RAM, I can you change the link on the first post of this thread to the correct addrress, please.
RAM, I can you change the link on the first post of this thread to the correct addrress, please.
Re: Comprehensive Colony/OSB Overview Tool
Updated the URL to colony.dataus.net/
Should make it easier to pass on the location. Works from either address.
I need to take a look at Loke's improvements one day.
Should make it easier to pass on the location. Works from either address.
I need to take a look at Loke's improvements one day.
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Re: Comprehensive Colony/OSB Overview Tool
I updated the definitions when you map the OSB to better identify that Z axis is in the middle of the X and Y. So X Z Y not X Y Z.
"The UNCA is not your boss!" ~ Jessica Steele
Fan Fiction from an old timer - RAM Memories
Fan Fiction from an old timer - RAM Memories
Who is online
Users browsing this forum: No registered users and 1 guest