Jump to content

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


Recommended Posts

My MissionScripting.lua file is uncommenting out the following lines every time the server starts.

 

	
sanitizeModule('io')
sanitizeModule('lfs')

 

 

I want the lines to look like this

 

	
--sanitizeModule('io')
--sanitizeModule('lfs')

 

But every time i start my server it alters the files back to uncommented. Is there a way to stop this from happening cause its ****ing annoying?

-System Specs are:

 

CPU: i9-9900K @ 4.9Ghz

M/B: Asus TUF z390 Gaming Plus

RAM: 32GB

Video Card: EVGA RTX 2080 Ti XC Hybrid Gaming (11G-P4-2384)

VR: Oculus Rift S

Controls: Warthog Stick & Throttle, TPR pedals, Streamdeck XL

Link to post
Share on other sites

If your server is running a repair each time it launches, no.

 

However it is worth noting that slmod, and maybe others I'm not sure, modifies the missionScripting.lua. As far as slmod is concerned it replaces the file rather than appending whatever changes you've made to it. So if you are using slmod and you want io and lfs available you need to go into the SlmodMissionScripting.lua from its location in saved games and change the sanitize io and lfs there.

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

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to post
Share on other sites

ahhh, Thnx Grimes, I am sure that is exactly what it is. I will give it a go tonight.

-System Specs are:

 

CPU: i9-9900K @ 4.9Ghz

M/B: Asus TUF z390 Gaming Plus

RAM: 32GB

Video Card: EVGA RTX 2080 Ti XC Hybrid Gaming (11G-P4-2384)

VR: Oculus Rift S

Controls: Warthog Stick & Throttle, TPR pedals, Streamdeck XL

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...