PDA

View Full Version : What's the highest the stock can get to?


Angarfia
02-22-2006, 12:21 PM
:cool: just wonderin'
if you answer ill give you 2 x-cash...=\

Teh~GD
02-22-2006, 12:31 PM
the highest I saw was in the low 30's range.

Angarfia
02-22-2006, 12:32 PM
:P you got ur cash:)

Doomed Rasher
02-25-2006, 11:52 AM
The maximum was $35. (The fifth stock)

Dizzydude
02-26-2006, 04:37 AM
isn't it random which is low and high?

Gazzaroof
02-26-2006, 06:39 AM
it depends on your charm

Boris
02-26-2006, 01:56 PM
wow i though $17 was high **bows down to stock legends**

sexybear979
02-26-2006, 06:17 PM
Looking at the alogrithims, it's actually theoretically possible to have an unlimited stock value. However, this would only work for some of the stocks, because the alogrithims vary from stock to stock.

Another way to answer your question would be:
stockRate = Math.random(1)
stockRate = stockRate * 0.25
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
ABCprev = ABCprice
ABCprice = ABCprice + (stockRate * direction)
if (ABCprice <= 1) {
ABCprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
XYZprev = XYZprice
XYZprice = XYZprice + (stockRate * direction)
if (XYZprice <= 1) {
XYZprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
RTWprev = RTWprice
RTWprice = RTWprice + (stockRate * direction)
if (RTWprice <= 1) {
RTWprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
LLGprev = LLGprice
LLGprice = LLGprice + (stockRate * direction)
if (LLGprice <= 1) {
LLGprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
BIXprev = BIXprice
BIXprice = BIXprice + (stockRate * direction)
if (BIXprice <= 1) {
BIXprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
IJAprev = IJAprice
IJAprice = IJAprice + (stockRate * direction)
if (IJAprice <= 1) {
IJAprice = 1
}

I would like 5 XCash please

Kohan
02-28-2006, 08:17 AM
Yeah, the algorithms put into that were pretty crappy (inefficient). Mine was four lines for each company, plus a one-line function for getting a +/- stock value, to make things neat, and had the same effect. Wewt for efficient programmers.

bendeta2349
02-28-2006, 09:18 AM
Looking at the alogrithims, it's actually theoretically possible to have an unlimited stock value. However, this would only work for some of the stocks, because the alogrithims vary from stock to stock.

Another way to answer your question would be:
stockRate = Math.random(1)
stockRate = stockRate * 0.25
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
ABCprev = ABCprice
ABCprice = ABCprice + (stockRate * direction)
if (ABCprice <= 1) {
ABCprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
XYZprev = XYZprice
XYZprice = XYZprice + (stockRate * direction)
if (XYZprice <= 1) {
XYZprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
RTWprev = RTWprice
RTWprice = RTWprice + (stockRate * direction)
if (RTWprice <= 1) {
RTWprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
LLGprev = LLGprice
LLGprice = LLGprice + (stockRate * direction)
if (LLGprice <= 1) {
LLGprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
BIXprev = BIXprice
BIXprice = BIXprice + (stockRate * direction)
if (BIXprice <= 1) {
BIXprice = 1
}
stockRate = Math.random(1)
direction = random(2)
if (direction == 0) {
direction = -1
}
if (direction == 1) {
direction = 1
}
IJAprev = IJAprice
IJAprice = IJAprice + (stockRate * direction)
if (IJAprice <= 1) {
IJAprice = 1
}

I would like 5 XCash please


and how exacticuly did u find that out.....

AssassinSK
02-28-2006, 09:39 AM
Highest i ever saw was $27

Kohan
02-28-2006, 07:43 PM
and how exacticuly did u find that out.....
Shareware SWF Decompiler + Free Serial Number = Illegal + Awesome. I've gotten hundreds in free stuff *coughFlashProfessional8cough*. I'm such a bad boy.

Yeah, just find a SWF Decompiler and sick it on the ShockWave and you get a Flash that you can view and edit to your will. That particular piece of code is executed every time you click the 'Sleep' button at home.

pimpkilk
03-03-2006, 04:06 PM
the stock DYC once got to $235.03 and i had over 5000 units

Kohan
03-03-2006, 06:07 PM
The power of gambling.

sexybear979
03-03-2006, 06:59 PM
and how exacticuly did u find that out.....

A little something called a .swf decompiler, my friend

Nordini
03-04-2006, 12:20 AM
i think highest was in 30s

bluethen
03-04-2006, 09:24 PM
O_o How the heck does it get to to the 30s? The highest i see was 9.
Is there a way to get it to go up more???

Kohan
03-04-2006, 10:20 PM
In my current game, Motherload is kicking arse with a constant 20+, with StickRPG2 in second between 10 and 15, and basically everything else is between one and seven.

Doomed Rasher
03-05-2006, 11:30 AM
Sometimes the stocks go down to one and never come up again. My max value is $37.42 (Motherload Goldium stocks)

Kohan
03-05-2006, 11:32 AM
Motherload seems to be doing very well :D. The reason stocks seem to stay at 1 is that there's only a 50% chance they'll go up again. The other half of the time they go down, but then go up to one again, so you don't notice.

bluethen
03-07-2006, 02:49 PM
I know that the greatest amount that you can buy is 999999 stocks, or something like that....