• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Runtime error though iwe installed...

Henry said:
Sample code? Oooh YES, please!

This is how the standard animation trigger looks like:

Code:
VAR_BASE_OVERRIDE 0
IFIN1 at_5, 07C2h, 1200h, 1200h
  IFIN1 at_6, 6h, 0, 0
    SETWRD 6h, 1
  at_6 label word
  BGL_JUMP_32 at_8
at_5 label word
  IFIN1 at_7, 6h, 3, 3
    SETWRD 6h, 4
  at_7 label word
at_8 label word
BGL_JUMP_32 at_10
at_9 label word
SETWRD 6h, 0
at_10 label word

This trigger should trigger on both 112.00 and 113.00 as NAV2 frequency.

Code:
VAR_BASE_OVERRIDE 0
IFIN1 at_5a, 07C2h, 1200h, 1200h
  BGL_JUMP_32 at_5b
  at_5a label word
  IFIN1 at_5, 07C2h, 1300h, 1300h
    at_5b label word
    IFIN1 at_6, 6h, 0, 0
      SETWRD 6h, 1
    at_6 label word
    BGL_JUMP_32 at_8
  at_5 label word
    IFIN1 at_7, 6h, 3, 3
      SETWRD 6h, 4
    at_7 label word
  at_8 label word
  BGL_JUMP_32 at_10
at_9 label word
SETWRD 6h, 0
at_10 label word
 
Error 13

arno said:
Hi Henry,

Got your files, but just like the previous poster of this question I could not reproduce the error, so I have no real idea what goes wrong. I will try later today to reproduce it on a different PC.

Hi Arno
Thanks for the code sample at first (now i have something to crunch ;) Well, looks not very difficult so i will try this out).

Back to topic:
I already thought from the previous history that the problem is not within the asm-files. It's something in your proggy together with some specific system properties that couses the error. That's why you can't reproduce it on your system.

The weird stuff: your utility is the first proggy i encounter to have this problem on my system. So i think their is something problematic within your utility that reacts erronous under specific system conditions. I know that it's hard to find such bugs if you can't reproduce the error on your PC.

So if i can help you in any way (ie testing a new version or so), feel free to ask me about.
 
Hi Henry,

I tried it on my other PC as well, and there it also works. Just a few random questions to see if that can give us a solution:

  • Have you installed the full installer version including all needed runtime files?
  • How are your windows regional settings set? I have set mine to English UK. I already tried to change the dot/comma setting, but that did not help.
 
Hi Arno

We're on the right track now! I found out some more interesting (and weird) stuff.

It definitely has to do with the regional setting but there's some more stuff involved.

First, my settings are German(swiss), but i recognized something new. Also in the regional settings you can change the symbol for digit grouping. Default value for German(swiss) is the apostroph like this -> 1'234'567.00 which is different to the English(UK) setting. So i changed this to comma like this 1,234,567.00
and - BINGO!!! This way it works even with the German(swiss) setting in both
ways: either Point or comma as the decimal symbol.

Then i tried the same with the English(UK) setting and there the weird thing is that the digit grouping symbol has no influence! it works both ways okay (either " ' " or " , ").

So try yourself with German(swiss) setting and apostroph as the digit grouping symbol and you will probably be able to reproduce the error.

Oh by the way, i have a german version of Windows XP. I don't know if this also has an influence on it and this i can't change (for obvious reasons).

So let's see if you can reproduce the error now.

Henry
 
Sorry i forgot.

I also have a german(swiss) keyboard. So to make things clear:

The apostroph symbol appears as hex value 27 on my system.
 
Hi Henry,

Thanks, that was useful information. By changing to German - Switzerland, I could indeed reproduce the error. I have attach a new EXE to this post, that should solve the trouble.
 

Attachments

Oh, had a look at your code sample - really easy living.

Just programming the missing case construct manually with ifs and gotos!

Kind of monkey business only... ;)

So this made my day.
Henry
 
arno said:
Hi Henry,

Thanks, that was useful information. By changing to German - Switzerland, I could indeed reproduce the error. I have attach a new EXE to this post, that should solve the trouble.

Back again - and TRARA! The fix works!
Problem solved!!!

My wish for the next version:
Try to integrate the possibility to have - let's say - 5 different variable ranges for the same trigger. Similar to the second trigger page you already have in CAT.
This would save lot's of people of doing monkey buisness with the case construct! ;)

So all the best and a happy new year!
Henry
 
Hi Henry,

Henry said:
My wish for the next version:
Try to integrate the possibility to have - let's say - 5 different variable ranges for the same trigger. Similar to the second trigger page you already have in CAT.
This would save lot's of people of doing monkey buisness with the case construct! ;)

I'll put it on the wish list, but I need to think if that will not make the GUI much to complex for the normal user (you are the first person ever to ask for this :D).
 
Back
Top