Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik

IL-2 Sturmovik The famous combat flight simulator.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 01-24-2010, 04:18 PM
MikkOwl MikkOwl is offline
Approved Member
 
Join Date: Jan 2010
Location: Sweden
Posts: 309
Default

Yes it works in online mode, just instruments not working there.

I still don't know how to forward the information from devicelink to autohotkey. If anyone has any experience with software engineering that could be helpful, it would speed things up by a huge amount. I'm getting nowhere due to trying to wrestle this important problem, both for controlling G940 led lights, and also for making the throttle/prop pitch controls much easier (overcoming some of the limitations)

I have 'netcat' be able to write to a file in the command dos promt with "il2throttlescript.exe|netcat.exe blabla_connection_to_device_link_parameters > text_file_output_from_device_link.txt".

But this text file is write protected for other programs and devicelink keeps sending replies in a single long string, adding one after another. I can get autohotkey to read the text inside but since it just keeps growing, I don't know how to sort the whole mess out in a practical way.

There's a special version of autohotkey, and/or a 'library' called autohotkey.dll with updated functions compared to the normal version. This dll allows reading 'stdin', that is, raw command input/output (used in pipes). Then I could pipe netcat's replies to my autohotkey script, and make it read the 'latest' it recieved from devicelink, making things real smooth and easy.

Problem is, I just don't understand how to use dll's, how to call up commands from them and all those things.
Reply With Quote
 

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

Forum Jump


All times are GMT. The time now is 09:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.