![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#1 (permalink)
|
|
DD_SNACKO
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
![]() |
I bought Lockon Flaming Cliffs 2.0 a few days ago and have been trying to get the data to export to Touchbuddy. But the export script seems to have changed a little and I am not a LUA programmer.
If you try to set it up to work with your game, you may need to set the EnableExportScript flag to true in the config.lua. I am not sure if this is needed, because it was false in my Lockon setup, but the comments, (and the flag name itself) seem to indicate to turn it on. After testing your export by flying a quick mission, look at the Temp folder for Error.log. At the bottom you will see an LUA error from the touchbuddy-export.lua file with a data type error. I found two of these errors and just commented out the offending line of code, but then stopped receiving errors and it still did not work. I have a feeling that some datatypes may have just changed, and maybe some minor script changes as well, but at this point I don't know.... ![]()
__________________
(a.k.a. Snacko - DangerDogz) Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit ![]() |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#2 (permalink) |
|
Junky
Join Date: Jun 2006
Location: Kallinge, Sweden
Posts: 77
![]() |
Seems like there is a nice little software that works fine with FC2 to export the LUA data.
LEAVU development phase, coding MPCD graphics - ED Forums I would take a look at that one and see if the configs are somewhat simmilar. This moght also be something that can be adopted with touchbuddy. Getting loadouts, having touchbuttons and getting radar and instruments working at the same time would be just super.
__________________
|
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#3 (permalink) |
|
DD_SNACKO
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
![]() |
Well, I did have it working after commenting out those two lines of code, but I didn't know it because I needed to reboot. When I rebooted and started TB I noticed that it had some data in those TB modules, so I looked at the touchbuddy-export.dat file was in the FC2 folder with data. So, I fired up FC2 and it displayed data and all modules worked. But then FC2 locked up and CTD.
So, more testing is needed and those two lines of code need to be fixed and maybe that is all. I think they both are just datatype errors. One says it's expecting a string and it is being passed an array. And the other is expecting a numeric and is getting a String I think. So, he array one may be the only tricky one to figure out if those are the only problems. That would be sweet! Also, I am updating my Exter/WBK Profile for FC2 as well. EDIT: I flew with it tonight for a while. It does not work online, which is kind of expected. Offline it worked ok in general. It stopped working a few times, but that may have been when I was changing from online to offline, I am not sure. But unloading TB and reloading it again fixed the problem. One of the lines of code has to do with World Data which included Long & Lat data for objects. I assume that has something to do with objects on the RWR not showing at the moment up maybe.
__________________
(a.k.a. Snacko - DangerDogz) Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit ![]() Last edited by Wild.Bill.Kelso; 04-05-2010 at 03:03 AM. |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#4 (permalink) |
|
Addict
Join Date: May 2006
Posts: 19
![]() |
Greetings aces
Any luck on getting the data transfer to work yet? I am a complete Touchbuddy newb (again) and I have no clue how to get the data export functions to run. The touchscreen functions work as inteded though! |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#5 (permalink) |
|
DD_SNACKO
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
![]() |
What version of Lockon are you using? It works fine with Lockon and Lockon FC 1.1 if you can figure out the instructions. Have you got that working?
Lockon FC 2 has changed some things and it currently does not work with it. But I have disabled two lines of code and got it to work. So, if I can find the time I will try and fix those two lines and post the fix here. One of the lines gets the locations of objects in the world, so you may not have any objects show up at all in the RWR. I forget what the other line does...
__________________
(a.k.a. Snacko - DangerDogz) Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit ![]() |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#6 (permalink) |
|
Addict
Join Date: May 2006
Posts: 19
![]() |
Hey Bill.
Using FC2 here (haven't used touchbuddy much with FC1.2 since I had some computer problems back then). The touchbuttons work flawlessly. I am most interested about the weapon status read-out since I mostly fly the SU-25 (for the moment). |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#7 (permalink) |
|
DD_SNACKO
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
![]() |
Attached is the touchbuddy-export.lua file that you put in your config\export folder. If you follow the current instructions with TB to set all this up, it should work offline. I'm not sure if the game exports lua data when online.
This file still has the two lines commented out because I have not had the time to debug them. One line is to get WorldObjectData, and the other line is for something called AccelerationUnits (whatever that is used for I don't know).
__________________
(a.k.a. Snacko - DangerDogz) Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit ![]() |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#9 (permalink) |
|
Addict
Join Date: May 2006
Posts: 19
![]() |
Alright, the data export seems to work properly. Only tested 2 flights during one of which the data stalled but otherwise things run smoothly.
Thanks a lot Bill. |
|
|
|
| Re: Lockon Flaming Cliffs 2.0 - Data Export LUA |
|
|
#10 (permalink) |
|
DD_SNACKO
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
![]() |
Yea, I've had the data stall at points. Not sure if this is a FC2 problem or export script problem. But using this with FC is all new at this point, so we will see how it goes...
__________________
(a.k.a. Snacko - DangerDogz) Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.touch-buddy.com/forums/dcs-lockon/1190-lockon-flaming-cliffs-2-0-data-export-lua.html
|
||||
| Posted By | For | Type | Date | |
| VJS German Knights - Thema anzeigen - Touchscreen | This thread | Refback | 04-13-2010 06:52 PM | |
| VJS German Knights - Thema anzeigen - Touchscreen | This thread | Refback | 04-13-2010 06:31 PM | |
| Untitled document | This thread | Refback | 04-11-2010 05:12 PM | |
| Official TouchBuddy Forum - Powered by vBulletin | This thread | Refback | 04-05-2010 03:24 AM | |