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: Mods

 
 
LinkBack Thread Tools Display Modes
Old 06-26-2004, 03:06 PM   #1 (permalink)
Bat Boy
 
Join Date: Jul 2002
Posts: 19
Thanks: 0
Thanked 0x in 0 posts
Needs ideas on how speed up Cato HTML gen...

I need help with this becuase its taking a very long time after the seasons go on,does anyone ahve any ideas for me on how to speed the process up.If i take out player html for one eyar will i be able to generate them all in lets say 5 yrs down the road ...Any other hints would be great thanx
slave2isis is offline  
Old 06-26-2004, 03:30 PM   #2 (permalink)
gmo
Hall Of Famer
 
Join Date: May 2002
Location: Grand Forks, ND
Posts: 2,788
Thanks: 0
Thanked 83x in 46 posts
Quote:
Originally Posted by slave2isis
If i take out player html for one eyar will i be able to generate them all in lets say 5 yrs down the road
Yes, this can be done. As I understand it the player pages are all redone each time you generate the HTML pages using the "do player pages" option. If you skip seasons the player pages will still be there from the last time you did generate them.

It would be nice if only active players' pages were regenerated each time. That seems obvious, so I assume this is not something simple to do or Cato would have already done it. Probably issues with knowing who is active or not or something. Anyhoo, just one thing that would be a little more frosting on the cake.
gmo is offline  
Old 06-26-2004, 03:50 PM   #3 (permalink)
Global Moderator
 
sporr's Avatar
 
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,275
Thanks: 2
Thanked 35x in 2 posts
There's a checkbox in the Options menu. You'll see "Team and League Pages" and you can select "Current Year Only". If you uncheck this box, it will go back and catch everything since the beginning.
__________________


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

sporr is offline  
Old 06-26-2004, 05:18 PM   #4 (permalink)
Minors (Double A)
 
Join Date: Jan 2004
Posts: 194
Thanks: 0
Thanked 0x in 0 posts
Quote:
Originally Posted by gmo
It would be nice if only active players' pages were regenerated each time. That seems obvious, so I assume this is not something simple to do or Cato would have already done it. Probably issues with knowing who is active or not or something. Anyhoo, just one thing that would be a little more frosting on the cake.
The reason all player pages are created every year is that they change every year, or at least it's possible for them to change every year. For example, the player's place a career leaderboards and their similar batters/pitchers change.

I'll start looking for ways to improve speed, but I don't think there are many. It's just a lot of data being crunched in a lot of ways...nature of the beast, I'm afraid.
jcato is offline  
Old 06-26-2004, 05:26 PM   #5 (permalink)
gmo
Hall Of Famer
 
Join Date: May 2002
Location: Grand Forks, ND
Posts: 2,788
Thanks: 0
Thanked 83x in 46 posts
Quote:
Originally Posted by jcato
The reason all player pages are created every year is that they change every year, or at least it's possible for them to change every year. For example, the player's place a career leaderboards and their similar batters/pitchers change.
Ah-ha. I had forgotten all about the leaderboards on the player pages. I was only thinking of the stat lines. At very least I won't waste any more of my time wondering about that now.
gmo is offline  
Old 06-27-2004, 12:53 AM   #6 (permalink)
Bat Boy
 
Join Date: Jul 2002
Posts: 19
Thanks: 0
Thanked 0x in 0 posts
Quote:
Originally Posted by gmo
Yes, this can be done. As I understand it the player pages are all redone each time you generate the HTML pages using the "do player pages" option. If you skip seasons the player pages will still be there from the last time you did generate them.

It would be nice if only active players' pages were regenerated each time. That seems obvious, so I assume this is not something simple to do or Cato would have already done it. Probably issues with knowing who is active or not or something. Anyhoo, just one thing that would be a little more frosting on the cake.
Ok well if i were to wait 5 years and then start up doing players again the players htmls wouldnt be all jacked up?what i am doing is starting from 1895-now with fictional rosters just so i can get a history for my league...so if i turn all the html outputting until the very end , would it output all the htmls from 1895- present?
slave2isis is offline  
Old 06-27-2004, 01:04 AM   #7 (permalink)
All Star Starter
 
Cowboys3356's Avatar
 
Join Date: Sep 2003
Posts: 1,382
Thanks: 8
Thanked 5x in 5 posts
Waiting a few extra minutes is well worth it in my opinion to have everything completely updated. The entire point of Catobase is to have the most detailed information about your league possible. So if you start skipping parts to make it run faster then why do it at all?
Cowboys3356 is offline  
Old 06-27-2004, 01:50 AM   #8 (permalink)
gmo
Hall Of Famer
 
Join Date: May 2002
Location: Grand Forks, ND
Posts: 2,788
Thanks: 0
Thanked 83x in 46 posts
Quote:
Originally Posted by slave2isis
Ok well if i were to wait 5 years and then start up doing players again the players htmls wouldnt be all jacked up?what i am doing is starting from 1895-now with fictional rosters just so i can get a history for my league...so if i turn all the html outputting until the very end , would it output all the htmls from 1895- present?
Yeah, this works fine. I can't remember who it was, but someone after V6 first came out said they were going to sim 25 years saving each season, then spend a day importing the data into CatoBase. Maybe I can't remember because he is still off going through that history . Anyway, the HTML pages will come out fine as long as you import the data for each season to get it into the database. That's where the info is stored, not in the HTML output. You can completely skip the all HTML generation then make sure to do what Sporr said about doing more than the current season. Or you can just skip the player pages until you have all the years pulled in because those are all done over each time they are regenerated.
gmo is offline  
Old 06-27-2004, 11:10 PM   #9 (permalink)
All Star Starter
 
gordyhulten's Avatar
 
Join Date: Jan 2003
Location: Champaign, IL
Posts: 1,175
Thanks: 0
Thanked 3x in 1 post
Quote:
Originally Posted by gmo
Yeah, this works fine. I can't remember who it was, but someone after V6 first came out said they were going to sim 25 years saving each season, then spend a day importing the data into CatoBase.
That would be me. :-)

You can find my CatoBase history here. I simmed 25 years right after 6.02 came out, and ran CatoBase after each season, without generating the .html until after season 25. The league is now in season 29, and the CatoBase reflects the additional four seasons as well.

It took me about a week to run all the seasons and the CatoBase, but it's very worth it. If you'd like, you can read about it in my dynasty thread linked in my signature. PM, email, or AIM me if you want to talk more specifics. I'd be happy to help any way that I can.
__________________
Gordy Hulten
Owner / General Manager
Red Willow Roadrunners
-- Kennel Series Champions: 1951, 1959, 1964, 1965, 1972, 1975, 1980, 1982, 1983
Dog Days Baseball - "The World's Best Online OOTP League"


Creator
inactive: Republican League - OOTP 2009 Dynasty
inactive: Republican League Dynasty - Version 2.0
inactive: Republican League Dynasty
gordyhulten is offline  
 

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: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