Jump to content
The simFlight Network Forums

FSUIPC Dynamic friction Lua not working P3D 3.4.14


Recommended Posts

Hi,

I was using P3D 3.2 until a few days ago when I updated for 3.4

I also updated fsuipc to the most recent version.

In P3D 3.2 I used 2 lua files : ipcReady and Dynamic Friction. Both worked beautifully.

Now I still have those two, ipcReady is working as intented but Dynamic friction is not working anymore and I don't know the reason. I checked the fsuipc.ini and everything seems fine

Thank you for your help

Link to comment
Share on other sites

50 minutes ago, daathena said:

I was using P3D 3.2 until a few days ago when I updated for 3.4

I also updated fsuipc to the most recent version.

You need to state the actual version number. Folks frequently say "latest version" when in fact they mean the latest one they noticed or downloaded.

51 minutes ago, daathena said:

Now I still have those two, ipcReady is working as intented but Dynamic friction is not working anymore and I don't know the reason. I checked the fsuipc.ini and everything seems fine

Look in the FSUIPC4.LOG file, in the Modules folder. Not far from the beginning you should see this group of lines, referring to interface hooks and links into P3D:

      -------------------------------------------------------------------
      ------ Setting the hooks and direct calls into the simulator ------
      --- CONTROLS timer memory location obtained ok
      --- SIM1 Frictions access gained
      --- FS Controls Table located ok
      --- Installed Mouse Macro hooks ok.
      --- Wind smoothing fix is installed
      --- SimConnect intercept for texts and menus installed ok
      --- All links okay (except older global weather setting method)
      -------------------------------------------------------------------


The important one for the frictions is that third line. Is it there, exactly like that? If so then the problem is in P3D, if not then the problem is that you have the wrong version of FSUIPC, not one specifically updated for P3D 3.4.14.

Pete

 

 

 

 

Link to comment
Share on other sites

FSUIPC4, Version 4.958 (8th November 2016)

----------------------------------------------------------------------------------------

------ Setting the hooks and direct calls into the simulator ------
      671 --- CONTROLS timer memory location obtained ok
      687 --- SIM1 Frictions access gained
      687 --- FS Controls Table located ok
      687 --- Installed Mouse Macro hooks ok.
      687 --- Wind smoothing fix is installed
      687 --- SimConnect intercept for texts and menus option is off
      687 --- All links okay (except older global weather setting method)

-----------------------------------------------------------------------------------------

 

 

Thank your for your time and help 

Edited by daathena
Link to comment
Share on other sites

4 hours ago, daathena said:

FSUIPC4, Version 4.958 (8th November 2016)

----------------------------------------------------------------------------------------

------ Setting the hooks and direct calls into the simulator ------
      671 --- CONTROLS timer memory location obtained ok
      687 --- SIM1 Frictions access gained

Okay. Looks like the latest P3D doesn't use these friction tables then.

You could ask the question over in the L-M forum.

Pete

 

Link to comment
Share on other sites

2 hours ago, daathena said:

Thanks, will the next updates support that ?

Sorry, I don't know what L-M has planned.

All I can do for each release of P3D is to track down the tables and allow the Lua functions to write to them. I've never had a use from the friction stuff myself and really I don't think I'd be able to tell whether changing them made a difference or not.

2 hours ago, daathena said:

s it possible to replace those latest friction tables with older ones to make it work ? or is it possible to modify the lua file to make it work.

I think you misunderstand. The friction tables are defined inside P3D code. All FSUIPC does is provide the address of them to the Lua functions.

I didn't develop this friction modification business. Someone else was offering a patched version of the relevant FSX module (SIM1.DLL) with fixed changed friction tables.  It is not good to distribute modified pieces of FS (and probably illegal anyway) so I offered to do it dynamically, at run time. I don't know anything else about the facility than you see.

Pete

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.