Home » Stars! Clones, Extensions, Modding » FreeStars » some questions about coding
Re: some questions about coding |
Sat, 21 October 2006 18:26 |
|
|
I just mean the ones for each major step. The whole planet hab calculation only counts as one step.
I've gottten it very close; there was a problem because Flash 8 doesn't have a proper integer data type, so I had to go in and manually round off after every division. The remaining problem might be because rounding is needed within the context of a calculation, rather than needing to round the result.
Current results:
########## Humanoids ##########
Step 1, points = 1650
Step 2, hab points = 1649
Step 3, points = -205
Step 4, points = -205
Step 5, points = -205
Step 6, points = 5
Step 7, points = 71
Step 8, points = 71
Returning final value of 23.6666666666667
adv points: 23 must be: 25
########## Rabbitoids ##########
Step 1, points = 1650
Step 2, hab points = 945
Step 3, points = -121
Step 4, points = 47
Step 5, points = 12
Step 6, points = -28
Step 7, points = 97
Step 8, points = 97
Returning final value of 32.3333333333333
adv points: 32 must be: 32
########## Insectoids ##########
Step 1, points = 1650
Step 2, hab points = 2101
Step 3, points = 337
Step 4, points = 477
Step 5, points = 477
Step 6, points = 1272
Step 7, points = 1296
Step 8, points = 126
Returning final value of 42
adv points: 42 must be: 43
########## Nucleotids ##########
Step 1, points = 1650
Step 2, hab points = 4224
Step 3, points = -990
Step 4, points = -990
Step 5, points = -1590
Step 6, points = -530
Step 7, points = -985
Step 8, points = 25
Returning final value of 8.33333333333333
adv points: 8 must be: 11
########## Silicanoids ##########
Step 1, points = 1650
Step 2, hab points = 11979
Step 3, points = 1757
Step 4, points = 1607
Step 5, points = 185
Step 6, points = 348
Step 7, points = 158
Step 8, points = 28
Returning final value of 9.33333333333333
adv points: 9 must be: 9
########## Antetherals ##########
Step 1, points = 1650
Step 2, hab points = 626
Step 3, points = 3666
Step 4, points = 3946
Step 5, points = 1518
Step 6, points = 1592
Step 7, points = 2103
Step 8, points = 23
Returning final value of 7.66666666666667
adv points: 7 must be: 7
The Dopelar Effect:
The tendancy for stupid ideas to seem more intelliegent when they come at you rapidly.Report message to a moderator
|
|
|
|
|
some questions about coding
By: ConstB on Wed, 09 March 2005 03:33
|
|
|
Re: some questions about coding
By: LEit on Wed, 09 March 2005 10:51
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: LEit on Wed, 09 March 2005 11:01
|
|
|
Re: some questions about coding
By: ConstB on Wed, 09 March 2005 12:08
|
|
|
Re: some questions about coding
By: LEit on Wed, 09 March 2005 13:01
|
|
|
Re: some questions about coding
By: ConstB on Wed, 09 March 2005 13:39
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: LEit on Wed, 09 March 2005 21:42
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Fri, 11 March 2005 05:04
|
|
|
Re: some questions about coding
By: mazda on Fri, 11 March 2005 05:48
|
|
|
Re: some questions about coding
By: Madman on Mon, 14 March 2005 02:52
|
|
|
Re: some questions about coding
By: ConstB on Wed, 09 March 2005 14:35
|
|
|
Re: some questions about coding
By: ConstB on Wed, 09 March 2005 14:51
|
|
|
Re: some questions about coding
By: ConstB on Wed, 09 March 2005 15:05
|
|
|
Re: some questions about coding
By: ConstB on Thu, 10 March 2005 12:40
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Fri, 11 March 2005 05:18
|
|
|
Re: some questions about coding
By: mazda on Fri, 11 March 2005 05:58
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Fri, 11 March 2005 08:24
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Fri, 11 March 2005 12:02
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Marduk on Thu, 17 March 2005 18:30
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Marduk on Sat, 19 March 2005 20:50
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Fri, 11 March 2005 07:52
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Sat, 12 March 2005 08:19
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: ConstB on Thu, 17 March 2005 12:48
|
|
|
Re: some questions about coding
By: LEit on Sun, 19 February 2006 22:12
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Mon, 20 February 2006 06:03
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Mon, 20 February 2006 10:49
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Mon, 20 February 2006 15:58
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: LEit on Tue, 21 February 2006 13:31
|
|
|
Re: some questions about coding
By: Kotk on Tue, 21 February 2006 14:04
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Mon, 20 February 2006 16:31
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Sat, 21 October 2006 04:06
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
By: Kotk on Sat, 21 October 2006 17:00
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
|
|
Re: some questions about coding
|
Goto Forum:
Current Time: Sun Jun 02 23:28:02 EDT 2024
|