View Full Version : SimPE error on objects price change
22nd Oct 2008, 8:45 PM
I have downloaded the cars from the official sims 2 site, but the cars are to cheap, so I wanted to add an extra zero to the end of the price of the cars but when I do so I get this error:
Can not convert '62500'. This is not a valid Decimal Number of Type Int16!
I just tried the price 99999 and that worked. But why did not 62500 work?
22nd Oct 2008, 9:39 PM
Moved to the tools thread, as gamehelp is for broken games only. Good luck. :)
22nd Oct 2008, 11:10 PM
I believe that data type can only hold a positive number up to 32000ish. Your 99999 would probably have been interpreted as a negative number.
J. M. Pescado
23rd Oct 2008, 12:53 PM
32767 is the maximum price that a single item can have due to the limitations of int16. Therefore, any value you try to put in greater than that barfs. If you want to make a car cost MORE than that, you will have to vend it in pieces and then have Some Assembly Required to piece it into a single car.
23rd Oct 2008, 4:41 PM
*Simsample scratches head* :lol:
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.