|
||||
| ||||
|
|
#361 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
I shall give it a go later. I downloaded the new version, I'm sure I did... Weird.
Hopefully my vanishing players will unvanish
|
|
|
|
|
|
#362 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
The program uses 3000 as the max number of players in a league, so any league that has more than that would be ignored. But, with the new version, there is a file that is called MaxPlayers.txt in the installation folder. You can change the number to 5000 or whatever is needed.
Number of teams should not create a problem, just make sure each team has a unique abbreviation and none was changed later on. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#363 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
I have tested it on 3 seasons and all players were found. The only exception is leagues that had save player history turned off in the almanac.
Example: 1901 I started the season. In 1922 I noticed that by default, this is turned off. (In 6.5a they turn it on by default). So, if I search for a guy, it won't find him if he retired in 1920. But, if he retired in 1925, it would have him, but not his ratings history. In a nut shell, my database is created this way. Let's say you start your simulation in 1920 and ran it through 1938. When you index, it starts in 1920, looks at P1.html in the almanac folder for 1920 and reads in the file. It then pulls his name out of the file and his position. It then checks to see if there is a p1.html in 1921. If so, it reads in his name, if it matches, then he did not retire and I move to p2.html in 1920. If the P file is missing in 1921 or the player's name in it is different, then that means he retired. 1920 was his last season. I copy over his P file and add him to the index and move to P2.html. I do that for every player until 1937. Since there is no almanac in 1938, it has to check the current LEAGUESITE folder. This is why you NEED to generate a report for it. So, if a player is in the almanac for 1937, but not in the leaguesite, then he is retired in 1937. I then create an index for active players, based on the P files in the leaguesite folder. BTW, the reason I look at the position is the information is already loaded, checking his position does not slow it down at all, just thousands of a second per guy. I then tabulate how many of each position there are for each season. It just gives you some eye candy to look at when the indexing is done. Now, you have simmed another season. You then index again. It will start at 1936 and re-index it again. But, now we have an almanac entry for 1937, it will check vs. it. This finds any players that retired or disappeared in mid-season. (NOTE: It may create duplicate entries for retired players, but does not hurt anything, other than listing him twice when you search for him). I will fix that little issue in another release. It will then index 1937 comparing it with leaguesite and then create a new active player list for the current season. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#364 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Little oops.
If you index for the first time and get a file missing, go to the LEAGUESITE folder (whereever it is) and created a folder called RETIRED PLAYERS then run the index. Or, download the latest EXE and replace it.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#365 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Little Preview:
I find a player name using the FIND button in the players section. I find Jesus Martinez. He was a part time player. I click the Play by Play button and this text file is created. http://www.sim2005.com/jmartinez.txt Now, this is just a raw run, so it is not pretty. What does it contain? In every game that Jesus appeared in, it will show his EVERY plate appearance. So, I see right off it is in a game Anaheim and Oakland. It shows the whole inning he was in. So, I see he pinch hit and grounded out to end the inning. I see the nextgame where he pinch hit and ground out, etc. So what. So what? Well, once I pretty it up, his name will stick out like a sore thumb, so you can scroll through his every at bat the entire season. I will make it also show the inning. It shows the score at the end of the inning also. It also shows the score at the end of each game. So, that is more data to play with. Now, let's add another drop down window. It contains every pitcher in the league (that he faced this year, taken from this list), and you select a pitcher. Now you just see the games where Babe Ruth faced Roger Clemens. Ah, cool. Let's add some more buttons. "Calculate vs. all pitchers". It will then display what Babe Ruth did against every pitcher he faced. I could also have it figure out... (examples) Stats vs. Detroit. Stats at Detroit Stats when playing LF Of course, the stats would be a total, like 23-65 2 hrs, etc. and also show every at bat. The possibilities it opens are great. I also see where I can grab the date of the game. So, you could say, show me all of Ruth's games in August. Whats ya think? Good direction to head off in?
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#366 | |
|
Hall Of Famer
Join Date: Jan 2004
Location: The Real Northern California
Posts: 2,488
|
*soiled myself*
__________________
Quote:
|
|
|
|
|
|
|
#367 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
Oh my! Every time I think the program can't get any cooler... It does
![]() Well, after my stupid cocking boneheaded complaints when I hadn't actually got the new version (*smacks head*), I just for SURE installed the new one, let it index all 65 years of the season... And all missing players that I know of are accounted for. Those MVP's who didn't have links, now do. One MINOR cosmetic comment: On the utilities page, after you click to bring up Golden Glove players etc... When you search for a player, it comes up in the box on the left, but it still says "Golden Glove" etc... above the box. As I said, minor cosmetic thing. Now to see what else I can break in the program
|
|
|
|
|
|
#368 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
And I immediately find something weird!
Okay, I've got a player called Dave Frampton. According to the stats page that comes up when I hit your "No Hitters" box, he threw a no hitter in 2015. (The league is in 2016.) Only one problem. Dave Frampton is a catcher! Edit: Is the HTML Reports option for teams supposed to work? I hit HTML reports, it pops up a box listing all the teams. All the other fields have zeroes in them. When I hit to display HTML, all the team lists are blank. They have the headers there. Year, W, L etc... But there's no other info. Last edited by Bonedwarf; 07-07-2005 at 01:59 AM. |
|
|
|
|
|
#369 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
And another:
When I hit the "Fix Box Scores" option, it went through, got down to 940 something, then crashed with "Argument "Length" must be greater than zero." ************** Exception Text ************** System.ArgumentException: Argument 'Length' must be greater or equal to zero. at Microsoft.VisualBasic.Strings.Mid(String str, Int32 Start, Int32 Length) at OOP_1.frmBoxScores.Button2_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
|
|
|
|
|
#370 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
Okay, weirder and weirder...
Having checked in 2015, lo and behold, Dave Frampton is a starting pitcher! Having looked closer, the retired player page for Dave Frampton does NOT have his stats. I mean he threw a no hitter in 2015. The player achievements at the bottom of the retired players page says he was released in 1992... And having looked even deeper, that's because there was a player in 1992 with the exact same name and number (#63) who was, you guessed it, a catcher. Best of luck sorting that one out Seems like a spectacular coincidence that a player would have the exact same name and number, but the proof is there in the almanac. Your util has created a retired players page which shows up for the 2015 Dave Frampton in the util, but has the 1992 version on it. Edit: In the player search, it lists the same page for both Dave Frampton's when you click on either of them (r5882.html). However, the player ID number that's next to their name in the list, they both have different numbers. So the program has two different entries it seems. It's just the actual link to open the player card brings up the latter of the two for both entries. (The other one is 800 or thereabouts.) Last edited by Bonedwarf; 07-07-2005 at 02:17 AM. |
|
|
|
|
|
#371 | |
|
Hall Of Famer
Join Date: Aug 2004
Posts: 11,660
|
Quote:
__________________
PT21 ![]() ![]() PT22 ![]()
|
|
|
|
|
|
|
#372 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
The Dave Hampton one, well, I am ignoring you on him. If a rookie came up and took over an ID from a guy with the same name, well, I guess it could happen. Well, that is one that will have to stay there. What are the chances.
If you get empty stuff when you run the HTML reports, then that means it does not know what your championship names and world series are. Go into CONFIG and set the three on the right. Click the save button over there and then go try the team report again. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#373 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Now that I think about it. If a Dave Smith retires in 1905 and then another Dave Smith retires in 1956, well, you will only see one.
Both retired players would be there, but, when you did a search, it would display both of them, I would think. But, what can I do about duplicate names? I use duplicate name checks to find the retired players and copy them over. Maybe I should not try to figure it out online at 2:30am when the screen is a little blurry.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#374 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
When checking the retired index, it goes down the list.. name by name. when it finds a match, it exits, to save time. I guess I could have it keep checking for another DAVE SMITH. Then it would display both.
Duplicate names is going to screw other things in the program up with his name. Nothing I can do about that.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#375 |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
After sleeping on it, I thought about it while I was driving down Osceola Parkway on the way back from a service call.
OOTP allows duplicate names. Also, if you run a career for 100 years, you will end up with a name re-used here and there. So, I will not change the way it works, it would just be too crazy. But, simple solution to the problem. Look in the RETIRED PLAYERS folder for a file called RET1.TXT Inside it, you will find a nice numbered list of all the retired players with their new R number next to them. This is where my program looks for the guy. It starts at the top and works down, if it finds a match, it stops searching. So, let's say Al Capone retired in 1922. A new fresh face Al Capone appeared in 1967 and retired in 1986. Both were Hall of Fame players or were listed in the lists somewhere. Or, somehow you just discovered that there were two. Modify the 2nd listing of Al Capone to a new name, like Al Capone II, or Al Capone JR. Now, when you search for Capone, you will get both listings of the scarfaced criminal. Their player sheets will still be shown as Capone, but if you wanted to make everything correct, you could modify the R file and also every P file with his name in the almanac, but then you would still have to modify other files, like 'Got his first HR off Al Capone'. So, unless it is really a huge issue, you don't worry about it, just change the ret1.txt file if you want.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
#376 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
Sounds entirely too complicated
![]() As I said, when you search for the player, the box lists both, so you get Blah,859 Blah,5764 But when you click on EITHER of them, it gives the link to the latter. Very odd. I still find it really spooky that the game used not only the same names, but the same number for the player as well! Have to check later, see if the teams are the same. It is a very odd issue. Oh, and regarding the series names, what happens if you DON'T have a three round series? My league, the top team from each league (2 leagues, 2 divisions) play each other, then the winners meet for the series. Just wondered if maybe that could cause issues. (Can't check right now. Wrong computer.) Last edited by Bonedwarf; 07-07-2005 at 06:33 PM. |
|
|
|
|
|
#377 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
Yeah, that same name thing is weird, but, without my program, would you have noticed it?
As far as not having a playoff, that should be no problem. One of my test seasons is set that way. However, it will not work if you do not save that file or if the file says WORLD CHAMPIONSHIP and you changed it to WORLD SERIES. Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#378 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
I would love to see the box score that it is bombing out on.
Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
|
|
#379 |
|
All Star Starter
Join Date: Jan 2004
Posts: 1,339
|
I'll do my best to dig it out. One question: As the number counts down, is the number displayer the one it's DONE, or the amount left?
So say it crashes when it says 947 on the button, does that mean the 947th box score is causing the issue, or actually the 948th? |
|
|
|
|
|
#380 | |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
|
I dunno.. just zip up 940-950 and I will see what happens.
e-mail it to me at larry@cfl.rr.com Quote:
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
|
|
|
|
|
![]() |
| Bookmarks |
|
|