Home UserCP Memberlist Register Calendar FAQ
Home


Go Back   Official TouchBuddy Forum > TouchBuddy by Game > DCS: Lockon

Reply
 
LinkBack (4) Thread Tools Display Modes
Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-04-2010, 09:23 PM   4 links from elsewhere to this Post. Click to view. #1 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
Wild.Bill.Kelso is on a distinguished road
Default Lockon Flaming Cliffs 2.0 - Data Export LUA

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-04-2010, 09:48 PM   #2 (permalink)
Junky
 
Join Date: Jun 2006
Location: Kallinge, Sweden
Posts: 77
CoNa is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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.
__________________
CoNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-04-2010, 10:50 PM   #3 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
Wild.Bill.Kelso is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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.
Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-06-2010, 09:24 PM   #4 (permalink)
Addict
 
Join Date: May 2006
Posts: 19
9JG54_Kirin is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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!
9JG54_Kirin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-07-2010, 12:43 AM   #5 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
Wild.Bill.Kelso is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-07-2010, 06:52 AM   #6 (permalink)
Addict
 
Join Date: May 2006
Posts: 19
9JG54_Kirin is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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).
9JG54_Kirin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-07-2010, 01:12 PM   #7 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
Wild.Bill.Kelso is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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).
Attached Files
File Type: zip touchbuddy-export.zip (2.7 KB, 59 views)
__________________
(a.k.a. Snacko - DangerDogz)
Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-07-2010, 05:26 PM   #8 (permalink)
Addict
 
Join Date: May 2006
Posts: 19
9JG54_Kirin is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

Thx Bill - will try it out tonite!
9JG54_Kirin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-08-2010, 08:13 AM   #9 (permalink)
Addict
 
Join Date: May 2006
Posts: 19
9JG54_Kirin is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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.
9JG54_Kirin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Lockon Flaming Cliffs 2.0 - Data Export LUA
Old 04-08-2010, 05:20 PM   #10 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,254
Wild.Bill.Kelso is on a distinguished road
Default Re: Lockon Flaming Cliffs 2.0 - Data Export LUA

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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




All times are GMT. The time now is 02:06 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top