
Mods / NDL TimeTracker
Author: NateDoesLife
Side: Client
Created: Jan 27th at 8:26 AM
Last modified: Jun 8th at 4:46 PM
Downloads: 1017
Follow Unfollow 30
Recommended download (for Vintage Story 1.20.0 - 1.20.3, 1.20.4, 1.20.5 - 1.20.7, 1.20.8 - 1.20.10 and 1.20.11 - 1.20.12):
ndltimetracker_3.2.0.zip
1-click install
I WILL NOT BE UPDATING THIS MOD FOR ANY PRE-RELEASES/RELEASE CANDIATES.
IF IT BREAKS IN ANY 1.21.X PRE RELEASES FEEL FREE TO REPORT THE BREAK/BUG BUT I WILL NOT FIX UNTIL 1.21 FULL RELEASES!
***I always recommend you write down your world times before updating versions just incase. There should be no loss of time with any updates (other then a full game reinstall) but you never know!***
About Mod:
This mod tracks your playtime on any given world (hours and minutes). I know it the game tracks for singleplayer but I wanted a mod that tracks time played on multiplayer worlds since there is no built in system for that.
- Displays time on screen via HUD in upper right next to mini-map
Hotkey:
- default key - num8 (8 key on the numberpad)
- can be changed in the controls menu
Commands:
.playtime - type this command in chat and it will display your time!
.playtime "<playername> <hr> <min>" This command allows you to set your time (for if you have been keeping track before you added this mod like I have)
- example: ".playtime natedoeslife 1 20" This sets your playtime to 1hr 20mins
- WARNING: If you do "/playtime <playername>" and don't put in the hours or minutes it will act like you put in 0 0 and reset your playtime.
Planned Workings:
- none at the moment
Feedback/Suggestions/Support:
I livestream on Twitch or Youtube (ad-free) monday-thursday (6pm est - 10pm est) Typically I play vintage story but on occasion might dive into a random game. I welcome suggestion and feedback on the mod in chat there or you can leave a comment below.
- You can also join my personal discord channel via - https://discord.gg/6qQZYPU
- Please use the channel #ndl-timetracker for any comments/chat regarding this mod! (going to be at the bottom of the channel list, in the VS-MODS Category)
Other Mods By Author:
Mod Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
3.2.0 | 386 | Feb 28th at 5:43 PM | ndltimetracker_3.2.0.zip | 1-click install | ||
New Features:
| ||||||
3.1.2 | 198 | Feb 4th at 10:26 PM | ndltimetracker_3.1.2.zip | 1-click install | ||
New Features:
| ||||||
3.0.2 | 58 | Feb 3rd at 4:39 PM | ndltimetracker_3.0.2.zip | 1-click install | ||
New Features:
| ||||||
3.0.1 | 38 | Feb 3rd at 4:14 AM | ndltimetracker_3.0.1.zip | 1-click install | ||
New Features:
| ||||||
3.0.0 | 42 | Feb 2nd at 11:46 PM | ndltimetracker_3.0.0.zip | 1-click install | ||
New Features:
| ||||||
2.0.0 | 84 | Jan 30th at 10:26 PM | ndltimetracker_2.0.0.zip | 1-click install | ||
New Features:
| ||||||
1.1.0 | 99 | Jan 28th at 7:12 PM | ndltimetracker_1.1.0.zip | 1-click install | ||
v1.1.0 update
| ||||||
1.0.0 | 112 | Jan 27th at 8:27 AM | ndltimetracker_1.0.0.zip | 1-click install | ||
v1.0.0 |
So the triple message could be you have more then one saved time session for that world.
One possible way to fix that is to write down your time (for any worlds you want the time for)
- go to your base installation folder for vintage story
- you should see a "playtime" folder in there
- clear all the entires and then when you go into the world do the .playtime
(.playtime NateDoesLife 5 25) and just set your playtime that way.
- This might also fix your crash as it looks like your crashing when its trying to save your playtimedata.
For a followup question, does this crash everyone on the server at the same time or just yourself?
If its easier you can message me on discord, my tag is NateDoesLife with a crown emoji in front of it. You should be able to search it in the VS discord and I should come up easily.
DanceOfBlood
Here's a new one
Crash: https://pastebin.com/37tL7vkv
Client Main: https://pastebin.com/SspGCeCQ
Another one
Crash: https://pastebin.com/vE2rQcYu
Client Main: https://pastebin.com/NTuCBGDS
Here's the the triple message I meant:
For that error, there were only two of us in the server and weirdly enough it crashed both of us.
I'll let you know if I managed to get it happen again
Awesome! Thank you for the error, I will take a look at that method that gets flagged and see if I can find out whats causing it. Just out of curiousity did someone leave the server at the time of the crash?
Also if it happens again, could you send me a pastebin of your client-main log as well? Sorry it just helps me pinpoint exactly whats causing the crash instead of trying to guess.
DanceOfBlood
Somehow I got a crash again, I was just waiting for my tools to cool off.
https://pastebin.com/C3Ch1Zfk
I'll get back to you on it when I play with my friends to recreate the situation.
Just tried to replicate now but the triple welcome message didn't happen.
Wish I had the crash log saved for it.
Hmmm interesting, I will see what I can do to adjust that from happening.
Any chance you can send me a copy of the log file from when you join the server along with the crash your getting.
Can use Pastebin.com - #1 paste tool since 2002! to send them.
DanceOfBlood
Hey! Great mod.
I found myself getting three "welcome your current playtime is x" when joining my server.
I'm guessing this is because the server had gone through three different versions.
I remember reverting back to 1.1.0 after testing out one of the 3.0 versions (cant remember which)
and now I went to 3.1.2, it works but perhaps because of multiple versions that was used this came up.
Just saying it in case you could find some sort of fix to this. Also, I currently get some crashes in 3.1.2.
Could be the problem of multiple time saving
Looks like it fixed it and I was able to use the .playtime command as well.
Ok, I just put up a new release with what I hope is a fix for that.
I believe it was happening when new players data was trying to be saved for the first time.
If it happens to keep happening or another error happens you can always shoot me a message on discord (NateDoesLife with a crown emoji in the front of it, if you search NateDoesLife in the VS discord you should find me easily). Then I can work with you a bit easier then uploading fresh releases each time. If you would like.
PandaPants200
Well my screen didn't go black but...
Running on 64 bit Windows 10.0.26100.0 with 16282 MB RAM
Game Version: v1.20.3 (Stable)
2/2/2025 9:39:22 PM: Critical error occurred in the following mod: ndltimetracker@3.0.0
Loaded Mods: aculinaryartillery@1.2.3, chiseltools@1.14.11, nailsmold@1.0.2, TA_plainsandvalleys@1.0.9, sustainableforestry@1.1.0, game@1.20.3, weaponpackalphaunoff@1.6.0, apegrapes@1.2.3, egocaribautomapmarkers@4.0.1, betterfirepit@1.1.5, carryon@1.8.0-pre.1, commonlib@2.6.1, expandedfoods@1.7.3, fromgoldencombs@1.8.6, ndltimetracker@3.0.0, prospecttogether@2.0.0, stonebakeoven@1.1.5, trailmodcupdate@1.2.1, creative@1.20.3, survival@1.20.3, stonequarry@3.4.3
System.Collections.Generic.KeyNotFoundException: The given key 'PandaPants200' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ndltimetracker.ndltimetrackerModSystem.<>c__DisplayClass12_0.<SavePlaytimeData>b__0() in P:\NDL Mods VS\NDL-TimeTracker\ndltimetracker\ndltimetracker\ndltimetrackerModSystem.cs:line 149
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 786
at Vintagestory.Client.GuiScreenConnectingToServer.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenConnectingToServer.cs:line 254
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 695
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 670
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
NateDoesLife
Everything should be good to go in v3.0.0
- I converted it to a 100% client side mod so you shouldn't need it loaded on the server anymore.
- Let me know if for some reason the black screen issue comes back up and I will investigate further, could be the HUD creation method I am using.
PandaPants200
I was using v2 but it didn't crash or show up in the logs. I will try with v1.1 later. NateDoesLife
Any log errors, crashes or anything. What version are yall using.
Also if you could try using v1.1.0 and let me know if that happens as well that would be great. I added a HUD to v2.0.0 and I think that might be the cause of that.
PandaPants200
I just tried to us this on a LAN server and when another player joined the right half of our screens would go black.
I did not see any performance decreases so far while testing this.
MRGOOSE
does this affect performance?