Aurora 4x

VB6 Aurora => Aurora Bugs => Topic started by: Steve Walmsley on March 10, 2011, 12:51:08 AM

Title: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 12:51:08 AM
Please post confirmed bugs for v5.40 in this thread. However, please read the guidelines below on reporting bugs before posting.

Bug Reporting Guidelines (http://aurora2.pentarch.org/index.php/topic,1930.0.html)

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: davidr on March 10, 2011, 01:40:25 AM
Steve ,

Just updated and get the following error pop up on trying to start the game:-


Quote
Error in UpdateGameLog

Error 91 was generated by Aurora
object variable or With block variable not set.
Unquote


Not able to run game.

regards

DavidR
Title: Re: Official v5.40 Bugs Thread
Post by: Caplin on March 10, 2011, 04:43:24 AM
Hi Steve,
I don't receive the above-mentioned error, and the game appears to run fine for me.  However, I seem to be experiencing problems with the reduced height windows.  My screen resolution is 1280 by 800, and yet when I open the P&P screen my screen reader program is unable to locate the expected bottom row of buttons.
I know they should exist, and since my resolution is correct I half suspect the problem lies somewhere on my end, but it is rather irritating, to say the least.
Title: Re: Official v5.40 Bugs Thread
Post by: alanwebber on March 10, 2011, 05:33:07 AM
I'm having the same start up problems with version 5.4 as follows:-

"Error in Form load
Error 76 was generated by Aurora
Path not found"

This occurs once.

Then continual errors as follows:-

"Error in UpdateGameLog
Error 91 was generated by Aurora
Object variable or with block variable not set"

I had installed version 5.3 and that ran okay. I went back and installed 5.2 (okay) and extracted 5.4 (not okay)

I deleted both files (exe and database file) and extracted 5.4 - same errors.
Title: Re: Official v5.40 Bugs Thread
Post by: davidr on March 10, 2011, 05:42:29 AM
Alan,

Yes,

I also get the Error 76 message every time the game starts which I believe is linked to the Wiki or tutorials which the programme cannot find but the game can still play. 

However I , like you , also get the Error 91 pop up after installing v5.  4 which cannot be circumvented. 

Steve - Just to advise that the Error 91 occurs on both my XP 32bit desktop machine and also on my Win 7 64 bit laptop. 

DavidR
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 07:15:23 AM
Hi Steve,
I don't receive the above-mentioned error, and the game appears to run fine for me.  However, I seem to be experiencing problems with the reduced height windows.  My screen resolution is 1280 by 800, and yet when I open the P&P screen my screen reader program is unable to locate the expected bottom row of buttons.
I know they should exist, and since my resolution is correct I half suspect the problem lies somewhere on my end, but it is rather irritating, to say the least.

You need to activate the reduced height windows as they are an option. The menu item is on the Game Parameters menu on the main menu bar

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 07:16:57 AM
Steve ,

Just updated and get the following error pop up on trying to start the game:-


Quote
Error in UpdateGameLog

Error 91 was generated by Aurora
object variable or With block variable not set.
Unquote


Not able to run game.

regards

DavidR

That sounds like the database (Stevefire.mdb) either isn't there or is the wrong version. Are you patching an existing install? If so, what version are you upgrading from?

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 07:19:47 AM
I'm having the same start up problems with version 5.4 as follows:-

"Error in Form load
Error 76 was generated by Aurora
Path not found"

This occurs once.

Then continual errors as follows:-

"Error in UpdateGameLog
Error 91 was generated by Aurora
Object variable or with block variable not set"

I had installed version 5.3 and that ran okay. I went back and installed 5.2 (okay) and extracted 5.4 (not okay)

I deleted both files (exe and database file) and extracted 5.4 - same errors.

This is a weird one as the 'Path Not Found' text isn't anywhere in the Aurora code so it sounds like a Microsoft error message. It sounds like the database isn't being found. Are you by any chance running Windows 7 and installed Aurora in the program files directory?

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: davidr on March 10, 2011, 07:25:12 AM
Steve ,

Patching over v5.  3 and overwriting exe and mdb file. 

I get both Error 76 with both XP and Win 7 versions on starting v5.  3 and Error 76 and then Error 91 after patching both to v5.  4. 

DavidR


PS Steve - deleted mdb file from Aurora folder and ran new game - Error 76 and then 91 appears.  Added v5. 4 mdb file to folder and ran new game - Error 76 and then 91 appears.
Title: Re: Official v5.40 Bugs Thread
Post by: voknaar on March 10, 2011, 08:05:30 AM
The problem:
Code: [Select]
"Error in UpdateGameLog
Error 91 was generated by Aurora
Object variable or with block variable not set"


Solution that worked for me:

After some tinkering i went to my Aurora 5.30 patch got the aurora file and pasted it to my installation directory likely at the cost of game updates but it is at least playable with 5.40 Stevefire.mdb

EDIT: I hope this helps in at least identifying which one of the two files is causing hiccups. Note this isn't a DB issue as far as i can tell.
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 08:10:11 AM
The problem:
Code: [Select]
"Error in UpdateGameLog
Error 91 was generated by Aurora
Object variable or with block variable not set"


Solution that worked for me:

After some tinkering i went to my Aurora 5.30 patch got the aurora file and pasted it to my installation directory likely at the cost of game updates but it is at least playable with 5.40 Stevefire.mdb

EDIT: I hope this helps in at least identifying which one of the two files is causing hiccups.

You need to use the v5.40 Aurora.exe with the v5.40 Stevefire.mdb. Trying to use any other combination will cause errors at some point. If you use an older version of the exe with a newer version of the mdb, you might report bugs that I will never be able to find.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 08:12:55 AM
Steve ,

Patching over v5.  3 and overwriting exe and mdb file. 

I get both Error 76 with both XP and Win 7 versions on starting v5.  3 and Error 76 and then Error 91 after patching both to v5.  4. 

DavidR


PS Steve - deleted mdb file from Aurora folder and ran new game - Error 76 and then 91 appears.  Added v5. 4 mdb file to folder and ran new game - Error 76 and then 91 appears.


The errors you are getting are definitely because the program can't find the database. However, it must be something specific to a particular system configuration as most players are not reporting the problem. As we get more reports on this I can try and isolate the problem, but it will be a install issue rather than a bug fix.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: voknaar on March 10, 2011, 08:14:08 AM
You need to use the v5.40 Aurora.exe with the v5.40 Stevefire.mdb. Trying to use any other combination will cause errors at some point. If you use an older version of the exe with a newer version of the mdb, you might report bugs that I will never be able to find.

Steve

Ok. But until a solution is made I can't use 5.40 of both Aurora and Stevefire.mdb together.
Title: Re: Official v5.40 Bugs Thread
Post by: alanwebber on March 10, 2011, 08:25:54 AM
This is a weird one as the 'Path Not Found' text isn't anywhere in the Aurora code so it sounds like a Microsoft error message. It sounds like the database isn't being found. Are you by any chance running Windows 7 and installed Aurora in the program files directory?

Steve

Steve

I'm using Vista with an install into a sub-directory of the downloads directory (not Program Files). I had the first error on updating to 5.3 but the program still seemed to run okay.

Regards

Alan
Title: Re: Official v5.40 Bugs Thread
Post by: ndkid on March 10, 2011, 09:42:37 AM
For What it's worth, I'm on Windows 7, Aurora is in my Program Files (x86) directory, and I'm seeing the Error 76 followed by infinite Error 91 problems other people are reporting. I doubt it's helpful, but looking at it in a debugger looks like the call stack is bumping back and forth between Aurora.exe and msvbm60.dll.

EDIT: Just to test, I blew away my copy of Aurora, reinstalled 4.91, and then installed the 5.4 patch over that, and the behavior is still bad in the same way.
Title: Re: Official v5.40 Bugs Thread
Post by: georgiaboy1966 on March 10, 2011, 09:53:14 AM
I get error and crash on my win7, I-7 64bit home computer.

but my win7 Eeepc met book will run it no problem, except the reduce size is not working/or is not small enough for it. I am still having to use resize/enable to see whole page.

Glen
Title: Re: Official v5.40 Bugs Thread
Post by: Brian Neumann on March 10, 2011, 09:53:14 AM
I am having the same problem.  Install on a desktop Vista 32 machine and on a XP laptop.  Same problem.  Both installed into the program folder.  I made sure to remove the existing copies from 5.3 and deleted them out of the recyle bin before copying in the new 5.4 files.  Did not make a difference.

Brian
Title: Re: Official v5.40 Bugs Thread
Post by: a7v on March 10, 2011, 10:35:30 AM
Hi,

I also get the error 91 on my Vista 64 system.  I patched a working 5. 30 version by replacing the exe and the database.

Sincerely

Rainer
Title: Re: Official v5.40 Bugs Thread
Post by: Smight on March 10, 2011, 11:00:59 AM
Quote from: alanwebber link=topic=3331. msg31930#msg31930 date=1299756787
I'm having the same start up problems with version 5. 4 as follows:-

"Error in Form load
Error 76 was generated by Aurora
Path not found"

This occurs once.

Then continual errors as follows:-

"Error in UpdateGameLog
Error 91 was generated by Aurora
Object variable or with block variable not set"

I had installed version 5. 3 and that ran okay.  I went back and installed 5. 2 (okay) and extracted 5. 4 (not okay)

I deleted both files (exe and database file) and extracted 5. 4 - same errors.


same problem Vista 32,
l:\games\aurora
Title: Re: Official v5.40 Bugs Thread
Post by: ndkid on March 10, 2011, 11:08:10 AM
I wonder if there could be some sort of underlying dll versioning at the root of these issues? I never let Aurora overwrite my version of the various dlls it wants to install, as I'm running on machines with VS2010.

UPDATE: New version of 5.4 patch fixes problems for me. Yay!
Title: Re: Official v5.40 Bugs Thread
Post by: jRides on March 10, 2011, 11:09:02 AM
Same here, win7 64bit (c:\games\aurora), I get the opening error with v5.3 (error 76) but plays ok after I dismiss the error box, with v5.4 I get error 76 (path not found) which i can dismiss, but its followed by error 91 (Object variable or With block variable not set) and I cant get rid of that one, it just replaces the error message if I click ok or the x to get rid of it, need to kill the aurora process to stop it. I patched the 5.3 version, and later replaced the v5.4 files with the v5.3 files again and it works fine (once past error 76) - v5.2 worked as well - no errors at all with that version.
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 11:12:24 AM
OK, this is a bit of a long shot but I have replaced the patch file using a slightly modified exe. Try downloading it again and please let me know if it fixes the problem

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: jRides on March 10, 2011, 11:17:20 AM
Still the same Steve. Altho, not sure I have the modified version - I just checked the zips and size, modified time and hashes are identical.
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 11:19:03 AM
Still the same Steve. Altho, not sure I have the modified version - I just checked the zips and size, modified time and hashes are identical.

Should be a different file creation time and a slightly different size. I'll download it myself to see if the new version is being picked up

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: alanwebber on March 10, 2011, 11:19:23 AM
Steve

Fixed the problem for me.
Title: Re: Official v5.40 Bugs Thread
Post by: jRides on March 10, 2011, 11:28:31 AM
Cleared my cache and re-downloaded and it works perfectly now, thanks Steve!
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 10, 2011, 11:30:24 AM
Cleared my cache and re-downloaded and it works perfectly now, thanks Steve!

Great - problem solved. There was some debug code in the exe and I think it was confusing the program as to which directory to use.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: davidr on March 10, 2011, 11:32:43 AM
Steve,

Thank you , now working

DavidR
Title: Re: Official v5.40 Bugs Thread
Post by: schroeam on March 10, 2011, 01:06:36 PM
works great now, thanks Steve.

Adam.
Title: Re: reduced size windows
Post by: Naismith on March 10, 2011, 01:37:03 PM
Hi Steve,
I would like to thank you for including the reduced size windows, however there is a problem with them.   
When I tried them on my 1280x800 laptop, the windows were made smaller but they were still cut off.
I tried them with a 1440x900 monitor attached and both the full and reduced size windows worked fine.

My operating system is vista 32 bit and I have attached a screen shot of one of the affected windows.

Thank you for your time
    Naismith
Title: Re: Official v5.40 Bugs Thread
Post by: Smight on March 10, 2011, 03:26:58 PM
New exe works,

ty,
Title: Re: Official v5.40 Bugs Thread
Post by: a7v on March 10, 2011, 03:33:51 PM
Also works fine now

thanks Steve
Title: Re: Official v5.40 Bugs Thread
Post by: voknaar on March 10, 2011, 03:35:12 PM
Even the error 70 something is now not showing up for me exelent stuff good sir!
Title: Re: Official v5.40 Bugs Thread
Post by: Deon on March 10, 2011, 04:22:14 PM
Hello, I've just started to learn and only in the part 3 of the tutorial, and I've found a bug.   

In the F9 screen, when you switch to a gas giant from any planet, the "water avaliable" is carried along.     So if I switch from Earth, it says that Jupiter has water, and if I switch from Venus, it says the opposite.     Shouldn't it be N/A?

Also what's up with the lack of icons for planets/some moons? Simply a lack of photos? Can a user like me provide pictures?

P.  S.   I've noticed that /planetjpeg/ has a picture (M1) which looks like Earth.   Can I assign it to an earth and add other pictures, or should I wait for an update?
Title: Re: Official v5.40 Bugs Thread
Post by: ndkid on March 10, 2011, 04:23:15 PM
On the "really minor bug" list: when you fixed the assignment reporting upon death bug, it had the unintended consequence (I'm guessing) of causing the assignment to be printed in the event log, even when the medical problem doesn't kill the officer in question.
Title: Re: Official v5.40 Bugs Thread
Post by: Deon on March 10, 2011, 04:43:56 PM
When I press "delete" in Class Design window a few times (probably more than designs I planned) it gives me a database error. 

P. S.  Same happens when I click checkboxes without pressing "new" first.
Title: Re: Official v5.40 Bugs Thread
Post by: Ziusudra on March 10, 2011, 05:24:06 PM
XP SP3 (The error on start up with 5.   30 is gone.   )

Got one while playing:
Code: [Select]
---------------------------
Error in CreateGameLog
---------------------------
Error 76 was generated by Aurora
Path not found
Displayed just before displaying the command assignment events on 1 Jan 2027, the first of such.    Was able to continue.    Will update if it happens again in 2029.   

I had clicked 5 days on the System Map and then clicked Event Updates on the windows task bar.    The first increment didn't have any events and this was the second.    No other Aurora windows were open (except the main one).   

Update: Happened again at the beginning of 2028.   24 month tours, so there were no command assignments, except one for a new officer.   Otherwise, same as before except that the second increment ended on Jan 3rd. 
Title: Re: Official v5.40 Bugs Thread
Post by: Caplin on March 10, 2011, 09:25:05 PM
I can confirm various problems with reduced height windows.  There are some controls which my screen reader's mouse movement can't reach, because they are off the nominal bottom of the 1280 by 800 screen.  Prime examples are the row of buttons at the bottom of the Leaders window, and the aforementioned economics buttons as well.
I am able to tab to some of these controls, though the tab order is more than a bit nonsensical.  Still, a fix for these windows would be great, as not being able to read all of them currently renders things tedious at best and unuseable at worst.
Title: Re: Official v5.40 Bugs Thread
Post by: sloanjh on March 10, 2011, 10:53:39 PM
The good news: The 5.4 problems many others were having seem to be the same as the 5.3 problems I and a few others had, and seem to be fixed.

The bad news:  I just created a new conventional start game, then tried to delete the existing game "The Space Race" (as I always do).  I got an "Error 3052 was generated by DAO.Recordset.  File sharing lock count exceeded.  Increase MaxLocksPerFile registry entry." in cmdDeleteGame.  I checked the registry, and the value (in Jet) was 9500, so I didn't think bumping it up a little would do any good.  I've never seen this error before - is it possible that this is due to a weird resource leak?

John
Title: Re: Official v5.40 Bugs Thread
Post by: Caplin on March 10, 2011, 11:14:29 PM
I can confirm the problem with deleting the game as well.  I wonder if this sneaked into 5.3 perhaps, and wasn't generally noticed because there was no sample game to delete in 5.3?
Title: Re: Official v5.40 Bugs Thread
Post by: voknaar on March 10, 2011, 11:17:43 PM
On the "really minor bug" list: when you fixed the assignment reporting upon death bug, it had the unintended consequence (I'm guessing) of causing the assignment to be printed in the event log, even when the medical problem doesn't kill the officer in question.

I think its intentional since they are likely once contracting an illness to retire/die a lot earlier than a healthy officer. I like knowing who got what and if they were doing something important personally.
Title: Re: Official v5.40 Bugs Thread
Post by: wilddog5 on March 11, 2011, 08:35:27 AM
There is only one expand civilian economy 20% (20k RP) in the research screen both for my new game and the space race
i had the Error 3052 was generated by DAO.Recordset.  File sharing lock count exceeded.  Increase MaxLocksPerFile registry entry when trying to delete the space race before i created a game

While writing this post i have saved my game and exchanged it with the one in the 5.4 patch file the space race has the expand civilian economy 20% at 10k RP and 40k RP but not the 20k RP

I think that the expand civilian economy 20% 20K RP is being hidden in the db and attempting to delete the space race deleted the other two causing the 20K to be seen as the first/ only tech in it's branch
Title: Re: Official v5.40 Bugs Thread
Post by: davidr on March 11, 2011, 02:32:16 PM
Steve,

When there are no Naval Personnel in the top rank ( showing as (0) in the menu ) then I keep getting the following error as the cursor seems to default to the highest rank on processing a turn .  The top rank at the commencement of the game is devoid of personnel -

Quote

Error in GetCommanderName
Error 94 was generated by Aurora
Invalid use of Null

Unquote

DavidR



Title: Re: Official v5.40 Bugs Thread
Post by: ndkid on March 11, 2011, 03:16:45 PM
I haven't tried to replicate this to make sure I'm correct, but, in essence:

1) On the class design screen, mark the ship/PDC you're looking at as obsolete when "Hide Obsolete" is unchecked.
2) Check the "Hide Obsolete" checkbox.
3) When the Class Design screen repopulates with the next non-obsolete design, it does not appear to refresh the Available Components section based on whether you're looking at a ship or a PDC. So, if it's not what you were looking at when you clicked "Hide Obsolete", you end up with the wrong set of available components.

