Skip to content
View in the app

A better way to browse. Learn more.

HarpGamer

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

invalid type-aa assertion failure

Featured Replies

uses GE 2023.002,

included in zip:

custom battleset southPacificIslands,

hccw140314 db,

GE.log

screen shot

saved game 1 sec before popup.

game played on after ignoring error

 

image.thumb.png.19111dff4a2eee29709ab9d5f8d1b475.png

type-aa-invalid-ge.zip

Do you happen to know how/why AZA was launched?  I'm looking at a scary global variable called AirTargetType that could have been set when you launched airplanes from a base for an attack (as opposed to say pulling them out of a formation patrol, ferry mission, or long range patrol).   That global variable is throwing things off.  That is also why the problem isn't readily reproducible from a saved game since the state of the AirTargetType global variable is not saved to and loaded from saved games so it resets to the more friendly value of 0 rather than the unfriendly value of 1 that is leading to the assertion.

Fix coded (again).  Thanks to your provided ge.log and saved game, I can force the unexpected value into AirTargetType which then leads to the assertion.  That lends credence to my theory about AirTargetType being the culprit but does not conclusively prove that theory nor conclusively prove that the fix is correct.

HCE - 2023.003 - 2023-04-##
===========================
- Chg:32923 GE Attempt again to fix type_aa != INVALID_ATTACK_CODE in Combat5.c
                assertion.  The theory this time is that the AirTargetType
                global is causing everything to go astray.  It should only
                be used by the player and I believe only when launching attacks
                so its value is reset to zero after any of those situations.
 

 

  • Author
3 hours ago, TonyE said:

Do you happen to know how/why AZA was launched?  I'm looking at a scary global variable called AirTargetType that could have been set when you launched airplanes from a base for an attack (as opposed to say pulling them out of a formation patrol, ferry mission, or long range patrol).   That global variable is throwing things off.  That is also why the problem isn't readily reproducible from a saved game since the state of the AirTargetType global variable is not saved to and loaded from saved games so it resets to the more friendly value of 0 rather than the unfriendly value of 1 that is leading to the assertion.

AZA was launched by me from base PortMorseby I'm fairly sure as an attack on the enemy base Manus Is but reassigned to attack the shipping. I think while flying to manus it detected the shipping and was reasigned by selection of AZA and issuing an F1 command to attack the shipping contact

As best I remember.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.