
Finally! View the time you've spent in raid!
This mod enables you to track the amount of time you’ve spent in raid. There are two ways you can view the time you have spent in raid:
- check the file user/mods/plebeianrat-timeinraidtracker-1.1.0/{profile name}-time-tracker.txt
- check in the profile stats section of the EFT UI (note: this only visually updates after game client restart, so it will likely only be accurate when you first boot up the game, not after every raid)
Thanks to lopas123 for help getting the UI section working! As well as fixing a bug regarding multiple profiles
note: this mod will not track your time if you alt+f4 or crash, it only saves data when you end a raid by dying, extracting, or going MIA
This mod should be compatible with older versions of AKI.
Important: delete old versions of the mod when updating to a new one. You may keep your stats when upgrading from version 1.0.0 by copying the contents of user/mods/plebeianrat-TimeInRaidTracker-1.0.0/time-tracker.txt to user/mods/plebeianrat-TimeInRaidTracker-1.1.0/{profile name}-time-tracker.txt (note that profile name is case sensitive)
To install, just drop the contents of the zip into SPT/user/mods
397 Downloads
- Support AKI 3.7.3
- add UI time tracking
215 Downloads
No changes, just bumping AKI version
409 Downloads
- add source to github
- confirm 3.5.8 compatibility
- add multiple profile support (thanks to lopas123!)
Details
-
GUID
Not Available
-
Additional Authors
-
License
-
Source Code
-
Latest Version VirusTotal Result
this is good for the live game. so every (i have 20000 quintillion hours in raid) it become i have 200 hours in raid and every others in menu and loading screen XD
Believe with 3.6.1 the game now tracks the time in raid on the UI finally. But it seems to me quite broken (sometimes barely registers time, spent 30 min in PMC raid, but the profile thinks I only spent 2 minutes), this is where think your mod can in a way fix it. (unless somehow this mod breaks the functionality and the time tracking becomes incorrect, which I really doubt).
Found that by using this we can always replace the profile time with yours, which is more accurate. After it logs/ writes the changes to txt file (and we see in console that it was successful) would then add the following code:
var raidTimeSeconds = Math.floor(totalTimePlayedInMilliseconds / 1000); profile.Stats.TotalInGameTime = raidTimeSeconds;
Can’t you ask the maker of the radar mod how he solved it so that it appears on the screen? Perhaps with this mod solution, this could also be solved so that the information can be placed on the screen.
Great mod, even works on 3.5.8 with no changes, hopefully you will be able to get the UI part working in the future.
It appears the mod tracks the time for all accounts combined. So if you have more than one account all of their time will be added up. Checked through your code and can see that if we wanted to do it per account can just edit mod.js file (if you ran the mod before) and add the following to ….registerStaticRouter -> Action (anywhere between action and filePath).
const profile = container.resolve(“ProfileHelper”).getPmcProfile(sessionId);then change
const filePath = path.join(process.cwd(), “user”, “mods”, “plebeianrat-TimeInRaidTracker-1.0.0”, “time-tracker.txt”);with the following:
const filePath = path.join(process.cwd(), “user”, “mods”, “plebeianrat-TimeInRaidTracker-1.0.0”,
${sessionId}-${profileName}-time-tracker.txt
);