Probably just a quick add to the chkHideObsolete.Click event handler, give or take. :-)
Title: Re: Official v5.40 Bugs Thread
Post by: IanD on March 11, 2011, 03:48:27 PM
Reduced height windows are fine on a 1600x900 screen laptop.

Regards
Title: Re: Official v5.40 Bugs Thread
Post by: backstab on March 11, 2011, 07:32:05 PM
i had the Error 3052 was generated by DAO.Recordset.  File sharing lock count exceeded.  Increase MaxLocksPerFile registry entry when trying to delete the space race before i created a game


I get the same error

Title: Re: Official v5.40 Bugs Thread
Post by: sloanjh on March 11, 2011, 10:00:50 PM
I just went through my first officer auto-assign in a new conventional start game:

1)  There seems to be something screwy with the order of events in the Officer history field (i.e. the date sorting doesn't seem to be working, assuming it's not a big text field).  Here's the history for Captain Charlie Glover, who was commisioned 4 years before the start date (i.e. he was an initial officer):

1st January 2100: Promoted to Lieutenant Commander
6th January 2103: Relieved from Intelligence Officer - Fleet Headquarters. Awaiting new orders on Earth
1st January 2100: Assigned to Intelligence - Fleet Headquarters
6th January 2103: Assigned to Missile Complex 011 (Crew Training 50)

