Thread Tools
Old July 13, 2001, 05:37   #1
El Condoro
Settler
 
Local Time: 11:31
Local Date: October 31, 2010
Join Date: Oct 2000
Location: Australia
Posts: 4
Score 4325 and still "Worthless"?
I assume it's a glitch:

Emperor level - standard everything. 40,000 colonists on AC; 220million popn - none of them unhappy; 50+ thriving cities; all WOW (except Man Proj - built that 1 year too late); total points 4325; no pollution; all but about 20 years in 20th Century in peace.

Final score: -222% that's minus 222 percent! Winston Churchill the Worthless!

What gives?

Now considering I played this game on-and-off for about 3 months, it was a bit of a let down!!
El Condoro is offline  
Old July 13, 2001, 06:36   #2
Ari Rahikkala
King
 
Ari Rahikkala's Avatar
 
Local Time: 14:31
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Shireroth
Posts: 2,792
Yep, it's a bug. In fact, what happened was that you overflowed some variable, not the final score variable itself, though. I'd say that some value that was stored in a signed variable (signed variable -> can have a negative value) went over 127, thus going to the negative.

Then when the final score variable was multiplied by this variable your final score went to negative, too. I'd guess that the final score is a long int (long integer -> range 0-65535, or -32768-32767 if signed).

EDIT after Paul's post: Then again, I'm not too sure...
__________________
This is Shireroth, and Giant Squid will brutally murder me if I ever remove this link from my signature | In the end it won't be love that saves us, it will be mathematics | So many people have this concept of God the Avenger. I see God as the ultimate sense of humor -- SlowwHand
Ari Rahikkala is offline  
Old July 13, 2001, 06:36   #3
Paul
Apolytoners Hall of Fame
Emperor
 
Paul's Avatar
 
Local Time: 12:31
Local Date: October 31, 2010
Join Date: Mar 1999
Location: Zwolle, The Netherlands
Posts: 6,737
Download the v2.42 patch. It will fix the negative score percentage and several other bugs.

In the older versions the percentage would go negative when you got more than 255%.
Paul is offline  
Old July 13, 2001, 06:52   #4
El Condoro
Settler
 
Local Time: 11:31
Local Date: October 31, 2010
Join Date: Oct 2000
Location: Australia
Posts: 4
Thanks guys - I'll get onto that patch...
El Condoro is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:31.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team