Project Zomboid

Project Zomboid

Mutie's Diary
34 Comments
Mutie  [author] 24 Mar @ 1:04am 
@marshmallow justice, you are understanding exactly correctly. There is a running window by default (I think it is 7 days) where you can still write down your experiences. Also note that these 'days' are only days where you were actually online with your character, in case you were online.

Basically, think of each day as A, B, and C (for a 3 day window) and then once day D comes around, it overwrites day A, so you can now write down B, C, and D, but your experience earned on day A is lost forever.

This is also why the mod only works with new experience gained after installing the mod.
marshmallow justice 23 Mar @ 4:38am 
am i understanding it correctly in that unlike SRJ, it works by recording your xp daily and not 'everything at once'?

So if you are dedicated and remember to do it every day you'll build up a stockpile of xp, but if you forget then of course will get less. Versus Skill Rec. Journal which is kind of like a one-time-record=all xp stored approach?
Mutie  [author] 9 Mar @ 8:23am 
@Lastty, Yes, the work is MIT licensed, so you are free to modify and upload your own version.
Lastty 8 Mar @ 3:11pm 
i can do it?
Mutie  [author] 4 Mar @ 10:58pm 
@Lastty, not by default. You'd need a separate mod for that, or to modify this mod yourself.
Lastty 4 Mar @ 1:11pm 
Can disable craft recipe¿?
Mutie  [author] 18 Jan @ 12:30pm 
@Ambassador Of Hell, I'm afraid you'll get a bug when you try to read the entries if you are playing in Polish - I don't think I ever fixed that.

You can use Chuckleberry's Skill Recovery Journal for a very similar mod that also lets you save your XP and load it by reading the journal later.
Ambassador Of Hell 18 Jan @ 12:28pm 
I always play with the same character who can read and I don't play on build 42 because it won't be stable but I have Polish in the game
Mutie  [author] 18 Jan @ 12:20pm 
@Ambassador Of Hell, it should work just fine, but it has a few conditions:
1) Your character must have the same name after dying
2) You must write in the book and read from the book while the game is set to English
3) You are playing on the current stable build 41 release and not the unstable build 42 release
4) You must not be illiterate

With that said, I haven't played with and maintained this mod properly for a spell, so there could be plenty of bugs (apart from just the name and translation error).
Ambassador Of Hell 18 Jan @ 11:08am 
its work or not
AnotherGuy 5 Aug, 2024 @ 2:22pm 
Getting errors when trying to read after previous character has died
Mutie  [author] 13 Jun, 2024 @ 11:31pm 
@λουκάνικο I'm so sorry, but if changing to English didn't work, then I think the data and my mod is just flat out broken for non-English game settings. I have slowly been getting back into modding recently, so I may take a look at this over the coming weeks.
chorizo 25 May, 2024 @ 10:31am 
I read my diary after my caracter died, and gave me errors. I have the game in Spanish, idk if it has something to do with that. Read below to change it to english but didnt work. What can i do?
Vonzorson 20 Apr, 2024 @ 9:21am 
Can i study the diary if my character cant read at all?
Mutie  [author] 24 Feb, 2024 @ 11:17pm 
@Krilton, it's been a bit since I wrote the code, but if I remember right, then yes.

On a separate note, it should work such that if you skip a day entirely (e.g. because it's a server and you weren't online at all for day 6, for example), then that doesn't count against you at all. The only days that count are the ones where you actively earned some xp.

If any of this isn't working as described, I need to take a look at the code again - and as always, if you see a bug of any kind, please let me know. I don't work on my mods often, but when I do, I'll usually fix up anything I know about!
Krilton 24 Feb, 2024 @ 2:11pm 
@Mutie If I get what and how it works is this: if I earned 100xp everyday (now this is general) for 8 days, I would only know 700 of that by default if I logged on the 8th day. Right?
Mutie  [author] 23 Feb, 2024 @ 11:52pm 
@Krilton, you will be able to write multiple pages. There's a sandbox setting for maximum "memory" and I think the default is 7 days. This means that if you go 6 days without writing, you can still write down all your experiences - but once you've gone 8 days, you'll forget the oldest day.
Krilton 23 Feb, 2024 @ 8:13pm 
@mutie what if you go a couple of days before writing in your diary, do you only gain for that day? ex: i write down on day 1 then day 2 but I'm out exploring and come back on day 6 then write in the diary, will I log days 3 thru 6 or just day 6?
Mutie  [author] 2 Feb, 2023 @ 10:12pm 
@Omega_Israel_Terri

I'm terribly sorry, I think I missed your extra log files for the localisation bug two weeks ago. I'm looking at the code and the issue is as I suspected. In order to save traits in an entry, I use the trait name, as that is the easiest way to later on get a reference to the real actual perk.

I will need a bit of time to actually work on this one, as the fix isn't trivial, and it may result in some loss of functionality for diaries written before the upcoming update.
Mutie  [author] 2 Feb, 2023 @ 10:07pm 
@Scot

You cannot read a diary by another play to get XP directly. Instead, you can Study their diary to get an XP boost in every stat. The boost lasts for points equal to the /best/ day they ever had with those skills. The boost is before multipliers, so if they earned 50XP with a 2.0 multiplier, you'll have a 25XP multiplier, and your 0.25 multiplier will mean that results in 6.25 total extra XP.

Each entry you write will only note down the traits you personally have. If you die and make a new character with new traits, the entries written by them will have their traits on them. This means a diary can have many combinations of traits, varying from chapter to chapter, each applying their own modifiers to how much XP you get.

