SoW Reddog Posted March 21, 2017 Share Posted March 21, 2017 I've been pratting around with this for a couple of days. Seems a few old threads point to it being done in the FC3 days but nothing very recent. Can someone (anyone!) confirm that all I theoretically need to do is have a luasql folder containing the dll in the dcs world\bin folder, and correct syntax in a lua file. I don't need to point the lua file to reference the dll in any way? Link to comment Share on other sites More sharing options...
SoW Reddog Posted March 21, 2017 Author Share Posted March 21, 2017 Ok, some progress. Using the mysql.dll from the example in this thread https://forums.eagle.ru/showthread.php?t=176486 I've managed to get luasql to load via require. However env=luasql.mysql () fails. And I get zero indication in dcs.log why. Someone must have some idea about this. Link to comment Share on other sites More sharing options...
BaD CrC Posted March 22, 2017 Share Posted March 22, 2017 Wow. Not that we are not interested Reddog, but this probably sounds like crazy complicated for most of us (at least it does for me) https://www.blacksharkden.com http://discord.gg/blacksharkden Link to comment Share on other sites More sharing options...
Jabbers_ Posted April 12, 2017 Share Posted April 12, 2017 try local net = require('net') local status, err = pcall(function() env=luasql.mysql () end) if err then net.log("mysql failed to load - "..err) end This should write something to the log. Twitch2DCS - Bring twitch chat into DCS. SplashOneGaming.com - Splash One is a community built on combat flight simulation. S1G Discord twitch / youtube / facebook / twitter / discord Link to comment Share on other sites More sharing options...
VladMordock Posted June 19, 2018 Share Posted June 19, 2018 Was anybody successful with lua to mysql scripting ? Zapraszam na Gildia.org - polska społeczność DCS. :thumbup: Link to comment Share on other sites More sharing options...
Recommended Posts