Title: SimPe objects price limit Post by: linolino on 2006 August 14, 20:44:48 Hello. Long time no post! :)
I was trying to make some adjustments to the asp price of the asp rewards and found some trouble with it. gwillewyn at modthesims2 site suspects that there is a price limit in SimPe in wich the objects can be set to. (look at my thread over MTS2: http://www.modthesims2.com/showthread.php?p=1359497#post1359497 (http://www.modthesims2.com/showthread.php?p=1359497#post1359497) ) that limits seems to be 32,500. i don't know wether this limit is only for asp price or simoleon price too, but im looking for a way to overcome this, since i want to make the following adjustments: REWARD OBJECT --- ORIGINAL PRICE --- MOD PRICE Noodlesoother --- 5,000 --- 10,000 Money Tree --- 3,000 --- 12,250 SimVac: --- 17,500 --- 17,500 Cool Shades --- 10,000 --- 20,000 Pasteur's HomoGenius Smart Milk --- 7,500 --- 45,500 Thinking Cap --- 16,000 --- 49,750 Love Tub --- 20,000 --- 51,000 Genuine Buck's Couterfeiting Machine --- 27,750 --- 54,750 The Eclectic and Enigmatic Energizer --- 14,000 --- 60,000 ReNuYu Senso Orb --- 6,250 --- 63,250 Elixir of Life --- 30,580 --- 100,000 Can someone help me plEEEEEEEEEEEAAase? Any help will be great. Title: Re: SimPe objects price limit Post by: Gwill on 2006 August 14, 20:51:59 Hi again. :D
I had this idea that maybe Paladin's Categorizer migth be able to do the trick, but I got an overflow error when I tried to force the price too high there too. Hopefully someone more awesome than me can tell us if it's a limit hardcoded into the game, or just the editors. Title: Re: SimPe objects price limit Post by: MaximilianPS on 2006 August 14, 20:52:43 indeed that looks like a phisical game limit...wonder why :\
btw to solve the problem asking to Quaxi could be a nice idea ;) Title: Re: SimPe objects price limit Post by: Inge on 2006 August 14, 20:55:52 May be the highest number that can be stored in that data field.
Title: Re: SimPe objects price limit Post by: gjam on 2006 August 14, 21:06:15 Is the limit exactly 32,500? Or is it more like 32,768?
Title: Re: SimPe objects price limit Post by: Gwill on 2006 August 14, 21:06:28 I didn't explore to find the exact value. It's probably some sensible number in HEX but, in decimal it just looked messy.
Someone more awesome than me probably knows exactly. Edit: 32,768 is 8000 in HEX (and 1000000000000000 in binary), so the maximum is probably 32,767. Title: Re: SimPe objects price limit Post by: Theo on 2006 August 14, 21:08:02 Indeed the maximum value is close to the 32768 mark, indicating a 16 bit field.
The only thing that could break that limit would be an hypothetical price multiplier field. Title: Re: SimPe objects price limit Post by: linolino on 2006 August 14, 21:20:57 i just hate that!!!
so there is absolutely no way to raise the price higher than 32,768? :( Title: Re: SimPe objects price limit Post by: Gwill on 2006 August 14, 21:26:22 Sorry. :( It's like the Y2K bug.
There just aren't room for any more numbers. Title: Re: SimPe objects price limit Post by: gjam on 2006 August 14, 23:23:19 That's what jumped into my mind when I saw 32,500 or something close to it cited as a limit. 16 bits can represent values in the range 0 to 65535 unsigned. But if it's a signed field, then you get something like -32767 to 32767. (I may be 1 off at the extremes--it's been a lot of years since I had to know this stuff.)
Title: Re: SimPe objects price limit Post by: J. M. Pescado on 2006 August 15, 01:15:24 Yes, this is a limitation imposed by 16-bit values used in TS2. Maybe TS3 will be 32-bit.
Title: Re: SimPe objects price limit Post by: Theo on 2006 August 16, 21:58:43 Today I was wondering why three sims in a household had exactly the same aspiration score value, until I gave more attention to the number: 327670 :o
Sounds familiar? I appears that this value is the limit for the aspiration score. And while there is no logic in defining a negative price for an object, the negative aspiration score could be defined by a signed 16 bit field. As for the 10x multiplier, it can be as simple as appending a 0 ::) Title: Re: SimPe objects price limit Post by: linolino on 2006 August 17, 00:29:59 i don't think that limit aplies to aspiration score... (if by score you mean aspiration points that buys the rewards) i have sim with more than 100,000 asp points
Title: Re: SimPe objects price limit Post by: J. M. Pescado on 2006 August 17, 01:18:48 Aspiration score is limited to 32767 also, but the game just appends a zero. The smallest possible increment of aspiration pointage is thus 10. Note now nothing ever grants single-digit aspiration value.
Title: Re: SimPe objects price limit Post by: Flamingo on 2006 August 17, 01:52:18 I've never even seen anything with double-digit aspiration value, let alone single digit. You would think it wouldn't have that much of an effect, otherwise.
Title: Re: SimPe objects price limit Post by: J. M. Pescado on 2006 August 17, 02:10:53 That's because internally, the number of points you ACTUALLY gain is 1/10th of what you SEE. What you SEE is actually the true internal value inflated by a factor of 10 for some unexplained cause. Because for some reason, I guess people aren't satisfied if woohoo only gives them +350 ASP instead of +3500. Even though mathematically, it makes no difference. I guess people just like large inflated numbers, even when it doesn't improve granularity.
Title: Re: SimPe objects price limit Post by: linolino on 2006 August 17, 20:19:36 so, isn't there a way also to inflate the prices by a factor of 10? or there is no way to include data field for that on the price specification?
Title: Re: SimPe objects price limit Post by: J. M. Pescado on 2006 August 18, 01:49:19 No. The inflation of ASP rewards is purely cosmetic. If you want people to pay more for an item, you'd have to make it a multi-part puzzle item that is bought piecemeal and assembled, "some assembly required" style.
|