Search the Community
Showing results for tags 'stats'.
-
Hi, Since last update It would appear that i can no longer find the FPS display counter. I have the key binding ok and if do it twice it comes up with stats but not the fps display/graph. any ideas Scott
-
2nd try: some weeks ago I asked the support, how to list my flight-times. They said, look into logbook.lua. So I wrote a little script to list my flight-times descending and formatted. Maybe usefull for others, must be executed in your saved-games directory. -- personal logbook for flights DCS -- execute this file in do C:\Users\{{YOUR_USERNAME}}\Saved Games\DCS.openbeta\MissionEditor -- to get the exact flight times of variant models. dofile("logbook.lua") function secToHMS(sec_o) local sec = math.floor(sec_o) local h = 0 local m = 0 while sec >= 3600 do h = h + 1 sec = sec - 3600 end while sec >= 60 do m = m + 1 sec = sec - 60 end sec = math.floor(sec) local ret = str_pad_left(h, 4, "0") .. ":" .. str_pad_left(m, 2, "0") .. ":" .. str_pad_left(sec, 2, "0") return ret end function str_pad_left(s, l, char) while string.len(s) < l do s = char .. s end return s end function compare(a, b) return a[2] > b[2] end function roundNumber(i, d) local mult = 10 ^ (d or 0) return math.floor(i * mult + 0.5) / mult end branch = logbook["players"][1]["statistics"] print() print("my flight log:") print() flights = {} total = 0 for k, v in pairs(branch) do if type(v) == 'table' then time = math.floor(v["flightHours"]) total = total + time table.insert(flights, {k, time}) end end table.sort(flights, compare) for i, e in pairs(flights) do perc = roundNumber(e[2] / (total / 100), 2) print(str_pad_left(e[1], 15, " ") .. " : " .. secToHMS(e[2]) .. " ~" .. perc .. "%") end print("") d = roundNumber(total / (24 * 60 * 60), 2) print((str_pad_left("total", 15, " ") .. " : " .. secToHMS(total)) .. " (~" .. d .. " days non-stop)")
-
- stats
- logbook help
- (and 4 more)
-
Easy Stats - A simple solution to add player stats to any DCS Mission or Multiplayer Server EasyStats by Element Brought to you by: The Fraternity Current Version: 1.0.1 Released: 12-09-2020 Features - Highly Customizable with knowledge of Lua and MOOSE Framework. - Tracks Air 2 Air Kills, Air 2 Ground Kills, and even Scenery Obj kills - Easily add basic player stats to any mission or multiplayer server. - Data is stored based on player name(see config section) or client multiplayer name for servers. - Option to store data based in UID IF you can provide it. - Data is stored in json files. - Pilots can use the F10 Menu to display real time stats within game. - View last 10 kills within Mission - JSON Data can be used in websites, discord bots, or even your own MOOSE code/scripts with the included function(s). REQUIREMENTS: - MOOSE - EasyStats.lua (included) Current Data Logged: joinDate (unix timestamp) MostRecentModule last_visit (unix timestamp) visit_count kill_count, view last 10 kills within mission flight_time (in seconds) takeoffs landings ejections crashes deaths _________________________ Easy Installation All Steps are REQUIRED 1. Edit your MissionScripting.lua ("C:\Program Files\Eagle Dynamics\DCS World\Scripts") so EasyStats may create and save data. Comment out sanitizeModule('os'), sanitizeModule('io'), sanitizeModule('lfs'), and require It should look something like this... do --sanitizeModule('os') --sanitizeModule('io') --sanitizeModule('lfs') require = nil loadlib = nil end **make available these functions at your own risk.** 2. Load Moose.lua then EasyStats.lua into your mission at MissionStart via the DCS Mission Editor or in your lua scripts (don't forget the edit user config section in EasyStats) And That's It! Enjoy the live stats! _________________________ Download Easy Stats _________________________ Change Log / Updates 12-5-2020 - removed config option SinglePlayerPilotName as its irrelevant will use Name in Log Book - added config option to display message/notification to pilot after every kill 12-9-2020 - now track static & Scenery Object kills 1-2-2021 - fixed a couple bugs 5-25-2021 Ver 1.3 Fixed a few bugs EasyStats ver 1.3.rar
- 24 replies
-
- easy-stats
- moose
-
(and 3 more)
Tagged with:
-
Hi, Since last update It would appear that i can no longer find the FPS display counter. I have the key binding ok and if do it twice it comes up with stats but not the fps display/graph. any ideas Eddy
-
Hi, I posted a week ago in the forum and on facebook. I did get "HUH?". This forum would be a better spot. I notice a spike in the Stat for simulation. even if only flying, there is a spike in "Simulation" Trying to track down the reason. I will add a video this weekend.
-
- stats
- performance
- (and 4 more)
-
ALCON, (Aug 16 Updated Doc to version 2) Does anyone have details on the DCS stats screen elements and definition? I understand GPU and CPU Bound. pic attached. I looked around, first. I can kinda figure it out. I would be happy to write the document. STAT Box 1 sunY ?? Simulation, Present, Submit - what is the flow? CPU or GPU for simulation, same for the other two. STAT box 2 Many items Lau States? Lau CPU usage? maybe any ranges for the elements and tuning information. Thank you, AceEye60 DCS_system_tuning_V2.pdf dcs (4).log