header
logo

It’s a Crying Shame (Bugfixes)

INFO
This contains two separate bugfixes for errors which prevent Sims being woken by, and reacting to, loud noises while asleep. In particular, this prevents Sims from having crying babies wake them up during their sleep.

The bugfixes are separated so you can choose one or both of them:

BucksPerkTest - This addresses an assumption made by the script that tests various aspiration and club perk tests. In the event that a required game pack for the test is not installed, the test alway returns a false result, which may not be the required case if the absence of a particular perk is supposed to be tested. This adds a test for this and returns true when appropriate. Specifically, if you don't have the Vampires pack, then your Sims are probably not vampires and so they can't possibly have the perk which prevents them from being woken up by loud noises.

Loud Noise Reaction - A bug in the XML code for the loud noise reaction when being woken up resulted in the Sim being required to be both standing and not standing. Since this is a relatively impossible situation for even the most dexterous of Sims they will never react by holding their ears in annoyance. This removes the requirement that Sims should be not standing and forces them to stand to react - since they are standing from waking up anyway this seemed the best fix.

Neither of these bugfixes are required if you haven't noticed or don't care about the issues they affect. I'll be reporting them to EAxis so that hopefully they will be fixed soon anyway.

A couple of further notes regarding the BucksPerkTest fix:

Although the BucksPerkTest was written to address the issue with Sims being awoken by crying babies, there may be other tests which fail due to the same bug. So just having the Vampires pack doesn't fix the issue, only a proper patch to the code will do so.

There may be unintended side effects of this test working properly, particularly if an XML coder at EAxis did something in their XML as a workaround for some tests. I haven't noticed any strange issues yet, but I've only tested the game for a few hours with the fixed code. If your Sim's heads start exploding (or even something more mundane) please remove the BucksPerkTest fix and let me know. I'll look into whether the issue you've seen was caused by this change if possible (I only have a small handful of packs).

-Scumbumbo

 

EXTRA
Additional Credits

As always, thanks to Kuree and all the others at Sims4Group who have put together the S4PE tool

Special thanks to Aberlour A'Bunadh Scotch for helping me cope with the hours spent trying to figure out why my stupid Sims wouldn't wake up when their babies started crying.