Endeavor Modifications

Please Help Support E-Mods.net by Donating


News:

Looking for Video Tutorials? Check out the Open Nod Development section of e-mods.net.

E-Mods.net also has CryEngine tutorials! Check out the Open CryEngine Development section too.

Author Topic: Luck Rating Program  (Read 1055 times)

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Luck Rating Program
« on: 2006-11-13, 21:59:58 »
I made an attempt at calculating luck ratings for individuals. Instead of having fun, I have infact depressed myself. I run the test over and over and it constantly gives me 9%, but it seems to be accurate for me. I look back at my life and don't feel very lucky. I have come this far on skill and intellect alone and I realize that if I rely on luck, I would be royally screwed. LOL

Again my rating was 9%. I guess I'll stay away from Las Vegas. LOL

See if the results are different for you.

You will need the .NET Framework v2.0 for the program to work.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Luck Rating Program
« Reply #1 on: 2006-11-13, 22:07:44 »
And here's the source code for those who are curious as to how I did it.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Offline Bloodywolf

  • Malkavian
  • Member
  • *
  • Posts: 463
  • Karma: 0
  • 7th Gen
Re: Luck Rating Program
« Reply #2 on: 2006-11-14, 02:58:36 »
Can't read the code cause I gotr VS.net 2003

but either you forgot your random number, it was on puprose or I'm as unlucky as you, and I find myself a lucky guy.
William - Bloodywolf - Me
Sloth, Greed, Gluttony, Wrath, Envy, Pride and Lust.
Which one shalt thou pick today?

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Luck Rating Program
« Reply #3 on: 2006-11-14, 14:11:05 »
See if the express version can view the solution.

I do have random calculations in there, but what it does is rolls an eqivelant of 2 6-sided dice 100 times in a loop that repeats 1000 times. The system counts the amount of times a 7 is rolled then the results are averaged by the 1000 times the cycle is repeated.

I figured I was getting too random of results with just rolling 100 times and calculating the results. I wanted a system that would give me a number and stick with it. If luck truly exists then there will be someone out there that will get a higher number than 9%.

I guess this doesn't actually mean that 9% leads to an eternally horrid life. I'm thinking it's the chance that I have at scoring big at casinos. I'll stick with actually earning my keep, thank you.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Offline English TomTom

  • Team
  • Member
  • ******
  • Posts: 168
  • Karma: 0
Re: Luck Rating Program
« Reply #4 on: 2006-11-14, 15:53:24 »
9%....
<a href="http://profile.mygamercard.net/Doyle+Caiafa" target="_blank">" border="0[/url]

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Luck Rating Program
« Reply #5 on: 2006-11-14, 16:11:51 »
I once got 8%. Heh
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Offline Bloodywolf

  • Malkavian
  • Member
  • *
  • Posts: 463
  • Karma: 0
  • 7th Gen
Re: Luck Rating Program
« Reply #6 on: 2006-11-15, 02:55:23 »
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 9, 8, 9, 9, 9, 9, 9, 10, 9, 9, 9, 9...


Lots of nines, you shure you wanne comdem people with bad luck?
William - Bloodywolf - Me
Sloth, Greed, Gluttony, Wrath, Envy, Pride and Lust.
Which one shalt thou pick today?

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Luck Rating Program
« Reply #7 on: 2006-11-15, 12:50:51 »
Wow... you scored 10%? Whoaaa!!  :o
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo