Sounds Like A Plan! - Powered by vBulletin
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20
  1. #11
    Minecraft Moderator Ryuuga's Avatar
    Status
    Offline
    Join Date
    Mar 2012
    Posts
    743
    Post Thanks / Like
    Steam Name:
    ryuuga
    Minecraft Name
    ryuuga
    Quote Originally Posted by naithantu View Post
    It worked, but it just wasn't fun. With the way the plugin was (haven't tested it since we had it, so I'm not sure what it's currently like) you'd either constantly be winning money or constantly losing money, depending on config defined payouts. You couldn't really have a lucky day and win money, you'd just always lose. Quite difficult to explain :p
    We could try this plugin again, but honestly it really isn't that fun to play anyway ;3
    soo... basically it misses a random number generator? I'm not familiar with java but is it really that hard to add a random number generator to it? you could then link a certain number to winning while the others are losing numbers right or am I babbling impossible nonsense now? :S
    that way the random number generator would randomly generate a number (o-9 for example) and only if the number was correct(0 for example) it would give you a winning result :S

  2. #12
    Minecraft VIP nirosu's Avatar
    Status
    Offline
    Join Date
    Apr 2012
    Posts
    702
    Post Thanks / Like
    Quote Originally Posted by Ryuuga View Post
    soo... basically it misses a random number generator? I'm not familiar with java but is it really that hard to add a random number generator to it? you could then link a certain number to winning while the others are losing numbers right or am I babbling impossible nonsense now? :S
    that way the random number generator would randomly generate a number (o-9 for example) and only if the number was correct(0 for example) it would give you a winning result :S
    Well, I'm did not learn java, but with C# it's quite easy to make a random number generator, so I'd assume with java it wouldn't be much of a problem :S

  3. #13
    Minecraft VIP jimred9's Avatar
    Status
    Offline
    Join Date
    Apr 2013
    Posts
    448
    Post Thanks / Like
    Steam Name:
    UrbanPretzle
    Minecraft Name
    jimred9
    Quote Originally Posted by Ryuuga View Post
    soo... basically it misses a random number generator? I'm not familiar with java but is it really that hard to add a random number generator to it? you could then link a certain number to winning while the others are losing numbers right or am I babbling impossible nonsense now? :S
    that way the random number generator would randomly generate a number (o-9 for example) and only if the number was correct(0 for example) it would give you a winning result :S
    From what I know this is a possible suggestion to the improvement of this plugin

  4. #14
    Minecraft VIP lordgandalf's Avatar
    Status
    Offline
    Join Date
    Mar 2012
    Posts
    804
    Post Thanks / Like
    Steam Name:
    lordgandalf
    Minecraft Name
    lordgandalf
    Random generators are hard to build even if you know howto make a RNG most of the time it will be almost random.
    Its difficult for a person to make stuff random

  5. #15
    Minecraft Admin honkin_pigs's Avatar
    Status
    Offline
    Join Date
    Aug 2013
    Posts
    780
    Post Thanks / Like
    The plugin may of been updated to of been fixed since, and if not im sure some petty random generator is nothing for our marvelous developers

    Besides i don't think it would need to be an entirely random generator, you could maybe code it somewhat like;


    Code:
    if winning = 1 
        win
    else lose
    endif
    {loop}
        winning = winning + 1
        if winning > 4
            winning = 0
        endif
    {close loop}
    That;d give like a 20% chance of winning and it wouldn't be a constant win 1 in 5 games it would depend on luck, although im not a good coder and this could be wrong, and also that's more psuedo code than anything, it's not designed with a language in mind >.< although it does look very VB lol
    Last edited by honkin_pigs; 11-09-2013 at 10:53 PM.

  6. #16
    Minecraft VIP nirosu's Avatar
    Status
    Offline
    Join Date
    Apr 2012
    Posts
    702
    Post Thanks / Like
    Quote Originally Posted by honkin_pigs View Post
    The plugin may of been updated to of been fixed since, and if not im sure some petty random generator is nothing for our marvelous developers

    Besides i don't think it would need to be an entirely random generator, you could maybe code it somewhat like;


    Code:
    if winning = 1 
        win
    else lose
    endif
    {loop}
        winning = winning + 1
        if winning > 4
            winning = 0
        endif
    {close loop}
    That;d give like a 20% chance of winning and it wouldn't be a constant win 1 in 5 games it would depend on luck, although im not a good coder and this could be wrong, and also that's more psuedo code than anything, it's not designed with a language in mind >.< although it does look very VB lol
    that's not 20% chance xD that's winnining every 5th time

    What ryuu saying that to make a random generator is hard, and nothing is truly random >...> but isn't just having some variable defined by Random could be good enough :S? even if a bit unrandom sometimes?
    that is, if java has that, as I only know of C# >.>

  7. #17
    Minecraft Admin honkin_pigs's Avatar
    Status
    Offline
    Join Date
    Aug 2013
    Posts
    780
    Post Thanks / Like
    Quote Originally Posted by nirosu View Post
    that's not 20% chance xD that's winnining every 5th time

    What ryuu saying that to make a random generator is hard, and nothing is truly random >...> but isn't just having some variable defined by Random could be good enough :S? even if a bit unrandom sometimes?
    that is, if java has that, as I only know of C# >.>

    The variable would keep changing it's integer value in a loop as the server ticks, it wouldn't simply increase by 1 every time the person rolls, it'd be constantly increasing and you'd have to be lucky to click it at the right time

  8. #18
    Minecraft VIP nirosu's Avatar
    Status
    Offline
    Join Date
    Apr 2012
    Posts
    702
    Post Thanks / Like
    Quote Originally Posted by honkin_pigs View Post
    The variable would keep changing it's integer value in a loop as the server ticks, it wouldn't simply increase by 1 every time the person rolls, it'd be constantly increasing and you'd have to be lucky to click it at the right time
    considering the fact the server has 20 ticks per sec, that would be a bit too random >...< and won't make it "luck based", also running this all the time is a bit of a waste of cpu, and this plugin is built like a slot machine, it's not about pure %, so maybe just a random number of movement of each line, if I got the plugin's idea right.

    what about doing something like, the first line moves like 10-15 times(with random), the 2nd will be = first*2 - first%10 (since it needs to move while the first is moving, and stop right after) , and third could be something like first + 2nd + 2nd%10 (that seems random enough sure it has only 5 options of movement, but the outcome is not based one that, is it?)

    Anyways, I think it's better just to leave it to the plugin guys, who actually gonna do something about the plugin xD (probably )

  9. #19
    Minecraft Admin
    Plugin Dev
    Memer
    Memes
    Howmany things can I add here?
    Top kek
    Quite a few actually.
    Stoux's Avatar
    Status
    Offline
    Join Date
    Jun 2012
    Posts
    9,002
    Post Thanks / Like
    Steam Name:
    Stoux
    Minecraft Name
    Stoux
    bullshit_everywhere-e1345505471862.jpg

    Anyhow: Why not just use a new Casino plugin (which is pretty much the same plugin, but just under a new name + with bug fixes) instead of reviving an old one.

  10. Likes Jackster21, honkin_pigs, nirosu liked this post
  11. #20
    Minecraft Admin honkin_pigs's Avatar
    Status
    Offline
    Join Date
    Aug 2013
    Posts
    780
    Post Thanks / Like
    Quote Originally Posted by nirosu View Post
    considering the fact the server has 20 ticks per sec, that would be a bit too random >...< and won't make it "luck based", also running this all the time is a bit of a waste of cpu, and this plugin is built like a slot machine, it's not about pure %, so maybe just a random number of movement of each line, if I got the plugin's idea right.

    what about doing something like, the first line moves like 10-15 times(with random), the 2nd will be = first*2 - first%10 (since it needs to move while the first is moving, and stop right after) , and third could be something like first + 2nd + 2nd%10 (that seems random enough sure it has only 5 options of movement, but the outcome is not based one that, is it?)

    Anyways, I think it's better just to leave it to the plugin guys, who actually gonna do something about the plugin xD (probably )

    rofl, as i said i'm not an experienced coder and was only trying to help, but either way i guess i seemed to make a random generator if your calling it too random >.<
    knowing m though, this probably wouldn'even work, stoux seems to have the right idea and just go with a newer and better plugin, we should just leave it to the plugin god, he seems to know what hes doing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Go to the top of the page