Mod Night Visitor 2.0.1b
🔧 Bug Fix Update
A round of fixes — two of them crashes you reported. Thanks for the logs, they made this fast.
Night Visitor spawns but nothing happens (or never spawns at all)
If you saw TypeError: create_sim_instance() got multiple values for keyword argument 'spawn_point_override', this was it. Both symptoms — the visitor never arriving, and the visitor arriving and then just standing there — came from the same bug: a wrong parameter name in the backup spawn routine, which also corrupted the internal reference the event uses to track him. Fixed, along with the retry that was supposed to recover from it and silently never did. The update also adds diagnostic logging: if it still happens for you, send me visitante_mod.log.
Random crash during leave, partner fights and arrests
AttributeError: 'NoneType' object has no attribute 'run_child'. A background timer was telling sims to walk and route from outside the game's simulation thread, which The Sims 4 doesn't allow. Seven of those moved onto the game's own scheduler: the visitor leaving the lot, the partner defense (fight, restart, dismissing the cop), the "Stalk in Silence" loop, and the arrest wrap-up.
Playable Night Visitor
Attack could hit the same crash as above — it's now on the game's scheduler like the rest.
Attack failing silently is over. If the fight never engaged you got no message, the cooldown was already spent, and the visitor stayed flagged as "on the hunt" — which could bleed into your next consensual WickedWhims scene. Now it tells you, refunds the cooldown, and clears the flag.
Stalk in Silence: the crouched walk could stick to a sim permanently if you quit or travelled mid-stalk. It's now cleared when the lot loads. The stalk also ended almost immediately when the target was already close — fixed.
Creepy Smirk now actually animates when triggered from the config panel and the cheat command, not just from the pie menu. Its XP is consistent everywhere too (it was giving three different values depending on where you clicked).
Tester-reported fixes
Blue numbers on the floor when a scene started — gone. They were a WickedWhims debug overlay the mod was switching on by accident.
Tear makeup stuck on a sim's face after quitting mid-scene — now cleaned automatically when the lot loads. No cheats needed.
Portrait picker not opening from the computer.
Floor marker mesh showing up.
Three partner-defense options still showing in Spanish.
Scenes could start under furniture during the room tour.
Plus a cleanup pass (~1,000 lines of dead code removed) and an optimization pass.
Save-safe: none of these damaged existing saves — the game caught the errors and logged them.
Comments (14)
Hey BaiQing, I have a question about Dual Night Visitor. Is it possible to have them attack TWO people? By this I mean have them come together into a household, but if you have say two female members-like twin sisters, a mother and daughter, etc-have them seperate and one goes for one and the other goes for the other? Or even make it possible to spawn TWO single Night Visitors and have that happen instead of the other leaving?
I absolutely love this mod! Been looking for something like this for a while now, so thank you so much for your hard work and sharing. Unfortunately, after updating to this version I can't get it to work. They just stand there looking at each other. I then get stuck with "sim is already in the middle of an attack, let it play out" I know that I have completely uninstalled the old version because I had to uninstall all mods and start over fresh. Please help. I have gone down through all posts and have tried what has been suggested but still not working.
I know, I know. That's my mistake. I was asked to fix a bug, and I uploaded the fix with changes in NV because I was in the middle of content development. I'm fixing a few things I left unfinished and I'll upload that fix.
Hi, thank you again for this mod. Kinda new at Patreon, i got an issue i don't think anyone talked about. I had one attack, but i don't have access to the mod config by just clicking on any sims. Do you have any idea what it could be? Thanks :)
yes i have the same issue about "Sim is already in the middle of an attack, let it play ou", though i figured that if you close the game and delete Electronic arts/Sims 4/localthumbcache.package and open the game again this state disappears , but its like volatile any unexpected autonomus action can break the attack action or taking too long to cancel an action for the mod action to actually have the turn in the queue and poof this state triggers.
i still have this issue and don't how to fix it, i don't know anything about files or modding
hi I really like this mod as a CSA survivor, but I'm noticing the past day or so that I get "Sim is already in the middle of an attack, let it play out" no matter what I do.
Same here, I try deleting the mod then reinstalling it. Which fix the "Sims is already in middle of an attack let it play out" but when I try to do it nothing happens and the Sims just stands there looking at each other. The same thing happened when I first installed it, they just stood there then I got stuck with the message.
Heyy, so after playing this version some more today, I noticed a few issues. If the sim has the loyal trait and is in a relationship she will get a guilty moodlet and a regret moodlet as if she has cheated. Can this be changed to represent the fact that it was an attack? Also when she is pregnant the NV will come over but not do anything they just stand there and then he will go to sleep in the bed lol. I believe this is because pregnant sims cannot get into a fight. However could you just bypass the fight for pregnant sims and skip straight into the attack? The logical reason obviously being that a pregnant sim won’t want to fight so will just submit instead to protect her baby xxx
Thank you so much for the update ^.^
I noticed the annoying blue numbers and was confused about it, and my female sim seems to be stuck with the tear makeup even hours later (even a shower doesn't remove them), and she still doesn't get the feeling\emotions after the attacks except an occasional sad? (the pop ups are there, but she doesn't want to 'cry it out' or whatever, just sometimes walks around with head and shoulders slumped). Also is it normal for the sim to immediately after the act start chatting with the attacker like they're friends? I've had to immediately cancel the chat bubble to make him\whatever leave (they still have the high level of red in the friendship\romance bar when this happens). In regards to the Window Pepper, I've only ever seen TWO set ones, Tom Pepping and a female, and they never have the night visitor. I even used cheats to give Tom the trait, but he doesn't do anything, so the cheat mustn't work. The Peppers I think aren't considered NPC townies like the others, because when I searched them on the menu under appointing NPC's the trait, they didn't register. Help please!
Hi Vanessa, from what you're telling me, it seems you have an error with the game cache. This sometimes happens when the old file is replaced with the new one. The correct thing to do would be to completely delete the old one and then install the new one. What you can do is clear the cache and completely delete the mod, then extract the latest version again. Tom and Tina can be selected to have the NV trait. The NV and the victim speak after an attack due to a WW option called "talk after sex." If you disable it, they no longer do this. I made a cheat to prevent this from happening with NVs, but it seems to work sometimes and not sometimes.
Hey BaiQing! Thanks so much for your work on this mod. I have a quick question: I'm on game version 1.125.59, and the mod doesn't seem to initialize at all. The config file (victima_data) stays completely empty and won't get created. Do you know what might be causing this, or is an update planned for the current patches? Thanks
The current game version is 1.126.73. And it works correctly. If you have an older version, perhaps you could use an older version of the mod?
