crammyboy
|
We are proud to present, the most wonderfull, fully tested, completely bug free.....
...complete pile of crap that is the sims 2.
Sims should now have aspiration decay normally and be able to use aspirational objects correctly.
This doesn't actually fix anything, so there may be other problems with aspirations due to the fact that the secondary aspiration is not set correctly in the token.
*** Withdrawn***
|
|
« Last Edit: 2008 March 09, 12:22:08 by crammyboy »
|
Logged
|
|
|
|
Baroness
witch
Breakfast of Champions!
Senator
Posts: 11636
Shunning the accursed daystar.
|
Welcome back mate.
|
|
|
Logged
|
My fists are named Feminine and Wiles.
|
|
|
Zazazu
Fuzzy Pumpkin
Whiny Wussy
Posts: 8583
Potiron flou
|
He lives!
|
|
|
Logged
|
Capitalism, Ho!"Continue to beat it in masturbatory ecstasy if you like, but only Pescado can make it go away." - Lemmiwinks My Urinal
|
|
|
Tigerlilley
Hentaibait
Senator
Posts: 1920
|
And bears gifts!
|
|
|
Logged
|
<Inge> Yes, at my age it is hard to tell whether something I am saying will make me look incontinent
|
|
|
Aggie
|
He returns with the best fix bypass ever! Thank you, Crammyboy!
|
|
|
Logged
|
"I don't believe in the edit button; it goes against the very core of my being."
|
|
|
J. M. Pescado
|
Weirdness. Why does bypassing the test for bit 4 (unused aspiration) being set somehow fix this? That looked like an entirely legal test to me, unless EAxis reused that bit to indicate something else. Does something actually set that bit? And how does it cause aspirational rewards to apparently fail in silence, as I tried stubbing out all the False returns to the Aspirational Reward Failure test, making it impossible to fail without error-resetting, yet somehow testers reported this continued?
|
|
|
Logged
|
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
|
|
|
Li'l Brudder
|
Geez, Pescado. Not even a "Where the hell have you been?"
|
|
|
Logged
|
|
|
|
crammyboy
|
Apparently the bit is set in the token used to indicate which of the bits in the aspiration is the secondary one. Who sets this bit or why is unkown at present, but with the bit being returned as the primary aspiration (clearly untrue) and no other code using it, aspiration actions are all bypassed.
|
|
|
Logged
|
|
|
|
Jelenedra
The New "Gay"
Whiny Wussy
Posts: 7582
Evil Mastermind BehindTorturing Emo 12s
|
That explains why the one sim I had who didn't fail his aspiration tests was one that didn't have an secondary aspiration assigned.
|
|
|
Logged
|
| Why are all these damn hippies on my website?
We are on your forum, taking over your world and making your children gay. |
|
|
|
Emma
Goopy Lover
Dead Member
Posts: 6109
All Pescados Suck.
|
Yay! Crammyboy is alive!
|
|
|
Logged
|
|
|
|
syberspunk
Heretic
Terrible Twerp
Posts: 2365
ISTJ - what a crazy random happenstance
|
Hey Crammyboy, curious, does this do the same thing or conflict with Twojeff's fix? Ste
|
|
|
Logged
|
|
|
|
twojeffs
|
The problem with the aspiration borkeness is that 0x611 (get secondary asp) returns the VALUE of the flag, not the flag field. EAxis then tries to XOR this value in 0x403, which of course returns absolute crap because what was returned was not a flag field. My fix corrects this.
|
|
|
Logged
|
|
|
|
Aggie
|
TwoJeffs, since you're here, does your fix correct the aspirations getting stuck in perma plat when they shouldn't be?
|
|
|
Logged
|
"I don't believe in the edit button; it goes against the very core of my being."
|
|
|
twojeffs
|
I think that's unrelated (although I haven't played enough to know for sure). Permaplat is indicated in a completely different sim flag field from the aspiration, unless EAxis moved it in FT.
It is entirely possible though that the game returning completely bogus aspriation info was blowing up some other code and my fix will correct all kinds of problems. It will fix bogus red marriage memories for non-romance sims among other things for sure.
ETA: On further review, I do think my fix will correct that (and the asp reward problems) too. The Aspiration - Get Level calls the 'Get aspiration' code that I fixed, so the bogus aspiration info was causing a bogus aspiration level to be returned.
|
|
« Last Edit: 2008 March 09, 05:11:49 by twojeffs »
|
Logged
|
|
|
|
crammyboy
|
Jeffies code does what it says on the tin.
Case closed.
|
|
|
Logged
|
|
|
|
|