Galactic Navy 2.0 & Oolite 1.70 & Vista

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

McLane wrote:
And why would that only affect Vista? I just tried out the OXP for the very first time on my system (Mac OS X 10.4.11), and everything was there and worked fine.
another_commander is right that mission_vicbond_count must be the culprit. Undefined does not mean zero, but it could have any value. I also have made some mistakes by not defining variables. When you that do an increment, is becomes defined, but mostly it than has a very low or high value and it not starting from 0.

When the undefined variable has a very high content, it will meet the criteria that mission_vicbond_count is high. Than the station is generated and on the first visit the variable mission_vicbond_count is set proper to 0.

The undefined start value could be different with other operating systems. It probably depends on the random contend of the RAM or how a memory check leaves it after startup.

Matt: Merry Christmas hollydays. And don't program to much or it won't be hollydays anymore.
Post Reply