Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Race Wizard almost done (but not quite)
Re: Race Wizard almost done (but not quite) Sat, 18 February 2006 07:36 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
LEit wrote on Fri, 17 February 2006 22:02


AR;ARM,IS,NAS,RS;15;-1,-1;-96,16;18,84;10;N=W-P+C-E+B+;0
doesn't work, returns -93
A bit longer version of the race is:
AR; ARM ISB NAS RS; 15% growth, gIMM, -96C to 16C, 18mR to 84mR; divisor 10; w&c cheap, energy normal, rest expensive; 0 points left over

AR; ARM ISB NAS RS IFE NRSE; 16% -1g -1g, -40C 96C, 54mR 84mR; 10; n-w-p+c-l+b+; 8
doesn't work, returns 41

AR; ARM ISB NAS IFE NRSE; 16% -1g -1g, -40C 96C, 53mR 85mR; 10; n-w-p+c-l+b+; 0
doesn't work, returns 32



All of those are OK in my Javascript version. It must be some trick of integer math or something I fixed when playing with constB's code.

{It seems it was simpler than that, as tech costs are coded somewhat counter-intuitively in the RW code. Once that's been taken into account, all races tested are giving correct results. Cool }

By the way, my version has a bit more comments and clearer variable names and such Very Happy though it still would benefit from a thorough polishing/simplifying/cleanup. Sherlock


[Updated on: Mon, 20 February 2006 11:41]




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
Previous Topic: Detailed mineral mining table
Next Topic: Just a Clone?
Goto Forum:
  


Current Time: Mon Apr 29 11:34:42 EDT 2024