Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datarefs loaded from aircraft at sim start bypass drt_ignore.txt #81

Closed
RotationMatrix opened this issue Apr 11, 2021 · 4 comments
Closed

Comments

@RotationMatrix
Copy link

RotationMatrix commented Apr 11, 2021

I am encountering the issue in #33 and added the crashing dataref to my drt_ignore.txt, however DRT still appears to be reading the dataref. My drt_ignore.txt ignores other datarefs but not the one which crashes.

In the debugger just before the crash, it appears the dataref is not ignored since it came from an aircraft.

drt_ignore_debug

Please let me know if there is something obvious I've missed.

Additional Info

X-Plane 11.53r1 on Linux
DataRefTool 2021.03.13 and e24765e

drt_ignore.txt:

B407/Lights/CL1
B407/Lights/CL2
B407/Lights/CL3
sim/airfoils/afl_cd
@RotationMatrix
Copy link
Author

It appears this behaviour only occurs if the aircraft which contains the ignored dataref is loaded at sim start. A workaround is to load another aircraft (default C172) first and then load the aircraft with the ignored dataref.

@RotationMatrix RotationMatrix changed the title Datarefs from aircraft bypass drt_ignore.txt Datarefs loaded from aircraft at sim start bypass drt_ignore.txt Apr 13, 2021
@leecbaker
Copy link
Owner

Hi @RotationMatrix,

Thanks for the bug report, and for the additional details about the Bell 407 crashing bug. I'd love to get both of these fixed.

The first issue seems to be that the ignore list is loaded potentially after the first aircraft. I expect that will be a relatively easy fix. I'll post again in this thread when I think I have a fix.

-Lee

@leecbaker leecbaker reopened this Apr 20, 2021
@leecbaker
Copy link
Owner

Hi @RotationMatrix,

I think I've just fixed this bug. You can get the latest automatically-compiled version of DRT here: https://github.com/leecbaker/datareftool/actions/runs/765890018 Can you confirm that this fixes the issue?

Also, if you can figure out which datarefs are causing the Bell 407 to crash, can you post that in bug #33? Once you post there, I'll put the details on https://datareftool.com for anybody else that's experiencing the bug.

Thanks for your help troubleshooting.

-Lee

@RotationMatrix
Copy link
Author

Hi @leecbaker

Awesome! This has fixed the crashing and I can confirm in the debugger that the ignored datarefs are showing as expected now. I'll post the list in #33 for reference.

Thanks for an amazing tool! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants