Jump to content

Why do I have to change MissionScripting.lua after each update?


Recommended Posts

Posted

This question will probably painfully show that I don't have any knowledge of how lua files work... but I'm gonna ask it anyway :P

 

A lot of mission makers nowadays make use of the sanitation method to give players the ability to save their progress. I mean adding these dashes:

 

--sanitizeModule('os')

--sanitizeModule('io')

--sanitizeModule('lfs')

require = nil

loadlib = nil

 

in the:

MissionScripting.lua file

 

Why is it that after each DCS update, this gets corrected/overwritten?

 

I think I've been placing these dashes here for over a year now and I never had it cause any issues. Why doesn't ED place these dashes here by default?

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted

Anything in the install folder of the game that you change will be "fixed" whenever you update the game. The updater does a check of files, realizes that file isn't 100% what it was expecting, and downloads the correct version.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

The installer wouldn't work correctly if you didn't have to change it after an update.

The DCS Mi-8MTV2. The best aviational BBW experience you could ever dream of.

  • Recently Browsing   0 members

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