Search found 2856 matches

by jph
Wed Dec 21, 2022 8:31 am
Forum: Knobster
Topic: DIY Knobster Linux flash
Replies: 15
Views: 3865

Re: DIY Knobster Linux flash

I don't have any Windows PC last 15 years. I am retired electronic engineer and have programed all kinds of Arduinos. On Linux hex file can be flashed very easily. Why Sim Innovation don't release knobster hex to download. I am sure you can install windows on suitable hardware (if you have any ?). ...
by jph
Tue Dec 20, 2022 9:19 am
Forum: Beta Tester Requests
Topic: PMDG 737-700 instrument collection
Replies: 132
Views: 155009

Re: PMDG 737-700 instrument collection

Hello Joe, no you didn't miss it. Since 3rd party dependencies are not accepted for the instruments library, I simply did not submit those instruments. My submitted about 30 instruments for the PMDG 737-700 aircraft, that do work with the normal PMDG Lvars (that by the way PMDG is also not official...
by jph
Mon Dec 19, 2022 12:33 pm
Forum: Lua and API Scripting Help
Topic: Removing decimal places from a 'float' without rounding - example
Replies: 10
Views: 1349

Re: Removing decimal places from a 'float' without rounding - example

Nice done Joe, if it's a matter to get the whole part of float, without fract, I've also made it at some point, in another way and saved in my snippets All right we have to take in account the decimal point, in this way your solution is more elegant ------------------------------ -- STRING Extract ...
by jph
Mon Dec 19, 2022 11:31 am
Forum: Air Manager
Topic: Cessna CJ4 Heading Bug Not Working
Replies: 30
Views: 3352

Re: Cessna CJ4 Heading Bug Not Working

FS2020 is so stable... (not) :shock: :?

where is the issue ? - fs2020 (probably) - the aircraft ? (probably) Air Manager ? (Possibly but unlikely), the plugins and placing of (possibly but unlikely)

Try it with simple base aircraft that is provided with the game
by jph
Mon Dec 19, 2022 11:27 am
Forum: Lua and API Scripting Help
Topic: Removing decimal places from a 'float' without rounding - example
Replies: 10
Views: 1349

Re: Removing decimal places from a 'float' without rounding - example

Hi, I just use string.sub() and can extract any set of data within the string. It is a standard lua function. my_number = 123.987654321 my_number=string.sub(my_number,1,2) print(my_number) Hi, whilst that is ok and works you are using string conversions as opposed to pure numbers which may sometime...
by jph
Mon Dec 19, 2022 10:08 am
Forum: Air Manager feedback & feature requests
Topic: Feature: Panel Folders
Replies: 78
Views: 5380

Re: Feature: Panel Folders

Agreed Rob.
Probably the first step to an organised structure. :)
by jph
Mon Dec 19, 2022 9:40 am
Forum: Air Player Desktop
Topic: Air player disconnected
Replies: 20
Views: 6201

Re: Air player disconnected

Hi,
please also check the 'device discovery' as per -

https://siminnovations.com/wiki/index.p ... _discovery

and again, please ensure you are using the latest plugins.
Joe
by jph
Mon Dec 19, 2022 9:29 am
Forum: Lua and API Scripting Help
Topic: Removing decimal places from a 'float' without rounding - example
Replies: 10
Views: 1349

Re: Removing decimal places from a 'float' without rounding - example

Hi Gilles, Another method for finding just the integer (or the integer AND the fractional) is as follows. (can be used 2 ways as described) local number = 3.14 local integer,fractional = math.modf(number) -- integer will be 3, fractional will be 0.14 print (integer) print (fractional) -- result = 3 ...
by jph
Sun Dec 18, 2022 1:52 pm
Forum: Lua and API Scripting Help
Topic: Removing decimal places from a 'float' without rounding - example
Replies: 10
Views: 1349

Re: Removing decimal places from a 'float' without rounding - example

Thanks Gilles, :D
Excellent. That is great stuff to add and enhance. Thank you, It is so interesting to see people's solutions to seemingly simple issues (at first glance)
Nice one,
Joe
by jph
Sun Dec 18, 2022 10:05 am
Forum: General Discussion on Anything
Topic: MSFS 2020 40th Anniversary Build & Helicopters Tips for Joystick Axis binding
Replies: 63
Views: 13838

Re: MSFS 2020 40th Anniversary Build & Helicopters Tips for Joystick Axis binding

It could be the MSFS team, even having stated they will come to it, is pushing back day by day, the time where they'll open the Sim / SDK / SimConnect to availability of transparent of variables/events visibility and interaction. Yes, still old school core, perhaps to maintain Polish Notation (PN) ...