- Site Map >
- Community >
- Sims Discussion >
- Sims 2 >
- Sims 2 Help >
- Solved/Answered - Invalid Constant Error for Romantic Interactions
- Site Map >
- Community >
- Sims Discussion >
- Sims 2 >
- Sims 2 Help >
- Solved/Answered - Invalid Constant Error for Romantic Interactions
Replies: 5 (Who?), Viewed: 2235 times.
#1
10th Apr 2018 at 12:38 PM
Last edited by Sketching : 17th Jun 2019 at 9:08 AM.
Reason: solved
Posts: 978
This user has the following games installed:
Sims 2, University, Nightlife, Open for Business, Pets, Seasons, Bon Voyage, Free Time, Apartment Life
Invalid Constant Error for Romantic Interactions
Hey, there. I was wondering if someone could help me understand this invalid constant error log. The error only comes up between witches and/or warlocks attempting to engage in romantic interactions. I'll be doing a 50/50 to narrow down the cause, but maybe someone knows what could be going on. It also happens in other hoods with this Downloads configuration, so I'm guessing it's mod-related.In a last ditch effort before the inevitable 50/50, I swapped the entire Downloads folder with another one from my back-ups and the error disappeared. The thing is, however, said back-up is identical to the one I replaced, so I'm not sure what's going on there. Two in-game rotations passed when the error popped up again for the same household (but moved into a house since the first time the error happened they were in an apartment), only to once again disappear when I replaced it with the identical back-up.
I guess there must be a trigger of some sort that reactivates the error due to its inconsistency. I'm not sure about it though, and I can't think of anything at the moment that could've happened in-game to cause it.
Error log:
Object id: 582
name: EH05_User00097 - Desdemona
Stack size: 11
Error: Invalid constant.
Iterations: 366
Frame 10:
Stack Object id: 573
Stack Object name: EH05_User00081 - Gertrude
Node: 10
Tree: id 1587 name 'Soc&Rel: Witch STR/LTR/Social Boosts' version -32752
from global
Prim state: 0
Params: 7 582 573 0 Locals: 0 1 0 0 0 0 0 0 0
Frame 9:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 25
Tree: id 1247 name 'Motives - Increment Social (T[0] = "me")' version -32753
from global
Prim state: 0
Params: 573 7 100 Locals: 0 582 0
Frame 8:
Stack Object id: 573
Stack Object name: EH05_User00081 - Gertrude
Node: 45
Tree: id 1246 name 'Soc&Rel: Adjust Soc & Rel ( T[0] = Person A )' version -32741
from global
Prim state: 0
Params: 7 3 1 0 Locals: 0 66 0 573 582 121 0 0
Frame 7:
Stack Object id: 66
Stack Object name: Social - Kiss - Peck
Node: 42
Tree: id 612 name 'Soc&Rel: Adjust Soc & Rel to Other Sim' version -32734
from global
Prim state: 0
Params: 7 6 1 1 Locals: 0 0 0 0
Frame 6:
Stack Object id: 66
Stack Object name: Social - Kiss - Peck
Node: 19
Tree: id 4099 name 'Set Social & Relationship Change' version -32762
from Social_Kiss_Peck
Prim state: 0
Params: Locals: 7 6 1 1
Frame 5:
Stack Object id: 66
Stack Object name: Social - Kiss - Peck
Node: 13
Tree: id 4096 name 'Interaction - Person A' version -32749
from Social_Kiss_Peck
Prim state: 0
Params: Locals:
Frame 4:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 5
Tree: id 281 name 'Wait For Notify' version 8
from global
Prim state: 1
Params: 0 1 Locals:
Frame 3:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 1
Tree: id 8282 name 'Function - Main - Check Queue' version 50
from PersonGlobals
Prim state: 0
Params: Locals: 66
Frame 2:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 3
Tree: id 8283 name 'Function - Main - Loop' version 96
from PersonGlobals
Prim state: 0
Params: 4 20 1 Locals: 0
Frame 1:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 6
Tree: id 8193 name 'Function - Main' version 118
from PersonGlobals
Prim state: 0
Params: Locals: 4 20 0
Frame 0:
Stack Object id: 582
Stack Object name: EH05_User00097 - Desdemona
Node: 1
Tree: id 4096 name 'Function - Main' version 2
from TemplatePerson
Prim state: 0
Params: Locals:
Advertisement
#2
10th Apr 2018 at 1:14 PM
Last edited by Lamare : 10th Apr 2018 at 6:59 PM.
Reason: UPD
Posts: 1,524
Thanks: 15594 in 74 Posts
My first guess - you may have a mod that overwrites BCON # 0x0121 and it's not updated for AL.
I extracted it into this package file for testing purpose. Try running HCDU with it in your downloads folder. See what conflicts. If there will be no conflicts, my guess is wrong. If there will be conflicts, let us see the mod(s). In any case, throw away this file after you're done testing.
UPD. Sigh. It's never the first guess. And I don't have a second =(
*Removed the file*
I extracted it into this package file for testing purpose. Try running HCDU with it in your downloads folder. See what conflicts. If there will be no conflicts, my guess is wrong. If there will be conflicts, let us see the mod(s). In any case, throw away this file after you're done testing.
UPD. Sigh. It's never the first guess. And I don't have a second =(
*Removed the file*
#3
10th Apr 2018 at 2:19 PM
Last edited by Sketching : 11th Apr 2018 at 10:49 AM.
Posts: 978
Thanks, Lamare. It's not showing up with any conflicts in HCDU though. It would've made sense too - the action happens but the error occurs as soon as they separate and the increase in relationship values is supposed to show up. It makes me wonder why witches/warlocks specifically when all other couples have no problems with romantic actions, but that's an AL addition too; my other hoods with different download folders show that they actually have the same set of supernatural-focused mods, so it must be something else.
Edit: It'd be much easier to test if it's consistent, but just replacing the Downloads folder with an exact copy to fix it confuses me - why would it suddenly disappear if it's the same mods anyway? Then again, it's not really fixed because it'll pop up again under as-of-yet unknown, specific circumstances...
Edit: It'd be much easier to test if it's consistent, but just replacing the Downloads folder with an exact copy to fix it confuses me - why would it suddenly disappear if it's the same mods anyway? Then again, it's not really fixed because it'll pop up again under as-of-yet unknown, specific circumstances...
#4
12th Apr 2018 at 8:29 AM
Posts: 355
Thanks: 65 in 4 Posts
Quote: Originally posted by Sketching
It makes me wonder why witches/warlocks specifically when all other couples have no problems with romantic actions, but that's an AL addition too; my other hoods with different download folders show that they actually have the same set of supernatural-focused mods, so it must be something else. |
It's because their romantic action is partly handled by BHAV 0x633 Soc&Rel: Witch STR/LTR/Social Boosts which takes 4 parameters= Increment, "me", Other Person ID ,0. It's called for all romances. It return FALSE with Temp0 set to Increment for all other romances. The error occurs within a comparison to a constant value in BCON 0x121 Misc Constants. So Lamare was right. You most likely has a mod that replace BCON 0x121.
This BCON has constants for costs for potions, cures, serums and Plantman Powder.
Values for SKU:s and University Grades.
Numenators and Denominators for STR, LTR and boosts
The mod is most likely dealing with some of those.
#5
13th Apr 2018 at 7:44 AM
Posts: 978
Thanks, clsve. I opened up Lamare's file to see what the BCON affects. It didn't show any conflicts in HCDU so I'm still trying to narrow the suspects down based on your list of possible suspects.
My biggest problem is that the error doesn't pop up unless triggered by as-of-yet unknown circumstances. Right now, witches and warlocks can engage in romantic interactions without a problem, so I'm having difficulty with the 50/50. I even tried going back a whole rotation to replicate all of the events I remembered, and it didn't show up (of course it wasn't exactly the same, but I was hoping one of the events was the trigger). I'll have to wait for it to happen again and rigorously test it. Hopefully, it won't randomly disappear again.
My biggest problem is that the error doesn't pop up unless triggered by as-of-yet unknown circumstances. Right now, witches and warlocks can engage in romantic interactions without a problem, so I'm having difficulty with the 50/50. I even tried going back a whole rotation to replicate all of the events I remembered, and it didn't show up (of course it wasn't exactly the same, but I was hoping one of the events was the trigger). I'll have to wait for it to happen again and rigorously test it. Hopefully, it won't randomly disappear again.
#6
17th Jun 2019 at 9:11 AM
Posts: 978
Bumping because I was reminded of this thread and I managed to find the source of the error a short while after my last post but forgot to check back in.
I was mulling over Lamare and clsve's posts, trying to find everything related to their suggestions, and I narrowed my search down to a dating-related mod that didn't show up with potential conflicts in HCDU but wasn't actually updated for AL, rendering witches unable to engage in romantic interactions. It was difficult to test as the error was inconsistent in its appearance despite the multiple situations I tested, though removing the mod stopped the error from appearing since. I placed it back in recently to confirm the incompatibility and the error appeared after some time, so I'm relatively certain that I resolved the issue with @Lamare and @clsve's help. I know it's late (so sorry!) but thank you so much for the help!
I was mulling over Lamare and clsve's posts, trying to find everything related to their suggestions, and I narrowed my search down to a dating-related mod that didn't show up with potential conflicts in HCDU but wasn't actually updated for AL, rendering witches unable to engage in romantic interactions. It was difficult to test as the error was inconsistent in its appearance despite the multiple situations I tested, though removing the mod stopped the error from appearing since. I placed it back in recently to confirm the incompatibility and the error appeared after some time, so I'm relatively certain that I resolved the issue with @Lamare and @clsve's help. I know it's late (so sorry!) but thank you so much for the help!
Who Posted
|