User Tools

Site Tools


simulator:log

This is an old revision of the document!


Troubleshooting - tm.log

The most important resource for troubleshooting is the simulator's log file C:\Users\%USERNAME%\Documents\Aerofly FS 2\tm.log inside the user-folder of the Aerofly FS 2.

This file logs all events during the Aerofly FS 2 Flight Simulator execution. It contains warnings and errors that might be generated when the new aircraft is loaded.

Simulator Crashes

This log file will also note any issues with the hardware in use.

When the Aerofly FS 2 Flight Simulator application crashes the IPACS support team (mail (at) ipacs.de) can help better when a copy of the tm.log is attached to an e-mail to them.

Debugging

Common issues during own aircraft development are

  • Syntax accidentally changed, pay particular attention to unmatched braces/brackets
  • Spelling mistakes
  • Same name used for more than one object
  • Object referred to does not exist
  • 3D objects used multiple times
  • Joint force and dampening constants to high
  • Output / Input not defined
  • Control message names not matched
  • Control message qualifier not set for a toggle switch
  • Infinite loops created by using the output of the same object or by chaining object to a loop without any object in the chain that can provide a delay (like a servoclassic or servolinear).

To debug a longer chain of connected objects one can simply overwrite the input property of an object by replacing the usual xyz.Output text with '1.0', '0.0' or any other constant value. Note that inputs with an 'ID' in their name don't directly read the value but use a pointer object instead. It is possible to write a constant value into the InputID parameter of an object.

For debugging it is very useful to assign a key to the 'Reload aircraft' in the simulator control settings (available only if the 'developer' option is set to true in the 'main.mcf'). Using this function only the aircraft but no scenery is reloaded.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
simulator/log.1485197350.txt.gz · Last modified: 2017/01/23 19:49 by jh