Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Fix PrintCompassHeading Crash  (Read 1503 times)

0 Members and 1 Guest are viewing this topic.

FL2070

  • Modder
  • member
  • Offline Offline
  • Posts: 1248
  • FAC #87
Fix PrintCompassHeading Crash
« on: March 06, 2020, 10:50:46 AM »

Some planes have code in their cockpit classes that does "AircraftLH.printCompassHeading = true;", but there is no field printCompassHeading in the 4.13.4 AircraftLH classfile, so Java notices that a field that doesn't exist is being called and throws an unchecked exception, which crashes the game.

This fix adds this field. It doesn't do anything, or change anything, but it will allow you to install mods like czk's Me-410 and Gerd's UltimateReciprocatingProps (F8F and F2G) in 4.13.4 and you will be able to fly them with no pesky printCompassHeading crash. This won't change anything about gameplay whatsoever.

Installation: extract the "!    FixPrintCompassHeadingCrash" folder to your active mods folder. (#SAS, etc)
Download the mod here.

TESTED AND WORKING IN 4.13.4 WITH SAS MODACT 6.4 ONLY
Logged
On average, the average average averages, averagely, the average average of all averages.

gunny0134

  • member
  • Offline Offline
  • Posts: 1134
  • no skill just simple, but seek the best beauty !!
Re: Fix PrintCompassHeading Crash
« Reply #1 on: October 10, 2022, 11:50:29 PM »

Thank you very much...!!

Thanks to this file, the QMB CTD issue of my G3M2_11-22 has been solved.

It was just put in the top of the Mod folder according to the file name.

My version is 4.12.2m BAT 4.0





Logged
Pages: [1]   Go Up
 

Page created in 0.062 seconds with 26 queries.