Jump to content

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


Recommended Posts

Posted

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?

CPU: i9-12900K @ 4.9Ghz

M/B: MSI MEG z690 Ace

RAM: 128GB

Video Card: MSI RTX 4090 Suprim Liquid X

VR: Varjo Aero

Posted

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:  Grayflag ServerScripting Wiki

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

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

Posted

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

CPU: i9-12900K @ 4.9Ghz

M/B: MSI MEG z690 Ace

RAM: 128GB

Video Card: MSI RTX 4090 Suprim Liquid X

VR: Varjo Aero

  • Recently Browsing   0 members

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