
Exceptions while controling employees - Businesses & Hobbies EP
eltorrento opened this issue · 2 comments
Hello,
While controling NPC as hired employee game freezes and throws many exceptions in MCCC log file (not typical lastexception file).
Only 2 mods installed (ControlAnySim and MCCC) - fresh game save.
Exception message generated in mccc log file:
[Mar-17-2025 16:45:37]Traceback (most recent call last):
File "T:\InGame\Gameplay\Scripts\Server\server_commands\interaction_commands.py", line 874, in create_pie_menu_message
File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 4090, in get_name
File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 3938, in get_simoleon_cost
File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 3938, in <genexpr>
File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 3921, in get_simoleon_deltas_gen
File "T:\InGame\Gameplay\Scripts\Server\interactions\payment\payment_element.py", line 88, in get_simoleon_delta
File "T:\InGame\Gameplay\Scripts\Server\interactions\payment\tunable_payment.py", line 70, in get_simoleon_delta
File "T:\InGame\Gameplay\Scripts\Server\interactions\payment\payment_cost.py", line 166, in get_simoleon_delta
File "T:\InGame\Gameplay\Scripts\Server\interactions\payment\payment_cost.py", line 217, in get_amount
File "T:\InGame\Gameplay\Scripts\Server\interactions\payment\payment_altering_service.py", line 111, in get_payment_extra_modifier
File "T:\InGame\Gameplay\Scripts\Server\small_business\small_business_income_data.py", line 471, in should_apply_markup_for_payment_extra
File "T:\InGame\Gameplay\Scripts\Server\small_business\small_business_income_data.py", line 576, in _should_apply_markup_for_gain
AttributeError: 'property' object has no attribute 'household_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Builds\MCCC_2025_1_1\mc_cmd_center\mc_logging.py", line 960, in log_exception_report
File "E:\Builds\MCCC_2025_1_1\mc_cmd_center\mc_logging.py", line 1023, in _exception_report_html
File "E:\Builds\MCCC_2025_1_1\mc_cmd_center\mc_logging.py", line 1253, in _write_sim_info
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Steps:
- Create a new game, make at least 2 young adult/adult sims in your household
- Play your household (buy any lot etc.)
- Go to phone → Business → Buy a Small Business Venue Lot - choose any location
- In "Owned Businesses" panel open Small Business Settings
- Choose "Spa" preset / add: Do Spa Activities, Do Yoga, Work Out, Be Friendly - click confirm
- Go to build mode: buy massage table, 1x instructors yoga mat, normal yoga mat, any treadmill
- Go back to live mode: In "Owned Businesses" panel click Manage Employees and hire any sim that does not belong to your household
- Click "Open ($75)"
- Click on your hired NPC → Actions → Control Sim
- While controling NPC employee click on Instructors Yoga Mat or Massage Table
Expected: The pie menu appears with objects options immediately
Problem: Game becomes unresponsive for 10-15s then throws multiple "Error Logged" messages.
Thanks for this very detailed issue. I appreciate that. I will look into the exception.