Comments (13)
Hola.
Have you added the line that includes DCS-gRPC to your MissionScripting.lua
file in the DCS installation Scripts
directory?
Note that this needs to be redone after every DCS update.
See https://github.com/DCS-gRPC/rust-server#prepare-dcs for more details
from rust-server.
dofile('Scripts/ScriptingSystem.lua')
dofile(lfs.writedir()..[[Scripts\DCS-gRPC\grpc-mission.lua]])
Second line in. It's very odd.
from rust-server.
I feel like I've been through every lua file, every log and nothing seems amiss. Yet, it's not listening.
from rust-server.
No [GRPC]
entries at all in dcs.log
sounds a lot like grpc-mission.lua
isn't loaded (not even tried loading). Since you have the line in the MissionScripting.lua
, can you confirm that Saved Games\DCS.openbeta_server\Scripts\DCS-gRPC\grpc-mission.lua
exists?
from rust-server.
2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Initializing ...
2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Checking optional config at Config/dcs-grpc.lua ...
2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Config/dcs-grpc.lua successfully read
2022-10-03 09:56:22.710 INFO [GRPC-Hook]: Initialized ...
Is the log, so something loads.
Scripts\DCS-gRPC\grpc-mission.lua does exist.
So, I presume if it was loading, the following would log to the dcs.log?
env.info("[GRPC] Checking optional config at Config/dcs-grpc.lua
...")
from rust-server.
2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Initializing ... 2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Checking optional config at Config/dcs-grpc.lua ... 2022-10-03 09:56:22.708 INFO [GRPC-Hook]: Config/dcs-grpc.lua successfully read 2022-10-03 09:56:22.710 INFO [GRPC-Hook]: Initialized ...
Is the log, so something loads.
Yes, those logs confirm that Saved Games\DCS.openbeta_server\Scripts\Hooks\DCS-gRPC.lua
is installed correctly.
Scripts\DCS-gRPC\grpc-mission.lua does exist.
So, I presume if it was loading, the following would log to the dcs.log?
env.info("[GRPC] Checking optional config at
Config/dcs-grpc.lua
...")
Yes, this is the first expected log. Can you share your whole dcs.log
?
from rust-server.
Sure, here it is:
from rust-server.
@RobCollie Thanks for sharing. I couldn't spot anything that looks like it could be messing with the gRPC script. I am running out of ideas. The only thing worth testing that comes to my mind right now would be to reset the MissionScripting.lua
to its original form and only make the modifications necessary for the gRPC (assuming you might have other changes/additions in there).
from rust-server.
No worries. It's an odd one, right?
I'll revert the MissionScripting.lua and see.
from rust-server.
If you can jump on the OverlordBot Discord at some point and do a screenshare we may be able to go through it together
from rust-server.
Sounds good to me. Tomorrow sometime?
from rust-server.
Ping me in the Discord and if I am around; we can go through it
from rust-server.
Mission scripting.lua was being replaced by SLMod
from rust-server.
Related Issues (20)
- Use DCS' built-in magnetic declination API
- Re-use SRS connections
- Add a TTS API to indicate channel in use
- Add SRS client connected/disconnected/freq-changed events HOT 1
- Pre-built proto files
- Errors when getting group name of a unit, leading to no stream kill events HOT 6
- Weapon & Ballistics stream HOT 1
- Custom error handling for: attempt to index global 'grpc' (a nil value) HOT 1
- Create one-click installer HOT 3
- attempt to call field 'simulationFrame' (a nil value) HOT 5
- Failed to deserialize event: deserialize error: missing field `u` HOT 3
- MarkAdd and MarkChange event payload arrives without mark position HOT 4
- User Error HOT 1
- Error using a config file for TTS HOT 10
- Hooks DCS-gRPC.lua - file not closed after reading HOT 2
- TTS glcoud voice option is ignored HOT 2
- support for AWS Instance Profiles HOT 4
- Error in mission.lua due to DCS API getCategory behaviour change HOT 3
- Unnecessary filtering on english voices in windows TTS? HOT 2
- Feature request: TTS only version HOT 4
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 rust-server.