Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Online Leagues

Reply
 
LinkBack Thread Tools Display Modes
Old 11-03-2003, 03:43 PM   #1 (permalink)
Minors (Rookie Ball)
 
Join Date: Mar 2003
Location: MA
Posts: 47
Thanks: 0
Thanked 0x in 0 posts
online league - website design issues

I am hoping that other people have run into the issue that I am seeing. So with an online league after every sim is run by the league simmer you have a league zip file which is uploaded to the FTP server so that it can be downloadable for the rest of the league members.
The problem that I am seeing is that if you have a link to this file so that others can click on the link to download the file, that while the file is being uploaded the link fails and you receive an error on the web page. I am first wondering if others also see this? Has anyone figured a workaround?

Hack solution: I have come up with a hack work around for this issue but I am not thrilled with it. I wrote a cgi-perl script that when the webpage with this link on it is loading up, it checks the file size of the file - waits two seconds - checks the file size again. If the file size has changed then it assumes the file is still being uploaded and does not display the file name as a link. The problem here is obviously that I have instituted a two second delay into this page loading up.

I am open to any ideas on this.
__________________
NABL OOTP Baseball League
Spoma is offline   Reply With Quote
Old 11-03-2003, 05:50 PM   #2 (permalink)
Global Moderator
 
sporr's Avatar
 
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,275
Thanks: 2
Thanked 35x in 2 posts
I don't send a message to the league that the file is ready for download until the entire site is updated, so I haven't really run into this issue.
__________________


Baseball Maelstrom - Commish/ St Louis Cardinals
USBA - Las Vegas Scorpions

sporr is offline   Reply With Quote
Old 11-03-2003, 06:14 PM   #3 (permalink)
Hall Of Famer
 
LivnLegend's Avatar
 
Join Date: Dec 2001
Location: Hunters Ridge, CA
Posts: 5,530
Thanks: 0
Thanked 1x in 1 post
Quote:
Originally posted by sporr
I don't send a message to the league that the file is ready for download until the entire site is updated, so I haven't really run into this issue.
^ Right!

Although my league knows I traditionally run the sim around 10pm Pacific, it's not certain exactly when the new league file will be available for download. I send an email to the league and change the date on the league front page, only after the entire file is up.
__________________


1977 Dodgers MLB Replay - A replay of the '77 Dodger season, managing each game individually
Pastoral Baseball Union - An 1800's Dynasty


I'm going back to where I started. I'm flashing back into my pan.
LivnLegend is offline   Reply With Quote
Old 11-03-2003, 07:06 PM   #4 (permalink)
Hall Of Famer
 
satchel's Avatar
 
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,680
Thanks: 52
Thanked 48x in 26 posts
I have tried to download a league file while the commish was still uploading it. I’ve been commishing a league for about six months now and I rarely have owners try to download my league file very soon after I post it (say three hours or less). The conflict of an owner trying to download a still-uploading league file is uncommon.
__________________
JL Commish
NPBL Rhode Island Reds ’33 ’34 ’35
TCBA San Francisco Railbornes ’74 ’76 ’77 ’78
FL New Orleans Black Sox ’56 ’57 ’58 ’59
IOLD
satchel is offline   Reply With Quote
Old 11-03-2003, 07:25 PM   #5 (permalink)
Minors (Rookie Ball)
 
Join Date: Mar 2003
Location: MA
Posts: 47
Thanks: 0
Thanked 0x in 0 posts
we are running into the problem on a regular basis of people trying to download the file as it is uploading. everyone knows that are simms are run at 8:30pm on certain days and most of the owners are extremely eager to download the file.
i have the date on the file change automatically thorugh a perl script so that i do not have to manually change it. see i am the web designer but not the simmer so i would not know it was up to change it manually nor do i want to have to change the file manually. obviously thisis not a huge problem but jsut one of those little things that i have run into.
what would be nice is if when the ootp5 program uploaded the file it would lock it so that then i could check if the file is locked and go according to this.
__________________
NABL OOTP Baseball League
Spoma is offline   Reply With Quote
Old 11-03-2003, 09:01 PM   #6 (permalink)
rem
Hall Of Famer
 
rem's Avatar
 
Join Date: Jul 2003
Location: College Park, Md.
Posts: 4,998
Thanks: 7
Thanked 7x in 5 posts
Tell them if they attempt to download the file, without written premission in the form of an e-mail, they will get there heads choped off.
__________________
Born To Play: Commissioner, Baltimore Orioles GM
MLB 93: Baltimore Orioles
OTBA: Washington Filibusters

2005 Winner of LL's Pick the Loser Contest! - 15-0
rem is offline   Reply With Quote
Old 11-03-2003, 11:01 PM   #7 (permalink)
Hall Of Famer
 
satchel's Avatar
 
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,680
Thanks: 52
Thanked 48x in 26 posts
owners

Some OotP heads would sit slavering, watching and waiting for a sim to run? I’ve not seen the like. *cough*
satchel is offline   Reply With Quote
Old 11-03-2003, 11:47 PM   #8 (permalink)
Minors (Double A)
 
alvaman's Avatar
 
Join Date: Dec 2002
Posts: 113
Thanks: 0
Thanked 0x in 0 posts
Solution:

You can upload the file with a different file name then, rename it to the "league file" name after the transfer is completed..

Just a thought.

Manny
alvaman is offline   Reply With Quote
Old 11-04-2003, 12:04 AM   #9 (permalink)
All Star Starter
 
blmeanie's Avatar
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,039
Thanks: 0
Thanked 0x in 0 posts
or change the link each new file. That way nobody can download a file that has no link. Then upload the front page for the league, which I would guess you do already with any news etc.
__________________
blmeanie

Green Monsta League

email me at blmeanie

Above link works for some email client programs but not all, email me at blmeanie33@earthlink.net
blmeanie is offline   Reply With Quote
Old 11-04-2003, 07:38 PM   #10 (permalink)
Major Leagues
 
Randall's Avatar
 
Join Date: Jul 2003
Location: VA
Posts: 321
Thanks: 0
Thanked 0x in 0 posts
I run my own web server, and it takes me less than 15 seconds to put the zip file on the server, so if somebody happens to try and download at the same time, they are **** outta luck for those 15 seconds...
__________________
Randall
FORT - Atlanta Braves
CPL - Pittsburg Pirates
Formerly NABL - Philadelphia Phillies
Formerly GMC - Vasto Rangers
Formerly NBA - Atlanta Braves - 1973 Champ
Formerly ThePBL - Anaheim Angels - 1975 Champ
Randall is offline   Reply With Quote
Old 11-04-2003, 08:24 PM   #11 (permalink)
Minors (Rookie Ball)
 
Join Date: Mar 2003
Location: MA
Posts: 47
Thanks: 0
Thanked 0x in 0 posts
well your computer and network connection must be a lot quicker than our simmer. it seems to take him 15-20 minutes to upload the files during certian times of the season. there are times when it is quicker.
really i was just wondering if anyone had figured a work around to this issue.
__________________
NABL OOTP Baseball League
Spoma is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments