More Awesome Than You!

TS2: Burnination => Oops! You Broke It! => Topic started by: Toast on 2007 August 02, 00:09:19



Title: Influence meter gone nuts
Post by: Toast on 2007 August 02, 00:09:19
One of my sims hit his (second or third) LTW and got the green +25,000 asp flash over his head... and then a RED -15,763 influence or something like that. So he gained aspiration and yet his entire influence meter was drained, and by a number that seems like a garbage value, since it ended in an odd number.

It was obviously a glitch so I used the sim modder to fill his influence meter again. Then it happened again. He made 30 friends, got the green +30,000 asp, and then the red -15,763 influence and his meter was drained. The sim in question is permaplat and has the business perk that gives you x5 influence points, so WTF? I know to most people influence is useless but this sim uses it a lot to keep his businesses clean. I can always refill his meter manually but I'm worried this is a sign of some other problem.

I don't have an error log since it's not a glitch I think I can reproduce on command.  ???  I have 5 Awesome hacks and that's it.


Title: Re: Influence meter gone nuts
Post by: ScoobyDoo on 2007 August 02, 00:16:29
Could this interger overflow, throwing the values into the negative range?


Title: Re: Influence meter gone nuts
Post by: Venusy on 2007 August 02, 00:19:24
EA decided to store the number of influence points you have as a 16-bit integer. Unfortunately, this means that if you get over 32767 (?) influence points in one shot, the number loops back around and becomes negative. If you can figure out a way of removing the perk, then do that, otherwise just don't fulfil any more LTWs with this sim.


Title: Re: Influence meter gone nuts
Post by: Toast on 2007 August 02, 00:34:08
EA decided to store the number of influence points you have as a 16-bit integer. Unfortunately, this means that if you get over 32767 (?) influence points in one shot, the number loops back around and becomes negative. If you can figure out a way of removing the perk, then do that, otherwise just don't fulfil any more LTWs with this sim.

I see, so it's BECAUSE he has the x5 influence perk, not in spite of it? What a pain in the ass. Still, comforting to know it's not an explosion waiting to happen.

And believe me, he's hit enough LTWs for ten lifetimes and he ain't getting any more. :P


Title: Re: Influence meter gone nuts
Post by: B on 2007 August 02, 11:16:11
The nice thing about this "feature" is that it forces me to fulfill lesser wants even after reachin perma-plat.  If it is really a bother, you can drop the 5x perk.


Title: Re: Influence meter gone nuts
Post by: J. M. Pescado on 2007 August 02, 14:09:40
EA decided to store the number of influence points you have as a 16-bit integer. Unfortunately, this means that if you get over 32767 (?) influence points in one shot, the number loops back around and becomes negative. If you can figure out a way of removing the perk, then do that, otherwise just don't fulfil any more LTWs with this sim.
The real problem is that they didn't put a wraparound check anywhere. Unfortunately, the problem is hardcoded and can't be fixed.