r/sims2help • u/EgonVM • 56m ago
Technical Support Custom Mr. Big & Diva/Slob Throwing AttractionScore Errors
Hello!
I am building a custom neighborhood with custom NPCs and townies. Every Sim seems to be working fine except for the special townies known as Dateable Mr. Big/Diva and Slobs.
How I made these NPC Sims is that in SimPE, I opened up the Sims' character files and replaced the Orig. GUID with the ones the Dateable Special Townies use (0xEF826029 for Divas, 0xCF7A514E for Slobs).
Whenever their special idle behavior is called (primping and being gross), they'll do these fine.
But they constantly throw these errors:
Error: Problem executing script (AttractionScore): Run-time:
(none):0: attempt to perform arithmetic on field \?' (a nil value)`
stack traceback:
(none): in function \AttractionScore'`
When I look into the error log, I'll see that they're trying to get the Attraction score of a non-Sim object?
Iterations: 1
Frame 10:
Stack Object id: 346
Stack Object name: Table - Mahjong - 1, 2 - P2 - S
Node: 15
Tree: id 1026 name 'Attraction - EP2 - Get in Temp 0 - Score' version -32715
from global
Prim state: 2
Params: 346 1 844 Locals: 0 0 0 0 0 0
Frame 9:
Stack Object id: 910
Stack Object name: N019_User00316 - N6FGTour
Node: 4
Tree: id 4107 name 'Look At - Attraction' version -32741
from Routing_LookAt
Prim state: 0
Params: 910 910 Locals: 0 0 0 458 0
...
I have two The Sims 2 games installed: a modded one and an unmodded one. They cause issues for both of the games. When testingcheats are disabled, they will constantly reset themselves and random Sims until they either do special idle animation or leave. Whenever I try to have my Sim interact with them, they'll get reset immediately.
I tried looking into SimPE what these townies have set specifically for them, but I couldn't find much, especially in the neighborhood.package file.
I'm out of ideas, so I thought I'd come ask here. Any ideas on what to do? How to make a sim created in CAS and set as a Dateable Special Townie through SimPE not ruin the gameplay experience?