This seems to be common through most of my officers.

2)  Captain Glover is the commander of Missile Complex 011, but Missile Complex 011 doesn't know it has a commander!  In other words, I've hit the weird auto-assign bug again.

AHA!!!!  I found it!!!!!  I've got 3 missile bases which show up as "holes" in the potential assignments block (available) and all 3 of which have officers who think they command them.  And all 3 officers' previous assignment was as a staff officer.  So there's almost certianly something in the auto-assign code that is messing up the backpointer from the new assignment to the officer when the officer is given a command.

John
Title: Re: Official v5.40 Bugs Thread
Post by: dooots on March 12, 2011, 01:43:10 AM
The height of the Commanders window (f4) seems to be a bit short when using the new smaller windows.  It is a bit shorter then the economics window and I can not see the assign button at the bottom.  If I resize the Commanders window to 1280x800 I can see both rows of buttons.  I'm on a 1440x900 monitor running windows xp in case it matters.

Huge thanks on the smaller windows by the way.

Edit*
I just realized I was missing the new button on the class design window also.  Again setting the window size to 1280x800 fixed it.  Although now I am wondering if something on my system is making the windows larger then they need to be.  I already checked the DPI setting and it is at normal size (96dpi).

The buttons at the bottom of the task groups window are also missing but as it looks like you can do all the same things in the naval organization tab maybe that is on purpose.