Hopefully that clarifies things :)
Scot 2 Feb, 2023 @ 5:48am 
If I read a dairy by another player, and get boosted in a stat, then write in mine. Will following day, if I were to die, have both the traits from theirs and mine as I wrote them in my book?
Omega_Israel_Terri 20 Jan, 2023 @ 6:13am 
By the gods, you are good, from 300+ errors to just a dozen in an instant, here you go [i.imgur.com]
Those are the ones that repeat a dozen times, before you suggested the localisation problem, i already tested that and make one Diary on Spanish and other on English and a thid character who tried to read both, but before your quick fix, the result was tthe same.
But now the errors appear when this character tried to read the English Diary in an Spanish languaje game, then tried to read the spanish diary and 0 errors ¡It was perfect!.

I think it needs more testing, i'm glad to help but right now i need to go, try it for yourself and see if you encounter the same errors. See you. :steamhappy:
Mutie  [author] 20 Jan, 2023 @ 4:56am 
@Omega_Israel_terri,

I need to stop responding before I look at the code :D

There was a bug in Player.lua which prevented anyone with traits from successfully reading an entry. This should now be resolved and work as expected, feel free to try it! (It had nothing to do with localisation)
Mutie  [author] 20 Jan, 2023 @ 4:53am 
Hey @Omega_Israel_Terri,

I'll look into the bug, but I'd like to hear if you can read any diary successfully at all? My initial hunch is that the mod isn't compatible with localisations, which I can then do something about.

To test that hunch, you could change the language to English and try to read, but I'll give it a look myself, the relevant part is in your log and you provided that very helpfully :)

PS: While this mod is with heavy inspiration from Skill Recovery Journal, it is all new code. The inspiration was mostly to find the right objects and functions to call :)

In either case, glad to hear you're enjoying the concept, if not this particular diary you have :D
Omega_Israel_Terri 20 Jan, 2023 @ 3:14am 
As a side note (Steam comment is limited to 1000 chars), Skill Recovery Journal work without problems in my current game, the mods conflicting was mods that were fine with Skill Recovery Journal, and were mods that you said were good, in your words "any mod that modifies reading speed or lets you walk / sit while reading". I just mention it becaus your mod is a derivative one, so maybe the solution is in the code of the mod Mutie's Diary is based on.

Well i hope this info help you somehow, i really like your take on a different "Skill recovery Diary", keep up the good work. :steamthumbsup:
Omega_Israel_Terri 20 Jan, 2023 @ 3:13am 
Really nice mod you have here :flowey:, but i can't make it work for me :(.

At first i tried to integrate it on my current game, a ton of errors appeared, just conflicts with other mods, nothing special, then i tried again without the conflicting mods... Same result, that intrigued me, so i started a claean game just for testing, and to my surprice... Same result.
And that's why im here, the debug log says this Hundreds of times, see pic [i.imgur.com]

I'll try to detail as much as possible my settings:

Game ver: 41.78.16
Game Language: ES
Sandbox Options: XP Recovery penalty 0
Error occurs: When read the diary
Char who wrote: Gay Hammer
Char who read: Tamsin Needham
Random characters: Yes
Profession: Same
Screenshots: Before [i.imgur.com] and after [i.imgur.com] read
Vortalex 18 Jan, 2023 @ 5:13pm 
Well hot damn. Might just have to try this mod out.
Mutie  [author] 17 Jan, 2023 @ 11:30am 
@Vortalex

If you earn say a 100XP (before multipliers) with my mod, and then your profession bonusses etc. multiply that by x1.5 so you gain 150XP, then you write that down, my diary writes down 100XP (pre-multiplier)

If you die then read the diary without those bonuses, but instead the no-bonus multiplier of x0.25, you'll only get 25XP back, despite having 150XP on another character.

In essence, this means you can treat it exactly as if you had done all the exact same actions on your new character, and gained XP from that.
Vortalex 17 Jan, 2023 @ 7:36am 
@Mutie

When I said bugs, I meant bugs from Skill Recovery Journal, not your mod. Question though: If I gain bonus XP to Foraging from the Forest Ranger occupation, record the XP in the Diary, and then I die and choose another occupation, will I receive all that extra XP when I read the Diary? If, so that sounds quite exploitable.
Mutie  [author] 16 Jan, 2023 @ 6:35am 
@ArcadeBulls,

That was a really simple fix. I made a mistake in the reading code and I just hadn't caught it in testing. Should be solved now, though you'll need to spawn new skill books if they've lost their pages. Sorry about this!
Mutie  [author] 16 Jan, 2023 @ 6:30am 
@ArcadeBulls,

I'll take a look at this and see if I can push out a fix today.
ArcadeBulls 16 Jan, 2023 @ 5:55am 
Greetings Mutie!
I have to report a bug. When you are reading a skillbook and cancel the reading, the pages on skill book are gone and you can't continue reading the skill book for multiplier. It applies to that specific book and you have to find another one to continue. Tested it on our server and sandbox and it's your mod.
Mutie  [author] 15 Jan, 2023 @ 10:41pm 
@Vortalex, what bugs have you noticed?

The main difference is that this mod only lets you write down XP after midnight, and that when you retrieve the XP, your multipliers still apply - meaning that if you change your traits you get more/less XP depending on what you changed.
Vortalex 15 Jan, 2023 @ 7:47am 
What's the major difference between this and Skill Recovery Journal? 'Cause I've noticed some bugs on that and I'm lookin for an alternative solution.