modernmafiia Posted November 20, 2011 Posted November 20, 2011 i dont understand how gym formula works please explain to me $gain+=rand(1,3)/rand(800,1000)*rand(2000,5000)*(($ir['will']+20)/150); Quote
W3Theory || Peter Posted November 20, 2011 Posted November 20, 2011 How does it not make sense? Break it up into parts and take a look at each section. If this doesn't make sense, then good luck with formulas in the future. Quote
Ishraq Posted November 20, 2011 Posted November 20, 2011 $gain+=rand(1,3)/rand(800,1000)*rand(2000,5000)*(($ir['will']+20)/150); The gain from 1 train = A random number 1, 2 or 3. which is divided by a random number between 800 and 1000 multiply that answer by 1 over a random number between 2000 and 5000 and times that by 1 over the users will + another 20 and then divide by 150 LOL Quote
Ishraq Posted November 20, 2011 Posted November 20, 2011 $gain+=rand(1,3)/rand(800,1000)*rand(2000,5000)*(($ir['will']+20)/150); Example is $gain+=2/(900*3500*(WILL+20))/150; Quote
dxball Posted November 29, 2011 Posted November 29, 2011 $gain+=rand(1,3)/rand(800,1000)*rand(2000,5000)*(($ir['will']+20)/150); The gain from 1 train = A random number 1, 2 or 3. which is divided by a random number between 800 and 1000 multiply that answer by 1 over a random number between 2000 and 5000 and times that by 1 over the users will + another 20 and then divide by 150 LOL very complicated. I give up this... Quote
massive Posted December 7, 2011 Posted December 7, 2011 Is this some kind decipher> hard to tell what programming you are using. Quote
mixmaster Posted December 7, 2011 Posted December 7, 2011 Is this some kind decipher> hard to tell what programming you are using. No , it's php Quote
Nickson Posted December 7, 2011 Posted December 7, 2011 basic math people... Just fill in the variables / random values and count it out.. Quote
sukmar Posted December 9, 2011 Posted December 9, 2011 Is this some kind decipher> hard to tell what programming you are using. haha@ decipher? I wish. well is just a basic PHP code Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.