Jump to content
The simFlight Network Forums

Joerg 66

  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Joerg 66

  1. Hello!

    For a LUA plug-in I need a method to determine if a macro with a name provided in a variable really exists:

    I want to call macros not only by a fixed name like - ipc.macro("MyMacroFile:MyMacroName") - but also by a string variable (which contains a string transferred from an hardware device) like - ipc.macro(VarMacroFilename .. ":" .. VarMacroName)

    But in the case that no macro with that name is defined, the LUA plug-in should execute some alternate actions (like transferring the string to the original hardware driver).

    Some solution can be writing a constant value to one of the FSUIPC offsets for general purpose (0x66D0 … 0x66FF) before calling the macro, then implement writing another constant value to the same offset in every defined macro and checking the offset in the code after the macro call - that should work, but I think that is not what I mean with "good coding" ;)

    Is there any other way to verify the existence of a FSUIPC macro in LUA?

    The best way I think would be getting a return value from the ipc.macro() function that tells me if a macro with that name has been executed or not. Any chance to implement that in future? (if already implemented, I didn't find any hint neither in the documentation nor in the examples provided)

    Thanks and greetings,


  2. Hello!

    Some more findings: I just opened the "MytrafficGlobal.bgl" with the "AI Flight Planner" utility and received 14 error messages with "Activity level is missing or invalid". Surely you know that this parameter should be in the range 1 to 100. But in these 14 cases, including the V7-BRV, it is set to 0. I'm assuming that this is the reason why FSX shows this traffic even if the AI traffic density is set to 0 (because 0 ≤ 0 …)


  3. Hello Mr. Renk!

    I have a strange problem with MyTraffic X Professional 5.4 - a problem which most of the users here would not even recognize as a problem as well.

    My problem is, that even if I have set both traffic sliders to the far left position, there are still some aircrafts shown, for example a Mooney Bravo with the registration "V7-BRV" departing daily at 1025 from EDFH to EFKU.

    Yes, that's correct: I normally don't want to see any AI controlled traffic. I'm an online flying pilot, and I'm using the excellent AI models from MyTraffic for depicting other online traffic. This is managed by "FSInn", the client program that connects me to the network, VATSIM. But as said I don't want to see these models controlled by AI, so both traffic sliders are set to 0.

    Maybe this is an issue of the schedule definition in MyTraffic. Can you have a look on it?

    German reading users are also invited to follow the original disussion here:


    Thanks & good bye,


  4. Thanks again for your answer!

    … to refer to the Lua package installed for you into the FSUIPC documents …

    Aaah, I see it, and I begin to understand a little how these things work. Until today I never needed to look there because FSUIPC works for me as it is. I'm a physician, not a programmer … :cool:

    The User Contributions subforum you were using erroneously is also full of other examples, contributed by users.

    Just for understanding: if I should succeed and will have developed my own solution, then this would be the appropriate place to publish for sharing it to the other users?

    but please note that I am away from 22nd December to 5th January inclusive.

    No problem - I'm just in the planning phase and beginning to set up my FSX system, so a lots of water will flow down the rhine river until I will have time to deal with these little problems!

    So I wish you a nice vacation, merry christmas and a happy new year!

  5. Sorry Pete,

    my apologies. You have PM. :oops:




    Edit: and my next fault - I just see, that you (reasonably) don't receive PMs, I got an error massage on the browser tab with the PM. So here it is:

    Sorry Pete,

    in fact I didn't see, that you have moved my posts - you did it so fast, that I never have seen it on the original place, so I thought something with the forum software didn't work. :???:

    It is my fault, by looking only in the subforum I missed to see the first post appearing on the correct place, therefore I did the second and third post. Normally I know that I should not post things more than one time ... :oops:

    Anyway, thanks for your efforts. Now I have to google, what is a Lua plugin and how to use it … :idea:



  6. Hello!

    I'm new to this forum, but I'm using FSUIPC/FS4IPC since FS98, and it is time to say thank you, Peter, for the great tools you provide for the FS community! Now I have a wish for future development:

    I know that there are various taxispeed control gauges downloadable as freeware, and I'm using one of them by trying to hit little click spots with the mouse pointer. But for the optical reason I don't really like those unreal things in my virtual cockpit …

    On the other side, I have an unassigned joystick axis, and in the moment I don't know what to do with it. So I think, it would be great if I could control the taxispeed of my aircraft with that axis! :cool:

    I have something like this in mind: while the axis is slided to the zero position, the control is inactive, and throttles and brakes are working as normal. When pushed out of the zero position, it takes control over throttles and brakes and adjusts the taxispeed corresponding to the slider setting. The maximum speed should be configurable in the FSUIPC settings.

    Maybe this is a dream, but I would appreciate if you can implement this feature in one of the future FSUIPC versions! :razz:



    • Upvote 1
  • 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.