Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi everybody

 

a stupid question :

shall i have the possibility to restart ipcready.lua script (launched by fsuipc at P3D start) without restarting P3D ?

 

why :

i add the pokey56U.lua script in ipcready.lua (as described in Terry Hall doc) and i make change for testing in pokey script ,

i lost time because, to take effect of the change, i have to close & restart p3D after each change

 

thanks for helping a stupid Linda Lua beginner

 

Thierry

 

 

 

Posted

You could assign a spare button/switch temporarily to kill the Lua script when pressed and to

start the Lua script when released. I use this procedure all the time when I am creating

and testing Lua scripts.

 

If you look down the list of assignable commands in the Buttons + Switches drop-down menu

you will see several options listed for each Lua script that is loaded. The kail snd start (or maybe run)

are listed there.

 

  Paul

Posted

hi Paul

 

if i understand well when i look at list box button , it show only the lua script starting with "lib-" located (as i see) in folder Modules\linda\libs

so i have to move my script in this folder and rename it starting "lib-" as "lib-pokey56u01.lua"

 

for the moment no impact about my initial error which was that it did not find the Luacom.dll in the function Require

but your help is interesting , with "lib-" root name attachable to a button, i could re-run pokey script every time i need

 

Thanks Paul for this precious help about testing

have a good end of weekend

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.