Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi, I have an issue in FSUIPC7, latest version.

I use a number of Lua files to control various things on the PMDG DC6 - however my files don't appear to work.

I've notced that it is renaming the LUA key presses I've set to the below each time FSUIPC loads - it never used to do this...

Please advice apprecaited.. 

Each one that says 'Preset Control' should be the name of a Lua..

 

[Keys.Douglas_DC6]
63=N81,10,L70:R,0     -{lctl+Q: Press=Preset Control }-
64=N81,9,L54:R,0     -{lshift+Q: Press=Lua DC6_RPM_24 }-
66=N81,11,L56:R,0     -{lctl+lshift+Q: Press=Lua DC6_RPM_CONTROL }-
78=N69,10,L57:R,0     -{lctl+E: Press=Lua DC6_SOF }-
80=N82,11,L71:R,0     -{lctl+lshift+R: Press=Preset Control }-
88=N84,9,L55:R,0     -{lshift+T: Press=Lua DC6_RPM_26 }-
191=N87,9,L74:R,0     -{lshift+W: Press=Preset Control }-
193=N87,10,L75:R,0     -{lctl+W: Press=Preset Control }-
195=N87,11,L77:R,0     -{lctl+lshift+W: Press=Preset Control }-
197=N82,9,L115:R,0     -{lshift+R: Press=Preset Control }-
214=N85,10,L67:R,0     -{lctl+U: Press=Preset Control }-
216=N85,11,L78:R,0     -{lctl+lshift+U: Press=Preset Control }-
223=N73,9,L84:R,0     -{lshift+I: Press=Preset Control }-
224=N73,10,L83:R,0     -{lctl+I: Press=Preset Control }-
226=N73,11,L85:R,0     -{lctl+lshift+I: Press=Preset Control }-
228=N79,9,L87:R,0     -{lshift+O: Press=Preset Control }-
230=N79,10,L88:R,0     -{lctl+O: Press=Preset Control }-
232=N79,11,L89:R,0     -{lctl+lshift+O: Press=Preset Control }-
236=N76,9,L91:R,0     -{lshift+L: Press=Preset Control }-
238=N76,11,L92:R,0     -{lctl+lshift+L: Press=Preset Control }-
242=N75,9,L54:R,0     -{lshift+K: Press=Lua DC6_RPM_24 }-
245=N75,10,L94:R,0     -{lctl+K: Press=Preset Control }-
249=N74,9,L96:R,0     -{lshift+J: Press=Preset Control }-
251=N74,10,L97:R,0     -{lctl+J: Press=Preset Control }-
253=N74,11,L98:R,0     -{lctl+lshift+J: Press=Preset Control }-
257=N72,9,L100:R,0     -{lshift+H: Press=Preset Control }-
259=N72,10,L102:R,0     -{lctl+H: Press=Preset Control }-
261=N72,11,L103:R,0     -{lctl+lshift+H: Press=Preset Control }-
265=N71,9,L105:R,0     -{lshift+G: Press=Preset Control }-
267=N71,10,L106:R,0     -{lctl+G: Press=Preset Control }-
269=N71,11,L107:R,0     -{lctl+lshift+G: Press=Preset Control }-
273=N77,9,L109:R,0     -{lshift+M: Press=Preset Control }-
275=N77,10,L110:R,0     -{lctl+M: Press=Preset Control }-
277=N77,11,L111:R,0     -{lctl+lshift+M: Press=Preset Control }-
281=N78,10,L113:R,0     -{lctl+N: Press=Preset Control }-
283=N78,9,L101:R,0     -{lshift+N: Press=Preset Control }-
285=N67,9,L59:R,0     -{lshift+C: Press=Lua DC6_WATCHENGINES }-
289=N90,10,L58:R,0     -{lctl+Z: Press=Lua DC6_SON }-
290=N83,9,L112:R,0     -{lshift+S: Press=Preset Control }-
291=N83,10,L79:R,0     -{lctl+S: Press=Preset Control }-
293=N90,9,L72:R,0     -{lshift+Z: Press=Preset Control }-
296=N88,10,L86:R,0     -{lctl+X: Press=Preset Control }-
298=N88,9,L82:R,0     -{lshift+X: Press=Preset Control }-
302=N65,10,L81:R,0     -{lctl+A: Press=Preset Control }-
304=N65,9,L80:R,0     -{lshift+A: Press=Preset Control }-
306=N68,10,L95:R,0     -{lctl+D: Press=Preset Control }-
309=N68,9,L108:R,0     -{lshift+D: Press=Preset Control }-
311=N70,10,L93:R,0     -{lctl+F: Press=Preset Control }-
314=N70,9,L99:R,0     -{lshift+F: Press=Preset Control }-
316=N86,10,L90:R,0     -{lctl+V: Press=Preset Control }-
318=N86,9,L104:R,0     -{lshift+V: Press=Preset Control }-
 

Posted

Could you please attach your full FSUIPC7.ini file.

16 hours ago, severniae said:

I have an issue in FSUIPC7, latest version.

What was your previous version? There has been no change in this area for a while...

It looks like the control numbers I am using for lua files are clashing with the ones for presets (when the lua file number is > 63), which is a bit worrying...
I will check this (tomorrow), but please first attach your ini file.

Thanks,

John

Posted

Your ini file (extract) is rather strange, as lua assignments such as
    64=N81,9,L54:R,0     -{lshift+Q: Press=Lua DC6_RPM_24 }-
should really be written as:
    64=N81,9,CL54:R,0     -{lshift+Q: Press=Lua DC6_RPM_24 }-
i.e. with a C before the L.

I don't know why the 'C' is missing from your assignments...

However, I have corrected for the lua/preset confusion for luas with an index of 64 or greater in the attached version if you would like to try it.
This should automatically re-write your ini correctly.

Any issues, please attach your full FSUIPC7.ini file.

Sorry about this - I am surprised that this hasn't been reported previously...

Regards,

John

FSUIPC7.exe

Posted

Hi John, thanks for the fix and apologies for not attaching my ini - after I saw your first reply I tried removing some old Lua files and then matched the lua identifier in the key command list and it all worked fine after that (although I only have 50 Lua files now instead of several hundred!)

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.