Lottery leaderboards!

Discussion in 'Economy & Market' started by kukelekuuk, Mar 1, 2013.

Thread Status:
Not open for further replies.
  1. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    lolnope

    I'm using magic.
     
  2. NickLA3107

    NickLA3107 Builder
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️

    Joined:
    May 18, 2012
    Messages:
    677
    Trophy Points:
    30,140
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +206
    *cough*Radthorne*cough*
     
  3. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    Still magic
     
  4. NickLA3107

    NickLA3107 Builder
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️

    Joined:
    May 18, 2012
    Messages:
    677
    Trophy Points:
    30,140
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +206
    well... well.... :| you win, magic it is.
     
  5. iEvolive

    iEvolive Epidexipteryx hui
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Oct 28, 2011
    Messages:
    1,389
    Trophy Points:
    40,690
    Ratings:
    +136
  6. Intellectualist

    Intellectualist Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 16, 2012
    Messages:
    3,797
    Trophy Points:
    40,555
    Gender:
    Male
    Ratings:
    +470
    You could create an entirely new page JUST for ticket amounts, it would shave 0.53540802001953 seconds off the total load time.
     
  7. Schloty

    Schloty Professional Money Grinder
    President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ II ⭐ Premium Upgrade

    Joined:
    Jun 18, 2012
    Messages:
    759
    Trophy Points:
    67,110
    Gender:
    Male
    Ratings:
    +202
    There is no way I have won that much money

    Schloty21 has won 521050 with 103 tickets.

    No way
     
  8. Schloty

    Schloty Professional Money Grinder
    President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ II ⭐ Premium Upgrade

    Joined:
    Jun 18, 2012
    Messages:
    759
    Trophy Points:
    67,110
    Gender:
    Male
    Ratings:
    +202
    Lol did anyone else recognize this

    425, andrewkm's total earnings is $5100 with 1 ticket.

    I would not have expected this.
     
  9. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    Not really, I load all my data at once and I parse it for each thing per page, but total tickets forces me to completely rewrite my code to account for all the data, not to mention it will be a lot more CPU intensive to parse it all out of the bigger logfiles.
     
  10. d_face012

    d_face012 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jul 7, 2012
    Messages:
    1,665
    Trophy Points:
    32,760
    Gender:
    Male
    Ratings:
    +323
    Sad, cuz I won 60k and it can't be shown.
     
  11. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    The website will be down throughout the day due to updates from my host.
     
  12. Intellectualist

    Intellectualist Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 16, 2012
    Messages:
    3,797
    Trophy Points:
    40,555
    Gender:
    Male
    Ratings:
    +470
    Like i said, go to a blank page and only show the tickets bought. Program something new just for it.

    Would it really be as much as a giant mess as your working it up to be?
     
  13. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    I think you misunderstood what I said, I load all lotto messages from a bunch of logfiles with each logfile being 2MB in size, I already lessened the load by a lot by making it parse every month separately, but it still takes 12 seconds to load it all.
    If I were to increase the load by making it parse and process all the tickets, too, then I would increase the loadtime of that script to over 30 seconds (which is the php load limit, it will cancel the script when it reaches that point.)
    I wouldn't even be able to show any of the page because the backbone of my scripts, the automatic script that updates the page every hour, would not even work.
     
  14. Intellectualist

    Intellectualist Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 16, 2012
    Messages:
    3,797
    Trophy Points:
    40,555
    Gender:
    Male
    Ratings:
    +470
    I can't tell if you tried to tone down the technobabble or not :p
    Can you increase the php load limit? And only auto update the page once day?
    How does ECC load up in less then 3 seconds and a page with the total ticket buys takes 12 seconds? It doesn't make sense...
     
  15. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    I have a folder with a lot of 2mb logfiles, every hour I read through all the logfiles from the month and pull out all the lottery messages (without the ticketbuys), this is already 18k lines, then I loop through those lines to create my raw data, my interface, from there on I make each page.
    When I add the lottery tickets it would literally increase the loadtime to such a degree that either php or other applications running on my server will crash.

    It's a matter of integrity over functionality in this case.
     
  16. Intellectualist

    Intellectualist Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 16, 2012
    Messages:
    3,797
    Trophy Points:
    40,555
    Gender:
    Male
    Ratings:
    +470
    Lol, fine fine, I'm done arguing about things i barely know about. I bow to the cactus's superior knowledge!
     
  17. JBuks

    JBuks Tycoon
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 18, 2012
    Messages:
    1,625
    Trophy Points:
    44,840
    Gender:
    Male
    Ratings:
    +507
    107 wins, total earnings $6.3mil and always going up!:p
     
  18. Fleetfooter

    Fleetfooter Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Feb 28, 2012
    Messages:
    531
    Trophy Points:
    27,340
    Gender:
    Male
    Ratings:
    +84
    I just want to bump this because it's awesome
     
  19. Intellectualist

    Intellectualist Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Nov 16, 2012
    Messages:
    3,797
    Trophy Points:
    40,555
    Gender:
    Male
    Ratings:
    +470
    Someone ought to pin it.
     
  20. Thecreator767

    Thecreator767 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Apr 22, 2012
    Messages:
    3,172
    Trophy Points:
    36,440
    Gender:
    Male
    Ratings:
    +248
    GoDaddy?
     
Thread Status:
Not open for further replies.