Results 1 to 10 of 53

Hybrid View

  1. #1
    Player Xavier_Firbold's Avatar
    Join Date
    May 2015
    Posts
    140
    Character
    Xavier Alexander
    World
    Lich
    Main Class
    Paladin Lv 90
    Quote Originally Posted by Kaurhz View Post
    Not that I defend the appalling state, because I don't. But man the armchair developers are out in full force with these speculations.
    It’s not even necessary to be an armchair developer though, you could be a pram developer and make this work effectively.

    Look, as someone with very little ability, Here’s the code.

    x = (rand() * number of tickets) ;
    (0)

  2. #2
    Player
    SnowVix's Avatar
    Join Date
    Apr 2019
    Posts
    763
    Character
    Charming Tulip
    World
    Cactuar
    Main Class
    Sage Lv 100
    Quote Originally Posted by Xavier_Firbold View Post
    x = (rand() * number of tickets) ;
    rand() calls from zero through upper, so this hilariously shows exactly how the problem may have happened in the first place, and isn't in fact any demonstration of how you would fix it.
    (6)

Tags for this Thread