Holy...crap!

<< < (6/8) > >>

RainbowTigress:
Quote from: gali on 2005 September 29, 12:18:52

Are you crazy??...:). To fix the most pleasant glitch of the game?...:).

Well, you don't have to install the fix if you don't want to. :)

dizzy:
Interesting fix. I wonder if the Maxoids have seen this.

jase:
The GSC call that Maxis uses to extract a % of the assets from a remote lot fails if the remote lot is not in the same neighboorhood as the active lot.  There's no way to directly see if the call succeeded or failed here either.  Unfortunately, Maxis never initializes the temporaries (Temp 3 & 4) to anything prior to making this call (T[3,4] holds the move-in $).    Thus, if the call fails silently (as it will if you move part of a household across a neighborhood boundary), you are left with whatever junk values happen to be loafing around inside Temp 3 & 4.  And that is where the mega-million jackpot comes from.

However, I discovered that when you move the entire household, everything works as you would expect.  And the reason for that is because a different GSC call is used in this case: the combine household assets GSC call.  It does behave as you would expect across neighborhood boundaries...so by using this call instead in the partial-move in case and doing a little rejiggering of the numbers we get the result that we ultimately need (albeit what some may not necessarily want - lol).  Sort of a round-about backdoor calculation that yields the same value.

J

witch:
Quote from: rainbow on 2005 September 29, 12:50:17

Quote from: gali on 2005 September 29, 12:18:52

Are you crazy??...:). To fix the most pleasant glitch of the game?...:).

Well, you don't have to install the fix if you don't want to. :)


Pleasant glitch?!? My sims have to work for their money! There has to be some challenge in the game. Excess money gets banked with my banker sim. Thankfully I've not had one of those ginormous donations. I've installed the fix.

Karen:
Quote from: jase on 2005 September 29, 14:08:45

The GSC call that Maxis uses to extract a % of the assets from a remote lot fails if the remote lot is not in the same neighboorhood as the active lot.  There's no way to directly see if the call succeeded or failed here either.  Unfortunately, Maxis never initializes the temporaries (Temp 3 & 4) to anything prior to making this call (T[3,4] holds the move-in $).    Thus, if the call fails silently (as it will if you move part of a household across a neighborhood boundary), you are left with whatever junk values happen to be loafing around inside Temp 3 & 4.  And that is where the mega-million jackpot comes from.

Interesting....That may explain why it happened to me.  I moved Juliette from Veronaville into Pleasantview.  (This was way before anybody mentioned that cross-neighborhood moves were a Very Bad Thing.)  She got married, had 3 kids, and died of old age.  When her youngest daugher Nicole was an elder, still living in the same house that she grew up in (i.e. the house that had been moved from Veronaville), she had a fling with Don Lothario.  They fell in love, he moved in with her, and the "lottery bug" brought in $3.3 million.  This was a full 3 generations after the original cross-neighborhood move.  I had a bunch of Sims in that family grow up and move out without problems, but I believe it was the first time anybody had moved *into* that house.  So it definitely doesn't have to happen immediately.

Karen

Navigation

[0] Message Index

[#] Next page

[*] Previous page