Free Dice Program

Discussion in 'RuneScape Miscellaneous' started by wackywamba, Sep 14, 2011.

Free Dice Program
  1. Unread #1 - Sep 14, 2011 at 10:53 AM
  2. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program


    This is literally v0.1 I made it for SmokeHut in around 10 minutes, so don't expect it to be perfect.

    Let me know of other features to include, I don't know if something like this exists already.


    Glad you asked, misinformed oversuspicious user!
     
  3. Unread #2 - Sep 14, 2011 at 12:03 PM
  4. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    Free Dice Program

    Very handy tool for when you're a dice host.

    My idea , your brains .. Excellent product !
     
  5. Unread #3 - Sep 14, 2011 at 12:53 PM
  6. Au revoir
    Joined:
    Aug 2, 2011
    Posts:
    721
    Referrals:
    1
    Sythe Gold:
    0

    Au revoir Apprentice
    Banned

    Free Dice Program

    hosting is actually one of the fun things about rs rofl, this is like making a pking bot.. also whats to stop that from going to the bank and xfering all the items, im not trolling im just saying the truth.
     
  7. Unread #4 - Sep 14, 2011 at 1:17 PM
  8. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    Glad you asked, misinformed oversuspicious user!

    1. Due to the high level programming nature of Java, it is impossible to access elements on your computer out of scope of your application window. This is known as a 'Sandbox'. The only physical way to do this would be to use the Java Native Interface (JNI) which would still require me to actually have another program in a different language on your computer - part of the reason I released it as a .jar
    2. You can decompile jars - a good program to use is WinRAR (anyone who does, don't judge. Like I said I literally wrote it in < 10 minutes^_^). This will enable you to read the source code.
    3. If you're completely technologically retarded (if you suspected me of lining this 13kb jar with malicious code, you most likely need to read this point) - go use some anti-virus software.

    Now you can be sure that there is no need to worry about a script transferring your items that you bought with your parents money or putting a v1r3s on your computer.

    Anymore questions or unwarranted accusations you want to lay on me Au Revoir?

    Au Revoir.
     
  9. Unread #5 - Sep 14, 2011 at 1:35 PM
  10. Au revoir
    Joined:
    Aug 2, 2011
    Posts:
    721
    Referrals:
    1
    Sythe Gold:
    0

    Au revoir Apprentice
    Banned

    Free Dice Program

    no need to be rudee about it. ty for clearing it up.
     
  11. Unread #6 - Sep 14, 2011 at 2:00 PM
  12. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    Just trying to get my point across, glad I could help.
     
  13. Unread #7 - Sep 14, 2011 at 2:08 PM
  14. Kahnits
    Joined:
    Aug 18, 2011
    Posts:
    435
    Referrals:
    0
    Sythe Gold:
    0

    Kahnits Forum Addict
    Banned

    Free Dice Program

    So this doesn't like make you roll higher or anything right? ahaha or predict rolls.
     
  15. Unread #8 - Sep 14, 2011 at 2:16 PM
  16. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    No, but I could make a program that graphs out your statistical chance of rolling certain numbers based on previous rolls if there was enough interest.

    Edit: it could also keep track of your wins/loses, so you could get a good idea of how your luck is fairing.
     
  17. Unread #9 - Sep 14, 2011 at 2:54 PM
  18. OneFatMoFo
    Joined:
    Jul 19, 2011
    Posts:
    324
    Referrals:
    0
    Sythe Gold:
    0

    OneFatMoFo Forum Addict
    Banned

    Free Dice Program

    the odds of getting each number are always the same.
    let me get them
    2 dice
    2 = 1+1
    3 = 2+1, 1+2
    4 = 2+2, 1+3, 3+1
    5 = 3+2, 2+3, 1+4, 4+1
    6 = 3+3, 4+2, 2+4, 1+5, 5+1
    7 = 4+3, 3+4, 5+2, 2+5, 6+1, 1+6
    8 = 4+4, 5+3, 3+5, 6+2, 2+6
    9 = 5+4, 4+5, 6+3, 3+6,
    10= 5+5, 6+4, 4+6
    11= 6+5, 5+6
    12= 6+6
    so that's 2 dices with 6 sides, 6^2= 36
    2= 1/36
    3= 2/36
    4= 3/36
    5= 4/36
    6= 5/36
    7= 6/36
    8= 5/36
    9= 4/36
    10=3/36
    11=2/36
    12= 1/36
    each 36th is about a 2,7% so there you go.
     
  19. Unread #10 - Sep 14, 2011 at 3:29 PM
  20. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    Thank you for explaining a simple binomial distribution to me, I must have forgotten all my mathematical statistics I did last year.

    What I was actually saying was, for the people that pre-roll and keep track of their rolls in order to make use of conditional probability analysis, whether they know it or not, would be able to effectively use data recorded over longer sessions to gain a better idea of their next roll. They are independent events, but in a game of chance as well as the likely pseudorandom algorithms Jagex uses, it might well prove effective.

    Statistically it's unsound (what statistics isn't ^_^), but if you're using a set of a few thousand numbers and start noticing trends, it might well be useful to a degree.

    My suggestion was simply to provide a GUI program that would have a scaling graph to show you your recorded rolls.
     
  21. Unread #11 - Sep 14, 2011 at 4:17 PM
  22. puzzle567
    Joined:
    Jul 18, 2011
    Posts:
    659
    Referrals:
    2
    Sythe Gold:
    0

    puzzle567 Apprentice
    Banned

    Free Dice Program

    Looks great. I will give it a shot once our group is up!
     
  23. Unread #12 - Sep 14, 2011 at 4:19 PM
  24. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    Thanks puzzle, please report back with any bugs and also any useful features you can think of :)
     
  25. Unread #13 - Sep 14, 2011 at 4:35 PM
  26. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    Free Dice Program

    Lmao at some of the responds to this.. It's a calculator lmao. Just makes hosting a bit more organised and easier
     
  27. Unread #14 - Sep 14, 2011 at 4:43 PM
  28. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    iknowright, trolls will be trolls.

    I'm still waiting for constructive criticism from some other people on this, even if people just comment on the idea I'll be happy.
     
  29. Unread #15 - Sep 14, 2011 at 4:47 PM
  30. puzzle567
    Joined:
    Jul 18, 2011
    Posts:
    659
    Referrals:
    2
    Sythe Gold:
    0

    puzzle567 Apprentice
    Banned

    Free Dice Program

    I'll be sure to give you anything I can think of that will help it become even better. BTW if you have any interest in actually hosting, click on my sig to check us out. We open the 22nd :D
     
  31. Unread #16 - Sep 14, 2011 at 4:52 PM
  32. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    Thanks Puzzle, I've read your thread actually. I just don't have that much time to host, but I'll definitely consider it.

    I'm thinking of actually writing a script to manage 55x2 hosting. I know the creator of Powerbot tried to script a dice duel bot, but I'm not sure what ever came of that.

    Although I suspect that people will be even more suspicious of a hosting script.
     
  33. Unread #17 - Sep 14, 2011 at 5:17 PM
  34. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    Free Dice Program

    I'll speak with you on man in a bit wacky, I have a new idea :)
     
  35. Unread #18 - Sep 15, 2011 at 4:22 PM
  36. OneFatMoFo
    Joined:
    Jul 19, 2011
    Posts:
    324
    Referrals:
    0
    Sythe Gold:
    0

    OneFatMoFo Forum Addict
    Banned

    Free Dice Program

    Again, no need to be rude about it.
    Sarcasm was really uncalled for, you would want to use that sarcastic comment when you made it obvious that you have studied advanced mathematics.
    With your previous statement "I could make a program that graphs out your statistical chance of rolling certain numbers based on previous rolls if there was enough interest.", you stated you believe there is a way of predicting your next rolls. Maybe you were one of those people who still don't get that individual events are individual and there is no such thing as statistical probablities in events that are made to be random.
    Now that I understand thanks to your long explanation that you believe that the statistics may give trends because you assume jagex programmers are stupid enough to make a random program without correct odds I'll go with the informative part:
    firstly google "random seeds" (if you know what it is don't)and if you know anything about programming and mathematics (if you don't, then don't) check out how a simple equation goes.
    Now
    assuming you don't care about what the random seed is.
    1)the equation will give numbers with perfect odds (if performed infinite times) thanks to the % function. so no matter how stupid jagex programmers are, even if they set the rand_seed to a static number, probabilities will always be the same.
    HOWEVER NOT RANDOM.
    nothing is random in computation.
    2)if there were a curve that makes some numbers more likely ( there is, 7 is more likely, 12 and 2 are less likely, but i mean if they are more likely than they should) that would be of no good use, since predicting what numbers are most likely for you, will predict what numbers are most likely for him, unless the seed is char id.
    3) you will need a sample size of over ten thousand numbers. Seeds for runescape are everchanging,
    What you may want to set to obtain is a RNG
    A RNG (random number generator) is a program that would generate a number when inputted with the values (generally integers) missing in the equation of said program.
    the equation of the RNG is the exact same equation than that of the program or videogame you are trying to predict or force an outcome on. For this you need to know the source code or some serious leet skill, I don't know even where to start for this, but getting samples is a good start.
    I would imagine you would need to know what the seeds are (e.g. time, temperature of the server, amount of players connected, function based on the amount of total gp on the server).
    For the RNG to work, you would need to have access to these values once you somehow get the equation and the seeds origins, say, if it is time+amount of players connected%100 then, you will need to input this on your program and you will know what number you will throw whenever it is said time and said amount of players are connected, so you could check the amount of players connected and the time, input it and know the numbers you would have thrown at the time you started inputting the numbers.
    And the seed will be changing per tick so you better hope time is not a seed or it will be hard. ;)
    and if the seed is a number you have no access to, (like server temperature). Then you cannot make a RNG, unless you send a spy to their quarters to install a program that can check their temperature.










    BUT I DIGRESS
    Don't get me wrong im just telling you why it wouldn't work.
     
  37. Unread #19 - Sep 15, 2011 at 4:29 PM
  38. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    Free Dice Program

    He didn't say he could make it predict rolls, he said it could Prove useful over thousands of rolls, distinguishing patterns that you could use to your advantage. I can't imagine jagex using the same RNG methods as casinos use for online gambling if that what dice you roll.
     
  39. Unread #20 - Sep 15, 2011 at 4:42 PM
  40. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Free Dice Program

    It's called pseudorandom - refer to quote 1.

    That would be the entire point of the experiment - to see if there is a direct correlation between a character and their rolls.

    You don't know that.

    You don't know that.


    Sir, this idea is ridiculous (irony to come).

    Blah, blah, blah... The point of the experiment as stated before would be to gather this data from the user, obviously I'd like to set up a server where users could log their individual data, which would quickly get over your ten thousand requirement - this would simply be able to determine if - for even a single login session - there is any relation between a users previous rolls and their future rolls.

    I don't claim I'm going to make a non-causal program that can predict your exact roll - but simply give you a better idea of the vicinity of your next roll.

    Please refrain from posting any more comments on my thread, if you wish to argue you can PM me and we can continue this discussion elsewhere. I do not mean to be rude, I'm simply using sarcasm to deter trolls and get people to actually try the dice program and let me know if they would be interested in an experiment.

    We'd have to wait and see in this case.
     
< RoughChair - Rs Live-staking - 15b Bank On-Line | Should i get 44 prayer for my g mauler? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site