Results 1 to 37 of 37

Thread: DPAD Team Strain Script

  1. #1
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747

    DPAD Team Strain Script

    exacliber has sent the script my way to host, which maybe will help with download speeds with the strains. So far I made a small modification to the script. The way the script is set up right now it takes too long to grab all the data and place into a text file for download. I've altered the script so when the user selects the "download entire team strain" option it will in effect download only 1000 entries. These 1000 entires are effectivly the top 1000 that have been uploaded into the database at this time. I encourage people to start uploading their result.dat files again so I can rest assured there isn't a problem on that end. The new url is http://dpad.ezracing.net

    I hope to have some time to impliment a few other features a week from now.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    an Island off the coast of somewhere
    Posts
    540
    Oops.

    Code:
    Problem: File exceeded upload_max_filesize

  3. #3
    Good call Magnav0x. Thats what I suspected the problem was, thats a good way to fix it.

    You need to edit your PHP.ini file to allow for uploads larger than 2 megs. I had to do that to allow people to upload.

    Got my results uploaded. Thanks again Magnav0x. I'll add some features when I get time, now that its working.
    Last edited by excaliber; 12-24-2003 at 01:54 PM.

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Location
    an Island off the coast of somewhere
    Posts
    540
    Successfully sent top 1000 extracted from my results.dat.

  5. #5
    Added another feature. The random X number of results is great, but if you only want 200 or so results, its highly likely you wont get above 0.4%

    So there is an option to download x# of results from the top. Will limit at 1000, so you cant specify too many.

  6. #6
    Bye all. Im going to be out of town from today til Januaary 1st. I'll update my results.dat before I leave. See what kind of interesting results I get after a week of isolation.

    Have a happy holidays!

  7. #7
    What happened? The page cant be found.

  8. #8
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    I just switched the domain to my new server today. Forgot to create an entry for subdomain For now you can access it here: http://www.ezracing.net/dpad/
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  9. #9
    It appears in the move something was broken. Did you create an uploads directory as well?

  10. #10
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Exacliber yes I didn't have the permissions on the folder set right. Should be working. I haven't tested uploading a file, as I don't have any strains available to upload. Let me know if the upload isn't working. I do know the download is working though. I also set the max upload to 20mb.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  11. #11

  12. #12
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Are you refering to the uploading exaliber? Send me a results.dat so I can take a look at the problem.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  13. #13
    Yup, the uploading. Here is my latest results.dat
    Attached Files Attached Files

  14. #14
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    I'm working on it. Still trying to figure out what's causing the problem. I know it can't be anything in the script or permissions on the dpad folder. It must be something in the apache or php config files.....
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  15. #15
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Ok script has been moved back to http://dpad.ezracing.net
    Upload script is running properly again. Thanks for your patience guys.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  16. #16
    Cool, works great. Thanks!

  17. #17
    One small glitch I just noticed -- the "Last Update" field seems to be stuck. I uploaded a set this morning, but it still shows 12/31/03 as the last date.

  18. #18
    Indeed. Maybe its a timezone thing. Not sure, I'll investigate.

    Our muon yields are increasing very quickly! Im surprised how fast this went. Granted, it will slow down once the yields get larger, but this is impressive. Good job!

  19. #19
    Senior Member wirthi's Avatar
    Join Date
    Apr 2002
    Location
    Pasching.AT.EU
    Posts
    820
    Hi,

    great work guys!

    One question: do I have to restart the client after updating the results.dat? AFAIK it loads the results.dat everytime it generates a new workunit but I'm not 100% sure about that.

    Greets,
    Wirthi
    Engage!

  20. #20
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Wirthi, I'm not 100% sure, but it would probably be safer to stop the client before overwriting the current one and then start again.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  21. #21
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    I noticed we have a 9.829494 yield muon now.... Is this a true from scratch strain or did someone use the 100-result sample file from the MUON project page?
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  22. #22
    Indeed. I was going to post the same thing. Has someone contaminated it? We want ONLY THE TEAM STRAIN added, not the overall project strain.

  23. #23
    WizKid V2.0 matrix_fan's Avatar
    Join Date
    Jan 2003
    Location
    League City, Texas
    Posts
    305
    Looks like it, I downloaded the whole thing and it's at the very top, it lists everything and then lists names and teams of the people who submitted them just like the 100-result .dt file, unluckily some of then are spread-out through the WHOLE thing, as i tried decantaminating it , but i then saw too many

  24. #24
    I'll hunt around and see if i stashed away a backup somewhere.

    /me slaps the person who did this with a sturgeon

    EDIT:

    Heres some that i found laying around, although its very incomplete. Only 800 or so results, ranging from 4.408% to 0.00047%

    Hope someone else has a more complete backup than I.

  25. #25
    WizKid V2.0 matrix_fan's Avatar
    Join Date
    Jan 2003
    Location
    League City, Texas
    Posts
    305
    uh-oh What if yo can't find it!??

  26. #26
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Ok I just cleaned up the strain. I removed all entries from the IP address that submitted those.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  27. #27
    We can always rebuild it if we have to- zero it out and upload all our individual strains again.

  28. #28
    Good thinking Magnav0x. Glad I added that IP tracking a while ago, seems to come in handy.

    I'm going to start keeping backups once weekly of the top 1000, in case a mass problem happens.

  29. #29
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    BTW excaliber, I found the problem with the date on the frontpage. You are using a max select statement on the date. December (12) is going to always be selected over January (01).

    I added a timestamp field. In a bit after someone submits again I'll put in the code to transform the timestamp into a readable format.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  30. #30
    Oops, that would do it.

    I should have used the DateTime mySQL field instead of a Varchar, to avoid that problem. Tad late for that now, isnt it?

  31. #31
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Ok I lied I went ahead and put in the code to put the timestamp in readable format. Right now it shows todays date, because I added the timestamp field today.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  32. #32
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    I also altered your queries to grab maximum and minimum muon yields (just to make them a bit more proficient.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  33. #33

  34. #34
    Senior Member wirthi's Avatar
    Join Date
    Apr 2002
    Location
    Pasching.AT.EU
    Posts
    820
    The teamstrain at dpad.ezracing.net are not updated any more? The last update was at: 01/07/2004 19:29.

    I've uploaded some better results since then (best one with 4.463 according to my viewresults.exe). They don't show up in the downloaded result.dat ...
    Last edited by wirthi; 01-10-2004 at 05:13 PM.
    Engage!

  35. #35
    I've noticed the same. Any ideas magnav0x? Im really really busy, so wont have a chance to check it out.

  36. #36
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Is it not spitting out any errors when uploading?
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  37. #37
    Nope. Appears to be uploading fine. But it doesnt seem to be adding them.

Posting Permissions

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