Git Product home page Git Product logo

Comments (13)

rurounijones avatar rurounijones commented on June 18, 2024

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.

RobCollie avatar RobCollie commented on June 18, 2024

dofile('Scripts/ScriptingSystem.lua')
dofile(lfs.writedir()..[[Scripts\DCS-gRPC\grpc-mission.lua]])

Second line in. It's very odd.

from rust-server.

RobCollie avatar RobCollie commented on June 18, 2024

I feel like I've been through every lua file, every log and nothing seems amiss. Yet, it's not listening.

from rust-server.

rkusa avatar rkusa commented on June 18, 2024

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.

RobCollie avatar RobCollie commented on June 18, 2024

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.

rkusa avatar rkusa commented on June 18, 2024

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.

RobCollie avatar RobCollie commented on June 18, 2024

Sure, here it is:

dcs.log

from rust-server.

rkusa avatar rkusa commented on June 18, 2024

@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.

RobCollie avatar RobCollie commented on June 18, 2024

No worries. It's an odd one, right?

I'll revert the MissionScripting.lua and see.

from rust-server.

rurounijones avatar rurounijones commented on June 18, 2024

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.

RobCollie avatar RobCollie commented on June 18, 2024

Sounds good to me. Tomorrow sometime?

from rust-server.

rurounijones avatar rurounijones commented on June 18, 2024

Ping me in the Discord and if I am around; we can go through it

from rust-server.

rurounijones avatar rurounijones commented on June 18, 2024

Mission scripting.lua was being replaced by SLMod

from rust-server.

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.