Edit2*
Just had some NPRs get into a fight and now I keep getting spammed by.

Error in ApplyInternalDamage
Error 6 was generated by Aurora
Overflow
Title: Re: Official v5.40 Bugs Thread
Post by: georgiaboy1966 on March 12, 2011, 08:49:02 AM
Got an Irritant Error. Have not seen it in this thread yet, may have been reported before. I have seen it in many versions.

"Error in ApplyInternalDamage"
"
"Error 6 was generated by Aurora"
"Overflow"

Is an error due to NPR's fighting or Precursors. Is really irritating to have this error happen and have to hit ok to go on. Had one battle take 2 hours to go through with this error happening every 2 or 3 impulses, and was not even my battle.

Glen
Been a playersince BETA of SA, 1993?
Title: Re: Official v5.40 Bugs Thread
Post by: sloanjh on March 12, 2011, 10:39:37 AM
The bad news:  I just created a new conventional start game, then tried to delete the existing game "The Space Race" (as I always do).  I got an "Error 3052 was generated by DAO.Recordset.  File sharing lock count exceeded.  Increase MaxLocksPerFile registry entry." in cmdDeleteGame.  I checked the registry, and the value (in Jet) was 9500, so I didn't think bumping it up a little would do any good.  I've never seen this error before - is it possible that this is due to a weird resource leak?

