This are the Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE

FlightIllusion not ...
 
Notifications
Clear all

[Solved] FlightIllusion not connecting to FSUIPC/MSFS 2024

Posts: 24
Registered
Topic starter
(@skythelimit)
Joined: 2 months ago

Hi John, I have started getting the following error message from the FI software.  It seems to appear after using the sim for a period of time

Regards

Charles


Reply
Posts: 216
Admin
(@fsuipc)
Joined: 7 months ago

Can you exit FSUIPC7 (you can pause the FS first if you like) and attach your fsUIPC7.log file when you get this error.

Also then try restarting FSUIPC7 and see if the issue is fixed.

It could be that you had a connection issue and FSUIPC re-connected. If it did, it would reset the value in offset 0x3308 back to 14. If this is the case (your log file would confirm this) then you can update the ipcInit.lua to automatically reset the value back to 13 whenever it is updated, by use of an event.offset function call (and function handler).

Cheers,

John


Reply
Posts: 24
Registered
Topic starter
(@skythelimit)
Joined: 2 months ago

then you can update the ipcInit.lua to automatically reset the value back to 13 whenever it is updated, by use of an event.offset function call (and function handler).

Thx John, does this look ok? 

function ChangeVersion(0x3308, 13)

end

event.offset(0x3308, "UW", "ChangeVersion")

I can continue logging in case something happens with this too.  Anything particular I should select to log other than offset x3308?


Reply
Posts: 216
Admin
(@fsuipc)
Joined: 7 months ago

Posted by: @skythelimit

Thx John, does this look ok? 

function ChangeVersion(0x3308, 13)

end

event.offset(0x3308, "UW", "ChangeVersion")

Not quite...the function takes parameters which in the definition are variables which will be given the appropriate values when it is called, and you must actually change the value in the offset, i.e.

function ChangeVersion(offset, value)
  if value ~= 13 then
      ipc.writeUW(offset, 13)
  end
end

event.offset(0x3308, "UW", "ChangeVersion")

John


Reply
Posts: 24
Registered
Topic starter
(@skythelimit)
Joined: 2 months ago

 

Thx, with just the following script:

function ChangeVersion(offset, value)
  if value ~= 13 then
      ipc.writeUW(offset, 13)
  end
end

event.offset(0x3308, "UW", "ChangeVersion")

I was getting the following error when I launched FI:

 

So I have kept in the following  "Initialization script" as well as a 2nd script, and I can now launch FI, I'm sure they can be combined into one, but seems to work

ipc.writeUW(0x3308, 13)


Reply
Page 3 / 4