Jump to content
The simFlight Network Forums

michel78320

Members
  • Posts

    50
  • Joined

  • Last visited

  • Days Won

    1

michel78320 last won the day on April 16

michel78320 had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Paris (France)

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

michel78320's Achievements

Explorer

Explorer (4/14)

  • Reacting Well Rare
  • Dedicated Rare
  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare

Recent Badges

1

Reputation

  1. Wonderful ... it's good. 😍 Thank you very much for this work. FSUIPC is an excellent product that allows us to make lots of original things with our simulator. Thank you for always listening to our needs.
  2. I understand that. We have all the time, tomorrow or another day suits me perfectly.
  3. If this is too complicated, it is not essential : Most of planes have only one livery in their Aircraft.cfg. It's like you can ...
  4. Yes. It would good in the same way that the title is found for the current livery. The icao_airline is only three lettrers without double-quotes : AF0 or AF1 or BEL ... What I found in your new offset is correct (for [FLTSIM.0], of course).
  5. What would be good is to read the current aircraft, even if it is [FLTSIM.x] At 0x3C00, I can read the full pathname of the current aircraft. At 0x3D00, I can read the full "Title" of the current aircraft (livery) Currently, your latest version is working fine, and I read "AF0" which is the icao_airline of [FLTSIM.0]. But I read the same value if I load the livery [FLTSIM.1] with icao_airline= "AF1"
  6. Wonderful ! It seems that this code always has 3 letters. Here is the list : https://en.wikipedia.org/wiki/List_of_airline_codes Indeed Asobo never informs this code ! To test, you can just add a new line in the Flightsim section of Aircraft.cfg : [FLTSIM.0] . . . . . . icao_airline = "TPC" . . . . . . (Example for TAP Air Portugal) Livreries for Fenixsim A320 are usually properly entered.
  7. Hello, I would like to write a Lua script that makes announcements according to the airline, as Fenixsim does with the Fenix A320. Would it be possible to have an offset which gives the three letters of the airline as indicated in Aircraft.cfg (icao_airline =AFR for "Air France", for example). ? The "atc_airline" (which already have an offset) is too long for everybody. Thanks in advance.
  8. These examples are very clear. Thank you so much. This time, I think I have everything I need.
  9. Yes, I understand all this. My goal is not to develop my code. It works well. I will fly with for weeks, and suddenly, I have something that is wrong. So, I open the console to see what is going on. What is written in the console is sufficient to find what has changed, except that it is saturated by a single Lua script which does not interest me. And the console continues to fill while I look ... I therefore look for a way to cut the word to one of the scripts, but without putting others in Debug mode, as long as they work properly. The debug affects performance. So I don't want it to be active as long as everything works. When something strange arrives, I would like to activate the console, by activating "Lua Logging", without having to kill and relaunch a script, and without having trace of one of the scripts. I don't know how to do with all these debug options, but I will think about it with the information you gave me.
  10. OK. 😀 Thank you for these explanations. There is no simple solution for my request. That doesn't matter, there is enough debug mode to do what I want to do.
  11. When I write "ipc.runlua ("my_script.lua", param), what are possible param ? I found nothing in the documentation about this param.
  12. Exactly that ! But I did not understand what the Debug Mode is, for the lua script. Where is it in the documentation ?
  13. Thank you for your explanations. I read once again and carefully all the documents provided with FSUIPC. Unfortunately, I have a little trouble understanding how to do it. For example, for the A320 Fenix, I have several Lua scripts, for OVH (VRInsight), FCU (CP-Flight), MCDU (OpenCockpit), Saitek modules. It makes several thousand lines. I also have a LUA script (cursor.lua) which brings the cursor back to the main MSFS window, to avoid losing control of the aircraft during landing, in case, unfortunately, the cursor goes into a gauge of a secondary screen. All this works perfectly. So I don't use debug for normal flight. It slows the scripts far too much. Sometimes an aircraft update makes one button not to work more in the right way. In this case, I look at the FSUIPC console during the flight, to see what is happening. I do not use the log files, because it is not in real time. It gives me satisfaction. Except that the cursor script, triggered every second, sends thousands of lines on the console. If I have to change the FSUIPC options, restart and try to recreate the bug, this is not always possible. So the only thing that bothers me is the log lines on the FSUIPC console that are sent by my "cursor.lua" script. I do not understand how to get that with the available options (without restarting FSUIPC, and without a permanent trace) : - In the fsuipc.ini file ? - Parameter of "ipc.runlua (" cursor.lua" , ????) - elsewhere. Could you tell me ? Thanks in advance.
  14. Thank you for these explanations. I already knew the separate log option. But that only concerns the log files. This requires rereading log files. I find it more pleasant to read live on the console. And this is why I would like to exclude some Lua scripts from the console log. If this is difficult to achieve, no problem, I manage well with what exists. It's just to save time during my development. And thank you for listening.
  15. No, I am sorry, it is not exactly what I hope : This option regulates all scripts at the same time. My main Lua script launches several scripts. Most of them are perfectly ok. One of them is a polling of my Saitek modules. When I write a new script, the Saitek script fills the logfile and I find it difficult to follow the log of my new script. I would like an option to not put in the log (console and/or file) of one or more script.
×
×
  • 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.