John

I was able to delete the existing ("Space Race") game by going into the game, deleting all the player races (NATO/SOV/CHINA), then exiting.  After restarting (and clicking through a couple of funny "MDI" errors)  I was able to delete the space race game without running into the lock problem.

John

PS -  Make sure to back up your database before trying this at home, kids :-)

Title: Re: Official v5.40 Bugs Thread
Post by: mavikfelna on March 12, 2011, 11:06:29 AM
I'm on XP SP 3. Display is set to 1600x900

I got the error trying to delete the Space Race games.
I'm also unable to view the bottom of windows with Reduced Height Windows set. I can fake the 1600x1080 resolution and use the standard windows without a problem.

--Mav
Title: Re: Official v5.40 Bugs Thread
Post by: sloanjh on March 12, 2011, 11:14:36 AM
The reason that I was trying to delete the old game was that I just ran into the same "can't find research projects that should be there" problem that someone else reported a while back.

I'm about 7 years into a conventional start game, and I realized I couldn't see projects like the next research or construction level anywhere (neither current, nor queued, nor available).  Finally, I started cancelling researchers' projects 1-by-1, and discovered that the missing projects reappeared as projects were deleted.

[long pause while poking around in DB]

Ok - I'm pretty sure I know what's going on.  I've got a researcher "Eve Richards" who's working on 12cm lasers.  When I cancel the project, Fuel Production 24,000 magically reappears.  Here's the interesting fact:  Eve Richards' project ID (which is the key for the ResearchProject table) is #669.  The TechSystemID (key in the TechSystem table) for Fuel Prod 24,000 is #669.  Hmmmm seems like a coincidence :-)  It looks like the query that displays the available research projects is somehow confusing the project ID with the TechSystemID.

