Jump to content

Recommended Posts

Posted (edited)

Hi all -

Update 2.9.18.12722 has introduced additional scripting functionality and therefore also new security features. Unfortunately, this means that in every Rampagers missions, whenever getting the option to use the windshield switch to make a radio call, you will get a scripting error.

We're working on a permanent solution. In the meantime, to overcome this problem, you will need to give your DCS permission to call functions in lua scripts. You do this by copy/pasting the following lines into the file Saved Games\DCS\Config\autoexec.cfg

 

if not net then net = {} end
net.allow_unsafe_api = {  -- this defines the secure zones where net.dostring_in() should be called from
  "userhooks",
  "scripting"
}
net.allow_dostring_in = { -- and this defines the scopes that you want to use from net.dostring_in()
  "server",
  "mission"
}

 

You can do this with any text editor. You can also use the attached file.

For more details, and to verify the authenticity, please refer to this link:

And sorry for the inconvenience.

autoexec.cfg

Edited by Nix Mills

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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