Post by PBJelly on Jun 11, 2020 17:16:14 GMT -5
Hi, I was messing around with the photo collage that came with Moschino and was trying to use the new slot type on a base game object. It didn't had a large slot for large photos so I tried to make one. I think I have found all the tuning that allows the creation of a new slot type and I added the slot type set instance to the Slot part of the package. When I tested it in the game with the large portrait photo this happened: A photo on the wall is picked up and hovered to the object containing the custom slot and snaps to it but when put on the slot, the photo goes back to the wall and it creates a Last Exception. I already knew in the back of my head that this is also not possible but I just wanted to experiment. I"ll post the link to the package if you want to see it.
Here is the last exception if anyone wants to help me:
Here is the last exception if anyone wants to help me:
{Spoiler}
<!--?xml version="1.0" ?--><root>
<report><version>2</version><sessionid>910aea22205706fb5ee2a7fd</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2020-06-11 17:58:32</createtime><buildsignature>Local.Unknown.Unknown.1.63.136.1010-1.200.000.452.Release</buildsignature><categoryid>client_object_mixin.py:1362</categoryid><desyncid>910aea22205706fb5ee2a7fd</desyncid><systemconfig></systemconfig><screenshot></screenshot><desyncdata>Exception in <function c_api_set_parent_object at 0x00007FF4D1506830>, args: (243769859065905252, 486964200562688384, Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, 1095303796, 68129314843338653), kwargs: []
AttributeError("'NoneType' object has no attribute 'bb_only'") (AttributeError: 'NoneType' object has no attribute 'bb_only')
Traceback (most recent call last):
File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper [
args : (243769859065905252, 486964200562688384, Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, 1095303796, 68129314843338653),
kwargs : [],
exception : 'NoneType' object has no attribute 'bb_only',
default_return : -1,
fn : <function c_api_set_parent_object at 0x00007FF4D1506830>,
log_invoke : False]
File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 377, in c_api_set_parent_object [
obj_id : 243769859065905252,
parent_id : 486964200562688384,
transform : Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)),
joint_name : None,
slot_hash : 1095303796,
zone_id : 68129314843338653]
File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 402, in set_parent_object [
obj_id : 243769859065905252,
parent_id : 486964200562688384,
transform : Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)),
joint_name : None,
slot_hash : 1095303796,
obj : object_Photo_PortraitLarge:0x03620b6530920064,
parent_obj : object_painting:0x06c20b5c40df0180]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 1533, in set_parent [
self : object_Photo_PortraitLarge:0x03620b6530920064,
args : (object_painting(0x06c20b5c40df0180), Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000))),
kwargs : ['joint_name_or_hash': None, 'slot_hash': 1095303796],
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796)]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 360, in location [
self : object_Photo_PortraitLarge:0x03620b6530920064,
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796)]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 393, in set_location_without_distribution [
self : object_Photo_PortraitLarge:0x03620b6530920064,
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796),
old_location : Location(Transform(Vector3(349.142853, 150.558960, 405.648712), Quaternion(0.000000, 0.662833, 0.000000, 0.748767)), [F20B403A07279D,0,World], joint_name_or_hash=None, parent=None, slot_hash=0),
events : [(object_Photo_PortraitLarge(0x03620b6530920064), Location(Transform(Vector3(349.142853, 150.558960, 405.648712), Quaternion(0.000000, 0.662833, 0.000000, 0.748767)), [F20B403A07279D,0,World], joint_name_or_hash=None, parent=None, slot_hash=0))]]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 1362, in _add_child [
self : object_painting:0x06c20b5c40df0180,
child : object_Photo_PortraitLarge:0x03620b6530920064,
location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796),
bone_name_hash : 1095303796,
found_runtime_slot : RuntimeSlot(owner=object_painting(0x06c20b5c40df0180), slot_name_hash=1095303796, slot_types=frozenset([None])),
runtime_slot : RuntimeSlot(owner=object_painting(0x06c20b5c40df0180), slot_name_hash=1095303796, slot_types=frozenset([None])),
slot_type : None]
AttributeError: 'NoneType' object has no attribute 'bb_only'rtim=0
ClientInfo isn't here</desyncdata></report>
</root>
<!--?xml version="1.0" ?--><root>
<report><version>2</version><sessionid>910aea22205706fb5ee2a7fd</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2020-06-11 17:58:32</createtime><buildsignature>Local.Unknown.Unknown.1.63.136.1010-1.200.000.452.Release</buildsignature><categoryid>client_object_mixin.py:1362</categoryid><desyncid>910aea22205706fb5ee2a7fd</desyncid><systemconfig></systemconfig><screenshot></screenshot><desyncdata>Exception in <function c_api_set_parent_object at 0x00007FF4D1506830>, args: (243769859065905252, 486964200562688384, Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, 1095303796, 68129314843338653), kwargs: []
AttributeError("'NoneType' object has no attribute 'bb_only'") (AttributeError: 'NoneType' object has no attribute 'bb_only')
Traceback (most recent call last):
File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 183, in wrapper [
args : (243769859065905252, 486964200562688384, Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, 1095303796, 68129314843338653),
kwargs : [],
exception : 'NoneType' object has no attribute 'bb_only',
default_return : -1,
fn : <function c_api_set_parent_object at 0x00007FF4D1506830>,
log_invoke : False]
File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 377, in c_api_set_parent_object [
obj_id : 243769859065905252,
parent_id : 486964200562688384,
transform : Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)),
joint_name : None,
slot_hash : 1095303796,
zone_id : 68129314843338653]
File "T:\InGame\Gameplay\Scripts\Server\objects\system.py", line 402, in set_parent_object [
obj_id : 243769859065905252,
parent_id : 486964200562688384,
transform : Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)),
joint_name : None,
slot_hash : 1095303796,
obj : object_Photo_PortraitLarge:0x03620b6530920064,
parent_obj : object_painting:0x06c20b5c40df0180]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 1533, in set_parent [
self : object_Photo_PortraitLarge:0x03620b6530920064,
args : (object_painting(0x06c20b5c40df0180), Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000))),
kwargs : ['joint_name_or_hash': None, 'slot_hash': 1095303796],
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796)]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 360, in location [
self : object_Photo_PortraitLarge:0x03620b6530920064,
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796)]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 393, in set_location_without_distribution [
self : object_Photo_PortraitLarge:0x03620b6530920064,
new_location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796),
old_location : Location(Transform(Vector3(349.142853, 150.558960, 405.648712), Quaternion(0.000000, 0.662833, 0.000000, 0.748767)), [F20B403A07279D,0,World], joint_name_or_hash=None, parent=None, slot_hash=0),
events : [(object_Photo_PortraitLarge(0x03620b6530920064), Location(Transform(Vector3(349.142853, 150.558960, 405.648712), Quaternion(0.000000, 0.662833, 0.000000, 0.748767)), [F20B403A07279D,0,World], joint_name_or_hash=None, parent=None, slot_hash=0))]]
File "T:\InGame\Gameplay\Scripts\Server\objects\client_object_mixin.py", line 1362, in _add_child [
self : object_painting:0x06c20b5c40df0180,
child : object_Photo_PortraitLarge:0x03620b6530920064,
location : Location(Transform(Vector3(0.000000, 0.000000, 0.000000), Quaternion(0.000000, 0.000000, 0.000000, 1.000000)), None, joint_name_or_hash=None, parent=object_painting:0x06c20b5c40df0180, slot_hash=1095303796),
bone_name_hash : 1095303796,
found_runtime_slot : RuntimeSlot(owner=object_painting(0x06c20b5c40df0180), slot_name_hash=1095303796, slot_types=frozenset([None])),
runtime_slot : RuntimeSlot(owner=object_painting(0x06c20b5c40df0180), slot_name_hash=1095303796, slot_types=frozenset([None])),
slot_type : None]
AttributeError: 'NoneType' object has no attribute 'bb_only'rtim=0
ClientInfo isn't here</desyncdata></report>
</root>