Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » Planet value calculation made easy!
Re: Planet value calculation made easy! Wed, 19 November 2008 04:59 Go to previous messageGo to previous message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
Kelzar wrote on Wed, 19 November 2008 01:31

According to the algorithm what percentage for
GravImm TempImm Rad37-63 race would you get for a 45mR planet?

90. Cool

Quote:

I keep getting 89%, and if I completely remove all the rounding the most I can get the value up to (using the algorithm's calcs) is 89.9449

Two 45mR planets in the same testbed are showing as 90% planets.

One .21grav,64deg,45mR the other 3.92,-56deg,45mR

So do I still have something wrong or is there another Jeff factor buried in the calculation yet?

I'd need to know exactly how are you applying the formulas. Bear in mind that the posted algorithm is C, which means an integer truncation happens every time integer math is performed (which is a lot of times) Sherlock

It is very unlikely a "Jeff Factor" is still buried somewhere in this, since this algorithm was extracted from Stars! own binary code. It is also part of race validation, which we have reverse-engineered too and found to be exact. Race validation calls planetValueCalc hundreds of times. Plus, before publishing it I validated the math against 35000 actual planet values lifted from 20 different universes for a bunch of different races. Deal



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon1.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Research
Next Topic: Ship Teleportation bug
Goto Forum:
  


Current Time: Wed May 15 15:55:19 EDT 2024