Comments (4)
`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.
Sorry it's the bad dcs.log file..
In attachement the good one.....
dcs.log
from dcs-slmod.
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.
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)
- Technical info: Either the DB "api/db/db.json" does not exist, or there is no ["server"] index within it HOT 3
- Takeoffs count doubled
- Trains not being picked up by SL-MOD HOT 3
- Support for subfolders within load mission admin commands
- How to enable SLMOD? HOT 3
- [FeatureRequest]Please Add Anti Taxiway Take Off
- SLMOD ERROR: unable to load banned clients, malformed number near HOT 4
- [Feature Request] Combined Arms and special slots tracking stats
- Mission Script Error HOT 2
- Error in server log after updated to DCS 2.7.18.30348 Open Beta: "Airbase doesn't exist" HOT 2
- Mission error HOT 2
- Grading problem HOT 5
- SLMOD activation on two servers
- Initiator and target UCID for mission events
- Suppress Unnecessary MOTD Elements
- Message Formats other than "chat" don't appear HOT 1
- Slmod stats showing o HOT 2
- F-15 and Mirage times appear to be unlogged. HOT 1
- JSON Export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcs-slmod.