Author Topic: 4.26 Bugs  (Read 23125 times)

0 Members and 1 Guest are viewing this topic.

Offline backstab

  • Lieutenant
  • *******
  • b
  • Posts: 172
  • Thanked: 2 times
Re: 4.26 Bugs
« Reply #105 on: September 27, 2009, 05:46:52 PM »
Quote from: "Steve Walmsley"
Quote from: "backstab"
Anyone know how to fix this error ?????
It looks like the mineral packet contains no minerals, which is what is causing the null error. If there is no mineral production at the pop that is source of the packets, turn off the mass driver.

Steve


Steve,

I've tried that but the error is still comming up
Move foward and draw fire
 

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 #106 on: September 27, 2009, 11:46:07 PM »
Quote from: "IanD"
Quote
Steve Wrote
Thorgarth wrote:
Receiving an "Error in CheckForMaintenanceFacilities" Error 91 was generated by Aurora, Object variable or With block variable not set.

Message continues to repeat until I kill the program.
I have maintenance turned off for this galaxy.
Update: First receive this error message:

Error 3075 was generated by DAO.Datebase
Syntax error (missing operator) in query express 'f.RaceID = 827 and f.SystemID = f.Xcor = -76964650 and f.Ycor = -128283291 and s.FleetID = f.FleetID and s.CurrentMaint > 0'.
Thanks for the update. The error 91 will occur when trying access a database record that doesn't exist, which is explained by the error above as it would stop the database record being retrieved. What is puzzling me though is trying to recreate it. It's a fairly common function call and a short function. I have identified the piece of code that almost matches the above but the above is missing a small section between 'SystemID =' and 'f.Xcor' which does exist in the code. Somehow the string variable that holds the SQL seems to have lost a section from the middle of the text. I have added a breakpoint to the function so I will keep tracking it and try to recreate the problem.

Steve

I have just had the same series of errors with a variation in the f.RaceID=800 and f.systemID=and f.Xcor=-54975801 and f.Ycor=139132388, everything else is identical. Get this series of errors every time I try and advance time.

if I try to advance time in SM mode the event log gets the following message:

SM only   Event type message continued   System N/A  Event pentarch.org/viewforum.php?f=11

I can only assume Aurora is telling me to look at the Aurora website? :cry: .
I know its cold comfort but at least there are now two separate instances of this bug, which means it is almost certainly not related to some type of setup or installation issue. On the other hand, it isn't happening to everyone which would suggest it is a fairly rare set of circumstances that causes it and it might be a data fix - which would mean it isn't terminal :).

There is one difference between the two reports that could be important.

Thorgath reported "f.RaceID = 827 and f.SystemID = f.Xcor = -76964650 and f.Ycor = -128283291"

Your bug is f.RaceID=800 and f.systemID=and f.Xcor=-54975801 and f.Ycor=139132388

You have an 'and' between f.SystemID and f.Xcor which is missing in Thorgath's report. This was what I was referring to when I mentioned that a small section of the string variable was missing.

The actual code section is:

Code: [Select]
sSQL = "select s.CurrentMaint from Fleet f, Ship s where f.RaceID = " & obj.RaceID & " and f.SystemID = " & SystemID & " and f.Xcor = " & obj.Xcor & " and f.Ycor = " & obj.Ycor & " and s.FleetID = f.FleetID and s.CurrentMaint > 0"The value for SystemID is missing entirely but the 'and' is also missing from Thorgath's error report, which made me think some type of corruption was involved. If the only thing missing is actually SystemID, which is a separate variable rather than part of the string, then there are more potential answers to the problem.

SystemID isn't set to 0 - it isn't there at all - which might suggest it has a null value somehow. Did you get any errors relating to a null value before this error happened?

EDIT: Did you by any chance fire any box launchers before this happened? If you did, then I think I have found the problem. It's fixed for v4.3. The workaround for v4.26 is to delete the records from the WeaponRecharge table in the database

Steve
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #107 on: September 28, 2009, 02:27:20 AM »
Quote from: "Steve Walmsley"
EDIT: Did you by any chance fire any box launchers before this happened? If you did, then I think I have found the problem. It's fixed for v4.3. The workaround for v4.26 is to delete the records from the WeaponRecharge table in the database

Steve

Yes! I had just used 150 box launchers on 10 FAC, they went in OK, but very shortly after that I started getting the error messages. I assume this will happen every time I use box launchers in 4.26?

Regards
IanD
 

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 #108 on: September 28, 2009, 06:27:32 AM »
Quote from: "IanD"
Quote from: "Steve Walmsley"
EDIT: Did you by any chance fire any box launchers before this happened? If you did, then I think I have found the problem. It's fixed for v4.3. The workaround for v4.26 is to delete the records from the WeaponRecharge table in the database

Yes! I had just used 150 box launchers on 10 FAC, they went in OK, but very shortly after that I started getting the error messages. I assume this will happen every time I use box launchers in 4.26?
Unfortunately yes. The problem occurs when you try and reload box launchers and the program checks for available maintenance facilities. When I rewrote this section for objects, I forgot to place obj. in front of SystemID. As it stands, SystemID doesn't exist as far the program is concerned so when it constructs the SQL query, it gets ignored, resulting in the syntax error.

Steve
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #109 on: September 28, 2009, 07:57:39 AM »
Quote from: "Steve Walmsley"
IanD wrote:
Steve Walmsley wrote:
EDIT: Did you by any chance fire any box launchers before this happened? If you did, then I think I have found the problem. It's fixed for v4.3. The workaround for v4.26 is to delete the records from the WeaponRecharge table in the database

Yes! I had just used 150 box launchers on 10 FAC, they went in OK, but very shortly after that I started getting the error messages. I assume this will happen every time I use box launchers in 4.26?

Unfortunately yes. The problem occurs when you try and reload box launchers and the program checks for available maintenance facilities. When I rewrote this section for objects, I forgot to place obj. in front of SystemID. As it stands, SystemID doesn't exist as far the program is concerned so when it constructs the SQL query, it gets ignored, resulting in the syntax error.

Steve

Any chance of a quick patch or a idiots guide to modifying the database, including which programme to open it with! :)

Regards
IanD
 

Offline fdelstanches

  • Able Ordinary Rate
  • f
  • Posts: 4
Re: 4.26 Bugs
« Reply #110 on: September 28, 2009, 12:45:24 PM »
Hi,

I am new here and just downloaded the game today.
It is quite impressive but I seem to encounter the same type of bug with 4.26 however, it happens when I try to create a new ship design. The 'class' menu is empty and I get the errors 381 followed by a 3078 and a 91. When I try to select a hull type (still without being able to select a a class name), I get a series of 91's that make me have to ctrl-alt-del out of Aurora.
I tried three new games with three different "name lists" (British , Tolkien and Rome) to get the same problem.

I finally tried to start a new game using with the option "Ship/systems designs automatically created" turned on and the bug disappeared. I could scroll through a list of different classes of ships, obviously already pre-designed.

Hope it sheds some light on the possible problem as I am eager to dig in the full possibilities of this game.

Fred
 

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 #111 on: September 28, 2009, 01:20:28 PM »
Quote from: "fdelstanches"
Hi,

I am new here and just downloaded the game today.
It is quite impressive but I seem to encounter the same type of bug with 4.26 however, it happens when I try to create a new ship design. The 'class' menu is empty and I get the errors 381 followed by a 3078 and a 91. When I try to select a hull type (still without being able to select a a class name), I get a series of 91's that make me have to ctrl-alt-del out of Aurora.
I tried three new games with three different "name lists" (British , Tolkien and Rome) to get the same problem.

I finally tried to start a new game using with the option "Ship/systems designs automatically created" turned on and the bug disappeared. I could scroll through a list of different classes of ships, obviously already pre-designed.

