7 years ago
Value out of range when using custom objectives
Hello @SimGuruModSquad, @SimGuruEugi,
I'm encountering the error below when attempting to save while using custom objectives in some of my custom careers. I'm not quite sure on the exact behavior that is causing this error, but I've noticed so far that :
- Careers with aspirations containing one custom objective seem to work fine
- Careers with aspirations containing one custom objective and one vanilla objective cause the error
I've tested several different custom objectives and the error isn't specific to one of them. The issue isn't new to the Pets patch.
https://i.imgur.com/8eUMF6A.png
Here are some of the mods that showcase the issue :
- The custom objectives : Neia_Careers_Common.zip
- A custom career that causes the error : Neia_Careers_Architecture.zip (2nd level of the Urban Planning track for example)
- A custom career using custom objectives that works fine : Neia_Careers_Military.zip (5th level of the Navy track for example)
I've uploaded them through the Box.com upload widget provided by SimQARobo
Here is the lastException generated :
I'm encountering the error below when attempting to save while using custom objectives in some of my custom careers. I'm not quite sure on the exact behavior that is causing this error, but I've noticed so far that :
- Careers with aspirations containing one custom objective seem to work fine
- Careers with aspirations containing one custom objective and one vanilla objective cause the error
I've tested several different custom objectives and the error isn't specific to one of them. The issue isn't new to the Pets patch.
https://i.imgur.com/8eUMF6A.png
Here are some of the mods that showcase the issue :
- The custom objectives : Neia_Careers_Common.zip
- A custom career that causes the error : Neia_Careers_Architecture.zip (2nd level of the Urban Planning track for example)
- A custom career using custom objectives that works fine : Neia_Careers_Military.zip (5th level of the Navy track for example)
I've uploaded them through the Box.com upload widget provided by SimQARobo
Here is the lastException generated :
2 4c82c28059ac4ab15a03902b desync ea.maxis.sims4_64.15.pc 2017-11-09 00:17:07 Local.Unknown.Unknown.1.36.99.1020-1.200.000.311.Release cpp_message.py:107 4c82c28059ac4ab15a03902b Save failed due to Exception (ValueError: Value out of range: 9335136262146487638) Traceback (most recent call last): Caught and logged: File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 195, in wrapper File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 200, in c_api_server_tick File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 212, in simulate File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 376, in _run File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 378, in call_save_game_gen File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 395, in request_client_disconnect_gen File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 394, in save_to_scratch_slot_gen File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 412, in save_game_gen File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 459, in _save_game_gen File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 455, in _save_game_gen File "T:\InGame\Gameplay\Scripts\Server\services\persistence_service.py", line 514, in _fill_and_send_save_game_protobufs_gen File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 512, in save_all_services File "T:\InGame\Gameplay\Scripts\Server\zone_manager.py", line 118, in save File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 1412, in save_zone File "T:\InGame\Gameplay\Scripts\Server\game_services.py", line 48, in save_all_services File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 512, in save_all_services File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info_manager.py", line 133, in save File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info.py", line 2054, in save_sim File "T:\InGame\Gameplay\Scripts\Server\sims\sim_info.py", line 2426, in _save_sim_attributes File "T:\InGame\Gameplay\Scripts\Server\aspirations\aspirations.py", line 435, in save File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_data_tracker.py", line 375, in save File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_data_object.py", line 253, in save File "T:\InGame\Gameplay\Scripts\Server\event_testing\event_data_object.py", line 448, in save File "T:\InGame\Gameplay\Scripts\Core\google\protobuf\internal\cpp_message.py", line 107, in Setter ValueError: Value out of range: 9335136262146487638