Jump to content

DCS. Problema Export.lua Multiplayer - Android Throttle Control


huertix

Recommended Posts

Buenas,

 

En relación a la aplicación que he desarrollado para cubrir la ausencia de la palanca física de gases, me esta dando problemas en multiplayer mode.

 

http://www.escuadron69.net/v20/foro/index.php?/topic/62998-control-gases-android/

 

En StandAlone o en Multiplayer como Host va perfectamente.

 

Este es el error que me saltan en dcs.log:

00086.873 ERROR   Lua::Config: Call error LuaExportAfterNextFrame:[string "C:\Users\huertix\Saved Games\DCS\Scripts\Export.lua"]:91: attempt to index local 'MainPanel' (a number value)stack traceback:	[C]: ?	[string "C:\Users\huertix\Saved Games\DCS\Scripts\Export.lua"]:91: in function <[string "C:\Users\huertix\Saved Games\DCS\Scripts\Export.lua"]:88>.

Alguien sabría decirme que puede estar pasando?

Saludos y gracias.

Edited by huertix
Link to comment
Share on other sites

Gracias Disablez ... :Hail:

 

[FSF]Ian respondió algo parecido en el foro de Eagle:

 

 

 

In multiplayer, there are times when you are not in any aircraft, so GetDevice(0) returns nil because there is no main panel. (This may also apply to FC3 aircraft, I am not sure about that.)

 

If LoGetSelfData() returns nil, there is no active aircraft. Otherwise, check LoGetSelfData()["Name"] to see if you are in an A-10C.

Incluso ahora puedo exportar la aplicación para otros modelos a parte del A10. :)

Edited by huertix
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Some pretty cookies are used in this website