|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| OOTP 8/2007: Mods Logos, roster packs, historical databases, OOTP tools, FaceGen files... it's all here! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
#21 (permalink) |
|
All Star Reserve
Join Date: Dec 2005
Posts: 994
|
dola,
One other question. I add an html header and footer to all my php and html pages on my site. I accomplish this by using in my php.ini: auto_prepend_file = /path.../header.html auto_append_file = /path.../footer.html I process all the html pages as php pages so it adds these headers as well. Obviously I can't process perl files as php, so do you know of an easy way to include these headers on all the utilities pages? |
|
|
|
|
|
#22 (permalink) | |
|
Major Leagues
Join Date: Jan 2006
Posts: 465
|
Quote:
Auto-draft on scouted leagues DOES look at the underlying actual ratings/talents, but I convert them to a 2-8 scale, so it "clouds up" the ratings so it won't be 100% accurate. There's no logic (scouted or not scouted) to prevent you from auto-drafting the same position twice.
__________________
Get my OOTP 2007 Utilities (Readme) for online leagues! One utility, six tools: Allstar Voting Development Tracker Export Tracker Last Sim's Stats and Performances Manager's Contact Page Rookie Draft |
|
|
|
|
|
|
#23 (permalink) | |
|
Major Leagues
Join Date: Jan 2006
Posts: 465
|
Quote:
my $file = 'ootpou.pl'; If that doesn't work, you'll have to paste the header and footer HTML into printHeader() and printTail() functions in HTMLUtils. Put it between the: print $out << EOF; .... EOF lines in each function.
__________________
Get my OOTP 2007 Utilities (Readme) for online leagues! One utility, six tools: Allstar Voting Development Tracker Export Tracker Last Sim's Stats and Performances Manager's Contact Page Rookie Draft Last edited by Getch : 10-31-2007 at 05:13 PM. |
|
|
|
|
|
|
#24 (permalink) |
|
Bat Boy
Join Date: Jan 2007
Posts: 17
|
Has anyone had any problems with the utility auto-picking players even though the team (A) doesn't have a list and (B) the admin didn't ask for an autopick?
For instance, I am the admin in my league and I made a selection for someone, but when I refreshed, a bunch of other picks were made (including the same guy three times). I looked and none of those teams had lists either. Also, is there any way to delete selections made once they have been made? Instead of editting over them, can you just delete, say, the last three picks? Thanks! Bret |
|
|
|
|
|
#25 (permalink) | |
|
Major Leagues
Join Date: Jan 2006
Posts: 465
|
Quote:
As for editing, edit the picks.txt file in the OOTPOU/draft/
__________________
Get my OOTP 2007 Utilities (Readme) for online leagues! One utility, six tools: Allstar Voting Development Tracker Export Tracker Last Sim's Stats and Performances Manager's Contact Page Rookie Draft |
|
|
|
|
|
|
#26 (permalink) | |
|
Bat Boy
Join Date: Jan 2007
Posts: 17
|
Quote:
The league's sit is www.mlsb.allsimbaseball2.com. We love the utility and it's probably something I am doing wrong, but I just thought I'd check. I actually have already reset and re-did the draft and currently have it disabled and am just manually entering the picks, so I am not sure what you are going to be able to see, but the best I can describe is this: The first time it happened, we were in the second round and I auto-picked for a team and then, every time I refreshed (which might be the problem, so I've stopped doing that) it would show up with a bunch of picks made. I thought that it might be that each team had had a list and had set it to auto-pick, but then, it got to my pick and it selected for me too, and I definitely didn't have a list or auto-pick set. So I reset the draft and re-did it to where I know we were supposed to be and starting going again. I made a manual pick for a team and suddenly the same player was showing up for the next three picks. I reset it and re-did it again and have left the draft off and have just been inputting the picks manually and haven't had a problem. Hope that helps. Bret |
|
|
|
|
|
|
#27 (permalink) |
|
All Star Reserve
Join Date: Dec 2005
Posts: 994
|
Getch,
Is there an easy way to set the timezone in Perl? My webserver is on MT and I don't have the ability to change the time on the server. I know in PHP I can put this at the beginning of the file: Code:
putenv("TZ=US/Eastern");
Is there something similar in Perl so I can make the times for the draft utility and export tracker Eastern Time? |
|
|
|
|
|
#28 (permalink) |
|
Minors (Triple A)
Join Date: Mar 2002
Posts: 205
|
Does anyone know how to make this utility suite work for multiple leagues? I run three leagues and have it set up for one of them right now. Appreciate any assistance!
Dan
__________________
Harrisburg Rubes, PC Circuit: 1897, 1898, 1900 Champions Commissioner, Baseball And Lord Lovers Nassau Beachbums, Baseball And Lord Lovers Commissioner, Baseball's Rebirth League Chicago White Sox, Baseball's Rebirth League |
|
|
|
|
|
#29 (permalink) |
|
Hall Of Famer
Join Date: Sep 2003
Location: NJ
Posts: 3,776
|
Did you check the readme file? It's quite resourceful.
__________________
The OOTP Mod Squad - Your One Stop Shop for all of your OOTP MODS! Rosters, Schedules, Stadiums, Face Packs, Quick Starts and so much more! Come download and/or share your MODS today! APBL - Commissioner - New York Yankees ![]() |
|
|
|
|
|
#30 (permalink) |
|
Minors (Triple A)
Join Date: Mar 2002
Posts: 205
|
I did but I might have missed it when I went through it. I'll look again unless you want to point me to where this is covered in the readme file.
![]() I should mention that I am talking about 3 separate leagues, not multiple leagues in one universe. I see the readme talks about multiple leagues that are all related and within one universe but I have three separate leagues as you can see in my signature block that I would like to set this up for. Thanks for any help.
__________________
Harrisburg Rubes, PC Circuit: 1897, 1898, 1900 Champions Commissioner, Baseball And Lord Lovers Nassau Beachbums, Baseball And Lord Lovers Commissioner, Baseball's Rebirth League Chicago White Sox, Baseball's Rebirth League Last edited by huskerdan25 : 11-03-2007 at 09:34 PM. |
|
|
|
|
|
#31 (permalink) |
|
Minors (Triple A)
Join Date: Mar 2002
Posts: 205
|
Ok, I was able to get some assistance from Getch and wanted to share it here for others who may be interested in the same question.
If your cgi-bin directory is cgi-enabled, then you can create folders for each league in your cgi-bin directory. For example: cgi-bin/league1 cgi-bin/league2 You create your csv folder under the league directory. Thanks Getch for the assistance and hopefully this will help others (instead of the "Did you read the readme file" response).
__________________
Harrisburg Rubes, PC Circuit: 1897, 1898, 1900 Champions Commissioner, Baseball And Lord Lovers Nassau Beachbums, Baseball And Lord Lovers Commissioner, Baseball's Rebirth League Chicago White Sox, Baseball's Rebirth League |
|
|
|
|
|
#32 (permalink) | |
|
All Star Reserve
Join Date: Dec 2005
Posts: 994
|
Quote:
$self->{ASDIR} = '../OOTPPU'; Just change '../OOTPOU' to the correct path. I also commented out the lines that automatically create the images directory in '..OOTPOU' if it doesn't exist. Last edited by Stu : 11-05-2007 at 09:07 AM. |
|
|
|
|
|
|
#33 (permalink) | |
|
Major Leagues
Join Date: Jan 2006
Posts: 465
|
Quote:
__________________
Get my OOTP 2007 Utilities (Readme) for online leagues! One utility, six tools: Allstar Voting Development Tracker Export Tracker Last Sim's Stats and Performances Manager's Contact Page Rookie Draft |
|
|
|
|
|
|
#34 (permalink) | |
|
Minors (Triple A)
Join Date: Mar 2002
Posts: 205
|
Quote:
__________________
Harrisburg Rubes, PC Circuit: 1897, 1898, 1900 Champions Commissioner, Baseball And Lord Lovers Nassau Beachbums, Baseball And Lord Lovers Commissioner, Baseball's Rebirth League Chicago White Sox, Baseball's Rebirth League |
|
|
|
|
|
|
#35 (permalink) |
|
All Star Reserve
Join Date: Dec 2005
Posts: 994
|
Getch, just a suggestion if you're looking to add on. A lot of online leagues have their owners vote for end of season awards so how about an awards voting utility similar to your All-Star voting. It seems like it would be fairly easy to create since some of the same code would be re-used.
Potential features: - mimimum PA, innings, starts, etc similar to your all-star voting util. - Support for custom awards. - Allow user to rank players for each award. - Allow user to set point system for each rank (i.e 5 pts for 1st place vote, 3 pts for 2nd place, 1 pt for 3rd place, etc) - Similar filtering of potential candidates as you use in your All-Star voting. |
|
|
|
|
|
#36 (permalink) | |
|
Major Leagues
Join Date: Jan 2006
Posts: 465
|
Quote:
__________________
Get my OOTP 2007 Utilities (Readme) for online leagues! One utility, six tools: Allstar Voting Development Tracker Export Tracker Last Sim's Stats and Performances Manager's Contact Page Rookie Draft |
|
|
|
|
|
|
#37 (permalink) |
|
Minors (Triple A)
Join Date: Aug 2007
Posts: 250
|
I've bothered Getch enough about this so I'll throw it out here to see if anyone has any ideas. What I'm trying to accomplish is to make the draft utility's "Time Per Pick" field capable of reading numbers in minutes rather than hours. This is useful for when you're conducting an Inaugural Draft with a very large number of rounds. Currently even the smallest number that can be entered for the draft timer (1 hour) is too long.
Getch was kind enough to look into this for me and came up with a modified DraftAdmin.pm file that should theoretically allow you to enter time in minutes into the "Time Per Pick" field. In my practice runs, though, I wasn't able to get it working - I'm not sure if it's the file or me that's the problem. Would someone else like to test this file and see if they can get the draft timer count down in minutes rather than hours? Anyone have any ideas on how else this could be achieved? While I'm here I have one other question about the draft utility: How do you set up an email distribution list? The readme says to enter the email address of the distribution list. I've set up a list in Outlook, but I don't think I can use that in the utility. Is this a service I'd have to pay to set up online? |
|
|
|
|
|
#38 (permalink) | |
|
All Star Reserve
Join Date: Dec 2005
Posts: 994
|
Quote:
|
|
|
|
|
|
|
#39 (permalink) | |
|
Minors (Triple A)
Join Date: Aug 2007
Posts: 250
|
Quote:
|
|
|
|
|
|
|
#40 (permalink) | |
|
Minors (Triple A)
Join Date: Aug 2007
Posts: 250
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|