Hope it sheds some light on the possible problem as I am eager to dig in the full possibilities of this game.
When you go to the Class window for the first time, you will need to press the New button in the bottom left to begin designing a class. The hull type is purely a cosmetic description rather than a selection for a particular hull size or class type.

Selecting the hull type before creating a class should simply pop up a message box asking you to create a class before selecting a hull type so it sounds like there might be a bug there, but once you create a class it should vanish.

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 #112 on: September 28, 2009, 01:22:01 PM »
Quote from: "IanD"
Any chance of a quick patch or a idiots guide to modifying the database, including which programme to open it with! :)
The database is Access 2002 so you would need that software in order to modify it. If you have it, let me know and I will explain how to fix the problem.

Steve
 

Offline IanD

  • Registered
  • Commodore
  • **********
  • Posts: 726
  • Thanked: 21 times
Re: 4.26 Bugs
« Reply #113 on: September 28, 2009, 01:45:53 PM »
Quote from: "Steve Walmsley"
IanD wrote:
Any chance of a quick patch or a idiots guide to modifying the database, including which programme to open it with!
The database is Access 2002 so you would need that software in order to modify it. If you have it, let me know and I will explain how to fix the problem.

Steve

I have Access 2007 (not that I have used it above creating an address list :D

Regards
IanD
 

Offline fdelstanches

  • Able Ordinary Rate
  • f
  • Posts: 4
Re: 4.26 Bugs
« Reply #114 on: September 28, 2009, 02:01:41 PM »
Thank you Steve, I'll try this right away.
 

Offline fdelstanches

  • Able Ordinary Rate
  • f
  • Posts: 4
Re: 4.26 Bugs
« Reply #115 on: September 28, 2009, 04:05:31 PM »
Thank you Steve, I'll try this right away.

EDIT:

Unfortunately, I cannot see any buttons at the bottom of the class design screen where that 'new' button is supposed to be. It seems this window is truncated (a little more than the 'System generation' one where I can see the bottom buttons and arrows only barely). My resolution is 1440x900 [normal 96 dpi fonts] and I tried both the desktop enlarger tool solution offered in another thread and switching to a lower resolution (1024x768), neither allowed me to see the buttons. I see where the window ends but it is cut off with no way of resizing it.
I also tried the reset positions trick to no avail. I guess I am out of luck  :)

Other bug: every time I advance the 30 days, I gets about 5 "Division by zero" error messages concerning population computations. It does not crash the game though.
 

Offline schroeam (OP)

  • Lt. Commander
  • ********
  • s
  • Posts: 217
  • Thanked: 7 times
  • "Let's try a new strategy, let the Wookiee win"
Re: 4.26 Bugs
« Reply #116 on: September 28, 2009, 06:51:12 PM »
While creating new engines I recieved the following error when changing the Internal Armour Rating from 0 to 1.


    Error in Engines
    Error 11 was generated by Aurora
    Division by zero
    Please report to viewforum.php?f=11[/list]

    Adam.
     

    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 #117 on: September 29, 2009, 03:11:15 PM »
    Quote from: "fdelstanches"
    Other bug: every time I advance the 30 days, I gets about 5 "Division by zero" error messages concerning population computations. It does not crash the game though.
    Please could you let me know the exact error text please as it will help me to pin it down. In case you miss it during the increment, you can click the Show Errors checkbox on the Event Updates window and it will show the errors in the event log.

    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 #118 on: September 29, 2009, 03:18:39 PM »
    Quote from: "adradjool"
    While creating new engines I recieved the following error when changing the Internal Armour Rating from 0 to 1.


      Error in Engines
      Error 11 was generated by Aurora
      Division by zero
      Please report to viewforum.php?f=11[/list]
      Yes, internal armour for engines is broken. I have fixed it for v4.3. I really need to overhaul internal armour completely so that it uses the same method as magazines. Probably not for v4.3 though :)

      Steve
       

      Offline fdelstanches

      • Able Ordinary Rate
      • f
      • Posts: 4
      Re: 4.26 Bugs
      « Reply #119 on: September 29, 2009, 04:15:45 PM »
      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?