Project Zomboid

Project Zomboid

Daily Report Journal (Statistics & XP Gains)
96 Comments
seronis 13 Jul @ 4:42pm 
Consider having the journal compact the entries down to weekly summaries once they are X weeks old to reduce memory
seronis 13 Jul @ 4:39pm 
What exactly is supposed to be broken in 42.10 ? I'm using it in 42.10 and my only complaint is i just barely finished off all but 3 zombies from being surrounded by a few dozen and the journal pops up in the middle of fighting and gets me killed by those last few.

My fault. Didnt realize Z was a hotkey for it and must have bumped it while dodging zeds. But REALLY should have it do a check for nearby zed count and not open the window if any is nearby
DANi  [author] 8 Jul @ 2:23pm 
Broken in 42.10
Skill issue

Would be nice to have a hotkey or button to access the journal
Sure, in the meantime you can just collapse the window and leave it on screen. Or uncomment "toggleReportWindow()" in the "function onCustomUIKeyPressed(key)" in dailyStatisticsAndGains.lua line 1159ish. Also change the key there, key 21 is the Z key btw

I have also had issue with 7am start/days not counting because I didn't sleep
looks like I have to doublecheck this
eniocharles15 7 Jul @ 2:40pm 
Broken in 42.10
MinhXeOm 6 Jul @ 8:04am 
Would be nice to have a hotkey or button to access the journal ...
Loccatpowersdog 19 Jun @ 3:51pm 
I have also had issue with 7am start/days not counting because I didn't sleep & I also too wonder how/where the toggleable keybind is (& what it is by default).
bingley 18 Jun @ 11:21am 
works for me on 42.9! anyways, would be cool if it also tracked fuel usage!
Ryan 17 Jun @ 8:28pm 
42.9 compatible?
Green Pizza 26 May @ 12:45pm 
I added it to an existing save but it isn't working - does it have to be launched with a new save?
logiko 26 May @ 12:22pm 
broken
zrt 26 May @ 9:08am 
Below is a temporary solution to clear the players.db file of all data from the "Daily Report Journal (Statistics & XP Gains)" mod.

