Also I noticed in previous build that if I mass brand slaves in dungeon and then mass sell them ending week would CTD, but if I mass sell, save, exit, reload no more ctd on week end.
Well, This is apparently a long running bug.
It seems to be caused when the game removes the girl from the dungeon list of girls.
When added to the dungeon, the girl is actually still technically in the brothel she was sent from just with the job of "In Dungeon"
When removing the girl, it only deleted her from the dungeon list and left a hole in the brothel girls list where she was.
I added 1 line to the code and it seems to have fixed it.
It will be in version .05o after I finish a few other fixes I'm working on.
As always, this may have some unknown side effects so make a backup of your game before trying .05o.
Also, while finishing the correction of the bug "if girl is assigned a job outside of the building she is in", I found that I had actually broken it in more when I added it to .05n.02.
edit: Well it didn't really "break" it. It checks if the job is not in the building, finds that it is not, sets it to the wrong job and runs the correct code anyway. All it really does is force the girl into the wrong job title and basically says "We gave you the wrong title, here is your corrected wrong title, see you tomorrow with the same wrong title."
.05o will have it fixed and expanded to fix all the buildings.