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/ Github for latest version: https://github.com/Chromium18/DSMC
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/ Github for latest version: https://github.com/Chromium18/DSMC
Recommended Posts