Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: General Discussions

Earlier versions of OOTP: General Discussions General chat about the game...

Reply
 
Thread Tools
Old 05-07-2005, 10:29 PM   #1
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
Anderson Utilities

I am starting to write some utilities for this software. I have started my first one and it seems to be working, at least on my computer.

The first program is a piece of software that will search through your box scores for a certain name. It will then create a new html file based on the name you searched for with links to all of the box scores.

This is designed for leagues that use the internet to display the standings. You of course have to have to upload the box scores to the server.

The procedure to use this first program is to create the HTML files first. Then copy my EXE program into that folder (c:/leaguesite by default) and then run my program. There is a button to locate the leaguesite folder in case it is not the default location. Then enter the name you want to search for. (i.e. n. ryan). The program converts everything to lowercase, so capitalization is not important. Of course, if there is a Nolan Ryan and a Nippy Ryan, this first version will not work. If you know that there is only one Zigfield in your league, you can enter just zigfield, or just zig if there is only one zig type name.

You could also enter a team name, like ATLANTA, of course, it would include any box scores with Jesse Atlanta on it.

There are other things you could search for, like "PLAYER OF THE GAME: Eric McAfee" (do not add the quotes) to display all games where Eric was player of the game.

Or, "at Toronto Field" to display all games at Toronto Field.

Basically, look at a box score and look for unique phrases to search for.

Please give the program a try and see how it works for you. It has no commands to alter any data, so it cannot screw up your league if used properly.

NOTE: You MUST have .net foundation to use the program. When the program is complete, it will have an install program that checks for this and allows you to download it. If you are using XP and have SP2 installed, more and likely you have the .net foundation software installed. You can obtain it through Windows update.

I have NOT tested this in any operating systems except XP.

You can download the program at http://www.sim2005.com/oop1.htm

It contains the exe, a very small 9kb program and a text file.

Please e-mail me at larry@cfl.rr.com or post here if you try it and let me know what you think. The output will be 'prettied' up in later revisions.

Larry Anderson
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]

Last edited by Comedian2004; 05-08-2005 at 05:26 PM.
Comedian2004 is offline   Reply With Quote
Old 05-08-2005, 12:03 PM   #2
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
No interest?
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-08-2005, 01:19 PM   #3
Raidergoo
Hall Of Famer
 
Raidergoo's Avatar
 
Join Date: Mar 2003
Posts: 9,005
Quote:
Originally Posted by Comedian2004
No interest?
It's the weekend, and Mother's Day to boot.

All in good time, sir, all in good time.
Raidergoo is offline   Reply With Quote
Old 05-08-2005, 02:24 PM   #4
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Quote:
Originally Posted by Comedian2004
No interest?
I think it's a great addition to be able to search in this fashion. I'm not near the point of hosting my league on the internet, but it gives rise to a question:

Given that roughly the same criteria exists on the personal PC when web pages are generated there, is there any possibility this could be modified or utilized in conjunction with any other software to enable a local search capability for those pages?

Thanks for the contribution.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 05-08-2005, 03:49 PM   #5
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
Quote:
Originally Posted by endgame
I think it's a great addition to be able to search in this fashion. I'm not near the point of hosting my league on the internet, but it gives rise to a question:

Given that roughly the same criteria exists on the personal PC when web pages are generated there, is there any possibility this could be modified or utilized in conjunction with any other software to enable a local search capability for those pages?

Thanks for the contribution.
Actually, it will work on a local machine. However, it will only work on the actual boxscore area for the league, not on the generated area. It actually works on both, the problem is when it displays the box scores. The link to the style sheet inside the box scores cause the box scores to be displayed without the formatting.

I just tried this:

I copied my EXE file to the box score folder:

C:\Program Files\Out of the Park Developments\OOTP 6\A1901.lg\LEAGUE_NEWS_BOX

I ran it and entered a persons name and it created the file. I opened the newly created file and clicked on one of the links and it displayed the box score perfectly.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-08-2005, 05:29 PM   #6
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
Version 1.01 is on the site now. I created a page to download it from at:

http://www.sim2005.com/oop1.htm

I also added a what's new section to tell what I added to the new version of the program.

I plan on some very nice utilities coming up here. Basically they will be creating information based on the files the OOTP program creates, the box score files, transaction files, and anything else that I am able to read.

I do need help in suggesting what you would like to see and testing it on different systems.

None of the programs are going to modify any existing files, it will be creating new files, so they will be safe to use on your league.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-09-2005, 02:18 AM   #7
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
The program is starting to look pretty interesting.

Here is a screen shot:

http://www.sim2005.com/oop1.jpg
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]

Last edited by Comedian2004; 05-09-2005 at 02:20 AM.
Comedian2004 is offline   Reply With Quote
Old 05-09-2005, 02:42 AM   #8
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Arousing my curiosity. I'm d/ling .net framework now.

Another modifiable-oriented question as I'll be looking at this on the local PC as I mentioned: Will this, in any form, be able to review the game logs instead of or in addition to the box scores? That'd be interesting.

Right now I'm thinking of various grand slam references as this is one item not tracked in-game.

I'll let you know once I look at it. Thanks L.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 05-09-2005, 02:45 AM   #9
rem
Hall Of Famer
 
rem's Avatar
 
Join Date: Jul 2003
Location: College Park, Md.
Posts: 5,024
It looks great, sorry it hasn't garned a larger response!
__________________
OTBA: Washington Filibusters
CLBR: Minnesota Twins

2005 Winner of LL's Pick the Loser Contest! - 15-0
rem is offline   Reply With Quote
Old 05-09-2005, 02:49 AM   #10
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
That sounds good. I do not pay much attention to the PbP, but I can see what you mean, looking for grandslams or triple plays. I will keep it in mind.

I think the program will turn into one that creates the HTMLs and also one that can view the boxes from inside the program.

One thing I searched for was the word "consecutive decisions" and found a guy that had lost 11 in a row. In fact, it was his first 11 games.

I was looking at the other text files and I see some other possibilities also.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-09-2005, 03:03 AM   #11
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Quote:
Originally Posted by Comedian2004
I was looking at the other text files and I see some other possibilities also.
I'm no programmer, so excuse me if I don't use the correct term or a term correctly here or there. When you implemented your text search for consecutive decisions, does the software know to search for BOTH words consecutively? Is the format 'boolean' or such that one could eventually enter AND or OR switches to further hone the search?

And as it currently exists, can you safely or confidently combine a last name with a result, e.g. Miranda caught stealing or Miranda cycle, etc...?

Again, thanks for putting the work into this. I can see some great results ahead.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 05-09-2005, 03:07 AM   #12
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Quote:
Originally Posted by Comedian2004
That sounds good. I do not pay much attention to the PbP, but I can see what you mean, looking for grandslams or triple plays. I will keep it in mind.
Now you have me reviewing the box scores for details. There may be more info in there than I'm giving them credit for having. Grand Slam may even be one of those items mentioned in the Box Scores and simply not recorded as an in-game statistic.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 05-09-2005, 03:21 AM   #13
UngratefulDead
Banned
 
Join Date: May 2004
Location: Bay Area
Posts: 3,415
Quote:
Originally Posted by endgame
Now you have me reviewing the box scores for details. There may be more info in there than I'm giving them credit for having. Grand Slam may even be one of those items mentioned in the Box Scores and simply not recorded as an in-game statistic.
It is indeed mentioned in the Box Scores, as so:

Homeruns: J.Doe (1, 1st inning off Doe, 3 on, 1 out.)

Problem is, I don't know how you could search for that without coming up with bases loaded doubles as well.
UngratefulDead is offline   Reply With Quote
Old 05-09-2005, 03:31 AM   #14
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
Right now it is just a straight phrase search, but later versions I will add some boolean searchs, so you can seach for more interesting stuff.

As far as the grandslam, I can add a grand slam search. It would search for "Homeruns:" and then find the 3 on. I think I know a way to do it.

Part of the problem is I am not searching just plain text, I am searching HTML, so there is a lot of code that I am searching that you do not see, like the BOLD commands, etc.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-09-2005, 11:37 PM   #15
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
Has anyone tried the program? Is no one interesting in utility programs?
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 05-10-2005, 12:05 AM   #16
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Quote:
Originally Posted by Comedian2004
Has anyone tried the program? Is no one interesting in utility programs?
It's still early in its introduction. I'd venture to say there are many interested, judging from the activity in the Mods forum regarding any 3rd party utilities. As for me, I just downloaded the .net framework and installed it last night. If time permits, I may be able to get some OOTP time in this evening. One of the many items on my agenda is, of course, trying out the functionality of your utility for my particular setting. Granted, your original target audience wasn't me - but I will certainly report both my observations and my ideas for enhancements as my experience with it develops.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 05-10-2005, 10:14 AM   #17
eriqjaffe
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 7,684
I'm downloading it right now. Seems like it'd be a lot of fun, if nothing else.

Thanks!
__________________
eriqjaffe is offline   Reply With Quote
Old 05-10-2005, 12:08 PM   #18
BigCity
All Star Starter
 
BigCity's Avatar
 
Join Date: Nov 2004
Location: South Shore, Great Lakes
Posts: 1,386
Quote:
Originally Posted by Comedian2004
Has anyone tried the program? Is no one interesting in utility programs?
Larry,

Don't give up !! It's sometimes easy to throw in the towel if there appears to be little interest, but many folks here don't visit regularly and this particular season there's no new game to keep attendance up

If you move forward and have a couple utilities done (even if not in final form) when the masses start coming back, you'll have a lot more interest.

ps: There are some other game generate HTML reports that have valuable info in them too - be nice to have a utility to search those as well.
BigCity is offline   Reply With Quote
Old 05-10-2005, 12:22 PM   #19
eriqjaffe
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 7,684
Larry,

That is very cool!

If I may suggest something, however:

Once a serach is complete, it'd be great if you could launch the generated HTML file direct from the app, rather than having to open in manually. I'm not sure if you were planning on including that in future versions, but it'd be a very nice little shortcut to have.

Again, great work!
__________________
eriqjaffe is offline   Reply With Quote
Old 05-10-2005, 12:25 PM   #20
billethius
All Star Reserve
 
billethius's Avatar
 
Join Date: Apr 2004
Posts: 822
Quote:
Originally Posted by eriqjaffe
Larry,

That is very cool!

If I may suggest something, however:

Once a serach is complete, it'd be great if you could launch the generated HTML file direct from the app, rather than having to open in manually. I'm not sure if you were planning on including that in future versions, but it'd be a very nice little shortcut to have.

Again, great work!
Pretty easy to do from .Net ... all that needs to be done is launch a new IE app (or whatever browser... IE is safest since everyone has it, but you might allow for an optoin to change that setting to firefox or something) with the path to the html file as the argument.

I haven't downloaded the utility yet, but I'll do so when I get home tonight. Nice work.
billethius is offline   Reply With Quote
Reply

Bookmarks


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

Forum Jump


All times are GMT -4. The time now is 06:49 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments