Author Topic: 4.26 Bugs  (Read 23226 times)

0 Members and 1 Guest are viewing this topic.

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 12186
  • Thanked: 23779 times
  • 2025 Supporter 2025 Supporter : Support the forums in 2025
    Gold Supporter Gold Supporter :
    Above & Beyond Supporter Above & Beyond Supporter :
Re: 4.26 Bugs
« Reply #120 on: September 29, 2009, 08:05:05 PM »
Quote from: "fdelstanches"
I unfortunately deleted the saved game that gave me that original population Error 11 but I started a new game and, after a year or so, I get about 5 "Error 11" windows every time I advance the clock.

Error in GetBodySuitability
Error 11 was generated by Aurora
Division by zero

Did I do something wrong?
I'm not sure. It's not been reported before, which suggests it is something specific to your campaign but it could simply be a rare bug rather than something you did. The only two places in that function where a division takes place involves the maximum racial atmospheric pressure and the racial temperature deviation. Could you open the F9 system generation window and tell what the values are for Temperature and Pressure in the Environmental Tolerances section in the top right.

Steve
 

Offline Thorgarth

  • Chief Petty Officer
  • ***
  • T
  • Posts: 45
Re: 4.26 Bugs
« Reply #121 on: September 29, 2009, 08:33:54 PM »
Steve,

Receiving an Error in PopulateWealthData
Error 381 was generated by MSFlexGrid
Subscript out of range

First received this error in a continous stream over 100 times.  Then did a hard shutdown of the program.  Reload from a previous saved game.  Received it again.  I am using 3 computer controlled NPR with a large population as my start (2 billion).  Both times, the error received around day 15 of the first year.

Is the size of the populations the cause?

Follow up on the previous reported error-I to used box launchers prior to this error.
 

Offline sloanjh

  • Global Moderator
  • Admiral of the Fleet
  • *****
  • Posts: 2805
  • Thanked: 113 times
  • 2023 Supporter 2023 Supporter : Supporter of the forum in 2023
    2024 Supporter 2024 Supporter : Supporter of the forum for 2024
    2021 Supporter 2021 Supporter :
    2020 Supporter 2020 Supporter :
Re: 4.26 Bugs
« Reply #122 on: September 29, 2009, 10:20:09 PM »
Quote from: "Steve Walmsley"
Quote from: "fdelstanches"
I unfortunately deleted the saved game that gave me that original population Error 11 but I started a new game and, after a year or so, I get about 5 "Error 11" windows every time I advance the clock.

Error in GetBodySuitability
Error 11 was generated by Aurora
Division by zero

Did I do something wrong?
I'm not sure. It's not been reported before, which suggests it is something specific to your campaign but it could simply be a rare bug rather than something you did. The only two places in that function where a division takes place involves the maximum racial atmospheric pressure and the racial temperature deviation. Could you open the F9 system generation window and tell what the values are for Temperature and Pressure in the Environmental Tolerances section in the top right.

Steve

Could this be an unrepaired database?  I remember hitting something like this early in 4.2x - it turned out that an NPR had been placed on the wrong homeworld due to a database bug.  There's an executable that can be downloaded and run to repair the database - I'm not sure if it's still needed though.

Of course it could be something completely different - it's only a vague memory :-)

John
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #123 on: September 30, 2009, 11:19:42 AM »
Just started a TN start game. Added ruins to Mars, Then after Surveying Mars I added a colony. I now get  the following series of error messages;

Error 94 "invalid use of Null" twice followed by "Record not found GetRequiredMinerals. Pop:488 Weapon: 0" followed by a final Error 94.
Regards
IanD
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #124 on: September 30, 2009, 11:32:04 AM »
While in the second month of the above game I noticed my Survey ships had the following event against them "11th February 2065 08:00:01,Sol,As per secondary orders, Geo-Survey Group 1 has been assigned the following order.  Geological Survey Galloway's Star-A II". This is pretty good as I have yet to find any jump points :D . I have seen this type of error regularly and assume it’s something to do with the default secondary orders problem already described.

Regards
IanD
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #125 on: September 30, 2009, 05:09:21 PM »
I have noticed that if a ship is due for completion on say 7th May and you advance time by less than 5 days the ship still has the completion date but is not completed until you hit a 5 day increment.

Regards
IanD
 

