Giter Club home page Giter Club logo

Comments (7)

mrSkortch avatar mrSkortch commented on July 17, 2024

I guess my question is which telemetry?

The DCS server API has functions to convert a string between lua and json. So it can be done relatively easily. I don't have a whole lot of experience coding stuff with sockets, all that code in slmod was written by Speed, so I'd have to figure that part out.

net.lua2json(value) -> string
Convert a Lua value to JSON string
net.json2lua(json_string) -> value
Convert JSON string to a Lua value

from dcs-slmod.

ozdeadmeat avatar ozdeadmeat commented on July 17, 2024

This would be a great addition as parsing LUA is a pain in the arse.

from dcs-slmod.

mrSkortch avatar mrSkortch commented on July 17, 2024

Stats have had an option to export them in json format since this commit 17bf67a
It isn't constantly written to like the lua version, to be honest I'm not sure if thats possible with json.

Aside for that the events output will have an option for json format in the next commit. Not sure what else would make sense to be available in json format, but its doable with the net.lua2json and that ED fixed it a few patches back.

from dcs-slmod.

Mirddyn avatar Mirddyn commented on July 17, 2024

Dear MrSkortch, when is updated the json file that Slmod exports?

from dcs-slmod.

mrSkortch avatar mrSkortch commented on July 17, 2024

It saves anytime the lua file gets loaded, which happens once when a mission is loaded and is setup to occur again during a mission after 10,000 writes to the stats file.

from dcs-slmod.

Mirddyn avatar Mirddyn commented on July 17, 2024

from dcs-slmod.

Mirddyn avatar Mirddyn commented on July 17, 2024

Dear MrSkortch, regarding the json file that is generated specifically for every mission ( mission_name - date .json ),
What information is included there? I've seen that every time the mission starts a new file is generated, Does it mean that the information included there are the new events since the last execution?
When is the file generated?

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.