Re: [IL] Lifeguard part time job cannot take a day off

by JonaO703
Reply

Original Post

[FIXED] [IL] Lifeguard part time job cannot take a day off

[ Edited ]
★★★ Novice

Product: The Sims 4
Platform:PC
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? 1.73.57.1030
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

Message 1 of 11 (6,479 Views)

Re: [IL] Lifeguard part time job cannot take a day off

Champion

@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! Standard smile

CCP Champion Banner - Blue.png


Please help other players:
Add XP to posts you think are helpful.
Click Accept As Solution for posts that resolve your issue.
Happy Simming!

Message 2 of 11 (6,320 Views)

Re: [IL] Lifeguard part time job cannot take a day off

★★★ Novice
@JonaO703 Yeah I tried like at 4 different points and he just "reset" and was made to go anyway. The tense moodlets for vacation needed kept getting on my nerves so I have avoided the career for now - hopefully will be fixed soon
Message 3 of 11 (6,294 Views)

Re: [IL] Lifeguard part time job cannot take a day off

★★★★★ Novice

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.

Message 4 of 11 (6,094 Views)

Re: [IL] Lifeguard part time job cannot take a day off

[ Edited ]
★★★★ Expert

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:

 

Spoiler
<?xml version="1.0" ?><root>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 00:18:44</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>snippets.py:206</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>[BE Interceptor] BE intercepted this error from a separate mod log so that it can scan for the issue. (AttributeError: 'AgingTransition' object has no attribute '_age_duration')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 179, in wrapper&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 209, in c_api_server_tick&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\injector.py", line 26, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\zone_tick.py", line 74, in _turbolib_zone_game_update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 487, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\time_service.py", line 117, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 25, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 53, in _gtu_on_sim_timeline_simulation&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\alarms.py", line 293, in _run&#13;&#10; File "E:\Builds\MCCC_2022_4_2\mc_cmd_center\mc_shared_alarms.py", line 396, in process_alarm&#13;&#10; File "E:\Builds\MCCC_2022_4_2\mc_pregnancy\mc_pregnancy.py", line 196, in check_for_random_pregnancies&#13;&#10; File "E:\Builds\MCCC_2022_4_2\mc_pregnancy\mc_pregnancy.py", line 209, in _check_for_random_pregnancies&#13;&#10; File "E:\Builds\MCCC_2022_4_2\mc_pregnancy\mc_pregnancy.py", line 686, in is_valid_pregnant_sim&#13;&#10; File "E:\Builds\MCCC_2022_4_2\mc_cmd_center\mc_utils.py", line 1054, in get_days_til_ageup&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\snippets.py", line 206, in __getattr__&#13;&#10;AttributeError: 'AgingTransition' object has no attribute '_age_duration'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 01:06:22</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>career_ops.py:370</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>Exception when applying action &lt;CareerLootOp ParticipantType.Actor&gt; for loot &lt;class 'sims4.tuning.instances.Loot_Career_PTO_PartTime_Lifeguard'&gt; (AttributeError: 'NoneType' object has no attribute 'request_day_off')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 179, in wrapper&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 209, in c_api_server_tick&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\injector.py", line 26, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\zone_tick.py", line 74, in _turbolib_zone_game_update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 487, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\time_service.py", line 117, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 25, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 53, in _gtu_on_sim_timeline_simulation&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\outcome.py", line 160, in on_loot&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 144, in apply_operations&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 550, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot_basic_op.py", line 285, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 347, in _apply_to_subject_and_target&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 370, in _apply_to_career&#13;&#10;AttributeError: 'NoneType' object has no attribute 'request_day_off'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 01:06:22</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>career_ops.py:347</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception running Element (AttributeError: 'NoneType' object has no attribute 'request_day_off')&#13;&#10;Traceback (most recent call last):&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\outcome.py", line 160, in on_loot&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 144, in apply_operations&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 551, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 548, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot_basic_op.py", line 285, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 347, in _apply_to_subject_and_target&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 370, in _apply_to_careerAttributeError: 'NoneType' object has no attribute 'request_day_off'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 01:07:06</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>career_ops.py:370</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>Exception when applying action &lt;CareerLootOp ParticipantType.Actor&gt; for loot &lt;class 'sims4.tuning.instances.Loot_Career_PTO_PartTime_Lifeguard'&gt; (AttributeError: 'NoneType' object has no attribute 'request_day_off')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10; File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 179, in wrapper&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 209, in c_api_server_tick&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\injector.py", line 26, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\sims\masked\v35\zone_tick.py", line 74, in _turbolib_zone_game_update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 487, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\time_service.py", line 117, in update&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 25, in _wrapped_function&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling\masked\simulation\unclog\__init__.py", line 53, in _gtu_on_sim_timeline_simulation&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\outcome.py", line 160, in on_loot&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 144, in apply_operations&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 550, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot_basic_op.py", line 285, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 347, in _apply_to_subject_and_target&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 370, in _apply_to_career&#13;&#10;AttributeError: 'NoneType' object has no attribute 'request_day_off'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 01:07:06</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>career_ops.py:347</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception running Element (AttributeError: 'NoneType' object has no attribute 'request_day_off')&#13;&#10;Traceback (most recent call last):&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 335, in _run&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\outcome.py", line 160, in on_loot&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 144, in apply_operations&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 551, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot.py", line 548, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\utils\loot_basic_op.py", line 285, in apply_to_resolver&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 347, in _apply_to_subject_and_target&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\careers\career_ops.py", line 370, in _apply_to_careerAttributeError: 'NoneType' object has no attribute 'request_day_off'rtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
<report><version>2</version><sessionid>6413c2de495a345362ef339d</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2022-08-07 01:18:46</createtime><buildsignature>Local.Unknown.Unknown.1.90.375.1020-1.300.000.144.Release</buildsignature><categoryid>custom_states_situation_states.py:26</categoryid><desyncid>6413c2de495a345362ef339d</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception running Element (KeyError)&#13;&#10;Traceback (most recent call last):&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 216, in simulate&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\alarms.py", line 260, in _run&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\situations\effect_triggering_situation_state.py", line 255, in _duration_complete&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\situations\custom_states\custom_states_situation_states.py", line 26, in __call__&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\situations\custom_states\custom_states_situation.py", line 225, in change_state_by_keyKeyErrorrtim=0&#13;&#10;ClientInfo isn't here</desyncdata></report>
</root>

 

Message 5 of 11 (5,912 Views)
0

Re: [OPEN] [IL] Lifeguard part time job cannot take a day off

★★ Novice

I have also had this problem today and it’s a year later. 😩 someone fix this 🥺

Message 6 of 11 (5,264 Views)

Re: [OPEN] [IL] Lifeguard part time job cannot take a day off

★★★★★ Novice

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.

Message 7 of 11 (4,973 Views)
0

Re: [OPEN] [IL] Lifeguard part time job cannot take a day off

★ Guide

 

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)

 

 

Spoiler
                <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

Spoiler
    <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.

 

 

Message 8 of 11 (4,964 Views)

Re: [OPEN] [IL] Lifeguard part time job cannot take a day off

★ Novice

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. 

Message 9 of 11 (3,854 Views)

Re: [OPEN] [IL] Lifeguard part time job cannot take a day off

★★★★★ Newbie

Also still getting this bug in october, driving me INSANE.

Message 10 of 11 (3,265 Views)
0