Giter Club home page Giter Club logo

Comments (4)

mrSkortch avatar mrSkortch commented on August 17, 2024

`2022-12-05 00:57:03.871 INFO LuaNET (Main): SLMOD WARNING: ./Scripts/MissionScripting.lua is not up to date. Installing new ./Scripts/MissionScripting.lua.
2022-12-05 00:57:03.872 ERROR VFS (Main): VFS_open_write: CreateFile(./Scripts/MissionScripting.lua): Access is denied.

2022-12-05 00:57:03.872 INFO LuaNET (Main): SLMOD ERROR: Unable to open ./Scripts/MissionScripting.lua for writing, reason: can't open "./Scripts/MissionScripting.lua" for 'w'`

It is trying to update the mission scripting file because the current one isn't up to date but it doesn't have the permissions to do it. Anytime DCS updates it will "fix" the file because it has been modified. Running the game as admin should give it the permissions to update the file. Could always try to manually copy and paste the contents of SlmodMissionScripting.lua into the game install/Scripts/MissionScripting.lua.

from dcs-slmod.

wiznux avatar wiznux commented on August 17, 2024

Sorry it's the bad dcs.log file..

In attachement the good one.....
dcs.log

from dcs-slmod.

mrSkortch avatar mrSkortch commented on August 17, 2024

Can you post your missionScripting.lua file?

What is strange to me is that there are a few other scripts on the server that are also giving errors.

2023-01-14 13:47:45.797 INFO [GRPC-Hook] (Main): Config/dcs-grpc.lua not found (can't open "C:\Users\chris\Saved Games\DCS.openbeta_server\Config\dcs-grpc.lua" for 'r')
2023-01-14 13:47:45.798 ERROR [GRPC-Hook] (Main): Failed to Initialize: can't open 'C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\DCS-gRPC\grpc-hook.lua'
2023-01-14 13:47:45.798 INFO APP (Main): Loaded C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\DCS-gRPC.lua
2023-01-14 13:47:45.798 ERROR APP (Main): Failed to load C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\DedicatedServer.lua: [string "C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\De..."]:4: '' expected near ''Failed to start server with code: ''
2023-01-14 13:47:45.798 ERROR APP (Main): Failed to load C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\DedicatedServerGameGui.lua: [string "C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\De..."]:4: '' expected near ''Failed to start server with code: ''

2023-01-14 13:47:45.802 ERROR APP (Main): Failed to run C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\UDPPlayerExportGameGui.lua: [string "C:\Users\chris\Saved Games\DCS.openbeta_server\Scripts\Hooks\UDPPlayerExportGameGui.lua"]:3: attempt to call a nil value

As far as slmod goes, if you tried starting the server more than once, does this error occur every time?

Unable to open or find C:\Users\chris\Saved Games\DCS.openbeta_server\Slmod\BannedClients.lua, creating file...

or this one?

2023-01-14 13:47:45.875 INFO LuaNET (Main): SLMOD INFO: no stats , loading from file: C:\Users\chris\Saved Games\DCS.openbeta_server\Slmod\SlmodStats.lua
2023-01-14 13:47:45.875 INFO LuaNET (Main): SLMOD WARNING: Unable to open SlmodStats.lua , will make a new SlmodStats.lua file.

Could try renaming the scripts folder in saved games so the files are backed up, make a new one, and try it with only slmod to see what happens. The fact that gRPC was giving an error because it wasn't allowed to open that file seems endemic of a permissions issue of somekind.

from dcs-slmod.

wiznux avatar wiznux commented on August 17, 2024

Hi,
Thanks for the indice.
The ds-grpc.lua was not existant. I remove it from the MissionScripting.lua and also the UDPPlayerExportGameGui.lua

What was weird, I had 2 lua files in my hook directory with the same content. They was called ServerConfig.lua and ServverConfigGUI.lua. I deleted the both file and slmod works again !

Thanks

from dcs-slmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.