John

PS - Any chance of getting a 5.41 patch for this one and the officer auto-assign bug?  On the auto-assign, I don't need a DB repair, I'd just like Aurora to "go forth and sin no more" :-)
Title: Re: Official v5.40 Bugs Thread
Post by: bean on March 13, 2011, 08:57:10 PM
Immediately after first contact, I began to get the following error:
Error in UpdateAllSensors
Error 6 was generated by Aurora
Overflow
Title: Re: Official v5.40 Bugs Thread
Post by: Thiosk on March 14, 2011, 12:12:16 AM
Started a new game.    Tried to change the empire name after gamestart, from the F2 industry screen I realized i could type it in there. 

Then I loaded up my construction orders, and these errors are popping up.    The orders still go through.   

Error in cmdStartProduction_click
Error 381 was generated by Aurora
Invalid property array index

Changed name back, left window, opened it up again, and it was normal.
Title: Re: reduced size windows
Post by: Steve Walmsley on March 14, 2011, 03:38:04 AM
Hi Steve,
I would like to thank you for including the reduced size windows, however there is a problem with them.  
When I tried them on my 1280x800 laptop, the windows were made smaller but they were still cut off.
I tried them with a 1440x900 monitor attached and both the full and reduced size windows worked fine.

My operating system is vista 32 bit and I have attached a screen shot of one of the affected windows.

Thank you for your time
    Naismith


Thanks for the screenshot. Several people have reported this problem and at the moment I am not sure what is causing it. The window you can see is the reduced height version because of the control layout. I think Windows itself is cutting the height down. My best guess at the moment is related to the fact that Windows will cut off a normal window that is too large to display. The Aurora code takes the current window height and reduces it by a set amount using a Height = Height - X formula rather than specifying an absolute value. I wonder if Windows is cutting down the full size window and then the code is reducing it even further. To fix this I think I would have to specify absolute window heights instead of relative window heights.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 03:50:40 AM
On the "really minor bug" list: when you fixed the assignment reporting upon death bug, it had the unintended consequence (I'm guessing) of causing the assignment to be printed in the event log, even when the medical problem doesn't kill the officer in question.

That's working as intended. All medical problems are reported as events so you can see if an officer could soon have a problem

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 03:53:35 AM
When I press "delete" in Class Design window a few times (probably more than designs I planned) it gives me a database error. 

P. S.  Same happens when I click checkboxes without pressing "new" first.

Fixed for v5.41

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 03:54:53 AM
I can confirm various problems with reduced height windows.  There are some controls which my screen reader's mouse movement can't reach, because they are off the nominal bottom of the 1280 by 800 screen.  Prime examples are the row of buttons at the bottom of the Leaders window, and the aforementioned economics buttons as well.
I am able to tab to some of these controls, though the tab order is more than a bit nonsensical.  Still, a fix for these windows would be great, as not being able to read all of them currently renders things tedious at best and unuseable at worst.

I think I have figured out the problem with the reduced height windows and I will post a patch later today. Tab order is a complete mess :). I really need to go through each window and sort it out. Just trying to generate the necessary enthusiasm :)

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 03:56:17 AM

While writing this post i have saved my game and exchanged it with the one in the 5.4 patch file the space race has the expand civilian economy 20% at 10k RP and 40k RP but not the 20k RP

I think that the expand civilian economy 20% 20K RP is being hidden in the db and attempting to delete the space race deleted the other two causing the 20K to be seen as the first/ only tech in it's branch

There is only ever one expand civilian economy tech. When you research it, the same tech comes back but with double the research points.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:02:33 AM
Steve,

When there are no Naval Personnel in the top rank ( showing as (0) in the menu ) then I keep getting the following error as the cursor seems to default to the highest rank on processing a turn .  The top rank at the commencement of the game is devoid of personnel -

Quote

Error in GetCommanderName
Error 94 was generated by Aurora
Invalid use of Null

Unquote

DavidR

