Maswi Posted February 8, 2019 Share Posted February 8, 2019 Hey guys, for a mission I want to run on my server I need some hooks lua. I started out writing my code and testing it in console so far with a fake DCS interface. Everything was working perfectly. I then tried to interface it with DCS, so I put my .lua file into /savedgames/DCS/scripts/hooks Of course it didn't work. At first I thought, I had done something wrong in my script so I simplified it down to something like: local simplescript= {} net.log("this callback has been reached") DCS.setUserCallbacks(simplescript) However, I cannot see the corresponding logs and my script never runs. Forum tells me another guy has kind of a comparable problem here, which was never answered https://forums.eagle.ru/showthread.php?t=223366 Anyone can help? Thanks Link to comment Share on other sites More sharing options...
astazou Posted April 6, 2019 Share Posted April 6, 2019 Hi Maswi, I found something interesting here: https://forums.eagle.ru/showthread.php?p=3034367 "Installation: Take the file and put it in the servers - C:\Users\<computer name>\Saved Games\DCS\Scripts\ File has to end with GameGUI.lua (case sensitive)" After that, it worked for me! (but not callbacks, not yet) Thx xcom if you read this My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou Link to comment Share on other sites More sharing options...
Recommended Posts