Mod Others The Sims 4 Community Library [v3.3] [ColonolNutty]

5.00 star(s) 2 Votes

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
TS4CommunityLib.png

Overview:
An API used to make creating/writing mods using Python much easier and more accessible. On its own it does only a few debug commands/interactions. Only install this API if you also have a mod installed that requires it! This mod is intended to always be backwards compatible, so it is recommended to always keep it up to date!​

Updated: 04-09-2024
Game/Creator: The Sims 4 [EA]
Modder: ColonolNutty - - - - (Pre Release Builds Available There)
Mod Version: v3.3
Language: English
Game Version: 1.105.332.1020 (For Rent) and above

Features:
You don't have permission to view the spoiler content. Log in or register now.

Installation:
You don't have permission to view the spoiler content. Log in or register now.

Translations:
You don't have permission to view the spoiler content. Log in or register now.

Usage (For Mod Authors):
You don't have permission to view the spoiler content. Log in or register now.

Change-Log:
You don't have permission to view the spoiler content. Log in or register now.

Download:
 
Last edited:

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
With the latest version (v1.64) be sure to remove the "sims4communitylib.json" file and put the "sims4communitylib.config" file in its place! Keep it with the "sims4communitylib.ts4script" file as always.
 

rogalix

Newbie
Mar 29, 2021
36
17
:( Please store "sims4communitylib.config" in Mods/../mod_config/sims4communitylib/
Creating a default if missing would be very simple and nice, so there'd be no need to distribute it.
I think it logs to Mods/../mod_logs/ already.
 
  • Like
Reactions: LordVoldemort24

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
:( Please store "sims4communitylib.config" in Mods/../mod_config/sims4communitylib/
Creating a default if missing would be very simple and nice, so there'd be no need to distribute it.
I think it logs to Mods/../mod_logs/ already.
Oh, that is smart! That'll make the install even easier! I'm not sure I want to have individual sub folders for a single file per mod though.

Edit: That'll be in the next update, thank you for the amazing suggestion!
 
Last edited:
  • Like
Reactions: ~Leri~

rogalix

Newbie
Mar 29, 2021
36
17
Oh, that is smart! That'll make the install even easier! I'm not sure I want to have individual sub folders for a single file per mod though.

Edit: That'll be in the next update, thank you for the amazing suggestion!
I hope you'll to do this also for other mods. This mod has only one config file, others may have much more files. Puttinig it in a dedecated folder keeps mod_data free of files, even if you add later more ini files to the mod.
If others adopt the idea it may be better to have only folders in mod_data.
 

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
The error where only the Log All Interactions interaction was available for the Phone and Relationship Panel as well as where the Cheat Menu was the only menu available when clicking on Sims has been fixed in 1.69!
 

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
Even though the bug has been fixed, I want to formally apologize for not being thorough enough with my testing, unintentionally introducing an extremely annoying bug. This bug only allowed Cheat Interactions to be displayed when clicking on the phone, relationship panel, on Sims, on Objects, and various other places. It only occurred for those who were using Non-English languages in Windows. I hope you guys can forgive me for introducing this within a stable (up until now) API for others to make mods from.
 

rogalix

Newbie
Mar 29, 2021
36
17
Worst case is that one has no backup and has to live with an issue quite long. As long as the previous versions are available on Github everyone can one to avoid this issue. Reporting the last good/first bad version seems to have helped to fix it quite fast.
 

tarina

New Member
Jun 27, 2021
3
0
Hi, I need help.
There's no sims4communitylib.config in the folder and the DD mod doesn't work (the game doesn't see it) although I did everything according to the instructions.
 

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
Hi, I need help.
There's no sims4communitylib.config in the folder and the DD mod doesn't work (the game doesn't see it) although I did everything according to the instructions.
With recent versions I have removed the S4CL.config file from the main folder and instead create it at runtime. I did this because people consistently installed it in the wrong place. Load into a household once, then it should be created next to your ts4script file automatically.

Ask for help in the Devious Desires support thread for DD issues.
 

keke0226

New Member
Mar 6, 2021
3
0
I get a lot of errors in a short time when I go to the Cottage Living location
Repeating the same content
Sims4CommunityLib_Exceptions.txt

[Sims4CommunityLib] 2021-07-27 22: 21: 56.228465 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 "sims4communitylib \ utils \ common_injection_utils.py", line 97, in _wrapped_function
File "sims4communitylib \ events \ zone_update \ common_zone_update_event_dispatcher.py", line 79, in _common_zone_update
File "fallen \ fallenlib \ utils \ falleninjector.py", line 23, in _wrapped_function
File "fallen \ fallenlib \ events \ zone_tick.py", line 40, in _fallen_on_zone_update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ injector.py", line 26, in _wrapped_function
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ zone_tick.py", line 81, in _turbolib_zone_game_update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ zone.py", line 485, in update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 745, in update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 520, in run
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 461, in _create_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ tunable.py", line 4014, in create_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ household_template.py", line 374, in create_household
File "E: \ Builds \ MCCC_2021_1_1 \ mc_cmd_center \ mc_utils.py", line 181, in _wrapper_function
File "E: \ Builds \ MCCC_2021_1_1 \ mc_population \ mc_population_inject.py", line 147, in inject_simspawner_creation
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ utilities \ nisa_injector.py", line 12, in _wrapped_function
File "fallen \ fallenlib \ exceptions \ exception_wrapper.py", line 131, in _wrapper
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ wickedpervs \ main_misc.py", line 67, in _nisa_create_sim_infos
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_spawner.py", line 634, in create_sim_infos
File "sims4communitylib \ utils \ common_injection_utils.py", line 102, in _wrapped_function
File "sims4communitylib \ exceptions \ common_exceptions_handler.py", line 39, in log_exception
File "sims4communitylib \ utils \ common_injection_utils.py", line 97, in _wrapped_function
File "sims4communitylib \ events \ sim \ common_sim_event_dispatcher.py", line 175, in _common_on_sim_load
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ utilities \ nisa_injector.py", line 12, in _wrapped_function
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ wickedpervs \ main_misc.py", line 100, in _nisaK_like_pleaseeeee_remove_my_cas_traits
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ injector.py", line 26, in _wrapped_function
File ". \ WickedWhims_v165h \ turbolib2 \ events \ sims.py", line 78, in _turbolib_sim_info_load
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_info.py", line 3221, in load_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_info.py", line 3310, in _load_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 316, in get_randomized_progress
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 159, in get_age_transition_data
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 152, in get_aging_data
KeyError: 5
Error occurred while injecting into function'_common_on_sim_load' of class'SimInfo'-> KeyError: 5
 

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
I get a lot of errors in a short time when I go to the Cottage Living location
Repeating the same content
Sims4CommunityLib_Exceptions.txt

[Sims4CommunityLib] 2021-07-27 22: 21: 56.228465 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 "sims4communitylib \ utils \ common_injection_utils.py", line 97, in _wrapped_function
File "sims4communitylib \ events \ zone_update \ common_zone_update_event_dispatcher.py", line 79, in _common_zone_update
File "fallen \ fallenlib \ utils \ falleninjector.py", line 23, in _wrapped_function
File "fallen \ fallenlib \ events \ zone_tick.py", line 40, in _fallen_on_zone_update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ injector.py", line 26, in _wrapped_function
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ zone_tick.py", line 81, in _turbolib_zone_game_update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ zone.py", line 485, in update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 745, in update
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 520, in run
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ sim_filter_service.py", line 461, in _create_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ tunable.py", line 4014, in create_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ filters \ household_template.py", line 374, in create_household
File "E: \ Builds \ MCCC_2021_1_1 \ mc_cmd_center \ mc_utils.py", line 181, in _wrapper_function
File "E: \ Builds \ MCCC_2021_1_1 \ mc_population \ mc_population_inject.py", line 147, in inject_simspawner_creation
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ utilities \ nisa_injector.py", line 12, in _wrapped_function
File "fallen \ fallenlib \ exceptions \ exception_wrapper.py", line 131, in _wrapper
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ wickedpervs \ main_misc.py", line 67, in _nisa_create_sim_infos
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_spawner.py", line 634, in create_sim_infos
File "sims4communitylib \ utils \ common_injection_utils.py", line 102, in _wrapped_function
File "sims4communitylib \ exceptions \ common_exceptions_handler.py", line 39, in log_exception
File "sims4communitylib \ utils \ common_injection_utils.py", line 97, in _wrapped_function
File "sims4communitylib \ events \ sim \ common_sim_event_dispatcher.py", line 175, in _common_on_sim_load
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ utilities \ nisa_injector.py", line 12, in _wrapped_function
File "E: \\ Python3_7_0 \\ version_vault \\ LL \ LL_3_1d \ NisaK \ wickedpervs \ main_misc.py", line 100, in _nisaK_like_pleaseeeee_remove_my_cas_traits
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ masked \ v165h \ injector.py", line 26, in _wrapped_function
File ". \ WickedWhims_v165h \ turbolib2 \ events \ sims.py", line 78, in _turbolib_sim_info_load
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_info.py", line 3221, in load_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ sim_info.py", line 3310, in _load_sim_info
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 316, in get_randomized_progress
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 159, in get_age_transition_data
File "T: \ InGame \ Gameplay \ Scripts \ Server \ sims \ aging \ aging_mixin.py", line 152, in get_aging_data
KeyError: 5
Error occurred while injecting into function'_common_on_sim_load' of class'SimInfo'-> KeyError: 5
"More CAS Parts" is the cause.
 

dekubakuchili

New Member
Jul 26, 2021
3
0
Please help! I've downloaded some of the animations you recommend on dd, and I've downloaded s4cl and the mod menu, but it still say's no animations found, and before i have the milking breast menu, but now nothing, (that time exists because I still have the file v.1.71 after i deleted it and change to the newest version, it's disappear)
 

LordVoldemort24

Active Member
Dec 3, 2018
595
1,011
B
Please help! I've downloaded some of the animations you recommend on dd, and I've downloaded s4cl and the mod menu, but it still say's no animations found, and before i have the milking breast menu, but now nothing, (that time exists because I still have the file v.1.71 after i deleted it and change to the newest version, it's disappear)
I do not offer support for issues with mods that use S4CL in the S4CL thread. Please navigate to the appropriate thread for help. https://f95zone.to/threads/devious-desires-v3-0-colonolnutty.70865/
 
5.00 star(s) 2 Votes