Jump to content

mikemadmax20

Members
  • Posts

    135
  • Joined

  • Last visited

Everything posted by mikemadmax20

  1. Hi Again. It's been awhile. Last time I checked in was to find a way to get SSA, Andre's Jet Seat and, BlueFinBima's HELIOS to play nice. Finally got it working by repositioning the dofiles in the Users Saved Game folder. However, I auto-updated recent Beta and I'm right back where I started - No SSA/Jet Seat functionality. Tried reordering Saved Games again. No JOY!!! Here's the window I got instead (see below): Ooops...Something is wrong with SimShaker imput data. UseReceivedSimDataMethod Exception: Imput string was not in a correct format. Stack Trace: at System.Number.ParseDouble(String value, NumberStyles option, NumberFormatinfo numfmt) at System.Convert.ToDouble(String value, IFormatProvider provider) at SimShaker.Core.DCSJets.FA_18C.CalculatedData() at SimShaker.Core.MasterManager.CallbackPlayEffects() at Simshaker.Core.DataProvider.DCSDataProvider.UseReceivedSimDataMethods(String receivedUDPmessage) Input data: T=0.769,N=FA-18C_hornet;SelfData+6.28~0.01,Engine_RPM=~; VictVectors=156.06~-4.69~-0.44;altAgl=605.17;PanShake=000;Gun=578;ACCs=0.17~ 0.75~0.00;d10=0;IAS=156.82;12_Wind=-5.22~-0.06;altASL=605.17,AoA=2.21; 15_Payloadinfo=44722*1~0000*0;16d=0,M=0.4778;18d=0;19d=0;20d=0;TAS=156.13;Flares=30;Chaff=60 What gives? This is all gobbledygook to me. Your advice, as always, is appreciated.
  2. +1
  3. Hi Mr B I'm using the Logitech GT3 which has a mini joystick along with it's various keys I've programmed for other cockpit functions. For my Landing Gear, I'm using Saitek Switch Panel.
  4. Hi Blu: Just read your down-to-earth, rather revealing explanation of what's going on in the underworld of the DCS export.lua domain. As a noob, I "think", I now understand the complexities you creators have been challenged with. I've been struggling (along with a few others in the community) with trying to get Your and Capt. 's Zeen's F-18 Profile/Exports to work along side Andre's KW-908 Jet Seat and f410's Sim Shaker for Aviators app. For some reason HELIOS and SSA don't play well. I've asker f410 to reach out you to see if you guys can collaborate on a remedy. In my view (as a modest pi-builder), both the HELIOS Profiles and the Jet Seat are an absolute must for me (and I think others as well). Sorry for this long winded post but, I hope you, Capt. Zeen and F410 can join minds to sort this issue out. BTW, I've got to explore your F-18 UFC project further. I won't rest until I get one to complement my pre-ordered TM Hornet Flight Stick. Best regards, Mike "Mad Max"
  5. Thanks. I'm confident your collaboration with Blu will deliver a remedy aimed at a truly all-around immersive experience. After all, that's the goal you guys are dedicated to achieving. And to be quite frank, as a modest pi-builder, I can't fly without my Jet Seat/SSA working along side Blu's Helios exports. The symbiotic relationship between the two apps - and realistic results - are just pure nirvana - IMHO. Again, thanks for your unflinching support to the community. Best regards, Mike
  6. Understood. real life often takes priority. I'm also going to reach out to BluFinBima to get his input. Enjoy your renovation. I'd bet part of it is driven by Honey-Do this and that from wifey. I know - I've been there done that.
  7. No Joy. Its not working. Again, got frustrated and applied DCS Repair button. Jetseat back in action but, all of my Helios instruments are dead. For a brief period over the last couple of weeks, both Helios and SSA worked in unison and then all of a sudden SSA went south. I can't imagine that I'm the only pit builder using Helios along side SSA/Jetseat and, I'll bet we've all probably had the same issue. Since there seems to be a conflict somewhere between the two, I'd suggest you reach out to BlueFinBima on ED Forums. He's doing some great work with new/updated Helios exports to multiple monitors. He's also committed to the community. Maybe together, you can work out a permanent fix. I pray. Thanks for your understanding. Best regards, Mike
  8. If not, when will you accepting FSE pre-orders? Love my current Jetseat (when it works with SSA) and can't fly without it. So, I absolutely want to upgrade to FSE. Best wishes, Mike
  9. Hi Andre. Hope you had a great Father's Day.Quick question. Are now taking FSE Pre-Orders? Mike "Mad Max"
  10. Hi again. Thanks for your response. However, applied your suggested changes. Still no joy. Don't understand what changed in my export.lua script. SSA, along with Helios and Viacom were working fine together a couple of days ago. Then, as I mentioned, Jetseat/SSA just went south on me. Kind of frustrating, as Mariner (another Marine brother from another mother) expressed a number of posts ago. One last attempt here. Would you kindly take a look at the following - specific to SSA's .lua and, let me know if it requires a change. local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) dofile("C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core") I'm focusing on my Saved Games dofile in particular. Does this need to be included? Again, your assistance is always appreciated. Your work has been awesome and I feel in my heart that your efforts are dedicated toward helping the community experience a truly improved flight experience. My hat goes off to your continued support. Thanks again, Mike "Mad Max"
  11. Hi f410: Sorry to bother you again but, all was working fine until yesterday. Fired up DCS this morning and my Jetseat has pooped out again. Need your help. Read every post going back to 75 and tried everything I thought might be applicable. No joy. Massage function works - nothing else. Here's my export.lua. local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[scripts\VAICOMPRO\VAICOMPRO.export.lua]]) dofile("C:\Users\mmaxw\Saved Games\DCS\Scripts\Helios") dofile("C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core") local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') Take a look at the last line in the script. Its a duplicate of the script above SimShaker-export-core lua. Hope to chat again soon.
  12. Hot Diggity. Worked perfectly. Now if I just the same response from my KW908 JetSeat. I'll be in seventh heaven. Another WIP toward total immersion.
  13. Hi Paul Thanks for getting back. I've now downloaded the DCSFlightPanels and DCSBios. Also, just finished watching your Ytube vids. Great work all around. OK. Lets see if I can get my PZ55 up and running. Again, thanks for your help. BTW - Happy Father's to all. Mike "Mad Max"
  14. Hi guys. Just came across this thread and could use some guidance. I'd like to get my Sitek Switch Panel to work with DCS World's F/A-18 Hornet for the landing gear and other controls. I haven't read all 118 posts so could somebody point me to the specific post(s) covering this device. Also would like to know what I need to download (DCS-BIOS, DCSFLIGHTpanels, DCSFligtPanels-Profiles, etc.) to get my Switch Panel working. Thanks in advance for your help. aka: Mike "Mad Max"
  15. Andre: Will check w/ f410 and look for helios support as well. I'll also be in touch regarding my SS Sound Module activation. Take care and chat soon. Thanks again for your guidance.
  16. I'm interested as well and, will follow your thread for additional news.
  17. Hi Andre: Again, thanks for your prompt reply as always. However, my inquiry wasn't about SS Sound Module but, rather a suspected conflict with my 908 Jet Seat/SSA and Helios export.lua. To be quite frank, I haven't activated my SS Sound Module as of yet. I apologize for being a pain but, I can't seem to get my 908 Jet Seat working without (as I mentioned above) pressing the Repair DCS button and then Helios stops functioning. If this is not the correct forum to search for possible fix, would you kindly point me in the right direction. Also interested in pre-ordering your FSE pad - let me know how I can make that happen. As always thanks for your continued support. Best regards, Mike
  18. Hi again Andre and f410: I've been away from the pit for awhile so I didn't get a chance to thank you Andre for the SS Sound Module replacement key. Thanks again. Now, I've got another problem (I reported earlier in a previous post) I hope you guys can help fix. The only way I can run my JetSeat is when I press the Repair DCS radio button. At that point my F18 Helios profile (instruments) stops working. I don't have a clue on what's happening. Your help would be appreciated. SS Log: 11:08:42.329 SimShaker for Aviators Version 1.3.7.0 11:08:42.341 ********** DCS World Public Release version folder found in Saved Games ********** 11:08:42.343 DCS export feature setup: SimShaker.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts 11:08:42.344 DCS export feature setup: ExportCore.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.346 DCS export feature setup: ExportDevice.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.346 DCS export feature setup: KeyValueStore.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.347 DCS export feature setup: Network.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.348 DCS export feature setup: Protocol.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.349 local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') call found in C:\Users\mmaxw\Saved Games\DCS\Scripts\Export.lua 11:08:42.349 dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) call found in C:\Users\mmaxw\Saved Games\DCS\Scripts\Export.lua 11:08:42.350 ********** DCS World Open Beta version folder found in Saved Games ********** 11:08:42.351 DCS.openbeta export feature setup: SimShaker.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts 11:08:42.352 DCS.openbeta export feature setup: ExportCore.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 11:08:42.352 DCS.openbeta export feature setup: ExportDevice.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 11:08:42.353 DCS.openbeta export feature setup: KeyValueStore.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 11:08:42.354 DCS.openbeta export feature setup: Network.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 11:08:42.355 DCS.openbeta export feature setup: Protocol.lua added to C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 11:08:42.355 local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') call found in C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\Export.lua 11:08:42.355 dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) call found in C:\Users\mmaxw\Saved Games\DCS.openbeta\Scripts\Export.lua 11:08:42.356 ********** Custom DCS World configuration found ********** 11:08:42.356 DCS export feature setup: SimShaker.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts 11:08:42.357 DCS export feature setup: ExportCore.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.357 DCS export feature setup: ExportDevice.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.358 DCS export feature setup: KeyValueStore.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.358 DCS export feature setup: Network.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.359 DCS export feature setup: Protocol.lua added to C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core 11:08:42.359 local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') call found in C:\Users\mmaxw\Saved Games\DCS\Scripts\Export.lua 11:08:42.360 dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) call found in C:\Users\mmaxw\Saved Games\DCS\Scripts\Export.lua My Saved Games Export.lua: gHost = "127.0.0.1" gPort = 9089 gExportInterval = 0.067 gExportLowTickInterval = 1 gEveryFrameArguments = {[298]="%0.1f", [299]="%0.1f", [300]="%0.1f", [301]="%0.1f", [302]="%0.1f", [303]="%0.1f", [304]="%0.1f", [305]="%0.1f", [306]="%0.1f", [307]="%0.1f", [308]="%0.1f", [309]="%0.1f", [13]="%0.1f", [10]="%0.1f", [15]="%0.1f", [16]="%0.1f", [17]="%0.1f", [18]="%0.1f", [19]="%0.1f", [20]="%0.1f", [21]="%0.1f", [22]="%0.1f", [23]="%0.1f", [24]="%0.1f", [25]="%0.1f", [29]="%0.1f", [26]="%0.1f", [31]="%0.1f", [32]="%0.1f", [38]="%0.1f", [39]="%0.1f", [40]="%0.1f", [41]="%0.1f", [33]="%0.1f", [34]="%0.1f", [35]="%0.1f", [36]="%0.1f", [37]="%0.1f", [152]="%0.1f", [154]="%0.1f", [156]="%0.1f", [158]="%0.1f", [160]="%0.1f", [166]="%0.1f", [165]="%0.1f", [167]="%0.1f", [163]="%0.1f", [164]="%0.1f", [162]="%0.1f", [1]="%0.1f", [2]="%0.1f", [3]="%0.1f", [47]="%0.1f", [48]="%0.1f", [45]="%0.1f", [44]="%0.1f", [294]="%0.1f", [376]="%0.1f", [137]="%0.1f", [4]="%0.1f", [5]="%0.1f", [6]="%0.1f", [460]="%0.1f", [461]="%0.1f", [462]="%0.1f", [464]="%0.1f", [465]="%0.1f", [466]="%0.1f", [467]="%0.1f", [810]="%0.1f", [463]="%0.1f", [273]="%0.1f", [274]="%0.1f", [270]="%0.1f", [271]="%0.1f", [267]="%0.1f", [268]="%0.1f", [264]="%0.1f", [265]="%0.1f", [520]="%0.1f", [516]="%0.1f", [468]="%0.1f", [469]="%0.1f", [2056]="%0.1f", [2057]="%0.1f", [2058]="%0.1f", [2060]="%0.1f", [4000]="%0.1f", [4001]="%0.1f", [4002]="%0.1f", [4003]="%0.1f", [4004]="%0.1f", [4005]="%0.1f", [4006]="%0.1f", [4007]="%0.1f", [4008]="%0.1f", [4009]="%0.1f", [4010]="%0.1f", [4011]="%0.1f", [4012]="%0.1f", [4013]="%0.1f", [4014]="%0.1f", [4015]="%0.1f", [4016]="%0.1f", [4017]="%0.1f", [4018]="%0.1f", [287]="%.4f", [286]="%.4f", [288]="%0.1f", [289]="%0.1f", [290]="%0.1f", [205]="%.4f", [206]="%.4f", [209]="%0.1f", [207]="%.4f", [208]="%.4f", [225]="%.4f", [217]="%.4f", [285]="%.4f", [242]="%0.2f", [310]="%.4f", [311]="%.4f", [400]="%.4f", [401]="%.4f"} gArguments = {[345]="%.3f", [346]="%1d", [349]="%1d", [348]="%0.1f", [347]="%0.1f", [234]="%0.1f", [139]="%0.1f", [138]="%0.1f", [470]="%1d", [504]="%.3f", [295]="%0.1f", [296]="%1d", [404]="%0.1f", [402]="%0.1f", [403]="%0.1f", [379]="%0.1f", [378]="%0.1f", [336]="%1d", [332]="%1d", [333]="%1d", [334]="%1d", [335]="%1d", [409]="%0.1f", [410]="%0.1f", [381]="%0.1f", [382]="%0.1f", [383]="%0.1f", [384]="%0.1f", [454]="%0.1f", [455]="%0.1f", [456]="%0.1f", [457]="%0.1f", [368]="%1d", [375]="%0.1f", [377]="%1d", [331]="%1d", [369]="%0.1f", [226]="%0.1f", [228]="%1d", [229]="%1d", [238]="%0.1f", [233]="%0.1f", [293]="%0.1f", [241]="%0.1f", [240]="%0.1f", [340]="%0.1f", [341]="%0.1f", [344]="%0.1f", [343]="%0.1f", [342]="%0.1f", [453]="%1d", [43]="%1d", [42]="%1d", [510]="%1d", [511]="%0.1f", [513]="%0.1f", [514]="%1d", [260]="%1d", [575]="%1d", [338]="%.3f", [337]="%.3f", [339]="%0.1f", [237]="%0.1f", [413]="%.3f", [414]="%.3f", [415]="%.3f", [419]="%0.1f", [418]="%.3f", [417]="%.3f", [416]="%0.1f", [14]="%1d", [239]="%0.1f", [365]="%0.1f", [366]="%.3f", [411]="%0.1f", [412]="%1d", [405]="%0.1f", [408]="%0.1f", [451]="%.3f", [407]="%.3f", [406]="%.3f", [297]="%0.1f", [452]="%0.1f", [505]="%.3f", [506]="%.3f", [494]="%0.1f", [458]="%1d", [459]="%1d", [49]="%0.1f", [50]="%1d", [258]="%0.1f", [153]="%1d", [155]="%1d", [157]="%1d", [159]="%1d", [161]="%1d", [235]="%.1f", [236]="%0.1f", [135]="%0.1f", [46]="%1d", [30]="%1d", [11]="%1d", [27]="%1d", [140]="%0.1f", [141]="%.3f", [142]="%0.1f", [143]="%.3f", [144]="%0.1f", [145]="%.3f", [146]="%.3f", [147]="%0.1f", [148]="%0.1f", [51]="%0.1f", [52]="%.3f", [53]="%.3f", [54]="%1d", [55]="%1d", [56]="%1d", [57]="%1d", [58]="%1d", [59]="%1d", [60]="%1d", [61]="%1d", [62]="%1d", [63]="%1d", [64]="%1d", [65]="%1d", [66]="%1d", [67]="%1d", [68]="%1d", [69]="%1d", [70]="%1d", [72]="%1d", [73]="%1d", [75]="%1d", [76]="%0.1f", [77]="%.3f", [78]="%.3f", [79]="%1d", [80]="%1d", [81]="%1d", [82]="%1d", [83]="%1d", [84]="%1d", [85]="%1d", [86]="%1d", [87]="%1d", [88]="%1d", [89]="%1d", [90]="%1d", [91]="%1d", [92]="%1d", [93]="%1d", [94]="%1d", [95]="%1d", [96]="%1d", [97]="%1d", [98]="%1d", [203]="%.3f", [177]="%1d", [179]="%1d", [180]="%1d", [182]="%1d", [183]="%1d", [184]="%1d", [185]="%1d", [186]="%1d", [187]="%1d", [188]="%1d", [189]="%1d", [190]="%1d", [191]="%1d", [192]="%1d", [193]="%1d", [194]="%1d", [195]="%1d", [196]="%1d", [197]="%1d", [198]="%1d", [199]="%1d", [200]="%1d", [201]="%1d", [202]="%1d", [312]="%1d", [313]="%1d", [168]="%1d", [169]="%1d", [170]="%1d", [171]="%1d", [172]="%1d", [173]="%1d", [174]="%.3f", [4019]="%3.0f", [4020]="%3.0f", [440]="%0.1f", [443]="%0.1f", [128]="%1d", [129]="%1d", [130]="%1d", [131]="%1d", [132]="%1d", [133]="%1d", [134]="%1d", [100]="%1d", [101]="%1d", [102]="%1d", [103]="%1d", [106]="%1d", [111]="%1d", [112]="%1d", [113]="%1d", [114]="%1d", [115]="%1d", [116]="%1d", [117]="%1d", [118]="%1d", [119]="%1d", [120]="%1d", [121]="%1d", [122]="%1d", [99]="%1d", [110]="%1d", [107]="%0.1f", [108]="%.3f", [123]="%.3f", [109]="%.3f", [124]="%.3f", [126]="%.3f", [125]="%1d", [127]="%1d", [357]="%.3f", [358]="%.3f", [359]="%.3f", [360]="%.3f", [361]="%.3f", [362]="%.3f", [363]="%.3f", [364]="%.3f", [350]="%0.1f", [351]="%0.1f", [356]="%0.1f", [355]="%0.1f", [354]="%1d", [353]="%0.1f", [352]="%0.1f", [444]="%0.1f", [445]="%.3f", [446]="%0.1f", [447]="%0.1f", [230]="%1d", [373]="%0.1f", [374]="%0.1f", [277]="%1d", [275]="%1d", [272]="%1d", [269]="%1d", [266]="%1d", [263]="%.3f", [262]="%.3f", [261]="%0.1f", [216]="%.3f", [380]="%1d", [517]="%0.1f", [515]="%1d", [175]="%0.1f", [176]="%0.1f", [314]="%0.1f", [224]="%.3f", [292]="%.1f", [291]="%.3f", [215]="%1d"} -- Exports.Lua from Helios F/A-18C Interface print("Helios Aircraft Exports: F/A-18C\n") function ProcessHighImportance(mainPanelDevice) -- Send Altimeter Values SendData(2051, string.format("%0.4f;%0.4f;%0.4f", mainPanelDevice:get_argument_value(220), mainPanelDevice:get_argument_value(219), mainPanelDevice:get_argument_value(218))) SendData(2059, string.format("%0.2f;%0.2f;%0.3f", mainPanelDevice:get_argument_value(223), mainPanelDevice:get_argument_value(222), mainPanelDevice:get_argument_value(221))) -- Calcuate HSI Value -- SendData(2029, string.format("%0.2f;%0.2f;%0.4f", mainPanelDevice:get_argument_value(29), mainPanelDevice:get_argument_value(30), mainPanelDevice:get_argument_value(31))) -- --IFEI textures -- local IFEI_Textures_table = {} -- for i=1,16 do IFEI_Textures_table = 0 end -- -- -- -- getting the IFEI data local li = parse_indication(5) -- 5 for IFEI if li then -- -- --IFEI data -- SendData("2052", string.format("%s",check(li.txt_BINGO))) SendData("2053", string.format("%s",check(li.txt_CLOCK_H))) SendData("2054", string.format("%s",check(li.txt_CLOCK_M))) SendData("2055", string.format("%s",check(li.txt_CLOCK_S))) SendData("2056", string.format("%s",checkTexture(li.txt_DD_1))) SendData("2057", string.format("%s",checkTexture(li.txt_DD_2))) SendData("2058", string.format("%s",checkTexture(li.txt_DD_3))) SendData("2060", string.format("%s",checkTexture(li.txt_DD_4))) SendData("2061", string.format("%s",check(li.txt_FF_L))) SendData("2062", string.format("%s",check(li.txt_FF_R))) SendData("2063", string.format("%s",check(li.txt_FUEL_DOWN))) SendData("2064", string.format("%s",check(li.txt_FUEL_UP))) SendData("2065", string.format("%s",check(li.txt_OilPress_L))) SendData("2066", string.format("%s",check(li.txt_OilPress_R))) SendData("2067", string.format("%s",check(li.txt_RPM_L))) SendData("2068", string.format("%s",check(li.txt_RPM_R))) SendData("2069", string.format("%s",check(li.txt_TEMP_L))) SendData("2070", string.format("%s",check(li.txt_TEMP_R))) SendData("2073", string.format("%s",check(li.txt_TIMER_H))) SendData("2072", string.format("%s",check(li.txt_TIMER_M))) SendData("2071", string.format("%s",check(li.txt_TIMER_S))) SendData("2074", string.format("%s",check(li.txt_Codes))) SendData("2075", string.format("%s",check(li.txt_SP))) SendData("2076", string.format("%s",check(li.txt_DrawChar))) -- not seen this used SendData("2077", string.format("%s",check(li.txt_T))) SendData("2078", string.format("%s",check(li.txt_TimeSetMode))) -- -- --IFEI textures -- SendData("4000", string.format("%s",checkTexture(li.RPMTexture))) SendData("4001", string.format("%s",checkTexture(li.TempTexture))) SendData("4002", string.format("%s",checkTexture(li.FFTexture))) SendData("4003", string.format("%s",checkTexture(li.NOZTexture))) SendData("4004", string.format("%s",checkTexture(li.OILTexture))) SendData("4005", string.format("%s",checkTexture(li.BINGOTexture))) SendData("4006", string.format("%s",checkTexture(li.LScaleTexture))) SendData("4007", string.format("%s",checkTexture(li.RScaleTexture))) SendData("4008", string.format("%s",checkTexture(li.L0Texture))) SendData("4009", string.format("%s",checkTexture(li.R0Texture))) SendData("4010", string.format("%s",checkTexture(li.L50Texture))) SendData("4011", string.format("%s",checkTexture(li.R50Texture))) SendData("4012", string.format("%s",checkTexture(li.L100Texture))) SendData("4013", string.format("%s",checkTexture(li.R100Texture))) SendData("4014", string.format("%s",checkTexture(li.LPointerTexture))) SendData("4015", string.format("%s",checkTexture(li.RPointerTexture))) SendData("4016", string.format("%s",checkTexture(li.ZTexture))) SendData("4017", string.format("%s",checkTexture(li.LTexture))) SendData("4018", string.format("%s",checkTexture(li.RTexture))) -- ---- end -- -- getting the UFC data local li = parse_indication(6) -- 6 for UFC if li then --SendData("2098", string.format("%s",li)) local function UFCSendData(UFCcode, UFCvalue) -- This is a 16 segment display so we need to map numerals to a single charcter in the Hornet UFC.ttf font -- the dash has already been catered for and the alphabetic characters should map without change -- Also need to special case 12 because sending ascii 172 is problematic in the Helios code if tonumber(UFCvalue) ~= nil then if tonumber(UFCvalue) == 12 then UFCvalue = string.char(125) else UFCvalue = string.char(161+UFCvalue) end end SendData(UFCcode,string.format("%1s",UFCvalue)) end SendData("2080", string.format("%s",check(li.UFC_MainDummy))) SendData("2081", string.format("%s",check(li.UFC_mask))) SendData("2082", string.format("%s",check(li.UFC_OptionDisplay1))) -- These may need special treatment for Hornet_UFC_Unified.ttf if there are special chars or numbers in the data SendData("2083", string.format("%s",check(li.UFC_OptionDisplay2))) -- These may need special treatment for Hornet_UFC_Unified.ttf if there are special chars or numbers in the data SendData("2084", string.format("%s",check(li.UFC_OptionDisplay3))) -- These may need special treatment for Hornet_UFC_Unified.ttf if there are special chars or numbers in the data SendData("2085", string.format("%s",check(li.UFC_OptionDisplay4))) -- These may need special treatment for Hornet_UFC_Unified.ttf if there are special chars or numbers in the data SendData("2086", string.format("%s",check(li.UFC_OptionDisplay5))) -- These may need special treatment for Hornet_UFC_Unified.ttf if there are special chars or numbers in the data SendData("2087", string.format("%1s",check(li.UFC_OptionCueing1)):gsub(":",string.char(200))) -- 16 Segment two-dot colon in Hornet_UFC_Unified.ttf SendData("2088", string.format("%1s",check(li.UFC_OptionCueing2)):gsub(":",string.char(200))) -- 16 Segment two-dot colon in Hornet_UFC_Unified.ttf SendData("2089", string.format("%1s",check(li.UFC_OptionCueing3)):gsub(":",string.char(200))) -- 16 Segment two-dot colon in Hornet_UFC_Unified.ttf SendData("2090", string.format("%1s",check(li.UFC_OptionCueing4)):gsub(":",string.char(200))) -- 16 Segment two-dot colon in Hornet_UFC_Unified.ttf SendData("2091", string.format("%1s",check(li.UFC_OptionCueing5)):gsub(":",string.char(200))) -- 16 Segment two-dot colon in Hornet_UFC_Unified.ttf UFCSendData("2092", string.format("%2s",check(li.UFC_ScratchPadString1Display)):gsub("_",string.char(201)):gsub("`","1"):gsub("~","2"):gsub(" ","")) UFCSendData("2093", string.format("%2s",check(li.UFC_ScratchPadString2Display)):gsub("_",string.char(201)):gsub("`","1"):gsub("~","2"):gsub(" ","")) SendData("2094", string.format("%7s",check(li.UFC_ScratchPadNumberDisplay)):gsub(" ","<")) UFCSendData("2095", string.format("%2s",check(li.UFC_Comm1Display)):gsub("`","1"):gsub("~","2"):gsub(" ","")) UFCSendData("2096", string.format("%2s",check(li.UFC_Comm2Display)):gsub("`","1"):gsub("~","2"):gsub(" ","")) -- test command 00000000*2095=~:2093=�:2092=~:2096=~:2094=8888888:2082=~~~~:2083=~~~~:2084=~~~~:2085=~~~~:2086=~~~~:2087=�:2088=�:2089=�:2090=�:2091=� end --SendData("2098", string.format("%s", table.concat(IFEI_Textures_table,", ") ) ) -- IFEI Textures end function ProcessLowImportance(mainPanelDevice) -- Get Radio Frequencies --local lUHFRadio = GetDevice(54) --SendData(2000, string.format("%7.3f", lUHFRadio:get_frequency()/1000000)) -- ILS Frequency --SendData(2251, string.format("%0.1f;%0.1f", mainPanelDevice:get_argument_value(251), mainPanelDevice:get_argument_value(252))) -- TACAN Channel --SendData(2263, string.format("%0.2f;%0.2f;%0.2f", mainPanelDevice:get_argument_value(263), mainPanelDevice:get_argument_value(264), mainPanelDevice:get_argument_value(265))) end checkTexture = function(s) if s == nil then return "0" else return "1" end end -- for some reason, this causes a failure on my system so commenting it -- out in the hope that others don't see a problem with it. -- os.setlocale("ISO-8559-1", "numeric") -- Simulation id gSimID = string.format("%08x*",os.time()) -- State data for export gPacketSize = 0 gSendStrings = {} gLastData = {} -- Frame counter for non important data gTickCount = 0 -- DCS Export Functions function LuaExportStart() -- Works once just before mission start. -- 2) Setup udp sockets to talk to helios package.path = package.path..";.\\LuaSocket\\?.lua" package.cpath = package.cpath..";.\\LuaSocket\\?.dll" socket = require("socket") c = socket.udp() c:setsockname("*", 0) c:setoption('broadcast', true) c:settimeout(.001) -- set the timeout for reading the socket end function LuaExportBeforeNextFrame() ProcessInput() end function LuaExportAfterNextFrame() end function LuaExportStop() -- Works once just after mission stop. c:close() end function ProcessInput() local lInput = c:receive() local lCommand, lCommandArgs, lDevice, lArgument, lLastValue if lInput then lCommand = string.sub(lInput,1,1) if lCommand == "R" then ResetChangeValues() end if (lCommand == "C") then lCommandArgs = StrSplit(string.sub(lInput,2),",") lDevice = GetDevice(lCommandArgs[1]) if type(lDevice) == "table" then lDevice:performClickableAction(lCommandArgs[2],lCommandArgs[3]) end end end end function LuaExportActivityNextEvent(t) t = t + gExportInterval gTickCount = gTickCount + 1 local lDevice = GetDevice(0) if type(lDevice) == "table" then lDevice:update_arguments() ProcessArguments(lDevice, gEveryFrameArguments) ProcessHighImportance(lDevice) if gTickCount >= gExportLowTickInterval then ProcessArguments(lDevice, gArguments) ProcessLowImportance(lDevice) gTickCount = 0 end FlushData() end return t end -- Helper Functions function StrSplit(str, delim, maxNb) -- Eliminate bad cases... if string.find(str, delim) == nil then return { str } end if maxNb == nil or maxNb < 1 then maxNb = 0 -- No limit end local result = {} local pat = "(.-)" .. delim .. "()" local nb = 0 local lastPos for part, pos in string.gfind(str, pat) do nb = nb + 1 result[nb] = part lastPos = pos if nb == maxNb then break end end -- Handle the last field if nb ~= maxNb then result[nb + 1] = string.sub(str, lastPos) end return result end function round(num, idp) local mult = 10^(idp or 0) return math.floor(num * mult + 0.5) / mult end function check(s) if type(s) == "string" then return s else return "" end end -- Status Gathering Functions function ProcessArguments(device, arguments) local lArgument , lFormat , lArgumentValue for lArgument, lFormat in pairs(arguments) do lArgumentValue = string.format(lFormat,device:get_argument_value(lArgument)) SendData(lArgument, lArgumentValue) end end function parse_indication(indicator_id) -- Thanks to [FSF]Ian code local ret = {} local li = list_indication(indicator_id) if li == "" then return nil end local m = li:gmatch("-----------------------------------------\n([^\n]+)\n([^\n]*)\n") while true do local name, value = m() if not name then break end ret[name] = value end return ret end -- Network Functions function SendData(id, value) if string.len(value) > 3 and value == string.sub("-0.00000000",1, string.len(value)) then value = value:sub(2) end if gLastData[id] == nil or gLastData[id] ~= value then local data = id .. "=" .. value local dataLen = string.len(data) if dataLen + gPacketSize > 576 then FlushData() end table.insert(gSendStrings, data) gLastData[id] = value gPacketSize = gPacketSize + dataLen + 1 end end function FlushData() if #gSendStrings > 0 then local packet = gSimID .. table.concat(gSendStrings, ":") .. "\n" socket.try(c:sendto(packet, gHost, gPort)) gSendStrings = {} gPacketSize = 0 end end function ResetChangeValues() gLastData = {} gTickCount = 10 end dofile("C:\Users\mmaxw\Saved Games\DCS\Scripts\Helios") dofile("C:\Users\mmaxw\Saved Games\DCS\Scripts\SimShaker-export-core") local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[scripts\VAICOMPRO\VAICOMPRO.export.lua]])
  19. Yeah. I’m seriously interested in your F-18 hardware UFC project. I’m planning on picking up a 3D printer next month and would love to piggyback on your design layout. I’m a novice but, I’ve got a good buddy at work who’s an electronics pro with significant experience in PBB builds and he’s agreed to help me learn the process. BTW Blue, your auto Helios IFEI and UFC profiles were exactly what I need for my modest pit. (see below). But, a quick question. Do you have a suggestion for rendering the graphic overlay for the “RWR”. I’ve got the green “N” and other radar contacts showing but, I can’t seem to get the Threat Range Rings to render. Your thoughts would be appreciated. All-in-all, it a fantastic piece of work. Also look forward to your progress on your UFC. I’ll be following with keen interest.
  20. I had the same issue after downloading the ReShade app. I wish I had come across your posts before I reinstalled. Fortunately I had backed most of my HOTAS settings but, lost some of my exports to a 2nd monitor (EFEI and RWR). Now I have go back and figure what I did to get them to run. More time.
  21. Fantastic work Sunstag. I had come across your YT video a couple of months ago and was planning on downloading as time permitted. Just my luck when I got the chance, ED pulled the plug. I hope they're getting close to an early release of they're anticipated Carrier model - like really soon (sic). BTW, and speaking of feeling like your on the flight deck, has anyone checked out The Flight Channel's "Most Realistic Air Combat Fighter Game" You Tube video. Its certainly Arcarde-ish (if that's a word) but, the graphics ain't no joke. Again, great work Sunstag. Regretting I didn't jump on board earlier.
  22. BTW, throttling back and forth to keep the VV in the E bracket sucks. I generally have success around 143 knts.
  23. Wizzard_03: I'll second your advice. When I fly the VV and Ball I either bolt, slam hard or, hit the back of the boat (kaboom). When I eyeball it - almost always a 3 wire trap. Going to get into the office right now and continue to test my peepers.
  24. BTW. I can't go without my Jetseat. I'm an Andre fan having purchased his seat as soon as I learned it was on the market. Also planning on upgrading to his next seat in the near term. Just purchased the SS Sound module to run my BK G2 Bass Shaker. Thanks again for your continued efforts to assist dedicated simmers. Mike
×
×
  • Create New...