I can't recreate this one so there must be some other factor at work. I assume you have the commanders window open and you get this every time you increment time? What happens if you have a different rank selected?

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Peter Rhodan on March 14, 2011, 04:12:19 AM
I am getting that same cut off window thing that I reported elsewhere and some others have reported here (incl attached screen shot jpg which is exactly my problem too)
I am running 64 bit 7 if that is any help
On the other hand - when I use resizenable now most windows retain their layout and I can fiddle and get access to all the buttons at the bottom except the ship design one....
my screen resolution is 1366 by 768 -
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:14:54 AM
I am getting that same cut off window thing that I reported elsewhere and some others have reported here (incl attached screen shot jpg which is exactly my problem too)
I am running 64 bit 7 if that is any help
On the other hand - when I use resizenable now most windows retain their layout and I can fiddle and get access to all the buttons at the bottom except the ship design one....
my screen resolution is 1366 by 768 -

I think I have figured it out and I will be posting a patch later today. Please let me know if it fixes the problem.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:16:26 AM
The good news: The 5.4 problems many others were having seem to be the same as the 5.3 problems I and a few others had, and seem to be fixed.

The bad news:  I just created a new conventional start game, then tried to delete the existing game "The Space Race" (as I always do).  I got an "Error 3052 was generated by DAO.Recordset.  File sharing lock count exceeded.  Increase MaxLocksPerFile registry entry." in cmdDeleteGame.  I checked the registry, and the value (in Jet) was 9500, so I didn't think bumping it up a little would do any good.  I've never seen this error before - is it possible that this is due to a weird resource leak?

John

No idea what is causing it but I recreated it then fixed it by using the suggestion on this Microsoft help page:

http://support.microsoft.com/kb/815281

Upping the MaxLocksPerFile in code to 15,000 sorted it out.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:42:46 AM
2)  Captain Glover is the commander of Missile Complex 011, but Missile Complex 011 doesn't know it has a commander!  In other words, I've hit the weird auto-assign bug again.

AHA!!!!  I found it!!!!!  I've got 3 missile bases which show up as "holes" in the potential assignments block (available) and all 3 of which have officers who think they command them.  And all 3 officers' previous assignment was as a staff officer.  So there's almost certianly something in the auto-assign code that is messing up the backpointer from the new assignment to the officer when the officer is given a command.

John

Well spotted!

Commanders have a command type, such as 1 for ships, 5 for ground units, or 6 for staff officers, etc. Staff officers also have a separate staff position ID. It appears that when an officer is auto-assigned to a non-staff command, his staff position ID is not being set to zero. There are If functions in the code, such as in the ShowCommands function which lists all current commands, that check StaffPositionID before checking CommandTypeID. Also, the CheckIfCommandAssigned function, that checks for existing commanders for ships, etc. listed as potential assignments on the F4 window, looks for an officer with the correct CommandID and CommandTypeID but also for a StaffPositionID set to zero for non-staff officer commands.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:50:18 AM
1)  There seems to be something screwy with the order of events in the Officer history field (i.e. the date sorting doesn't seem to be working, assuming it's not a big text field).  Here's the history for Captain Charlie Glover, who was commisioned 4 years before the start date (i.e. he was an initial officer):

1st January 2100: Promoted to Lieutenant Commander
6th January 2103: Relieved from Intelligence Officer - Fleet Headquarters. Awaiting new orders on Earth
1st January 2100: Assigned to Intelligence - Fleet Headquarters
6th January 2103: Assigned to Missile Complex 011 (Crew Training 50)

This seems to be common through most of my officers.

It appears I never bothered with an order clause in the SQL that retrieves officer history :). It's amazing it wasn't a worse problem.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 04:52:41 AM
Just had some NPRs get into a fight and now I keep getting spammed by.

Error in ApplyInternalDamage
Error 6 was generated by Aurora
Overflow

Do you still have this problem and if so could you send me the database file? This is one of those bugs that is difficult to recreate manually.

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 05:01:30 AM
The reason that I was trying to delete the old game was that I just ran into the same "can't find research projects that should be there" problem that someone else reported a while back.

I'm about 7 years into a conventional start game, and I realized I couldn't see projects like the next research or construction level anywhere (neither current, nor queued, nor available).  Finally, I started cancelling researchers' projects 1-by-1, and discovered that the missing projects reappeared as projects were deleted.

[long pause while poking around in DB]

Ok - I'm pretty sure I know what's going on.  I've got a researcher "Eve Richards" who's working on 12cm lasers.  When I cancel the project, Fuel Production 24,000 magically reappears.  Here's the interesting fact:  Eve Richards' project ID (which is the key for the ResearchProject table) is #669.  The TechSystemID (key in the TechSystem table) for Fuel Prod 24,000 is #669.  Hmmmm seems like a coincidence :-)  It looks like the query that displays the available research projects is somehow confusing the project ID with the TechSystemID.

Another well spotted! Here is the SQL for the available research list:

