Background info: I've been working on a self-made app that I'm trying to emulate what HeroStats does, but purely off of reading the current chatlog*.txt file. In my app, after inputting the character level and "experience to next level" amount reported by the game, it usually is able to keep pace with the game very well (I use the Attribute Monitor). However, every now and then it goes out of sync and it's been bugging me to no end. But, now, I've finally caught it in the act!
My apps' reported "XP to next level" and the game's went out of sync after completing the last mission of the story arc from Officer Fields (ie. "Finale: No Guarantee"). The last time I compared values was just before the last battle with Joseph Botte. I was level 5 during it, and once I exited the mission, I got enough XP to level to 6. That's when I noticed the discrepancy, 50 points difference.
I have a screenshot of the in-game info showing each "You gain X experience..." line (I added the "Rewards" channel to the Chat tab), and it's showing the same information as the chat log. So, it's not a case of the chat log not being written to. I added up all of my XP gained on this character from the chatlog*.txt and it would be 3408. According to https://homecoming.wiki/wiki/Experience, I would need 3062 to get to level 6. So, that leaves me with 346 into level 6. However, the game is reporting that I have 396. My app is reporting that I need 1229 XP to get to level 7, while the game is reporting 1179.
Unfortunately I don't know exactly how to reliably reproduce this. From my testing, it seems to only happen after reaching level 6. Sometimes it doesn't happen at all. However, now that I'm thinking about it, I did log out and I was away from the game for a couple of hours. I wonder if patrol XP has anything to do with it? I don't remember how off things were all the times when it's happened before, but I do remember once it was 33 XP. So, it's not consistent.
Well, thanks for reading. As I said, this has been bugging me for a while now, as I thought it was something in my app not reading the chatlog*.txt file correctly.
edit to add: imgur link to screenshots I mentioned: https://imgur.com/a/hBe6lPg
missing XP chatlog 2023-09-20 - Copy.txt