Offline SteveAlt

  • Global Moderator
  • Rear Admiral
  • *****
  • Posts: 820
  • Thanked: 8 times
Re: 4.26 Bugs
« Reply #126 on: October 01, 2009, 06:53:06 PM »
Quote from: "Thorgarth"
Steve,

Receiving an Error in PopulateWealthData
Error 381 was generated by MSFlexGrid
Subscript out of range

First received this error in a continous stream over 100 times.  Then did a hard shutdown of the program.  Reload from a previous saved game.  Received it again.  I am using 3 computer controlled NPR with a large population as my start (2 billion).  Both times, the error received around day 15 of the first year.

Is the size of the populations the cause?
It sounds like it might be too many lines to display on the wealth tab. I have run into something similar myself. Does this happen when you open the Population window?

Steve
 

Offline SteveAlt

  • Global Moderator
  • Rear Admiral
  • *****
  • Posts: 820
  • Thanked: 8 times
Re: 4.26 Bugs
« Reply #127 on: October 01, 2009, 06:54:55 PM »
Quote from: "sloanjh"
Quote from: "Steve Walmsley"
Quote from: "fdelstanches"
I unfortunately deleted the saved game that gave me that original population Error 11 but I started a new game and, after a year or so, I get about 5 "Error 11" windows every time I advance the clock.

Error in GetBodySuitability
Error 11 was generated by Aurora
Division by zero

Did I do something wrong?
I'm not sure. It's not been reported before, which suggests it is something specific to your campaign but it could simply be a rare bug rather than something you did. The only two places in that function where a division takes place involves the maximum racial atmospheric pressure and the racial temperature deviation. Could you open the F9 system generation window and tell what the values are for Temperature and Pressure in the Environmental Tolerances section in the top right.

Could this be an unrepaired database?  I remember hitting something like this early in 4.2x - it turned out that an NPR had been placed on the wrong homeworld due to a database bug.  There's an executable that can be downloaded and run to repair the database - I'm not sure if it's still needed though.

Of course it could be something completely different - it's only a vague memory :-)
Yes, you are right. fdelstanches, did you apply the data patch and the v4.26 patch to your full installation?

Steve
 

Offline Thorgarth

  • Chief Petty Officer
  • ***
  • T
  • Posts: 45
Re: 4.26 Bugs
« Reply #128 on: October 02, 2009, 06:04:57 PM »
Quote from: "SteveAlt"
Quote from: "Thorgarth"
Steve,

Receiving an Error in PopulateWealthData
Error 381 was generated by MSFlexGrid
Subscript out of range

First received this error in a continous stream over 100 times.  Then did a hard shutdown of the program.  Reload from a previous saved game.  Received it again.  I am using 3 computer controlled NPR with a large population as my start (2 billion).  Both times, the error received around day 15 of the first year.

Is the size of the populations the cause?
It sounds like it might be too many lines to display on the wealth tab. I have run into something similar myself. Does this happen when you open the Population window?

Steve

Steve,

I received the wealth error when I hit the time button (1 day, 8 hours, 3 days..none have made a difference).  After reviewing the game, I thought the error was due to a Precursor listening post that I conquered.  When I deleted the LP, I than took some time jumps -either 20 minutes or 1 hour.  This took me past the first error point, Day 15.  But on Day 20, I have the same error point.  I'll try the micro jumps in time to see if I can pass past it.
 

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 12186
  • Thanked: 23779 times
  • 2025 Supporter 2025 Supporter : Support the forums in 2025
    Gold Supporter Gold Supporter :
    Above & Beyond Supporter Above & Beyond Supporter :
Re: 4.26 Bugs
« Reply #129 on: October 04, 2009, 12:46:30 PM »
Quote from: "IanD"
I have noticed that if a ship is due for completion on say 7th May and you advance time by less than 5 days the ship still has the completion date but is not completed until you hit a 5 day increment.
Production is not updated until the 5-day increment takes place. The estimated completion time is worked out based on how many days would be left if construction was updated every increment. I can't set to it to the next 5-day increment because the program doesn't know when that will happen (because the length of the '5-day' increment can vary quite a lot from 5 days).

Steve
 

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 12186
  • Thanked: 23779 times
  • 2025 Supporter 2025 Supporter : Support the forums in 2025
    Gold Supporter Gold Supporter :
    Above & Beyond Supporter Above & Beyond Supporter :
