Avat Posted April 13, 2018 Posted April 13, 2018 (edited) Hello, I have connected to DCS using LuaSocket. I can receive information, but I'd like to send something. So, let's say I want to send UDP message with a command: trigger.action.outText("TEST MESSAGE", 10, 0) Simple command like udp:receive() causes DCS to crash. How to approach this? Edited April 13, 2018 by Avat
Avat Posted April 13, 2018 Author Posted April 13, 2018 OK, I managed to send data to DCS and it's being received properly. But still, the only thing I can send using sockets is string "trigger.action.outText("TEST MESSAGE", 10, 0)" - is there any possibility to make it work in mission?
chromium Posted October 30, 2018 Posted October 30, 2018 I'm starting now tring to do the same thing, but I didn't even connect the socket... could you explain how did you connect DCS via luasocket? Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Avat Posted December 10, 2018 Author Posted December 10, 2018 Look for DCS Witchcraft on Github - it's got it sorted very well
chromium Posted December 10, 2018 Posted December 10, 2018 Thanks but I found another (ugly) solution :) Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts