I am still working on this mod. The pace of development has slowed because the weather is nice and I am outside "playing". I hope to make a public beta available some time this week.
There are three issues that I am still addressing. I think I solved the one having to do with the "take a healing potion" dialog. The filtering on the line that checks for no potions in the companion's inventory got screwed up.
Another issue is that the "discuss common interests" topic is showing up in the dialog of MCA NPCs that are not companions. I don't know if I should treat this as a bug or a feature. Does anyone have any thoughts on the matter?
One of my companions leveled a few minutes after I saved the game. I had a forced dialog featuring one of the random greetings instead of the "I've gone up a level!" dialog but the companion stats were updated correctly.
Out of curiosity I left the game without saving and reloaded my last savegame. Then I rested 24h and the companion leveled again.
This time though, there was no forced dialog. Only the messagebox about the companion gaining one level. And when I checked her stats I noticed her level had not been updated. She was still level 3 instead of 4.
Any idea?
The "leveling bug" is the other issue that, unfortunately, is still occurring. This post tells me that the bug is one of those intermittent quirks of the game engine. The level up occurs by way of a targeted script that is initiated by the companion's attached script. When AfroKing first reported the bug, I added some extra message boxes to the scripts to see what was happening. What I saw was that the level reported by the leveling script did not match the level reported by the main script and that the forced dialog sometimes did not occur. So I started changing the scripts by moving some code from one script to the other and trying to synchronize the scripts. After a lot of fiddling with the scripts, the reported levels from both scripts matched and it seemed to work consistently. I sent AfroKing the updated beta. However, as we see from his post, his testing shows that it's not working consistently. I thought that was strange. So I compared the code in the current version to the code in the previous version and saw that the code was nearly identical. My re-coding couldn't have fixed it. The bug just disappeared for a while. :banghead: I still have a few ideas to try. :brokencomputer: