|
||||
|
|
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! |
|
Thread Tools |
10-21-2008, 01:59 AM | #1 |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
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
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 ex-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 05:24 AM. |
10-21-2008, 03:03 PM | #2 |
Bat Boy
Join Date: Jan 2004
Posts: 16
|
I would definitely have a use for this.
|
10-21-2008, 11:03 PM | #3 |
All Star Reserve
Join Date: Dec 2001
Location: Dayton, OH
Posts: 535
|
If its like the feature you use on allsimbaseball.com I'll give a thumbs up!
__________________
MLNB Commish: https://statsplus.net/mlnb/ |
10-22-2008, 07:15 AM | #4 | |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
Quote:
I'll be done with it before the end of the week and I'll share it fairly soon.
__________________
Fidel Montoya Asahi2 Baseball ex-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) |
|
10-22-2008, 08:33 AM | #5 |
All Star Reserve
Join Date: Feb 2007
Posts: 925
|
I'd be interested as well. Thanks Fidel!
|
10-22-2008, 08:17 PM | #6 |
Minors (Single A)
Join Date: Jun 2007
Posts: 62
|
Can't Wait!!!
__________________
iMLB - Reality with a twist Commissioner & Reds GM WORLD BASEBALL HIERARCHY - Where champions compete! GM of the Lagunillas Loros |
10-23-2008, 09:00 AM | #7 |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
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 ex-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) |
10-24-2008, 03:59 AM | #9 |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
__________________
Fidel Montoya Asahi2 Baseball ex-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) |
10-24-2008, 08:00 AM | #10 |
All Star Reserve
Join Date: Feb 2007
Posts: 925
|
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.
|
10-24-2008, 11:10 AM | #11 |
All Star Reserve
Join Date: Feb 2007
Posts: 925
|
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.
|
10-24-2008, 11:55 AM | #12 | |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
Quote:
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 ex-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 12:00 PM. |
|
10-24-2008, 11:58 AM | #13 | |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
Quote:
__________________
Fidel Montoya Asahi2 Baseball ex-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) |
|
10-24-2008, 01:46 PM | #14 |
All Star Reserve
Join Date: Feb 2007
Posts: 925
|
Gonna send you a PM about this.
Last edited by gollum65; 10-24-2008 at 01:48 PM. |
10-25-2008, 06:46 AM | #15 |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
__________________
Fidel Montoya Asahi2 Baseball ex-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) |
10-27-2008, 08:29 AM | #16 |
Minors (Double A)
Join Date: Sep 2003
Location: Windsor, Ontario, Canada
Posts: 155
|
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? |
10-27-2008, 07:01 PM | #17 | |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
Quote:
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 ex-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) |
|
10-27-2008, 08:55 PM | #18 | |
Minors (Double A)
Join Date: Sep 2003
Location: Windsor, Ontario, Canada
Posts: 155
|
Quote:
How would you go about splitting the reports for multiple uploads and then explode them on the server? Thanks for your help |
|
10-27-2008, 09:21 PM | #19 | |
Hall Of Famer
Join Date: Nov 2004
Posts: 6,069
|
Quote:
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 ex-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) |
|
02-20-2009, 11:41 PM | #20 |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Thanks for this, Fidel! You may want to edit your first post to show that it has been tested and released though.
|
Bookmarks |
|
|