sSQL = "select * from TechSystem t, TechType tt where t.RuinOnly = False and t.TechSystemID NOT IN"
sSQL = sSQL & " (select TechID from RaceTech where RaceID = " & cboRace.ItemData(cboRace.ListIndex) & ")"
sSQL = sSQL & " and (Prerequisite1 = 0 or Prerequisite1 IN "
sSQL = sSQL & " (select TechID from RaceTech where RaceID = " & cboRace.ItemData(cboRace.ListIndex) & "))"
sSQL = sSQL & " and (Prerequisite2 = 0 or Prerequisite2 IN "
sSQL = sSQL & " (select TechID from RaceTech where RaceID = " & cboRace.ItemData(cboRace.ListIndex) & "))"
sSQL = sSQL & " and TechSystemID NOT IN "
sSQL = sSQL & " (select ProjectID from ResearchProject where RaceID = " & cboRace.ItemData(cboRace.ListIndex) & ")"
sSQL = sSQL & " and TechSystemID NOT IN "
sSQL = sSQL & " (select TechSystemID from ResearchQueue where PopulationID = " & ActivePopID & ")"
sSQL = sSQL & " and TechSystemID NOT IN "
sSQL = sSQL & " (select TechID from ResearchProject where PopulationID = " & ActivePopID & ")"
sSQL = sSQL & " and tt.TechTypeID = t.TechTypeID and tt.FieldID = " & cboCategory.ItemData(cboCategory.ListIndex)
sSQL = sSQL & " and (RaceID = 0 or RaceID = " & cboRace.ItemData(cboRace.ListIndex) & ") order by Name"

As you can see, the "select ProjectID from ResearchProject" should be "select TechID from ResearchProject" and the "select TechID from ResearchProject where PopulationID = " & ActivePopID & ")" line is not actually needed as it is now a subset of the corrected line. Also a preceding "ActiveRaceID = cboRace.ItemData(cboRace.ListIndex)" and a quick replace might be more readable :)

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: Steve Walmsley on March 14, 2011, 05:08:18 AM
Started a new game.    Tried to change the empire name after gamestart, from the F2 industry screen I realized i could type it in there. 

Then I loaded up my construction orders, and these errors are popping up.    The orders still go through.   

Error in cmdStartProduction_click
Error 381 was generated by Aurora
Invalid property array index

Changed name back, left window, opened it up again, and it was normal.

I've changed the F2 Race field from a dropdown combo to a dropdown list so you can't type in it. As soon as you started typing, the ID of the current race was lost which caused the subsequent errors. If you need to change the race name, open up the Race window from the main menu bar (Ctrl-F2)

Steve
Title: Re: Official v5.40 Bugs Thread
Post by: dooots on March 14, 2011, 07:49:23 AM
Do you still have this problem and if so could you send me the database file? This is one of those bugs that is difficult to recreate manually.

Steve

Yep email sent.
Title: Fighter Maintanence
Post by: Gyrfalcon on May 27, 2011, 02:57:53 AM
In my current campaign, I went ahead and created a couple of squadrons of fighters before their carriers and ground bases were ready, only to find out that despite maintenance facilities for 14,000t carriers, no one had any idea how to maintain a fighter.  Attempting to assign the group to overhaul did no good either, as the fighters sat there for a year in overhaul mode with no effect.  It doesn't seem logical that fighters hanging out in planetary orbit are subjected to the maintenance clock where the destroyers sitting next to them are not.   
Title: Re: Fighter Maintanence
Post by: Charlie Beeler on May 27, 2011, 08:01:11 AM
In my current campaign, I went ahead and created a couple of squadrons of fighters before their carriers and ground bases were ready, only to find out that despite maintenance facilities for 14,000t carriers, no one had any idea how to maintain a fighter.  Attempting to assign the group to overhaul did no good either, as the fighters sat there for a year in overhaul mode with no effect.  It doesn't seem logical that fighters hanging out in planetary orbit are subjected to the maintenance clock where the destroyers sitting next to them are not.   

This is not a bug, it's working as intended.  Fighters used to be able to loiter around a planet with maintenance installations the same as all other military ships.  This was changed (v5.0?) too fighters only stop maintenance clocks only when in a hanger.
Title: Re: Fighter Maintanence
Post by: Brian Neumann on May 27, 2011, 10:13:30 AM
In my current campaign, I went ahead and created a couple of squadrons of fighters before their carriers and ground bases were ready, only to find out that despite maintenance facilities for 14,000t carriers, no one had any idea how to maintain a fighter.  Attempting to assign the group to overhaul did no good either, as the fighters sat there for a year in overhaul mode with no effect.  It doesn't seem logical that fighters hanging out in planetary orbit are subjected to the maintenance clock where the destroyers sitting next to them are not.   
The difference is that a full sized ship has built in maintanence to work with.  A fighter needs someone elses facilities to be worked on.  After all it doesn't come with any major repair capabilities of its own, even if it does have a little maintenance to work with.  This was why the change was made.

Brian