Jump to content
The simFlight Network Forums

bug returned in 4.957c: annotations for assignments lost when controller is not available


Recommended Posts

Hi Pete!

I just wanted to report the duplicate annotations problem with user comments and saw that you already fixed this in 4.957c:

Quote

More consistently removes previous auto INI annotations before generating new ones

I can confirm that this problem is now fixed, but with this change, the bug you already have fixed in 4.954b returned: Annotations for disconnected devices are removed again.

With 4.957b this problem does not occur, but of course annotations are duplicated when comments are used.

See this thread for the original bug report.

Link to comment
Share on other sites

  • 2 weeks later...
On 10/7/2016 at 1:46 PM, ThomasAH said:

with this change, the bug you already have fixed in 4.954b returned: Annotations for disconnected devices are removed again.

Hmm. That may not be easy to fix, because the detection of missing joysticks is much later than the deletion of the existing annotations, and because the joystick is missing the entries aren't processed to add to the look-up tabled. Without the processing no new annotation is generated.

I'll have a look at this once I've aught up with the support backlog.

Pete

 

 

Link to comment
Share on other sites

I just noticed that it is not completely fixed, the comments and annotations are preserved, but the distance between them grows:

10=P64,5,Cx06000D0C,x0080 ; Taxi Light  -{offset word setbits, offset 0D0C}-
12=P64,6,Cx0A000D0C,x0080 ; Taxi Light  -{offset word clrbits, offset 0D0C}-
13=P64,7,Cx06000D0C,x0220 ; Panel+Cabin Light   -{offset word setbits, offset 0D0C}-
14=P64,8,Cx0A000D0C,x0220 ; Panep+Cabin Light   -{offset word clrbits, offset 0D0C}-

(with a tab between comment and annotation) becomes

10=P64,5,Cx06000D0C,x0080 ; Taxi Light          -{offset word setbits, offset 0D0C}-
12=P64,6,Cx0A000D0C,x0080 ; Taxi Light          -{offset word clrbits, offset 0D0C}-
13=P64,7,Cx06000D0C,x0220 ; Panel+Cabin Light           -{offset word setbits, offset 0D0C}-
14=P64,8,Cx0A000D0C,x0220 ; Panep+Cabin Light           -{offset word clrbits, offset 0D0C}-

(with tab-space-tab between comment and annotation) becomes

10=P64,5,Cx06000D0C,x0080 ; Taxi Light                  -{offset word setbits, offset 0D0C}-
12=P64,6,Cx0A000D0C,x0080 ; Taxi Light                  -{offset word clrbits, offset 0D0C}-
13=P64,7,Cx06000D0C,x0220 ; Panel+Cabin Light                   -{offset word setbits, offset 0D0C}-
14=P64,8,Cx0A000D0C,x0220 ; Panep+Cabin Light                   -{offset word clrbits, offset 0D0C}-

(with tab-space-tab-space-tab between comment and annotation).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.