Ciribob Posted August 12, 2016 Posted August 12, 2016 GOT IT!!!! Decided to stop the hours of trouble shooting and just take the Huey up for a while. When I turned on Simple Radio the SS Rotor Whirl kicked in. It's gotta be an Export lua issue. Thank you all for the support. Sorry for the trouble with SimpleRadio. Could you just check that the output audio for SimpleRadio is going to the correct speaker and not the simshaker one? Any export errors will be shown in the saved games/DCs/logs/SimpleRadio . Could you check there and post the file here if there are errors? I don't have sim shaker so can't test Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
Chic Posted August 12, 2016 Posted August 12, 2016 Sorry for the trouble with SimpleRadio. Could you just check that the output audio for SimpleRadio is going to the correct speaker and not the simshaker one? Any export errors will be shown in the saved games/DCs/logs/SimpleRadio . Could you check there and post the file here if there are errors? I don't have sim shaker so can't test Thank you for jumpin in here Ciribob. SimShaker only fully works when SR is "connected" via same sound card as SS (I run 2 sound cards), The cockpit radios can be turned off and SS will still work as long as I am "connected". I'm sorry but I cannot interpret the LOG files. A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
Ciribob Posted August 12, 2016 Posted August 12, 2016 Thank you for jumpin in here Ciribob. SimShaker only fully works when SR is "connected" via same sound card as SS (I run 2 sound cards), The cockpit radios can be turned off and SS will still work as long as I am "connected". I'm sorry but I cannot interpret the LOG files. No worries, just post them here and I'll have a look. :) Once you run it and got the logs from the saved games/DCS/logs folder, try this different DCS-SimpleRadioStandalone.lua attached. Could you also post your export.lua here?DCS-SimpleRadioStandalone.lua Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
Chic Posted August 12, 2016 Posted August 12, 2016 (edited) No worries, just post them here and I'll have a look. :) Once you run it and got the logs from the saved games/DCS/logs folder, try this different DCS-SimpleRadioStandalone.lua attached. Could you also post your export.lua here? Tried "different DCS-SimpleRadioStandalone.lua", no joy. Attached logs and export.lua. BTW these attachments are from Open Beta. I'm experiencing same issue in 2.0 alpha. Thank you. UPDATE; Just discovered that running TeamSpeak thru same sound card also gets SS working. So it appears that the issue is not specific to Simple Radio. Sorry for the confusion.logs.rarExport.lua Edited August 13, 2016 by Chic A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
Ciribob Posted August 13, 2016 Posted August 13, 2016 Tried "different DCS-SimpleRadioStandalone.lua", no joy. Attached logs and export.lua. BTW these attachments are from Open Beta. I'm experiencing same issue in 2.0 alpha. Thank you. UPDATE; Just discovered that running TeamSpeak thru same sound card also gets SS working. So it appears that the issue is not specific to Simple Radio. Sorry for the confusion. Great news! Thanks for the update :) Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
shagrat Posted August 13, 2016 Posted August 13, 2016 Hmm, I have the same with SS plus SR... SS won't start. I can rule out anything else, as the only change I did yesterday, was to manually(!) install SR according to the readme. So I'm pretty sure, there isn't something with the Installer, but it must be related to the way SR hooks into the export or into the windows audio controls... Shagrat - Flying Sims since 1984 - Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)
Chic Posted August 13, 2016 Posted August 13, 2016 (edited) Hmm, I have the same with SS plus SR... SS won't start. I can rule out anything else, as the only change I did yesterday, was to manually(!) install SR according to the readme. So I'm pretty sure, there isn't something with the Installer, but it must be related to the way SR hooks into the export or into the windows audio controls... Could be. I've also found that TeamSpeak's internal volume control no longer works. I have to use Window's Sound Mixer. Also, it appears that SS cannot run isolated on a sound card. It has to be on the "default" sound card, or have another application running with it. Edited August 13, 2016 by Chic A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
=Andre= Posted August 13, 2016 Author Posted August 13, 2016 Hmm, I have the same with SS plus SR... SS won't start. I can rule out anything else, as the only change I did yesterday, was to manually(!) install SR according to the readme. So I'm pretty sure, there isn't something with the Installer, but it must be related to the way SR hooks into the export or into the windows audio controls... Let's have a look into dcs.log. If we have an export.lua realated issue, we could find something over there. Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chic Posted August 14, 2016 Posted August 14, 2016 Let's have a look into dcs.log. If we have an export.lua realated issue, we could find something over there. Thanks Andre, here's the log from a new install of DCS 1.5Logs.rar A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
=Andre= Posted August 14, 2016 Author Posted August 14, 2016 Thanks Andre, here's the log from a new install of DCS 1.5 I haven't found any showstoppers in dcs.log, John. Do you have any data incoming in SimShaker->View->Show Debug Info window? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chic Posted August 14, 2016 Posted August 14, 2016 I haven't found any showstoppers in dcs.log, John. Do you have any data incoming in SimShaker->View->Show Debug Info window? Yes. It appears to be "using data" from DCS A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
=Andre= Posted August 14, 2016 Author Posted August 14, 2016 Yes. It appears to be "using data" from DCS OK. Looks like export.lua part is sane. Do you have activity in SimShaker Sound Module 'Log To Screen' textbox if the correspondent checkbox is ticked? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chic Posted August 14, 2016 Posted August 14, 2016 (edited) OK. Looks like export.lua part is sane. Do you have activity in SimShaker Sound Module 'Log To Screen' textbox if the correspondent checkbox is ticked? Log data is in spoiler 1. The earlier data is with SS running alone on independent sound card. The DOOR LOCK effect works but no ROTOR WHIRL. The later data is with TeamSpeak running on same (non default) card as SS. Everything seems to work in this configuration. I get same results running SimpleRadio as well. Testing done in single player Huey. BTW, BK no longer works with direct audio input if SS is off. 11:25:12.319 Sent: h_2_0_1~1~31~1000000 11:25:12.319 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:25:12.320 Sent: h_2_0_1_LS~1~52~1000000 11:25:12.320 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:25:12.321 Sent: h_2_0_1_RS~1~52~1000000 11:25:12.321 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:25:12.322 Sent: h_2_0_1_LB~1~52~1000000 11:25:12.323 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:25:12.323 Sent: h_2_0_1_RB~1~48~1000000 11:25:12.324 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 15206 11:25:12.326 Sent: h_2_0_1~4~53 11:25:12.327 Sent: h_2_0_1~4~31 11:25:12.328 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.329 Sent: h_2_0_1_LS~4~53 11:25:12.330 Sent: h_2_0_1_LS~4~31 11:25:12.332 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.333 Sent: h_2_0_1_RS~4~53 11:25:12.335 Sent: h_2_0_1_RS~4~31 11:25:12.336 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.337 Sent: h_2_0_1_LB~4~53 11:25:12.337 Sent: h_2_0_1_LB~4~31 11:25:12.338 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.339 Sent: h_2_0_1_RB~4~48 11:25:12.340 Sent: h_2_0_1_RB~4~28 11:25:12.341 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:25:12.342 Sent: h_2_0_1~4~53 11:25:12.343 Sent: h_2_0_1~4~32 11:25:12.344 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.345 Sent: h_2_0_1_LS~4~53 11:25:12.346 Sent: h_2_0_1_LS~4~32 11:25:12.347 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.347 Sent: h_2_0_1_RS~4~53 11:25:12.348 Sent: h_2_0_1_RS~4~32 11:25:12.349 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.350 Sent: h_2_0_1_LB~4~53 11:25:12.351 Sent: h_2_0_1_LB~4~32 11:25:12.351 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.381 Sent: h_2_0_1_RB~4~49 11:25:12.382 Sent: h_2_0_1_RB~4~29 11:25:12.383 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:25:12.384 Sent: h_2_0_1~4~53 11:25:12.385 Sent: h_2_0_1~4~31 11:25:12.386 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.387 Sent: h_2_0_1_LS~4~53 11:25:12.388 Sent: h_2_0_1_LS~4~31 11:25:12.389 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.390 Sent: h_2_0_1_RS~4~53 11:25:12.391 Sent: h_2_0_1_RS~4~31 11:25:12.393 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.394 Sent: h_2_0_1_LB~4~53 11:25:12.395 Sent: h_2_0_1_LB~4~31 11:25:12.396 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:25:12.398 Sent: h_2_0_1_RB~4~48 11:25:12.399 Sent: h_2_0_1_RB~4~28 11:25:12.400 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:25:12.401 Sent: h_2_0_1~4~53 11:25:12.402 Sent: h_2_0_1~4~32 11:25:12.403 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.422 Sent: h_2_0_1_LS~4~53 11:25:12.423 Sent: h_2_0_1_LS~4~32 11:25:12.424 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.425 Sent: h_2_0_1_RS~4~53 11:25:12.425 Sent: h_2_0_1_RS~4~32 11:25:12.426 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.427 Sent: h_2_0_1_LB~4~53 11:25:12.428 Sent: h_2_0_1_LB~4~32 11:25:12.428 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:25:12.429 Sent: h_2_0_1_RB~4~49 11:25:12.430 Sent: h_2_0_1_RB~4~29 11:25:12.461 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:25:12.467 Sent: h_2_0_1~4~54 11:25:12.468 Sent: h_2_0_1~4~32 11:25:12.469 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:25:12.469 Sent: h_2_0_1_LS~4~54 11:25:12.470 Sent: h_2_0_1_LS~4~32 11:25:12.471 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:25:12.472 Sent: h_2_0_1_RS~4~54 11:25:12.473 Sent: h_2_0_1_RS~4~32 11:25:12.474 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:25:12.474 Sent: h_2_0_1_LB~4~54 11:25:12.475 Sent: h_2_0_1_LB~4~32 11:25:12.476 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:25:12.477 Sent: h_2_0_1_RB~4~49 11:25:12.478 Sent: h_2_0_1_RB~4~29 11:25:12.478 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15725 11:25:34.383 Sent: h_14_0_L~1~50~1 11:25:34.384 Sent: h_14_0_L~1~20~1 11:25:34.384 14.Left door. File = h_14_0_L 11:25:34.385 Sent: h_14_0_R~1~50~1 11:25:34.386 Sent: h_14_0_R~1~20~1 11:25:34.387 14.Right door. File = h_14_0_R 11:25:45.517 Sent: h_2_0_1~0~0~0 11:25:45.518 Sent: h_2_0_1~0~0~0 11:25:45.519 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:25:45.519 Sent: h_2_0_1_LS~0~0~0 11:25:45.520 Sent: h_2_0_1_LS~0~0~0 11:25:45.521 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:25:45.522 Sent: h_2_0_1_RS~0~0~0 11:25:45.523 Sent: h_2_0_1_RS~0~0~0 11:25:45.523 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:25:45.524 Sent: h_2_0_1_LB~0~0~0 11:25:45.525 Sent: h_2_0_1_LB~0~0~0 11:25:45.526 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:25:45.527 Sent: h_2_0_1_RB~0~0~0 11:25:45.528 Sent: h_2_0_1_RB~0~0~0 11:25:45.529 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:23.217 Sent: h_2_0_1~1~31~1000000 11:27:23.230 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:27:23.231 Sent: h_2_0_1_LS~1~52~1000000 11:27:23.233 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:27:23.235 Sent: h_2_0_1_RS~1~52~1000000 11:27:23.236 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:27:23.237 Sent: h_2_0_1_LB~1~52~1000000 11:27:23.240 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 16762 11:27:23.242 Sent: h_2_0_1_RB~1~48~1000000 11:27:23.243 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 15206 11:27:23.245 Sent: h_2_0_1~4~53 11:27:23.247 Sent: h_2_0_1~4~31 11:27:23.248 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.265 Sent: h_2_0_1_LS~4~53 11:27:23.267 Sent: h_2_0_1_LS~4~31 11:27:23.268 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.270 Sent: h_2_0_1_RS~4~53 11:27:23.271 Sent: h_2_0_1_RS~4~31 11:27:23.272 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.273 Sent: h_2_0_1_LB~4~53 11:27:23.274 Sent: h_2_0_1_LB~4~31 11:27:23.275 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.276 Sent: h_2_0_1_RB~4~48 11:27:23.277 Sent: h_2_0_1_RB~4~28 11:27:23.278 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:27:23.280 Sent: h_2_0_1~4~53 11:27:23.282 Sent: h_2_0_1~4~32 11:27:23.283 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.284 Sent: h_2_0_1_LS~4~53 11:27:23.286 Sent: h_2_0_1_LS~4~32 11:27:23.287 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.289 Sent: h_2_0_1_RS~4~53 11:27:23.290 Sent: h_2_0_1_RS~4~32 11:27:23.292 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.293 Sent: h_2_0_1_LB~4~53 11:27:23.295 Sent: h_2_0_1_LB~4~32 11:27:23.297 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.297 Sent: h_2_0_1_RB~4~49 11:27:23.299 Sent: h_2_0_1_RB~4~29 11:27:23.300 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:27:23.302 Sent: h_2_0_1~4~53 11:27:23.303 Sent: h_2_0_1~4~31 11:27:23.305 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.306 Sent: h_2_0_1_LS~4~53 11:27:23.308 Sent: h_2_0_1_LS~4~31 11:27:23.309 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.310 Sent: h_2_0_1_RS~4~53 11:27:23.312 Sent: h_2_0_1_RS~4~31 11:27:23.313 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.315 Sent: h_2_0_1_LB~4~53 11:27:23.316 Sent: h_2_0_1_LB~4~31 11:27:23.317 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.319 Sent: h_2_0_1_RB~4~48 11:27:23.320 Sent: h_2_0_1_RB~4~28 11:27:23.321 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:27:23.324 Sent: h_2_0_1~4~53 11:27:23.325 Sent: h_2_0_1~4~32 11:27:23.326 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.327 Sent: h_2_0_1_LS~4~53 11:27:23.328 Sent: h_2_0_1_LS~4~32 11:27:23.329 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.331 Sent: h_2_0_1_RS~4~53 11:27:23.332 Sent: h_2_0_1_RS~4~32 11:27:23.333 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.334 Sent: h_2_0_1_LB~4~53 11:27:23.335 Sent: h_2_0_1_LB~4~32 11:27:23.337 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.340 Sent: h_2_0_1_RB~4~49 11:27:23.341 Sent: h_2_0_1_RB~4~29 11:27:23.342 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:27:23.344 Sent: h_2_0_1~4~53 11:27:23.346 Sent: h_2_0_1~4~31 11:27:23.347 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.348 Sent: h_2_0_1_LS~4~53 11:27:23.350 Sent: h_2_0_1_LS~4~31 11:27:23.351 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.352 Sent: h_2_0_1_RS~4~53 11:27:23.353 Sent: h_2_0_1_RS~4~31 11:27:23.372 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.373 Sent: h_2_0_1_LB~4~53 11:27:23.375 Sent: h_2_0_1_LB~4~31 11:27:23.376 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.377 Sent: h_2_0_1_RB~4~48 11:27:23.378 Sent: h_2_0_1_RB~4~28 11:27:23.380 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:27:23.382 Sent: h_2_0_1~4~53 11:27:23.383 Sent: h_2_0_1~4~32 11:27:23.384 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.386 Sent: h_2_0_1_LS~4~53 11:27:23.387 Sent: h_2_0_1_LS~4~32 11:27:23.388 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.389 Sent: h_2_0_1_RS~4~53 11:27:23.390 Sent: h_2_0_1_RS~4~32 11:27:23.392 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.393 Sent: h_2_0_1_LB~4~53 11:27:23.395 Sent: h_2_0_1_LB~4~32 11:27:23.396 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.398 Sent: h_2_0_1_RB~4~49 11:27:23.399 Sent: h_2_0_1_RB~4~29 11:27:23.400 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:27:23.403 Sent: h_2_0_1~4~53 11:27:23.404 Sent: h_2_0_1~4~31 11:27:23.406 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.407 Sent: h_2_0_1_LS~4~53 11:27:23.409 Sent: h_2_0_1_LS~4~31 11:27:23.410 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.411 Sent: h_2_0_1_RS~4~53 11:27:23.413 Sent: h_2_0_1_RS~4~31 11:27:23.414 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.416 Sent: h_2_0_1_LB~4~53 11:27:23.417 Sent: h_2_0_1_LB~4~31 11:27:23.418 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 16934 11:27:23.420 Sent: h_2_0_1_RB~4~48 11:27:23.421 Sent: h_2_0_1_RB~4~28 11:27:23.422 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15379 11:27:23.424 Sent: h_2_0_1~4~53 11:27:23.425 Sent: h_2_0_1~4~32 11:27:23.426 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.428 Sent: h_2_0_1_LS~4~53 11:27:23.429 Sent: h_2_0_1_LS~4~32 11:27:23.431 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.432 Sent: h_2_0_1_RS~4~53 11:27:23.433 Sent: h_2_0_1_RS~4~32 11:27:23.434 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.435 Sent: h_2_0_1_LB~4~53 11:27:23.437 Sent: h_2_0_1_LB~4~32 11:27:23.438 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.439 Sent: h_2_0_1_RB~4~49 11:27:23.441 Sent: h_2_0_1_RB~4~29 11:27:23.442 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:27:23.447 Sent: h_2_0_1~4~54 11:27:23.449 Sent: h_2_0_1~4~32 11:27:23.450 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.451 Sent: h_2_0_1_LS~4~54 11:27:23.453 Sent: h_2_0_1_LS~4~32 11:27:23.454 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.455 Sent: h_2_0_1_RS~4~54 11:27:23.457 Sent: h_2_0_1_RS~4~32 11:27:23.458 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.459 Sent: h_2_0_1_LB~4~54 11:27:23.460 Sent: h_2_0_1_LB~4~32 11:27:23.462 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.463 Sent: h_2_0_1_RB~4~49 11:27:23.464 Sent: h_2_0_1_RB~4~29 11:27:23.465 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15725 11:27:23.467 Sent: h_2_0_1~4~53 11:27:23.468 Sent: h_2_0_1~4~32 11:27:23.469 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.470 Sent: h_2_0_1_LS~4~53 11:27:23.471 Sent: h_2_0_1_LS~4~32 11:27:23.472 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.473 Sent: h_2_0_1_RS~4~53 11:27:23.474 Sent: h_2_0_1_RS~4~32 11:27:23.475 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.476 Sent: h_2_0_1_LB~4~53 11:27:23.477 Sent: h_2_0_1_LB~4~32 11:27:23.478 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17107 11:27:23.479 Sent: h_2_0_1_RB~4~49 11:27:23.480 Sent: h_2_0_1_RB~4~29 11:27:23.481 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15552 11:27:23.482 Sent: h_2_0_1~4~54 11:27:23.483 Sent: h_2_0_1~4~32 11:27:23.493 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.493 Sent: h_2_0_1_LS~4~54 11:27:23.494 Sent: h_2_0_1_LS~4~32 11:27:23.495 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.496 Sent: h_2_0_1_RS~4~54 11:27:23.497 Sent: h_2_0_1_RS~4~32 11:27:23.498 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.498 Sent: h_2_0_1_LB~4~54 11:27:23.499 Sent: h_2_0_1_LB~4~32 11:27:23.500 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 17280 11:27:23.501 Sent: h_2_0_1_RB~4~49 11:27:23.502 Sent: h_2_0_1_RB~4~29 11:27:23.503 2.Main Rotor Enhanced Wirl: Change gain. Reference gain = 15725 11:27:46.265 Sent: h_2_0_1~0~0~0 11:27:46.266 Sent: h_2_0_1~0~0~0 11:27:46.267 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:46.268 Sent: h_2_0_1_LS~0~0~0 11:27:46.268 Sent: h_2_0_1_LS~0~0~0 11:27:46.269 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:46.270 Sent: h_2_0_1_RS~0~0~0 11:27:46.271 Sent: h_2_0_1_RS~0~0~0 11:27:46.272 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:46.273 Sent: h_2_0_1_LB~0~0~0 11:27:46.274 Sent: h_2_0_1_LB~0~0~0 11:27:46.275 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:46.276 Sent: h_2_0_1_RB~0~0~0 11:27:46.276 Sent: h_2_0_1_RB~0~0~0 11:27:46.277 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:49.022 Sent: h_2_0_1~1~32~1000000 11:27:49.023 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 17280 11:27:49.024 Sent: h_2_0_1_LS~1~54~1000000 11:27:49.025 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 17280 11:27:49.025 Sent: h_2_0_1_RS~1~54~1000000 11:27:49.026 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 17280 11:27:49.027 Sent: h_2_0_1_LB~1~54~1000000 11:27:49.028 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 17280 11:27:49.029 Sent: h_2_0_1_RB~1~49~1000000 11:27:49.031 2.Main Rotor Enhanced Wirl: Start continued vibe. Reference gain = 15725 11:27:57.132 Sent: h_14_0_L~1~50~1 11:27:57.133 Sent: h_14_0_L~1~20~1 11:27:57.134 14.Left door. File = h_14_0_L 11:27:57.141 Sent: h_14_0_R~1~50~1 11:27:57.142 Sent: h_14_0_R~1~20~1 11:27:57.143 14.Right door. File = h_14_0_R 11:27:59.510 Sent: h_2_0_1~0~0~0 11:27:59.511 Sent: h_2_0_1~0~0~0 11:27:59.512 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:59.512 Sent: h_2_0_1_LS~0~0~0 11:27:59.528 Sent: h_2_0_1_LS~0~0~0 11:27:59.529 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:59.530 Sent: h_2_0_1_RS~0~0~0 11:27:59.531 Sent: h_2_0_1_RS~0~0~0 11:27:59.532 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:59.533 Sent: h_2_0_1_LB~0~0~0 11:27:59.533 Sent: h_2_0_1_LB~0~0~0 11:27:59.534 2.Main Rotor Enhanced Wirl: Stop continued vibe 11:27:59.535 Sent: h_2_0_1_RB~0~0~0 11:27:59.536 Sent: h_2_0_1_RB~0~0~0 11:27:59.537 2.Main Rotor Enhanced Wirl: Stop continued vibe Edited August 14, 2016 by Chic A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
caongocanh259 Posted August 14, 2016 Posted August 14, 2016 Most Buttkicker systems are working iirc with mono Phần mềm bán hàng | Mua thiết bị bán hàng | Tư vấn mua dầu đọc mã vạch | Máy in hóa đơn | Máy in mã vạch | Máy quét mã vạch | Ngăn kéo đựng tiền
=Andre= Posted August 14, 2016 Author Posted August 14, 2016 BTW, BK no longer works with direct audio input if SS is off. Pardon me? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chic Posted August 15, 2016 Posted August 15, 2016 "BTW, BK no longer works with direct audio input if SS is off." Pardon me? That issue resolved. Begging YOU'RE pardon. A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
=Andre= Posted August 15, 2016 Author Posted August 15, 2016 The earlier data is with SS running alone on independent sound card. The DOOR LOCK effect works but no ROTOR WHIRL. The later data is with TeamSpeak running on same (non default) card as SS. Everything seems to work in this configuration. I get same results running SimpleRadio as well. Testing done in single player Huey. What if you uncheck 'G-feeling effect' for helos at Special Options tab, John? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chic Posted August 16, 2016 Posted August 16, 2016 What if you uncheck 'G-feeling effect' for helos at Special Options tab, John? Fraid not... A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
kornykidd0 Posted August 17, 2016 Posted August 17, 2016 Can anyone confirm that the software is currently working with 2.0 A10C to it's fullest effect? I've got the demo effects still functional, and gun, but nothing else is making any vibrations. In 1.5 it works fine, excluding touch down and runway vibes which if I understand correctly is a bug to be fixed in the next update? Just curious if I'm missing something with the install or pathing or anything really. Also - I have a GS4 seat that was rigged to work with simtools. I haven't tried it yet since downloading SimShaker the other day, but will there be any issues or things I need to do or do they play nicely now? A bunch of pages ago I read it was hit or miss but then there was an update or something.
=Andre= Posted August 17, 2016 Author Posted August 17, 2016 Can anyone confirm that the software is currently working with 2.0 A10C to it's fullest effect? I've got the demo effects still functional, and gun, but nothing else is making any vibrations. In 1.5 it works fine, excluding touch down and runway vibes which if I understand correctly is a bug to be fixed in the next update? Just curious if I'm missing something with the install or pathing or anything really. Hi kornykidd0, it should work with DCSW 2.0 I could connect to you via TeamViewer to see your configs. Also - I have a GS4 seat that was rigged to work with simtools. I haven't tried it yet since downloading SimShaker the other day, but will there be any issues or things I need to do or do they play nicely now? A bunch of pages ago I read it was hit or miss but then there was an update or something. I don't have the GS4 seat, hence for me that's hard to predict. It worth trying. If you encounter any issues please report. Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
shaz56 Posted August 17, 2016 Posted August 17, 2016 Andre since I installed a new Gpu (asus gtx 1070) simshaker refuses to start. vib works through sound but not through the usb coz software not running. I have this log " double Dutch to me" Any help or advice would be welcome. PLATFORM VERSION INFO Windows : 10.0.10586.0 (Win32NT) Common Language Runtime : 4.0.30319.42000 System.Deployment.dll : 4.6.1078.0 built by: NETFXREL3STAGE clr.dll : 4.6.1080.0 built by: NETFXREL3STAGE dfdll.dll : 4.6.1038.0 built by: NETFXREL2 dfshim.dll : 10.0.10586.0 (th2_release.151029-1700) SOURCES Deployment url : file:///C:/Users/mike/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Startup/SimShaker%20for%20DCS%20World%20and%20Falcon%20BMS.appref-ms%7C ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\Users\mike\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\SimShaker for DCS World and Falcon BMS.appref-ms| resulted in exception. Following failure messages were detected: + Shortcut format is not valid. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [17/08/2016 17:20:05] : Activation of C:\Users\mike\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\SimShaker for DCS World and Falcon BMS.appref-ms| has started. ERROR DETAILS Following errors were detected during this operation. * [17/08/2016 17:20:05] System.Deployment.Application.DeploymentException (InvalidShortcut) - Shortcut format is not valid. - Source: System.Deployment - Stack trace: at System.Deployment.Application.ShellExposure.ParseAppShortcut(String shortcutFile, DefinitionIdentity& subId, Uri& providerUri) at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) COMPONENT STORE TRANSACTION DETAILS No transaction information is available.
=Andre= Posted August 17, 2016 Author Posted August 17, 2016 Hi Michael, I suggest that kind of error may be caused by antiviral software. Could you please try to temporarily disable it and reinstall SimShaker? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
kornykidd0 Posted August 18, 2016 Posted August 18, 2016 So I did a little testing this afternoon, but I'm not really sure what you'd need from me to troubleshoot so I'm just going to go through what I did and when you have the time if you can weight in that would be awesome. I have 3 DCS versions on my computer - Stable World, OpenBeta for 1.5, and Open Alpha for 2.0. As a side note I run simtools to have my GS4 seat providing some motion. As of today's fiddling around- Stable DCS World: Motion - works fine. SimShaker - No Ground effects, no speed brake shudder, no landing gear, don't think there was damage (if there was it was very weak), everything else seemed to work. Open Beta 1.5: Motion - isn't working, but says it's connected. SimShaker - Everything works except for the ground effects. If you skate along the ground sometimes the shaker will kick but I kind of suspect that's from damage to landing gear. Open Alpha 2.0: Motion - works fine. SimShaker - No ground effects, no damage, no landing gear, no speed brake, everything else seemed ok. From the look of it it seems that the motion export isn't jiving well with the simshaker, since even without simtools open and operating the conditions with what works and what doesn't don't change. It's as if Simshaker has taken over and patched into the open beta, and simtools has done the same with the other 2. Any suggestions? Ideally I'd like both to work fully of course.
=Andre= Posted August 18, 2016 Author Posted August 18, 2016 So I did a little testing this afternoon, but I'm not really sure what you'd need from me to troubleshoot so I'm just going to go through what I did and when you have the time if you can weight in that would be awesome. I have 3 DCS versions on my computer - Stable World, OpenBeta for 1.5, and Open Alpha for 2.0. As a side note I run simtools to have my GS4 seat providing some motion. As of today's fiddling around- Stable DCS World: Motion - works fine. SimShaker - No Ground effects, no speed brake shudder, no landing gear, don't think there was damage (if there was it was very weak), everything else seemed to work. Open Beta 1.5: Motion - isn't working, but says it's connected. SimShaker - Everything works except for the ground effects. If you skate along the ground sometimes the shaker will kick but I kind of suspect that's from damage to landing gear. Open Alpha 2.0: Motion - works fine. SimShaker - No ground effects, no damage, no landing gear, no speed brake, everything else seemed ok. From the look of it it seems that the motion export isn't jiving well with the simshaker, since even without simtools open and operating the conditions with what works and what doesn't don't change. It's as if Simshaker has taken over and patched into the open beta, and simtools has done the same with the other 2. Any suggestions? Ideally I'd like both to work fully of course. OK, in such a case let's compare Saved Games\DCS\Scripts\export.lua and Saved Games\DCS.openbeta\Scripts\export.lua Could you please attach both files here? I wonder which aircraft have you used for the tests? Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
kornykidd0 Posted August 18, 2016 Posted August 18, 2016 I REALLY appreciate the assistance man. Way to stand by your product! The first spoiler is DCS World, Spoiler 2 is for Open Alpha 2.0, and Spoiler 3 is for the Open Beta 1.5. It's obvious the difference lol, but I don't know why it's done that or exactly how to fix it. I also see in each of the folders is a SimShaker Lua too... Also - today's tests were done with the A10C. I have tried the blackshark, and it seems to work well in 1.5beta, but also seemed to be missing a couple of effects in 2.0. I can try and get more detailed scenarios tomorrow. --------------------------------------------------------------------------------------------------- -- Export plugin for SimTools V3 -- Version 1.0 -- Export start --------------------------------------------------------------------------------------------------- Myfunction = { Start=function(self) package.path = package.path..";.\\LuaSocket\\?.lua" package.cpath = package.cpath..";.\\LuaSocket\\?.dll" socket = require("socket") my_init = socket.protect(function() -- export telemetry to SimTools host1 = host1 or "127.0.0.1" port1 = port1 or 41230 c = socket.udp ( ) c:settimeout ( 0 ) c:setpeername ( host1, port1 ) -- c:send ( "Hello Wolrd!" ) -- c1 = socket.try(socket.connect(host1, port1)) -- connect to the listener socket -- c1:setoption("tcp-nodelay",true) -- set immediate transmission mode -- c1:settimeout(.01) end) my_init() end, AfterNextFrame=function(self) local altRad = LoGetAltitudeAboveGroundLevel() local pitch, bank, yaw = LoGetADIPitchBankYaw() local accel = LoGetAccelerationUnits() -- reduce forces on ground if altRad < 3 then accel.x = accel.x * 0.25 accel.y = accel.y * 0.25 accel.z = accel.z * 0.25 end my_send = socket.protect(function() if c then -- socket.try(c1:send(string.format("%.3f; %.3f; %.3f; %.3f; %.3f; %.3f;\n", pitch*1000.0, bank*1000.0, yaw*1000.0, accel.x*1000.0, accel.y*1000.0, accel.z*1000.0))) socket.try(c:send(string.format("%.4f; %.4f; %.4f; %.4f; %.4f; %.4f;\n", pitch, bank, yaw, accel.x, accel.y, accel.z))) end end) my_send() end, Stop=function(self) my_close = socket.protect(function() if c then c:close() end end) my_close() end } -- ============= -- Overload -- ============= -- Works once just before mission start. do local PrevLuaExportStart=LuaExportStart LuaExportStart=function() Myfunction:Start() if PrevLuaExportStart then PrevLuaExportStart() end end end -- Works just after every simulation frame. do local PrevLuaExportAfterNextFrame=LuaExportAfterNextFrame LuaExportAfterNextFrame=function() Myfunction:AfterNextFrame() if PrevLuaExportAfterNextFrame then PrevLuaExportAfterNextFrame() end end end -- Works once just after mission stop. do local PrevLuaExportStop=LuaExportStop LuaExportStop=function() Myfunction:Stop() if PrevLuaExportStop then PrevLuaExportStop() end end end local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) --------------------------------------------------------------------------------------------------- -- Export plugin for SimTools V3 -- Version 1.0 -- Export start --------------------------------------------------------------------------------------------------- Myfunction = { Start=function(self) package.path = package.path..";.\\LuaSocket\\?.lua" package.cpath = package.cpath..";.\\LuaSocket\\?.dll" socket = require("socket") my_init = socket.protect(function() -- export telemetry to SimTools host1 = host1 or "127.0.0.1" port1 = port1 or 41230 c = socket.udp ( ) c:settimeout ( 0 ) c:setpeername ( host1, port1 ) -- c:send ( "Hello Wolrd!" ) -- c1 = socket.try(socket.connect(host1, port1)) -- connect to the listener socket -- c1:setoption("tcp-nodelay",true) -- set immediate transmission mode -- c1:settimeout(.01) end) my_init() end, AfterNextFrame=function(self) local altRad = LoGetAltitudeAboveGroundLevel() local pitch, bank, yaw = LoGetADIPitchBankYaw() local accel = LoGetAccelerationUnits() -- reduce forces on ground if altRad < 3 then accel.x = accel.x * 0.25 accel.y = accel.y * 0.25 accel.z = accel.z * 0.25 end my_send = socket.protect(function() if c then -- socket.try(c1:send(string.format("%.3f; %.3f; %.3f; %.3f; %.3f; %.3f;\n", pitch*1000.0, bank*1000.0, yaw*1000.0, accel.x*1000.0, accel.y*1000.0, accel.z*1000.0))) socket.try(c:send(string.format("%.4f; %.4f; %.4f; %.4f; %.4f; %.4f;\n", pitch, bank, yaw, accel.x, accel.y, accel.z))) end end) my_send() end, Stop=function(self) my_close = socket.protect(function() if c then c:close() end end) my_close() end } -- ============= -- Overload -- ============= -- Works once just before mission start. do local PrevLuaExportStart=LuaExportStart LuaExportStart=function() Myfunction:Start() if PrevLuaExportStart then PrevLuaExportStart() end end end -- Works just after every simulation frame. do local PrevLuaExportAfterNextFrame=LuaExportAfterNextFrame LuaExportAfterNextFrame=function() Myfunction:AfterNextFrame() if PrevLuaExportAfterNextFrame then PrevLuaExportAfterNextFrame() end end end -- Works once just after mission stop. do local PrevLuaExportStop=LuaExportStop LuaExportStop=function() Myfunction:Stop() if PrevLuaExportStop then PrevLuaExportStop() end end end 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') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]])
Recommended Posts