Get drink from sink - cooling or not?
LFox:
I'm afraid i can't reply on sinks but i can reply on fireplaces. I did a test one time with fireplaces cause i had the sadistic idea of forcing a sim to live in a -100 snow field with only a small area for shelter that included a fire place to keep them from freezing to death, i was planning on making it a challenge. Anyway the shelter section was a section of walls with a small roof and no closed area so the cold could get in with the fireplace inside. Everytime i did the warm up interaction the sim gained +15 to their warmth, i checked the lot debugger everytime to track it. I have JM's warmthfix but i don't think it has anything to do with the fireplace.
Inge:
I have noticed that both the fireplace and the drinking cup have a couple of lines of code that test if they are the Temperature Receptivity Controller (which of course they can't be) and if so, they run by name a BHAV called "Carry bag - start". Now this should be nonsense, but it's the only mystery bit of code that could be doing the temperature change! It would make sense if the line read "Set to next object of type (temperature controller)" and then ran "CT - warmth modifier" like the shower does for example. Can Primitive 0x20 have changed purpose since we last analysed it?
Ambular:
Quote from: Inge on 2007 September 15, 20:24:58
Well I took out hacks (mine and other people's), and tried again, and this time I did see a drink reduce the temperature. But that's weird I know what all the hacks are meant to do and not one of them is meant to be a sink hack or anything to do with drinking. I didn't even patch the temperature controller. I had a spongebathing hack ages ago but that's long gone. It happens just as the cup vanishes from the sim's hand.
I'm still using that spongebathing hack, Inge. Is it breaking something I can't see?
ZephyrZodiac:
Well, I had a sim using the exercise machine with the skillinator, which sent her to the bathroom for a pee and a shower, by which time her temperature was nearly full red. I stopped the skillinator and had her drink a glass of water, and she returned to normal - but I am using Paladin's norandomburstingintoflames, which probably saved her!
J. M. Pescado:
Quote from: Inge on 2007 September 15, 21:22:37
I have noticed that both the fireplace and the drinking cup have a couple of lines of code that test if they are the Temperature Receptivity Controller (which of course they can't be) and if so, they run by name a BHAV called "Carry bag - start". Now this should be nonsense, but it's the only mystery bit of code that could be doing the temperature change! It would make sense if the line read "Set to next object of type (temperature controller)" and then ran "CT - warmth modifier" like the shower does for example. Can Primitive 0x20 have changed purpose since we last analysed it?
Carry Bag is actually a misnomer. Test Object as called like that ACTUALLY is loading the GUID into T0/T1, as indicated by that 04 in the 8th argument byte, and not testing the stack object. The Temperature Receptivity Controller is not found by using set-to-next because the object is not physically present on the lot anymore, it just exists as an ethereal GUID. The RTBN then uses type "3", "run on ethereal GUID in T0/T1", and there is apparently not-fully-analyzed syntax for selecting lines of 0x12F that exceed 0xFF, which SimPE is misinterpreting to be "Carry Bag", when, in fact, it is actually the "CT - warmth modifier". Thus, the code actually works, it's just that SimPE is misinterpreting it. This only afflicts Newfangled SimPE: Ye Olde SimPE is unaffected because it doesn't even try.
Navigation
[0] Message Index
[#] Next page
[*] Previous page