Jump to content

My Server Mod wont load?


Igneous01

Recommended Posts

I'm having problems getting a server side mod I wrote to work.

 

I added a net.log statement at the very top of it and moved the file to my Saved Games\DCS\Scripts folder. But when I start up DCS I dont see any log messages in the dcs.log file from my mod, and my code to create a new log file doesn't run, which makes me believe DCS is not even loading it.

 

I don't see any errors in my log file either, so I'm really confused as to why DCS isn't loading my mod. Is there something else I need to do?

Developer of Kaukasus Insurgency - a customizable Dynamic PvE Campaign with cloud hosting and stats tracking. (Alpha)

 

http://kaukasusinsurgency.com/

Link to comment
Share on other sites

I found out the issue - in case anyone else is interested: You have to make sure your script file contains the text 'GameGUI' at the end of the filename, before the .lua

 

I had MyScript.lua, which DCS doesn't recognize or load.

Once I Renamed it to MyScriptGameGUI.lua - DCS automatically loaded it on startup.

 

Hope this helps some other poor souls who are trying to wrap their heads around this stuff.

Developer of Kaukasus Insurgency - a customizable Dynamic PvE Campaign with cloud hosting and stats tracking. (Alpha)

 

http://kaukasusinsurgency.com/

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...