Author Topic: [SOLVED] Random Money  (Read 3395 times)

Offline lelekins

[SOLVED] Random Money
« on: July 27, 2007, 05:55:37 am »
I remember there was this problem in the old version but I thought it would've been fixed in 3.0 :)
In the give random money item, everyone who has used it so far has told me that they've recieved negative amounts of credits. I tried it out myself and sure enough I also lost credits each time.
Is this still an issue or is it messed up on my forum?

I found an old thread from 2006 with a file to replace but the link was dead xP

Offline inkstains

Re: Random Money
« Reply #1 on: July 27, 2007, 02:16:29 pm »
when you first set up the item you have to set the Minimum and Maximum amount winnable i believe the defaults are -190 and 190 and as it's based on a random (i think haven't looked) you will win some and lose some. if you want the item to always give credits just change the Minimum amount to a positive value. aside from that the random credits item should work fine.

Offline Daniel15

Re: Random Money
« Reply #2 on: July 27, 2007, 08:40:24 pm »
Yeah, it gives a random amount between -190 and 190 by default. Most likely, everyone receiving a negative amount of credits was just a coincidence (unless I screwed something up in the item file, again :P).
Please try adding a new item with the minimum set to a positive value (like inkstains mentioned) and see if it works properly.

Offline lelekins

Re: Random Money
« Reply #3 on: July 27, 2007, 11:57:19 pm »
Heh...Must've been a coincidence :D I set the minimum to a positive amount and It worked fine this time :)
Thank you :)