Author |
Message |
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
Since colonizing multiple planets is an n+1 type of problem, it can be extremely tedious/useless to figure out how much it would cost to fill your planet slots (especially if, like myself, you have ranked a lot very quickly over the Scruuge event without colonizing nearly enough planets). I was curious about figuring out my total costs, and didn't really enjoy calculus enough to derive the equation, so I wrote this simple calculator that anyone here can use by editing the values on lines 7 and 8 to match their ship stats ( Planets Occupied and Rank). If you are a high-rank ship, you can already expect sticker-shock. If you plan to invade planets, the cost is... going to necessarily be significantly higher. Anyway, hope you all enjoy seeing how much capital you could lose if you wanted to max your planets but haven't. Edit: New and improved version with help from TexasToast http://repl.it/8cg
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
Last edited by Tempest3 on Wed Jan 21, 2015 10:20 pm, edited 1 time in total.
|
Wed Jan 21, 2015 6:57 pm |
|
|
Texas Toast
Joined: Mon Sep 08, 2014 6:44 pm Posts: 847
|
I like it! I created a sheet on my spreadsheet when I was getting ready for lone conquorer so I'd know how much invasion costs would be that laid things out, so that would be pretty easy to add. In fact, I played around with it a bit and here's some slight improvements you might want to consider: Code: #This calculator tells you the cost of colonizing all your empty planet slots.
#You will need to change the numerical variables at lines 7 (n=10) and 8 (rank = 100) and then your calculation will be accurate for your ship.
import math
n = 75 #"Planets Occupied" on ship stats rank = 300 #Your ship rank maxPlanets = (rank/4) + 1
print str(maxPlanets) + " max planets (" + str(maxPlanets-n) + " more)"
cost = 0 while (n < maxPlanets): cost += (math.pow((n+1), 3)) * 1000 n +=1 print "total cost: $" + "{:,}".format(cost) + " - $" + "{:,}".format(cost * 2)
The only changes are on the two print lines.
_________________--------------- GD: A good legion for collecting relic badges --------------- ---------------------------------------------------------------------
|
Wed Jan 21, 2015 10:09 pm |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
I like the idea of showing the cost if you invade all the available slots... although that just makes me want to cry. But yeah, cool stuff! Thanks for helping with the print formatting -- I sometimes get lazy with it since I know what it means and just want to dump the variables. It would definitely help people who don't understand the code as well.
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Wed Jan 21, 2015 10:14 pm |
|
|
kirkeastment
Joined: Sun Jun 19, 2011 6:24 pm Posts: 2810 Location: UK
|
It may prove useful to know that 700 is the max # of planets you can own.(Based solely on NarayanAstra never going above that # of planets owned).
|
Wed Jan 21, 2015 10:18 pm |
|
|
Texas Toast
Joined: Mon Sep 08, 2014 6:44 pm Posts: 847
|
I've never used Python so it was fun looking up the syntax.
_________________--------------- GD: A good legion for collecting relic badges --------------- ---------------------------------------------------------------------
|
Wed Jan 21, 2015 10:19 pm |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
I remember wondering about max planets back when FRAIL was autoranking to 3000. Is there any confirmation at all from the high-ranks if this is true, or is the cost simply too prohibitive (play around with this calculator and you'll quickly see how bad it becomes if you aren't already aware)?
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Wed Jan 21, 2015 10:26 pm |
|
|
kirkeastment
Joined: Sun Jun 19, 2011 6:24 pm Posts: 2810 Location: UK
|
Tempest3 wrote: I remember wondering about max planets back when FRAIL was autoranking to 3000. Is there any confirmation at all from the high-ranks if this is true, or is the cost simply too prohibitive (play around with this calculator and you'll quickly see how bad it becomes if you aren't already aware)? Well NarayanAstra had 700 planets colonized, i saw that number personally, but he never went above it.(he was rank 2891 at the time, so certainly had more slots available), but he never went above that number. He would certainly have been able to afford the costs, so the only reason i can think of would be that there is/was a cap. I can confirm it myself in 98 planets time lol, but it'll take a few months :v
|
Wed Jan 21, 2015 10:29 pm |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
kirkeastment wrote: I can confirm it myself in 98 planets time lol, but it'll take a few months :v What, E+13 isn't that much...
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Wed Jan 21, 2015 10:35 pm |
|
|
Chloron
Joined: Fri Dec 09, 2011 5:47 pm Posts: 1513
|
You also want to look at your ship tab to see planets owned as that number is often different than when you go to the planets tab and sort by owned.
_________________XxDarthDexterxX wrote: You deserve a cookie, and earn yourself one cookie point.
|
Wed Jan 21, 2015 10:51 pm |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
Tempest3 wrote: to match their ship stats (Planets Occupied and Rank). Yeah, the stats on your ship are the number you go by -- there are several ways to get planets without using planet slots, and the planet tab doesn't differentiate.
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Wed Jan 21, 2015 10:57 pm |
|
|
juiceman
Joined: Sun Aug 03, 2014 6:17 pm Posts: 2224
|
I dlove for shockwave or squishy to weight in on max planets owned. Surely they could have pushed past that quite a while back. Even topper should be able to answer.
_________________Signature created by NecromancerSpy status_ #1 Cloak master in galaxy Moooooooooooooooooooo!
|
Wed Jan 21, 2015 11:30 pm |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
juiceman wrote: I dlove for shockwave or squishy to weight in on max planets owned. Surely they could have pushed past that quite a while back. Even topper should be able to answer. Topper only has 580 occupied planets.
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Wed Jan 21, 2015 11:32 pm |
|
|
kirkeastment
Joined: Sun Jun 19, 2011 6:24 pm Posts: 2810 Location: UK
|
juiceman wrote: I dlove for shockwave or squishy to weight in on max planets owned. Surely they could have pushed past that quite a while back. Even topper should be able to answer. None of them are even close. Shock is only at 505 Squishy is in the 300's Topper is at 580 As it stands, i probably own the most planets right now. :v
|
Wed Jan 21, 2015 11:33 pm |
|
|
Darth Flagitious
Joined: Thu Nov 25, 2010 6:49 pm Posts: 8964
|
kirkeastment wrote: juiceman wrote: I dlove for shockwave or squishy to weight in on max planets owned. Surely they could have pushed past that quite a while back. Even topper should be able to answer. None of them are even close. Shock is only at 505 Squishy is in the 300's Topper is at 580 As it stands, i probably own the most planets right now. :v Pony has/had 653, FWIW.
_________________Ranks 400+ Join us in exploring..[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked [20:43] DarthFlagitious: is it spearmint or peppermint?
|
Thu Jan 22, 2015 12:43 am |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
Darth Flagitious wrote: Pony has/had 653, FWIW. If he *doesn't* have a 700 planet cap (if there isn't one), then it would cost him over 100T to colonize enough planets to cap him. Assuming I figured out who he is since the name change. -_-
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Thu Jan 22, 2015 1:10 am |
|
|
Deigobene
Joined: Tue Oct 16, 2012 9:26 pm Posts: 1076
|
Tempest3 wrote: Darth Flagitious wrote: Pony has/had 653, FWIW. If he *doesn't* have a 700 planet cap (if there isn't one), then it would cost him over 100T to colonize enough planets to cap him. Assuming I figured out who he is since the name change. -_- MyLilPony is still listed in Chesterton Royal Academy, though he is clearly not "active" as his name is not on the rank leaderboards any more.
|
Thu Jan 22, 2015 1:25 am |
|
|
Tempest3
Joined: Fri Apr 29, 2011 5:52 am Posts: 56 Location: Don't turn around.
|
Deigobene wrote: MyLilPony is still listed in Chesterton Royal Academy, though he is clearly not "active" as his name is not on the rank leaderboards any more. Ah, that makes sense. In that case, it would only be 462T credits for him to cap.
_________________Tempest3/TempuffedBarley | Zolazin Spy Co-Leader of Subspace Alpha
|
Thu Jan 22, 2015 1:34 am |
|
|
Darth Flagitious
Joined: Thu Nov 25, 2010 6:49 pm Posts: 8964
|
Tempest3 wrote: Deigobene wrote: MyLilPony is still listed in Chesterton Royal Academy, though he is clearly not "active" as his name is not on the rank leaderboards any more. Ah, that makes sense. In that case, it would only be 462T credits for him to cap. Yeah... Don't need to worry about that ever happening.
_________________Ranks 400+ Join us in exploring..[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked [20:43] DarthFlagitious: is it spearmint or peppermint?
|
Thu Jan 22, 2015 1:42 am |
|
|
juiceman
Joined: Sun Aug 03, 2014 6:17 pm Posts: 2224
|
So my guess is, there may not be a hard cap, but practicality of cost sets an endemic one. I have 402 planets currently and invading is like 128? billion or so... at some point it would be super impractical to invade or even colonize...or would take so long to earn the credits to make it doable.
_________________Signature created by NecromancerSpy status_ #1 Cloak master in galaxy Moooooooooooooooooooo!
|
Thu Jan 22, 2015 4:13 am |
|
|
Texas Toast
Joined: Mon Sep 08, 2014 6:44 pm Posts: 847
|
So what I hear you guys saying is...get as many of my greens as I can now, when I'm not even rank 300 yet, and save any planets I like for colonizing after invasions become prohibitively expensive or for sharing out to legionmates...
_________________--------------- GD: A good legion for collecting relic badges --------------- ---------------------------------------------------------------------
|
Thu Jan 22, 2015 7:00 pm |
|
|
|