Latest News: OOTP 13 Announced with Screenshots & Feature List! Pre-Order Now! - OOTP Baseball 12 Available! - iOOTP Baseball 2011 Available! - Title Bout Championship Boxing 2.5 released! - Inside the Park Baseball Patch 1.03 released, DEMO now available

Pre-Order OOTP 13, Save & Win! | OOTP 12 Off-Season Special, just $19.99!

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

Earlier versions of OOTP: Commissioner's Corner Want to run an online league? Want to learn about the 'ins' and 'outs' of being a commish? This is the place!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-21-2008, 02:59 AM   #1 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Reports Extractor for Online Leagues

Some of you use cPanel and file manager to explode your league reports on the server. There may even be some of you going the one file at a time slow route. While cPanel certainly does the job, it still requires a login and several clicks until you navigate to your lgreports directory.

I'm working on an easy and secure extractor that
  • is easily linked from your league website
  • super easy to configure
  • will extract your reports archive on the server with the click of one button
  • is secure and safe
(Those using AllSimBaseball websites already have the feature built into their sites).

Here's what it looks like: AllSimBaseball Extractor

I'm still playing with the code at the moment but I wanted to see if there is any interest out there. If so, I'll write a readme.txt, package it and share it.

EDIT Feb 21 2009: Now released with feature to delete the archive after extraction. Download here: http://www.allsimbaseball.com/index....c=select&id=32
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)

Last edited by f.montoya; 02-21-2009 at 06:24 AM.
f.montoya is online now   Reply With Quote
Old 10-21-2008, 04:03 PM   #2 (permalink)
Bat Boy
 
Join Date: Jan 2004
Posts: 16
I would definitely have a use for this.
squiz is offline   Reply With Quote
Old 10-22-2008, 12:03 AM   #3 (permalink)
Major Leagues
 
ELDoro's Avatar
 
Join Date: Dec 2001
Location: Dayton, OH
Posts: 411
Thanked 6x in 6 posts
If its like the feature you use on allsimbaseball.com I'll give a thumbs up!
__________________
http://mlnb.allsimbaseball8.com/ Co-Commish

