More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 26, 02:14:41

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  TS2: Burnination
| |-+  The Podium
| | |-+  SimPe objects price limit
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: SimPe objects price limit  (Read 8276 times)
linolino
Exasperating Eyesore
*
Posts: 210


Linosim


View Profile
SimPe objects price limit
« on: 2006 August 14, 20:44:48 »
THANKS THIS IS GREAT

Hello. Long time no post! Smiley

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 )

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.
Logged
Gwill
Terrible Twerp
****
Posts: 2162



View Profile
Re: SimPe objects price limit
« Reply #1 on: 2006 August 14, 20:51:59 »
THANKS THIS IS GREAT

Hi again.  Cheesy
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.
Logged

Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
MaximilianPS
Undead Member
*
Posts: 437


da grammar killer


View Profile
Re: SimPe objects price limit
« Reply #2 on: 2006 August 14, 20:52:43 »
THANKS THIS IS GREAT

indeed that looks like a phisical game limit...wonder why :\
btw to solve the problem asking to Quaxi could be a nice idea Wink
Logged
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: SimPe objects price limit
« Reply #3 on: 2006 August 14, 20:55:52 »
THANKS THIS IS GREAT

May be the highest number that can be stored in that data field.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
gjam
Corpulent Cretin
*
Posts: 149



View Profile
Re: SimPe objects price limit
« Reply #4 on: 2006 August 14, 21:06:15 »
THANKS THIS IS GREAT

Is the limit exactly 32,500?  Or is it more like 32,768?
Logged

Now playing: UNI, NL, OFB, & Pets
Gwill
Terrible Twerp
****
Posts: 2162



View Profile
Re: SimPe objects price limit
« Reply #5 on: 2006 August 14, 21:06:28 »
THANKS THIS IS GREAT

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.
Logged

Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
Theo
Lipless Loser
***
Posts: 602



View Profile
Re: SimPe objects price limit
« Reply #6 on: 2006 August 14, 21:08:02 »
THANKS THIS IS GREAT

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.
Logged
linolino
Exasperating Eyesore
*
Posts: 210


Linosim


View Profile
Re: SimPe objects price limit
« Reply #7 on: 2006 August 14, 21:20:57 »
THANKS THIS IS GREAT

i just hate that!!!

so there is absolutely no way to raise the price higher than 32,768? Sad
Logged
Gwill
Terrible Twerp
****
Posts: 2162



View Profile
Re: SimPe objects price limit
« Reply #8 on: 2006 August 14, 21:26:22 »
THANKS THIS IS GREAT

Sorry. Sad It's like the Y2K bug.
There just aren't room for any more numbers.
Logged

Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
gjam
Corpulent Cretin
*
Posts: 149



View Profile
Re: SimPe objects price limit
« Reply #9 on: 2006 August 14, 23:23:19 »
THANKS THIS IS GREAT

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.)
Logged

Now playing: UNI, NL, OFB, & Pets
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: SimPe objects price limit
« Reply #10 on: 2006 August 15, 01:15:24 »
THANKS THIS IS GREAT

Yes, this is a limitation imposed by 16-bit values used in TS2. Maybe TS3 will be 32-bit.
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.
Theo
Lipless Loser
***
Posts: 602



View Profile
Re: SimPe objects price limit
« Reply #11 on: 2006 August 16, 21:58:43 »
THANKS THIS IS GREAT

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  Shocked

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  Roll Eyes
Logged
linolino
Exasperating Eyesore
*
Posts: 210


Linosim


View Profile
Re: SimPe objects price limit
« Reply #12 on: 2006 August 17, 00:29:59 »
THANKS THIS IS GREAT

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
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: SimPe objects price limit
« Reply #13 on: 2006 August 17, 01:18:48 »
THANKS THIS IS GREAT

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.
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.
Flamingo
Lipless Loser
***
Posts: 600


View Profile
Re: SimPe objects price limit
« Reply #14 on: 2006 August 17, 01:52:18 »
THANKS THIS IS GREAT

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.
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: SimPe objects price limit
« Reply #15 on: 2006 August 17, 02:10:53 »
THANKS THIS IS GREAT

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.
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.
linolino
Exasperating Eyesore
*
Posts: 210


Linosim


View Profile
Re: SimPe objects price limit
« Reply #16 on: 2006 August 17, 20:19:36 »
THANKS THIS IS GREAT

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?
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: SimPe objects price limit
« Reply #17 on: 2006 August 18, 01:49:19 »
THANKS THIS IS GREAT

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.
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.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.068 seconds with 20 queries.