From da20586d51c8a66f79ebae1a6a642f913d0f1198 Mon Sep 17 00:00:00 2001 From: Ambroise Garel <47314805+akaAgar@users.noreply.github.com> Date: Thu, 18 Sep 2025 16:58:21 +0200 Subject: [PATCH] Added missing net.allow_unsafe_api value in autoexec.cfg that prevented some advanced scripts from working --- DCS config files/autoexec.cfg | 3 ++- README.md | 2 +- The Universal Mission - User's Manual.md | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DCS config files/autoexec.cfg b/DCS config files/autoexec.cfg index 4ea9f8a..b863b15 100644 --- a/DCS config files/autoexec.cfg +++ b/DCS config files/autoexec.cfg @@ -11,8 +11,9 @@ if not net then net = {} end net.allow_unsafe_api = { -- this defines the secure zones where net.dostring_in() can be called from + "scripting", } net.allow_dostring_in = { -- and this defines the zones that should be addressed from net.dostring_in() - "mission" + "mission", } diff --git a/README.md b/README.md index 92c0937..5e5a778 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ The Universal Mission for DCS World is a fully dynamic single-player/PvE mission - Download the latest release from this GitHub page. - Copy the provided autoexec.cfg file to your **[Saved Games]\DCS\Config directory** - - Please note: as of DCS 2.9.18.12899, it seems the autoexec.cfg file [is no longer needed](https://www.digitalcombatsimulator.com/en/news/changelog/release/2.9.18.12899/) but I advise you to copy it anyway, ED might change its mind again. - Copy the .miz files for your theater(s) of choice to your **[Saved Games]\DCS\Missions directory** - _**(Optional but strongly recommended)**_ Unsanitize the Lua IO module. You don't have to do this, but the persistent career system won't work if you don't. To do it, open the file **[DCS World installation directory]\Scripts\MissionScripting.lua** with a text editor and comment or remove the line "sanitizeModule('io')". Make sure you restart DCS World once you've modified the file. - Please note: should you want to backup, delete or transfer it, career progress is saved in **[DCS World installation directory]\TheUniversalMission.sav** @@ -83,6 +82,7 @@ Please also note that PvP is not supported at the moment and that the mission wi - Bug fixes - [x] AWACS datalinked now showing on SA pages - [x] AWACS can now detect enemy helicopters + - [x] Added missing net.allow_unsafe_api value in autoexec.cfg that prevented some advanced scripts from working - Extras - [ ] GitHub page - Improvements diff --git a/The Universal Mission - User's Manual.md b/The Universal Mission - User's Manual.md index 3448619..2769fc4 100644 --- a/The Universal Mission - User's Manual.md +++ b/The Universal Mission - User's Manual.md @@ -73,7 +73,6 @@ I hope you'll like it. - Download the latest release from this GitHub page. - Copy the provided autoexec.cfg file to your **[Saved Games]\DCS\Config directory** - - Please note: as of DCS 2.9.18.12899, it seems the autoexec.cfg file [is no longer needed](https://www.digitalcombatsimulator.com/en/news/changelog/release/2.9.18.12899/) but I advise you to copy it anyway, ED might change its mind again. - Copy the .miz files for your theater(s) of choice to your **[Saved Games]\DCS\Missions directory** - _**(Optional but strongly recommended)**_ Unsanitize the Lua IO module. You don't have to do this, but the persistent career system won't work if you don't. To do it, open the file **[DCS World installation directory]\Scripts\MissionScripting.lua** with a text editor and comment or remove the line "sanitizeModule('io')". Make sure you restart DCS World once you've modified the file. - Please note: should you want to backup, delete or transfer it, career progress is saved in **[DCS World installation directory]\TheUniversalMission.sav**