1

Topic: Maybe a Bug?

In my new Set for the FF A350 XWB, i use the Vehicles to open the corresponding Aircraft-Doors.
So, the BaggageLoader should open the BulkDoor. The DataRef therefore is:
    sim/cockpit2/switches/custom_slider_on[10]

If i use this Instruction, XP10 crashes to Desktop when i start to Drive BaggageLoader up over the ControlPanel of GHD.

Using this Instuction
     sim/cockpit2/switches/custom_slider_on[9]
everything went well, except from opening the wrong Door.

In my Opinion, there is maybe a Bug with 2-Digit Indexed DataRefs.
Could you please look at it and hopefully fix it? Thank you.

X-Plane since V10

2

Re: Maybe a Bug?

any Chance, to get a Fix for that Problem?

X-Plane since V10

3

Re: Maybe a Bug?

I have no any build set experience, but as a programmer, I guess this CTD maybe cause by a very famous program problem which "call over by one". You must know that in program language each array indicator start with the number "0", so if you want to get the 10th item for the array, just get the custom_slider_on[9]. If you get custom_slider_on[10], the system will find memory haven't allocated it, with out any exception method the system will be crashed by this mistake. So this isn't a bug, this just an misunderstanding with the array indicator. Want this answer will help you understand the problem.

4

Re: Maybe a Bug?

I am also a Programmer. Just Cobol, but an Index Array is an Index Array in each Programming Language, i think.

I know, that the Array of Door Indices is starting with 0, so the 11th Door has an Index of 10.
The one Thing is, that this Index Overflow would not be handled by the Developer/Programmer.
The other Thing is, that at the Moment no Door with a 2 Digit Index could be opened.
So, i think, that this a Bug. A small one, but a Bug.

X-Plane since V10

5

Re: Maybe a Bug?

A350Pilot wrote:

I am also a Programmer. Just Cobol, but an Index Array is an Index Array in each Programming Language, i think.

I know, that the Array of Door Indices is starting with 0, so the 11th Door has an Index of 10.
The one Thing is, that this Index Overflow would not be handled by the Developer/Programmer.
The other Thing is, that at the Moment no Door with a 2 Digit Index could be opened.
So, i think, that this a Bug. A small one, but a Bug.

Get what you are saying, this maybe a bug.

6

Re: Maybe a Bug?

Is there really no Chance, to get this CTD fixed?

XPlane doesn't write a Log in this Case. It is just crashing to Desktop.

If i could do anything to help, solving this Issue, please let me know. Thank you.

X-Plane since V10