More Awesome Than You!

Awesomeware => The Armory => Topic started by: Doctor Boris on 2007 March 06, 13:48:18



Title: Primp Fix (Seasons p0 & BV p0)
Post by: Doctor Boris on 2007 March 06, 13:48:18
In Soviet Russia, mirror primps in YOU!

(http://www.moreawesomethanyou.com/terror/blue.gif)
(http://www.moreawesomethanyou.com/zip.gif) primpfix.zip (http://www.moreawesomethanyou.com/ffs/seasons/obsolete/primpfix.zip)

Primp Fix for TS2Seasonsp0 & TS2BV p0
Made by: Flying Fish Systems (Doctor Boris)

Congratulations to: Draklixa!

Special Thanks To:
Hobbsee the Scrawny Pencil Neck
Fat, Hairy-Bellied Ness

INSTRUCTIONS:
Place in your MYDOCU~1\EAGAME~1\THESIM~1\DOWNLO~1 directory.

BUGS FIXED:
Particularly meatheaded Maxian coding error causing the Primp action to be
impossible to use fixed.

COMPATIBILITY:
This hack is fully compatible with all FFS hacks. For Seasons p0 & BV p0.
Because Maxis stupidly REBROKE it again after FIXING it the first time.

SIDE EFFECTS:
May cause computer damage, incontinence, explosion of user's head, coma, death,
and/or halitosis.

WARNING:
Do not open, crush, dispose of in fire, put in backwards, short-circuit, or mix
with non-awesome hacks - may explode, leak, or catch fire, resulting in injury
and/or death.


Title: Re: Seasons p0 Primp Fix
Post by: dizzy on 2007 March 06, 17:04:13
Here's the original code:

Code:
# Group = 0x7F01EC29, Instance = 0x22F0
# Title = Interaction - Primp - TEST
#
# Format = 0x8009, Params = 1, Locals = 0
# Tree type = 0x0, Header flag = 0x0, Tree version = 0xFFFF800E (-32754), Cache flags = 0

     0: my motives Sleep state (0xB) < 0; true: D, false: false
     1: Expansion Pack - EP(param) Installed?(2); true: 2, false: false
     2: my person data Is Swimming? (0x40) == 1; true: false, false: 4
     3: Verify - Object ID(My container id (0x2)); true: 7, false: false
     4: Stack Object == Me; true: 5, false: false
     5: Param 0 == 1; true: B, false: 6
     6: my person data Sitting? (0x0) == 1; true: 3, false: true
     7: Stack Object := My container id (0x2); true: 8, false: error
     8: Stack Object's category (0x3B) == Const 0x106(Category):0xD=13; true: true, false: 9
     9: Stack Object's category (0x3B) == Const 0x106(Category):0xE=14; true: true, false: A
     A: Stack Object's category (0x3B) == Const 0x106(Category):0x1F=31 (0x1F); true: true, false: false
     B: my person data Personality Neat (0x7) >= Const 0x203F(Primp Tuning):0x4=800 (0x320); true: C, false: false
     C: my person data Personality Outgoing (0x6) >= Const 0x203F(Primp Tuning):0x5=800 (0x320); true: 6, false: false
     D: Stack Object := my person data ci: Current Interaction Object ID (0x50); true: E, false: error
     E: Test Object Type: type of Stack Object GUID 0xD216EE01 (0x7FBE21F6: Controller_TemperatureReceptivity); true: false, false: 1

This is a classic Edith-type screw up. They walked on Stack Object in line D, while failing to notice the dependency in line 4. Of course, even I missed it the first couple glances through the code, but this sort of thing is more obvious in a proper scripting language than some flow-chart wannabe language.


Title: Re: Seasons p0 Primp Fix
Post by: J. M. Pescado on 2007 March 06, 19:20:01
It's a mystery why they even felt the need to reassign that. It's completely unnecessary to do so.


Title: Re: Primp Fix (Seasons p0 & BV p0)
Post by: J. M. Pescado on 2007 September 10, 21:59:04
This item resurrected from the scrapyard because for NO PARTICULARLY LOGICAL REASON, Maxis decided to REBREAK it in BV.