|
||||
| ||||
|
|
#141 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Talk about a routine that kicked my ass. It looked so easy. You look at the html page and each transaction is on a seperate line. But, I am reading HTML as text, which means that I am reading the source code. Then you look at the source code for the tdev1.html file, it is layed out where all developments are in one line, with BR making the line feed. So, it becomes a nightmare. I keep getting extra players listed in it, and since a player can have 2 or more things change on the same day, it just ain't gonna work, yet anyways.
So, I came up with a simple solution, for now. I search each team dev page by year, if the player's name is found in that file, I mark it down. So, you get a link to each dev page that the player had something happen. Click on the link and the browser opens that dev file up. It will work for now. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#142 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Great idea, I do think someone mentioned it, but that team matchup for each season is not listed anywhere. At least where I can find it. If you can tell me where it is I can and will add it. Can you view this information in the game?
The other alternative would be to search every box score, determine who is playing and who won and tabulate. This is something I could do, but not sure how it would work, as far as speed. I will give it a try though. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#143 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
My current test season, I told it NOT to save all the box scores to the almanac so that I could see what is saved with this option off. It does save the last 10 box scores. However, they are NOT saved with a unique name, they just keep the numbering system. Nice that it saves the last 10, now at least I can just put links to the last X games. Where X is being how many games the series was. I can easily look that up.
Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#144 | ||
|
Hall Of Famer
Join Date: Jan 2004
Location: The Real Northern California
Posts: 2,488
|
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#145 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Yes, you are right. Thanks.
I found the files. Also has minor league standings, so I can tabulate that over the years. Looking at the source, I see a headache. I won't be rushing to this one, but I will do it. <TR class=g><TD></TD></TR>
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#146 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
I have nothing useful to add at this time
Now I have to go reinstall after I catastrophically broke everything. |
|
|
|
|
|
#147 | |
|
Hall Of Famer
Join Date: Jan 2004
Location: The Real Northern California
Posts: 2,488
|
update soon? also could you put the utility link in your sig.
__________________
Quote:
|
|
|
|
|
|
|
#148 |
|
Hall Of Famer
Join Date: Jan 2003
Location: Frankfort, Kentucky
Posts: 3,746
|
Congrats on the remarkable progress. Again, I mention how rapid this blazes through the functions. Can't wait until you get everything finalized. Early editions are super.
|
|
|
|
|
|
#149 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
New update available. Uninstall the previous version, then install it.
After installation, follow these steps. (It explains it along the way). First, go into OOTP and generate the leaguesite file. (i.e. c:/leaguesite) If you had a prior version installed, erase the contents of the RETIRED PLAYERS folder in the leaguesite folder. Enter the program, click on CONFIG and setup for your league. Go into UTILITIES and click on INDEX PLAYERS. Then click on INDEX ALMANAC. Then click on PRIOR SEASONS INDEX. When that is done, click on SEASON. You will just have to do that once for each league. When the next season starts, click on SEASON to add new information. Best if clicked on at start of season, after drafts, etc. KNOWN ISSUES IN PLAYERS: If it cannot find a file, it may error, but let you continue. If your season started in 2000 and it is now 2007 and a player retired in 2005, when you look at the talent, you will see the talent for the guy that took over his player ID. Working on a fix for that. D/L location is in my sig. (good idea) Larry
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#150 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Thanks, but wait no further...
Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#151 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
One more known issue in players. If you enter someone's name and it shows their ID above 10,000, it will not display this person's information. Not sure why at this point. Just hit continue and pick another.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#152 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
At 12:30am I uploaded another version. This one will be a little more stable than the last one, as I added the error checking in the PLAYERS section. I also fixed the problem of displaying a players ratings when the player retires. It would show the player that took over his number.
NOTE: Just download this one and run it. You can remove the previous version using it, then run it again to install it. You DO NOT have to reindex, as the data files will stay intact. However, you WILL have to go into CONFIG and load in your DEFAULT league. After doing the above mod, I decided to look into why a guy's ratings were not being displayed. It was showing just one year for the guy. Then I looked into it. His ID was 1466. In 1901, a guy had that ID, his only year. He never played in the pros. The next year, another guy grabbed that ID. He lasted 3 years and then left. He also never made it to the pros. Then my guy took over that ID. So, I modified the program so that when it looks in the almanac for the ratings, it loads in that guys P file and checks to see if it is indeed that guy, if it is, then it continues, if it is not, then it will just put in a bunch of zeros for his ratings. It will continue through the almanac until it finds his first year, then it will start recording it. Ah, problem solved.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Last edited by Comedian2004; 05-23-2005 at 08:55 AM. |
|
|
|
|
|
#153 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
Sweet! Didn't get the chance to play AT ALL today unfortunately. Hopefully tomorrow.
That's an interesting idea. Instead of tracking a player over the history of your league, track an ID number. You turned up some interesting stuff it seems with 1466. |
|
|
|
|
|
#154 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
No update, but I changed the layout of the players page when showing the ratings. The way it was, it would just show maybe 15 years. So, I changed it to have scroll buttons, since it was 7 boxes next to each other with scroll bars, it looked stupid and they could not scroll together.
So, now it hides the achievement window and the history window and displays ALL of the ratings at once full screen. Should handle over 100 now. Added a toggle rating view button, so you can go back and forth through the screens with ease. I actually have to leave my house today (the real world, bah humbug), so I won't be working much on it today until later.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#155 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Here is a screen shot of the new player screen, so far.
A classic example showing someone's skill falling apart as he ages. Screenshot: www.sim2005.com/oop16.jpg .
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#156 |
|
Hall Of Famer
Join Date: Jan 2003
Location: Frankfort, Kentucky
Posts: 3,746
|
For the updates, do you download both the OOPsetup, and OOP1 after uninstalling previous version?
|
|
|
|
|
|
#157 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
You're better off downloading both, really. He makes a lot of updates, so you can stay on the cutting edge if you do that
![]() Too bad you had to leave the house today. LOL!
|
|
|
|
|
|
#158 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Just download the install program for now. It has the latest update.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#159 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
One of the most exciting part of this is adding a new function. But depressing to find out later that there are complications with it. Like the rating system report.
First run on a current player, it worked great. Then I notice that if the player left in 2005, it displays the ratings for 2006 and later for the guy that took over his ID. Fixed it. Then I notice that the layout won't work if they guy has more than 15 years in his pocket. So, redesign of the layout. OK, no problem, had a couple text boxes go crazy and had to redesign them, not a problem. So, I shifted my work to working on the retired players in utilities. Had a bug there, fixed it. The FIND was looking in the current players first, it needed to look in the retired players first. No problem. So, back to the ratings. It is just displaying active players. Let's add a retired player check. Ok, not easy. Let's look in the retiredplayer index I created. Ah, good, there he is. But, his Rxxxx number is not the same as the pxxxx number that he originally had. Crap. Ok, thats ok. Lets go see what it was. So, here is what happens. You type in part of his name and it displays all of the possible people. You see your match and click on his. It loads in the retired player index and sees if his name is in there. If it is not, then it skips this section and goes to the rest of the rating display, and that part works. But, if he is retired, it sets a flag and then starts a possible long process. It looks in the almanac/first year folder and loads in each player in there and checks to see if this is the guy. If it is, it marks his original P number down and moves to the rating section and 'ta da', the correct information is displayed. Now why is it a possible long process? Well, if he is player p1500.html in the first year, 2000, it searches through 1500 players then aborts the search because it found him. Not too long, a few seconds. But, what happened if this guy made his appearance in 2020? Well, it has to search 2001, 2002, 2003, etc., all the way until it finds his match. This could take time. So, now I take another approach. Let's load in his retired page. Then let's look and see what year his first year was and start the search there. Ah, great idea! Wait, another idea. Since we now know his name, we can also grab his first team from there. Then let's load in his team roster sheet from his first year and from there, we can pull out his original ID. Ah, perfect. Now we know his original number was 1681. Now we can just run the normal routine and search for player ID of 1681 that matches his name. Ah, problem solved. What fun!! I will have an update late tonight that has this function.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#160 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
While working on a bug fix in the retired section, I found there are Orphaned players. These are players that were created, spent 1 year or even 3 or 4 years in the minors, but never made it to the big show. The OOTP program will not find these players. They never made it to the bigs. So, they will not be shown anywhere except in the minor league stats.
I can create a button to 'FIND ORPHANED PLAYERS'. Here is what it would do. It would go to the almanac and load in each player's page. Check to see if his ID number has been re-used. Then it checks to see if he is in the retired index. If he is not, then he is orphaned. I then look and find his last season and then copy his last season to the retired section with a new ID number. Each season would have to be checked, it could be a long process. Here is how it would work. Season start: 2000 Current Season: 2010 Check almanac for 2000 P1.html. Exist? Yes, then check 2001 P1.html, same player? Yes, ok, check 2002 P1.html, same player? NOPE! Ok, check the retired index, is he listed? Nope, ok, he is orphaned. Do the copy and update index and move to P2. Do all the P's in 2000, then move to 2001. Of course, start at P1 and he will be listed in retired now, so move to P2, P3, etc. then to next year. Wow! A lot of work!! Is it worth it? Do people really care about that? Would it be easier for you to browse the almanac folder with XP, find a player that is orphaned and then click on a button in the program called ADD ORPHAN and let you browse to that player to add him. If it sounds confusing, just say no. I should add, most of the orphans sucked. Most hit .202 in the minors, or had career ending injury while in the minors. This could be related to a player that I have that pitched a no-hitter in 2000, yet I can't find his P file anywhere!
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Last edited by Comedian2004; 05-23-2005 at 07:28 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|