Re: 4.26 Bugs
« Reply #130 on: October 04, 2009, 12:49:10 PM »
Quote from: "Thorgarth"
Quote from: "SteveAlt"
Quote from: "Thorgarth"
Steve,

Receiving an Error in PopulateWealthData
Error 381 was generated by MSFlexGrid
Subscript out of range

First received this error in a continous stream over 100 times.  Then did a hard shutdown of the program.  Reload from a previous saved game.  Received it again.  I am using 3 computer controlled NPR with a large population as my start (2 billion).  Both times, the error received around day 15 of the first year.

Is the size of the populations the cause?
It sounds like it might be too many lines to display on the wealth tab. I have run into something similar myself. Does this happen when you open the Population window?
I received the wealth error when I hit the time button (1 day, 8 hours, 3 days..none have made a difference).  After reviewing the game, I thought the error was due to a Precursor listening post that I conquered.  When I deleted the LP, I than took some time jumps -either 20 minutes or 1 hour.  This took me past the first error point, Day 15.  But on Day 20, I have the same error point.  I'll try the micro jumps in time to see if I can pass past it.
Was the population window open when the error happened? The reason I ask is that the error specifies an MSFlexgrid so it must happen when the program is populating information on a grid control somewhere and the wealth tab of the pop window seems the most likely candidate.

Steve
 

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 12186
  • Thanked: 23779 times
  • 2025 Supporter 2025 Supporter : Support the forums in 2025
    Gold Supporter Gold Supporter :
    Above & Beyond Supporter Above & Beyond Supporter :
Re: 4.26 Bugs
« Reply #131 on: October 04, 2009, 12:54:08 PM »
Quote from: "IanD"
Just started a TN start game. Added ruins to Mars, Then after Surveying Mars I added a colony. I now get  the following series of error messages;

Error 94 "invalid use of Null" twice followed by "Record not found GetRequiredMinerals. Pop:488 Weapon: 0" followed by a final Error 94.
Regards
Mars might be a red herring. That error occurs when the program is trying to find out the mineral required for installation construction, shipbuilding or missile production. The pop 488 will be the ID of the pop in the database, which will tell you which pop is affected. The Weapon 0 means that whatever was passed to the GetRequiredMinerals function had a zero ID. The preceding invalid use of null might be the reason that a zero was passed. Are you trying to build anything odd, like a class that was deleted for example?

Steve
 

Offline Thorgarth

  • Chief Petty Officer
  • ***
  • T
  • Posts: 45
Re: 4.26 Bugs
« Reply #132 on: October 04, 2009, 03:51:43 PM »
Generally run with the event screen and the F2 econ screen.  Should I not have the F2 screen up on the 5th day increments?
 

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 12186
  • Thanked: 23779 times
  • 2025 Supporter 2025 Supporter : Support the forums in 2025
    Gold Supporter Gold Supporter :
    Above & Beyond Supporter Above & Beyond Supporter :
Re: 4.26 Bugs
« Reply #133 on: October 04, 2009, 10:01:39 PM »
Quote from: "Thorgarth"
Generally run with the event screen and the F2 econ screen.  Should I not have the F2 screen up on the 5th day increments?
Having the F2 window open is fine. I was just trying to pin down where the bug was happening. I think it is the wealth tab throwing the error when it updates, possibly because you have spent wealth in a a lot of different areas. I had already encountered a similar problem in my own game and corrected it. When the wealth tab was working, did you notice if the list of expenditures was full? I think the limit for v4.26 is only 12 different types. Unlimited in v4.3.

Steve
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #134 on: October 05, 2009, 03:02:05 AM »
Quote from: "Steve Walmsley"
Mars might be a red herring. That error occurs when the program is trying to find out the mineral required for installation construction, shipbuilding or missile production. The pop 488 will be the ID of the pop in the database, which will tell you which pop is affected. The Weapon 0 means that whatever was passed to the GetRequiredMinerals function had a zero ID. The preceding invalid use of null might be the reason that a zero was passed. Are you trying to build anything odd, like a class that was deleted for example?

Steve

I did manage to design and pre-build a colony ship without engines  :lol: ). I did also manage to build two copies but they didn't leave earth orbit. Classes have been made obsolete, but not deleted and this error occurred at the very start of the game.
Regards
IanD