1. Make a backup of the players.db file (c:\Users\User_Name\Zomboid\Saves\Your_save...

2. Launch the game in debug mode. Enter the command in the LUA console:
getPlayer():getModData().dSAG_dayStats = {}

3. In the browser "DB Browser for SQLite" (https://sqlitebrowser.org/) open the file players.db and execute the menu command:
Tools -> Compact Database... -> main
p6kocka 16 May @ 8:02am 
Is there anybody who knows what exactly to edit and where? (to have this window toggleable)
DANi  [author] 2 May @ 3:46am 
Thanks for reporting the issues with the player.db size. I did not anticipate the limit being around 3-4MB and will look into how this can be avoided, like saving to a file as suggested.

anyone else unable to find the option to set keybind to the journal? doesnt show up under key bindings tab and mods tab (in game option)
if it isnt already a feature, could you make it so we can see our daily report not just when a new day starts?

That isn't a feature yet, but you can go into the code and comment out a line (at the end where the keypress function is) and the Z key will toggle the window. You can also change the key there if you want.
Hexdien 30 Apr @ 10:35pm 
Daily journal is very useful, but it does got a major problem when reach too much time lived.
After 3 years, and lost of Megabyte(3-4MB) stored on BLOB entrie on data column of player db.
When the information reach that much data, the game isnt able to save the player, which occurs the error Buffer Overflow on player.db.
Keep with you great work, we're very greatful!
TwisTonFire 30 Apr @ 7:11pm 
The "Daily Journal" mod is truly excellent; however, all information is stored in the player database, which cannot exceed a certain size limit. Once this limit is reached, no further data can be saved. I have also contacted the developers at The Indie Stone to explore the possibility of making the player database a bit more robust. Nonetheless, I wanted to reach out here as well to suggest to the mod’s developer that it might be worth considering an alternative method of storing data, rather than relying on the save file’s player database. Perhaps a new file in the shared Lua folder could be a viable option?
vtsfly 30 Apr @ 6:32am 
Hey Dani, love your mod, but it has a significant issue: when a Brazilian streamer (ShivasBR) reached 3 years and 1 month of gameplay during the ratrace, this mod caused the playerdb file size to exceed the game's save limit. After that point, the game could no longer save character data. Perhaps limiting the mod to store only the last X days could resolve this issue. We had to run a Lua command to clear all the mod’s stored data, after which everything returned to normal.
saintbrutal 23 Apr @ 8:06pm 
anyone else unable to find the option to set keybind to the journal? doesnt show up under key bindings tab and mods tab (in game option)
kentuckyzombiekiller 9 Apr @ 5:37pm 
if it isnt already a feature, could you make it so we can see our daily report not just when a new day starts?
DANi  [author] 23 Mar @ 2:18pm 
It doesn't matter what time you start. At the beginning of loading in the world first time it set's the initial skill xp for each level, no matter if it's 7am or 5pm. Then it compares them with current skill xp at 00:00 and makes the report. btw, regardless if you're sleeping or not, sleeping only for popping up the window.

I can't reproduce it and it never happened in many testing and normal play-throughs. Check the logs if there has been any errors.
🔰 22 Mar @ 4:37am 
Basically, it has 1 day too much right now. After 2 midnights i get the day 3 journal entry (which is technically correct as i get it at like 0:10, so 10 minutes after midnight) but it have been 2 days up to that point (full days), hence the wrong average
🔰 22 Mar @ 4:35am 
Yes i did. I receive the report when sleeping so usually somewhere around midnight. I havent looked at the code but im assuming that because i start at 7am instead of 9, it starts to count the first day after just 2 hours (at 9) but because no sleep means no journal entry.

If thats the case then the method of tracking should / could be changed to just have a counter for the 1 ingame hour method and count to 24 with it. Then the start time is irrelevant
DANi  [author] 20 Mar @ 10:48pm 
Ah ok, yeah day 1 report shouldn't be missing. Weird that it counted correctly 3 days but didn't generate first report.

You started the savegame with the mod enabled right? I gotta check and test custom starting dates then.
🔰 20 Mar @ 12:31pm 
then it might be an issue with custom spawn dates / times or something? here is a picture of the end of my second day:

https://imgur.com/a/j49Baw3

i spawned at 7:00 so that might be what triggers the wrong average here but as you can see, 2 daily entries, a little over 100 killed zombies but average is 35ish when it should be 50ish.
DANi  [author] 20 Mar @ 1:07am 
Day 1 report happens at 00:00 after spending the whole day being spawned in at 9 am usually. So that counts as 1 day passed and 1 report is generated. If you kill 30 zeds in that first day, it'll show 30 average which is correct. Then from 00:00 to next 00:00 is day 2 and report 2 (which will pop up on day 3). If you kill 0 zeds that day, it'll average to 15 which is correct since 2 days have passed and you still have 30 kills.

It does proc the first time on day 2, but shows the report for day 1 since the initial values (day 0) are set when spawning in the world first time.
🔰 19 Mar @ 1:35pm 
dont know if it has been mentioned but the average calculation is wrong. it procs the first time on day 2 and i got 70 zombies killed but shows 35 on average per day but the 2nd day is literally 0 minutes old. should be days - 1 for average calculation.
DANi  [author] 19 Mar @ 12:29am 
This mod currently doesn't support new skills that have been added mid-save via other mods. Add these mods from the beginning of the save if you want them tracked.

If you have added new skills with mods mid-save, the reports will only continue working if you disable these skill mods again for that save. Basically returning to the set of skills the character started with when the save was created.

If the 42.5 update (I haven't checked yet) added new skills or changed internal skill names, and you continue an older save, this might also happen.

I'll look into how this can be future proofed for long saves that are played for months, where new skills might be added by the devs. This will also fix reports if new modded skills are added mid-save.
H00D3DCL4W 17 Mar @ 2:13pm 
same here since new patch it creates an error when I first load in then one everyday at Midnight, when report appears its stuck on day 113.
defqwop 17 Mar @ 10:11am 
probably, i added alot of mods mid save, how do i fix the issue?
DANi  [author] 17 Mar @ 8:00am 
Have you enabled mods mid-save, that added new skills?
defqwop 16 Mar @ 5:10pm 
im stuck at day 10 for some reason
haypo 13 Mar @ 3:08pm 
I think since 42.5 I'm stuck on the first day since it updated
Loccatpowersdog 10 Mar @ 2:49pm 
Maybe another mod was interfering, just popped up on my 4th day this file
Loccatpowersdog 10 Mar @ 6:35am 
I believe this is broken since 42.4?
Ġedryht of Wōden 1 Mar @ 6:34am 
Maybe there could be an option where this can only be viwed/updated f you use an in-gaee notpad. This'd actually add some function to notebooks.
torqueravingmad 28 Feb @ 3:30pm 
is there any way to open it other than when it pops up at a new day?
irrelevantredundancy 26 Feb @ 8:58am 
I want to say this is such a useful tool. Like, I couldn't imagine playing without it now. The first thing I noticed was how much it helped me keep track of the characters weight. This gets a thumbs-up vote and you can take my points too.
Mastodonte 24 Feb @ 1:38am 
Hello, regarding the translations, I could help with French as soon as you need it :D (Native French, not translated by AI or Trad)
Kyrox 17 Feb @ 7:36am 
You don't have to go crazy. It doesn't need to save the position. A little thing to resize the window would be nice is all. If not, it's no big deal. It's a great mod.
DANi  [author] 17 Feb @ 6:23am 
Any chance at making the window resize able?
Good point, I'll look into making it responsive plus saving the position and size of the window.
Kyrox 17 Feb @ 12:20am 
Any chance at making the window resize able? I'd like to be able to capture more information without having to scroll through it. It's a bit small in 4k.
≫ Dasfer 16 Feb @ 7:22pm 
amazing, really. just amazing
pimatstudio 12 Feb @ 9:32pm 
How have I not stumbled upon this yet?! How? Explain...! Argh, this looks like someone put really big effort to make this, chapeau bas and merci!!
DANi  [author] 10 Feb @ 9:24am 
Since the data is saved in player modData, it'd assume it just works, but its not tested yet.
OxTailSafu 10 Feb @ 8:55am 
If I may ask, how exactly does this work when you end up making a new character in the same world after a death? I'm noticing the kill counter gets a bit glitchy whenever starting a new character.
DANi  [author] 10 Feb @ 5:10am 
I think split-screen support might be possible without too much changes, but I need to look into controller support and how some of the the vanilla menus handle split-screen.
danny_dustin 10 Feb @ 4:48am 
Can confirm it does not work split-screen though bloody well love the idea and detail of the mod in single player.
DANi  [author] 10 Feb @ 2:31am 
You mean like a high-score/leaderboard thing in the main menu, listing previous runs by score? That would be a neat idea. I remember arcade games and games from the 90s had this.
Kuldiin 9 Feb @ 2:00am 
One thing I always disliked about this game was it had no 'high score' system, similar to what Dont Starve has which shows how long you survived for etc.

Does this mod allow that? I would love to be able to see that on xx run I lasted for yy days etc.
Great Disnub 8 Feb @ 11:39am 
Great mod, love being able to see what I did with my days, especially loving all of the features with the new update, keep up the great work!
A 8 Feb @ 3:02am 
@DANi it being stored client side is completely fine. It's great for performance that way a server isnt overloaded with storing all that data and constantly keeping track of it.