Comments (7)
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.
This would be a great addition as parsing LUA is a pain in the arse.
from dcs-slmod.
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.
Dear MrSkortch, when is updated the json file that Slmod exports?
from dcs-slmod.
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.
from dcs-slmod.
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)
- 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
- slmod.sendData() attempt to index global 'slmod' (a nil value) HOT 4
- 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.