May 2021 - last edited August 2022 by crinrict
Product: The Sims 4
Which language are you playing the game in? English
How often does the bug occur? Every time (100%)
What is your current game version number? 184.108.40.2060
What expansions, game packs, and stuff packs do you have installed? All with the exception of:: Bust the Dust Kit Country Kitchen Kit Journey to Battu
Steps: How can we find the bug ourselves? The Sim takes the lifeguard part-time job as a teen and then the sim requests a day off.
What happens when the bug occurs? When the sim requests a day off, they will reset position (T-pose) and the time off won't be taken (the days of vacation aren't reduced either.) They will then go to work because the game has not acknowledged their day off despite having vacation days.
What do you expect to see? I expect the game to allow the sim to take their PTO if the days are available. This is how it works with every other career (and school) I have tested.
Have you installed any customization with the game, e.g. Custom Content or Mods? Not now. I've removed them.
Did this issue appear after a specific patch or change you made to your system? Neutral/Not Sure
This shows the sim trying to take PTO but it isn't acknowledged
Edit By Crinrict: Added Tag to Title
@Pizzaboy609 Hi! I tested this in my game and I agree there's a bug here. My teen sim tried to take PTO for her Thursday, Friday and Saturday shifts. After the phone call, there was no acknowledgement that she had taken PTO, her PTO balance did not change and she went to work on her own. The timing of the request does not seem to be a factor either. I tried having her request it after school on Thursday (about two hours before start of shift) and then on Friday, she requested it before school (about 11 hours before shift). Hopefully someone will take a look at this and fix it!
I've just encountered this issue today, roughly 11 hours before my sim's shift. Through BE, I got this:
Exception when applying action for loot <class 'sims4.tuning.instances.Loot_Career_PTO_PartTime_Lifeguard'> (AttributeError: 'NoneType' object has no attribute 'request_day_off')
Traceback (most recent call last):
File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 179, in wrapper
File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 209, in c_api_server_tick
File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v167g\injector.py", line 26, in _wrapped_function
File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v167g\zone_tick.py", line 74, in _turbolib_zone_game_update
File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 486, in update
File "T:\InGame\Gameplay\Scripts\Server\time_service.py", line 112, in update
File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 212, in simulate
File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run
File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\outcome.py", line 160, in on_loot
File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 135, in apply_operations
File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 524, in apply_to_resolver
File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot_basic_op.py", line 282, in apply_to_resolver
File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 325, in _apply_to_subject_and_target
File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 348, in _apply_to_career
AttributeError: 'NoneType' object has no attribute 'request_day_off'rtim=0
ClientInfo isn't here
I was able to take time off for every other sim in the household where it was availble (law). I'll note that this sim is a teen, and everyone else is an adult.
August 2022 - last edited August 2022
Me, too. I thought it was related to the "can't retire" bug, but no! My Sim missed work to attend her brother's wedding.
Here's my LE:
This thread is like a year and a half old, but this is definitely not fixed. Taking a vacation day from the lifeguard job still makes the sim reset and it won't register as actually taking a vacation day. All the other jobs work fine so I don't understand why this one isn't. Annoying.
I had a look at this, and I think I've worked out what's wrong with it;
There are two separate Lifeguard careers - one that Young Adults, Adults and Elders can join (career_Adult_PartTime_Lifeguard), and one that is specific to Teens (career_Teen_Lifeguard). Both of these careers have a separate interaction tuning for taking PTO; the one that is of interest here is the phone_TakePTO_PartTime_Lifeguard_Teen tuning, as the one for Adults works correctly. Specifically, it is what is in the loot_list of the outcome (see spoiler below)
<L n="loot_list"> <T>214848<!--Loot_Career_PTO_PartTime_Lifeguard--></T> # this is the problem <T>111106<!--loot_Career_PTO_Reset--></T> <T>245770<!--Loot_Lifestyles_Progress_Lock_Workaholic--></T> </L>
The 214848<!--Loot_Career_PTO_PartTime_Lifeguard--> referenced here is the problem, because this is what is used for Adults to take PTO, and as such only has the reference for its respective career - see spoiler below
<L n="loot_actions"> <V t="career_loot"> <U n="career_loot"> <V n="career" t="career_reference"> <U n="career_reference"> <T n="reference">205662<!--career_Adult_PartTime_Lifeguard--></T> </U> </V> <L n="operations"> <V t="take_day_off"> <U n="take_day_off"> <E n="reason">PTO</E> </U> </V> <V t="pto"> <U n="pto"> <T n="amount">-1</T> </U> </V> </L> </U> </V> </L>
The teen will not have the career specified in the loot, so it tries to apply PTO to a career the Sim does not have (hence the 'NoneType' object has no attribute 'request_day_off' part of the the error - the NoneType in this instance being a currently non-existant career with respect to the Sim).
The solution for this should be fairly simple, by adding a new loot with the same format as above, but referencing the Teen specific Lifeguard career instead, and then referencing that loot in the Interaction tuning mentioned above instead of the existing one.
I have the same issue (teen just T posing at the last second when trying to take PTO for Lifeguard career). It's annoying that this issue has not been fixed yet, it's been some time.