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 06-12-2006, 04:41 AM   #1 (permalink)
Developer OOTP
 
Markus Heinsohn's Avatar
 
Join Date: Dec 2001
Location: Germany
Posts: 14,004
Thanks: 606
Thanked 7,113x in 1,336 posts
Lightbulb Online leagues - Plans for patch 2 & File explanations

Hi

It looks like the conversion wasn't an easy one when it comes to online leagues. Of course we're working hard to eliminate the stumbling blocks in the future. That being said, we will be building a zip-library into the next patch, which will greatly help creating your league file (the one that the league members download from your site) or zipping the freshly generated reports. We will add a new dialog where you can select which things you want to include into the league file, for example:
X days of game logs, X days of boxscores, X days of messages, player histories Y/N, names.dat file Y/N, include power rankings (Y/N), and a list where you can select which news text files you want from which leagues (similar to the HTML report creation/upload dialog).
After you have made your selections (the settings will be stored), the game zips the needed files and puts the resulting zip file into a selectable destination folder. You'll also have the option to automatically upload the file to your server after it has been created.

I think this will really make the job of the commish easier.

Now, here is a description of the folder system of OOTP 2006 save games, and an indication of which file you (the commish) would probably like to include in the league file when manually creating it:

\myleague.lg\ -> here are all the .dat files stored. Include every file except the names.dat file (unless you edited player/staff names).
\myleague.lg\page_links -> NOT include
\myleague.lg\messages -> include all to be sure
\myleague.lg\news\html -> the \box_scores and \game_logs are the only folders that include HTML files that you may want to include in the league files, with the exception of \leagues\league_*_team_power_rankings_page.html (the power rankings that get generated weekly)
\myleague.lg\news\text\players -> The player history files, include if you like
\myleague.lg\news\text\teams + \leagues -> You may want to include all files, EXCEPT the ones ending with a league year (ie. league_100_transactions_2006.txt) as they are only kept for reference in the league/team history pages.

Hope this helps a bit.

Questions? Suggestions?

Cheers,
Markus

Last edited by Steve Kuffrey; 06-12-2006 at 08:29 AM.
Markus Heinsohn is offline   Reply With Quote
Old 06-12-2006, 05:40 AM   #2 (permalink)
All Star Reserve
 
cibl commish's Avatar
 
Join Date: Jun 2003
Location: Sycamore, IL
Posts: 611
Thanks: 5
Thanked 1x in 1 post
Must say I'm loving the idea of having the game zip the league file for us.. Awesome!
__________________
Rick
cibl commish is offline   Reply With Quote
Old 06-12-2006, 07:59 AM   #3 (permalink)
Global Moderator
 
thomamon's Avatar
 
Join Date: Sep 2003
Location: NJ
Posts: 5,185
Thanks: 32
Thanked 48x in 24 posts
Wow, this is huge for online leagues!!!
__________________
Thomas A. Montalto
Please check out my Stupid Little Blog - http://www.stupidlittleblog.com
thomamon is offline   Reply With Quote
Old 06-12-2006, 08:04 AM   #4 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 11,025
Blog Entries: 1
Thanks: 463
Thanked 116x in 85 posts
this is quite helpful.

Now all we need is a league activate/de-activate feature and we're golden!
__________________
Once upon a time I stated if I ever got a warning it was time to go. It looks like that day has finally come.
canadiancreed is offline   Reply With Quote
Old 06-12-2006, 08:22 AM   #5 (permalink)
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 4,283
Thanks: 35
Thanked 64x in 37 posts
Definetly a step in the right direction!
RBLwebguy is offline   Reply With Quote
Old 06-12-2006, 09:48 AM   #6 (permalink)
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Woodland Mills, TN
Posts: 5,993
Thanks: 57
Thanked 506x in 304 posts
Definitely a great help, Markus.

Have you looked at the lineup ftp problems yet?
__________________


Cooleyvol is offline   Reply With Quote
Old 06-12-2006, 11:26 AM   #7 (permalink)
All Star Reserve
 
Join Date: Nov 2005
Posts: 534
Thanks: 0
Thanked 0x in 0 posts
Awesome dude.
DaMook is offline   Reply With Quote
Old 06-12-2006, 12:32 PM   #8 (permalink)
Minors (Double A)
 
Join Date: Sep 2003
Posts: 161
Thanks: 0
Thanked 0x in 0 posts
I was actually in the process of writing a utility to do this very function.

Basically:

Build the Zip file upload it
take the report files/ zip/ upload it/expand it
Take the DB Dump/ upload/ and load into DB

I wrote an ANT script to do this for OOTP5 an 6 when I ran a league and it was very helpful. I was planning on writing it as a real appliaction instead of just a bunch of commandline stuff.

Oh well put that project on hold and start working on other ideas I have.
__________________
Scott Stewart

World Baseball Hierarchy - Calgary Outlaws
Beyond the Ivy - Chicago Cubs
Stars and Strips Baseball League - Chicago White Soxs
Action Pack Baseball League - Toronto Blue Jays
Diskostew22 is offline   Reply With Quote
Old 06-12-2006, 01:29 PM   #9 (permalink)
All Star Reserve
 
SC_Dawg's Avatar
 
Join Date: Jun 2002
Location: Columbia, South Carolina
Posts: 643
Thanks: 0
Thanked 0x in 0 posts
Quote:
Originally Posted by Markus Heinsohn
Questions? Suggestions?
Markus, thanks for looking into this and taking suggestions. Here is what, at this time, I would like to see.

1: Give the commissioners the ability to choose what compression format they want to use in creating the league file. I have read where the new .7z format is compressing better than the old .zip format.

2: Integrate into the league reports generation/compression the option to use Fidel Montoya's routine for compression/archiving/uploading/remote side unarchiving.
SC_Dawg is offline   Reply With Quote
Old 06-14-2006, 09:36 PM   #10 (permalink)
Bat Boy
 
Join Date: Oct 2002
Posts: 5
Thanks: 0
Thanked 0x in 0 posts
If the files could be included in the resulting zip file in memory without having to be written to the disk I think it would speed up exports a lot. Writing out thousands of little files takes forever!
TheRedder is offline   Reply With Quote
Old 06-16-2006, 06:38 PM   #11 (permalink)
All Star Starter
 
alinkens's Avatar
 
Join Date: Feb 2002
Location: CT
Posts: 1,048
Thanks: 0
Thanked 0x in 0 posts
Markus, any plans for allowing owners to play their games again? The Export/Import game feature is critical for online play.
alinkens is offline   Reply With Quote
Old 06-16-2006, 07:01 PM   #12 (permalink)
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Woodland Mills, TN
Posts: 5,993
Thanks: 57
Thanked 506x in 304 posts
Quote:
Originally Posted by alinkens
Markus, any plans for allowing owners to play their games again? The Export/Import game feature is critical for online play.
I bet the number of leagues allowing their owners to play their games out and then export them to the commish could be counted on less than one hand. I assume that's what you're talking about.
__________________


Cooleyvol 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 12:14 PM.


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