DBLC1: (2003 & 2011 & 2014 Champs as A's GM)
DBLC2: Last World Series Champion of the league (Reds)
ELDoro is offline   Reply With Quote
Old 10-22-2008, 08:15 AM   #4 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Quote:
Originally Posted by ELDoro View Post
If its like the feature you use on allsimbaseball.com I'll give a thumbs up!
Yep. One in the same!

I'll be done with it before the end of the week and I'll share it fairly soon.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-22-2008, 09:33 AM   #5 (permalink)
All Star Reserve
 
Join Date: Feb 2007
Posts: 891
Thanked 7x in 7 posts
I'd be interested as well. Thanks Fidel!
gollum65 is offline   Reply With Quote
Old 10-22-2008, 09:17 PM   #6 (permalink)
Minors (Single A)
 
Join Date: Jun 2007
Posts: 61
Can't Wait!!!
__________________
iMLB - Reality with a twist
Commissioner & Reds GM


WORLD BASEBALL HIERARCHY - Where champions compete!
GM of the Lagunillas Loros
TurboTrigga is offline   Reply With Quote
Old 10-23-2008, 10:00 AM   #7 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Should be done by Friday. Actually, it is done. Just want to write clear, uncomlpicated instructions on how to use it.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-23-2008, 12:55 PM   #8 (permalink)
Hall Of Famer
 
satchel's Avatar
 
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,680
Thanked 48x in 26 posts
I'd like to try it too.
__________________
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 10-24-2008, 04:59 AM   #9 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Here it is...

All Sim Baseball


Comments welcome!
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-24-2008, 09:00 AM   #10 (permalink)
All Star Reserve
 
Join Date: Feb 2007
Posts: 891
Thanked 7x in 7 posts
Seems to work great! Thanks a ton! For future versions, maybe you could add a second function where it deletes the .tar.gz after extraction? Some users, such as myself, are close to our web space allocations, so we (I) delete the reports tar.gz file after extraction. Regardless, thanks for this great util.
gollum65 is offline   Reply With Quote
Old 10-24-2008, 12:10 PM   #11 (permalink)
All Star Reserve
 
Join Date: Feb 2007
Posts: 891
Thanked 7x in 7 posts
After further review, this is not working for me. I placed it in the folder I need the reports extracted to, and asked it to extract the reports file from this morning's sim. It claims it extracts fine, but my reports are not updated. I have to manually export them via my cpanel.
gollum65 is offline   Reply With Quote
Old 10-24-2008, 12:55 PM   #12 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Quote:
Originally Posted by gollum65 View Post
After further review, this is not working for me. I placed it in the folder I need the reports extracted to, and asked it to extract the reports file from this morning's sim. It claims it extracts fine, but my reports are not updated. I have to manually export them via my cpanel.
If it said it extracted them, then it did. The problem is that you are not looking for them at the proper URL path from your browser. If you extracted to a specific place they will certainly be there.

The big question...

Did you see a huge list of file names start to show up below the button?

EDIT: Make sure you are placing this mod's files in the same directory where your archive is. NOT where you want the reports extracted to.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)

Last edited by f.montoya; 10-24-2008 at 01:00 PM.
f.montoya is online now   Reply With Quote
Old 10-24-2008, 12:58 PM   #13 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Quote:
Originally Posted by gollum65 View Post
Seems to work great! Thanks a ton! For future versions, maybe you could add a second function where it deletes the .tar.gz after extraction? Some users, such as myself, are close to our web space allocations, so we (I) delete the reports tar.gz file after extraction. Regardless, thanks for this great util.
I think this is a good idea. I am working on this as I write and I'm fairly confident I can have it delete the file as well. Look for an updated version in the coming week.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-24-2008, 02:46 PM   #14 (permalink)
All Star Reserve
 
Join Date: Feb 2007
Posts: 891
Thanked 7x in 7 posts
Gonna send you a PM about this.

Last edited by gollum65; 10-24-2008 at 02:48 PM.
gollum65 is offline   Reply With Quote
Old 10-25-2008, 07:46 AM   #15 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Added an optional "Delete" function. Let me know how it works for you.

All Sim Baseball
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-27-2008, 09:29 AM   #16 (permalink)
Minors (Double A)
 
Join Date: Sep 2003
Location: Windsor, Ontario, Canada
Posts: 148
I'm finding the reports for the league i help run is not fully extracting... it gets about 3/4 of the way through and then stops..
Any ideas as to why this would happen? We're not hosted by you and could this be a server issue?
Deftones2003 is offline   Reply With Quote
Old 10-27-2008, 08:01 PM   #17 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Quote:
Originally Posted by Deftones2003 View Post
I'm finding the reports for the league i help run is not fully extracting... it gets about 3/4 of the way through and then stops..
Any ideas as to why this would happen? We're not hosted by you and could this be a server issue?
I've never seen that. Could be due to the size of the reports archive. How large is this league and what is the size of the archive?

In general, not just for use of this utility, I would recommend splitting up the reports into two or three uploads for huge universes or leagues that employ 16 levels of minors. Easier on the game and quicker to explode on the server as well.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 10-27-2008, 09:55 PM   #18 (permalink)
Minors (Double A)
 
Join Date: Sep 2003
Location: Windsor, Ontario, Canada
Posts: 148
Quote:
Originally Posted by f.montoya View Post
I've never seen that. Could be due to the size of the reports archive. How large is this league and what is the size of the archive?

In general, not just for use of this utility, I would recommend splitting up the reports into two or three uploads for huge universes or leagues that employ 16 levels of minors. Easier on the game and quicker to explode on the server as well.
it's about a 60mb file if i remember correctly...

How would you go about splitting the reports for multiple uploads and then explode them on the server?

Thanks for your help
Deftones2003 is offline   Reply With Quote
Old 10-27-2008, 10:21 PM   #19 (permalink)
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,718
Thanked 140x in 68 posts
Quote:
Originally Posted by Deftones2003 View Post
it's about a 60mb file if i remember correctly...

How would you go about splitting the reports for multiple uploads and then explode them on the server?

Thanks for your help
Yeah, that's a pretty big file.

First, eliminate what you only need once or once in a while, like history and images. History is only needed after the season and images are only needed when you have new rookies coming in.

Then, in the Create Reports page, make sure you remove the checks for roughly half or 2/3 of what is currently showing a red check. Generate the reports, archive and upload as usual. After you extract on the server, repeat the steps in creating reports and archiving, only this time replace the checks for what you left out with the first upload and remove the checks for what you've already done.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is online now   Reply With Quote
Old 02-21-2009, 12:41 AM   #20 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,527
Thanked 303x in 166 posts
Thanks for this, Fidel! You may want to edit your first post to show that it has been tested and released though.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 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 07:22 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