![]() |
|
|
#1 | ||
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
New Draft Utility
Ok, after playing FOF for a little while I had an idea that might make MP drafts go much smoother and faster. I wrote a draft utility that you will need to run on your webserver (it's in PHP with MySQL). This is the first version of it, I've tested it about as much as I can with being just one person, so I'd love it if some of you guys would take it for a test drive for me. Here is the link to the file:
http://www.jdavidbaker.com/pub/conscriptor.zip Here is how the program works: You log in and choose the players that you are interested in. Then you set a priority for those players. You can go as deep into the draft as you want, setting as many priorities as you want. Once the first pick has set his priority, it selects that player for them, and clears out any other players in their queue that have the same position. Then if the next player has picks selected, it chooses their highest priority from the available players, and so on, until it runs out of picks to choose from, which of course will need the player to sign in and update their selections. The admin can choose for the team that's on the clock if they are taking too long. Then you can of course print the final list and do the actual draft in FOF. The installation is pretty easy. You need a webserver and you need a database. Just unzip the file into some directory on your webserver (it unzips to "fof_draft") and then navigate to that directory. Make sure the server can write to the "includes" directory, and make sure you have a database you can store the data in. Then just go to your web browser and open up the fof_draft directory, and you will be prompted with information on how to install. Once you finish the install, sign in as the admin user you just created, and follow the instructions to import the draft data. There will be two files, the players file and the draft order file. Directions on how to get those files are displayed on the upload screen. Once the program is installed, have your players register. On the login page is the registration link, they just need to enter the 3-character code for their team (i.e. DEN or SEA) and set a password. I didn't make any deeper security than that, I figured that would be easier than the admin assigning passwords to everyone and since it's unlikely that anyone will try to hack into your draft I choose ease of use over security. Let me know how it works or if anyone has any problems or suggestions. I hope it's useful! Last edited by jdavidbakr : 02-06-2012 at 08:51 AM. |
||
|
|
|
| Sponsors (you can remove these ads by registering or logging in) |
|
Register or login to remove these ads and many more. |
|
|
#2 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Just swapped in version 0.4 after making a few minor changes
|
|
|
|
|
|
#3 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
0.5 is now up, we're using this in the vNFL House League and using it has caused me to make a lot of tweaks. Still at the same link.
|
|
|
|
|
|
#4 |
|
College Starter
Join Date: Dec 2000
Location: Sweden
|
Good to have an alternative utility available. Nice work, even though I haven't checked it out yet.
__________________
San Diego Chargers (HFL) - Lappland Reindeers (WOOF) - Gothenburg Giants (IHOF) Indiana: A TCY VC - year 2044 - the longest running dynasty ever on FOFC! |
|
|
|
|
|
#6 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Just pushed in 0.6, adding some nice e-mail notification and allowing the admin to change the team's picks.
By the time the vNFL House draft is done it should be a mature enough program to give it the coveted "1.0" label. ![]() |
|
|
|
|
|
#7 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Just uploaded 0.7, if you've downloaded a previous version you will need to run the installer again because I added some fields to the database. The vNFL House League beta testing has been going great and the users have had some great suggestions to make it even better.
|
|
|
|
|
|
#8 |
|
Mascot
Join Date: Jul 2006
Location: Dayton, Ohio
|
We've used it in the House and it's a nice utility. For ease of operation it's great. (damn operator errors not withstanding).
It seems much more intuitve than the utilities Ive used in the past.
__________________
Utah Wolverines 2021, 2022 AC West Champs Dynasty Football League Los Angeles Matadors- IMPERIAL FOOTBALL LEAGUE Still building and still ...losing Defunct League: UFL Chicago Blitz 85,86,87 (N) NC Champs, 86 UFL Commisoner's Cup Champions. 89 W.C. |
|
|
|
|
|
#9 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
After a successful vNFL House draft, a couple of other suggestions came in so I'm releasing 0.8 - won't release 1.0 until I know 0.8 is stable. But 0.8 adds some cool features:
Tracking the time that each team is on the clock and reporting it in the header Put more information about each player on the players screen The option to zero out the priority of a position after you have selected a player of that position is now able to be turned off The admin may now stop the draft at any pick The admin may now roll back the draft, returning players to the board Teams may choose to make a player list or a list of "Best Player Available" based on general score or by any of the other values that are recorded for the players. It's still here: http://www.catalystproductions.cc/pub/conscriptor.zip Last edited by jdavidbakr : 04-07-2008 at 03:25 PM. |
|
|
|
|
|
#10 |
|
College Starter
Join Date: Oct 2000
Location: Edmond, OK
|
Thanks for your work, Jon. I'm going to download and check it out.
|
|
|
|
|
|
#11 |
|
Dearly Missed
(9/25/77-12/23/08) Join Date: Nov 2003
Location: DC Suburbs
|
Is this an add on to the already created Draft Utility or is it completely separate?
__________________
NAFL New Orleans Saints GM/Co-Commish MP Career Record: 114-85 NAFL Super Bowl XI Champs In memory of Gavin Anthony: 7/22/08-7/26/08 |
|
|
|
| Sponsors (you can remove these ads by registering or logging in) |
|
Register or login to remove these ads and many more. |
|
|
#12 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
It's its own app, although you need the FOF Extractor to get the draft list from FOF. |
|
|
|
|
|
|
#13 |
|
Pro Starter
Join Date: Oct 2000
Location: Cary, NC
|
I am curious to get reports on usability, etc. My one beef with the current common utility is lack of multi-selection, which makes maintaining lists more difficult than it needs to be. I'm still debating whether to change that or finally get my own ASP.NET utility off the ground, but if this turns out to be robust and easy to use I may give it a whirl for WOOF.
__________________
-- Greg -- Author of FOF 2k7 Utility Suite - v2.0.6 released September 24, 2012 -- The Ladder (NCAA 13) - South Florida |
|
|
|
|
|
#14 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
I put up a demo here:
http://www.catalystproductions.cc/fof_draft_demo/ You can log in with the following credentials: Team: DEN Password: broncos Team: CIN Password: bengals Team: IND Password: colts You can at least get a feel for how you can select players, even though it is difficult to cause selections to actually happen on a demo. The chat feature is new in 0.9, I'll move that version into the download here this morning. |
|
|
|
|
|
#15 |
|
Pro Starter
Join Date: Oct 2000
Location: Cary, NC
|
Overall, I think it's an interesting approach. My critiques would be:
- Get rid of the personality stuff (leadership, wants winner, etc) as you only get that for guys you've interviewed, so it shouldn't be on a global list. - Add the missing combines (broadjump and position drill). That should give enough room for everyone to fit on a single line. Would also help to color the combines, either using the standard deviation stuff from Draft Analyzer (which I can get you) or just using the color scheme that FOF now uses (which I don't have breakdowns for yet, but someone else might). I can also get you data for marking above/below average height/weight. Have to see how the per-page stuff works, as often people are looking for a specific player and won't want to have to page through everyone to find him. Might just want to have a single giant list if it doesn't kill performance. I like having the chat, and I like being able to type in priorities to rearrange the guys. Do you have a "best player available at position X" option? That's useful for the late rounds for when the draft is moving fast and someone will be away. Anyway, those are my quick thoughts. Excellent work here.
__________________
-- Greg -- Author of FOF 2k7 Utility Suite - v2.0.6 released September 24, 2012 -- The Ladder (NCAA 13) - South Florida |
|
|
|
|
|
#16 |
|
College Starter
Join Date: Oct 2000
Location: Edmond, OK
|
Agree with much of what Greg has said. Very good stuff, and I'll definitely be keeping an eye on it. I like the relative simplicity of the common utility, but this has great potential, I think.
|
|
|
|
|
|
#17 | |||
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
I'm using the FOF Extractor utility to get the data on the players, from what I can tell the broadjump and position drill are not in the data export, am I wrong or you you have a way how I can get that data? Quote:
Sure, if you've got that data handy I can incorporate that in the display. Quote:
You can list the whole draft if you want to, just change the "rows per page" to a high enough value. It will take longer to display a list of the full draft than the default 32 players of course. Quote:
Yes, go to "options" and you can switch your list between selecting individual players and a "best player available" list. Thanks for your comments, they are very helpful - Last edited by jdavidbakr : 04-08-2008 at 01:25 PM. |
|||
|
|
|
|
|
#18 | |||
|
Pro Starter
Join Date: Oct 2000
Location: Cary, NC
|
Quote:
Extractor pulls all the combine drills. That's how Analyzer uses it. It's always been there for 2k7 (these are new drills for 2k7 that weren't in 2k4). Quote:
Heights/weights: http://www.operationsports.com/fofc/...ad.php?t=62972 See CombineData.csv in the utility suite install folder for avg/std-dev stuff for combines. Quote:
Good to know! And you're welcome.
__________________
-- Greg -- Author of FOF 2k7 Utility Suite - v2.0.6 released September 24, 2012 -- The Ladder (NCAA 13) - South Florida |
|||
|
|
|
|
|
#19 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
A-ha, I was using the 2k4 extractor, I didn't notice that there was a new extractor included in the utility suite. |
|
|
|
|
|
|
#20 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Ok, I changed out the player list to utilize the extra fields of data provided in the 2007 extractor. I'll add the color coding here in a little bit.
|
|
|
|
|
|
#21 |
|
High School Varsity
Join Date: Mar 2006
Location: Woodstock, GA
|
|
|
|
|
| Sponsors (you can remove these ads by registering or logging in) |
|
Register or login to remove these ads and many more. |
|
|
#22 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Of course I can, but it takes significantly longer to load, and once you've changed the records per page it should remember your selection forever, so I figured it was best to let the end user decide. |
|
|
|
|
|
#23 | |
|
High School Varsity
Join Date: Mar 2006
Location: Woodstock, GA
|
Quote:
I am working with the samething for a SQL database with an ASP.NET frontend for the PFL, using the CSV files from Greg's interrogator part of the suite. But I didn't realize you had set it as a user opntion, my appoligies, I haven't looked at your draft program yet. |
|
|
|
|
|
|
#24 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
No problem ![]() Last edited by jdavidbakr : 04-08-2008 at 05:38 PM. |
|
|
|
|
|
|
#25 |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
Any major updates fortcoming? If not, I'll install this and test it out for Shiba Football (www.snowballhidalgo.com). I like the preferencing logic being used here.
|
|
|
|
|
|
#26 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
The only thing I plan to add at this point is color coding weights and combine scores, but I don't know how soon I'll be able to get to that. Be sure you are using version 0.10, 0.9 had a bug in the player selection. I'd love to hear any suggestions or feedback after you use it. |
|
|
|
|
|
|
#27 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
headtrauma,
also let me know if you run into any issues, I'll get you a fix asap if you do. |
|
|
|
|
|
#28 |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
|
|
|
|
|
|
#29 | ||||
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
Came across an issue:
After creating the new database in phpmyadmin and then running the install script, I'm getting this error: "Fatal error: Cannot use object of type __PHP_Incomplete_Class as array in [path to my draft files]/fof_draft/includes/classes/login.inc.php on line 24" edit: I'm running:
Last edited by headtrauma : 04-10-2008 at 10:39 AM. |
||||
|
|
|
|
|
#30 | |||||
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
Hm, that's a strange one. Try replacing the login.inc.php file with this file (unzip it of course): http://www.catalystproductions.cc/pub/login.zip Are you on a shared server or do you have access to the PHP config file? It may be something that is set in the config file, I'd like to see your settings, make a page info.php with the following line: PHP Code:
and access that in a web browser, and send me the output in a PM you would (or the address where I can see the output). Sorry I didn't respond sooner, for some reason the board didn't send me an e-mail notification of your reply. Last edited by jdavidbakr : 04-10-2008 at 01:56 PM. |
|||||
|
|
|
|
|
#31 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Hey, I have a thought that may be causing this error - do you have something that you log into at this same URL? I've got a variable named "login" that might be stepping on your message board login or something like that - the code I gave you would fix that I think (but will break your connection to whatever you are logged in to). If I change that variable name that would probably fix it, I'll do that and release it as 0.11 here in a minute.
|
|
|
|
| Sponsors (you can remove these ads by registering or logging in) |
|
Register or login to remove these ads and many more. |
|
|
#32 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Ok, try version 0.11, it should fix it. You should be able to retain the /includes/config.inc.php file between these two versions if you don't want to run the install script again.
|
|
|
|
|
|
#33 | |
|
n00b
Join Date: Jan 2007
|
Quote:
I like were your heads at commish. Already thinking about the draft. |
|
|
|
|
|
|
#34 | |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
Quote:
Thanks, I was AFK for most of the day. If 0.11 doesn't work, then I'll try the suggestions you made in your previous posts. |
|
|
|
|
|
|
#35 |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
I wiped the entire fof_draft/ folder and re-uploaded the files, leaving the old MySQL tables intact.
I went through the main setup screen, establishing the "admin" user account and password. I then logged in as "admin" with the newly-created password and got the same error: Fatal error: Cannot use object of type __PHP_Incomplete_Class as array in /home/emaredee/public_html/shibafootball/fof_draft/includes/classes/login.inc.php on line 24 You can see the phpinfo file here: http://snowballhidalgo.com/phpinfo.php |
|
|
|
|
|
#36 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
Well, I'm still puzzled by why that error is happening but I believe I've made a change that at the very least will get rid of the error on line 24 of login.inc.php Try installing it again. You can keep the config file again if you want, or just wipe it, it shouldn't matter. The version should display as 0.11.1 |
|
|
|
|
|
|
#37 |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
The error's gone, thanks!
One suggestion/question: Since the team name needs to be the 3-letter team abbreviation, would it make sense to limit the "team name" field to 3 characters when registering new account? Also, in the "Team" table, is it necessary that the TeamID field tie to the in-game team numbers (0-31)? Last edited by headtrauma : 04-10-2008 at 08:44 PM. |
|
|
|
|
|
#38 | ||
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
Good point, I'll put that into the next release. Quote:
Actually the "Team" table is populated in draft order, the team_id field has no relevance at all to the in-game team numbers. The reason for this is that some leagues will have different team cities, and I didn't want to make setup any more complicated than it needed to be, and the team_id field is currently transparent to the end user anyway. In fact, if you reuse the utility the team_id value will just keep incrementing forever, because every time you import a draft it deletes all the values in the team table except for the admin "team". If there was a reason to map a team to their in-game numbers, I'd just add another field to the table for that. |
||
|
|
|
|
|
#39 |
|
H.S. Freshman Team
Join Date: Feb 2006
Location: D/FW
|
Great, thanks for your help.
I'll upload a test draft file and see how things work. We don't run our draft for another 2+ weeks, so there should be plenty of time to test things out. Thanks for your work on this, it's much appreciated. I've been teaching myself php/MySQL for the past few months, so I can somewhat relate to the amount of work required of something like this. |
|
|
|
|
|
#40 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
Thanks for working with me to get it running on your server. I'm still confused as to why 0.11 didn't work, but made several changes to work around it in the login script and am glad that at least one of them fixed it Welcome to the php/MySQL world. I love it, I've been doing it full-time for years. Feel free to look at my code, most of what I know with php has been learned by observing others' methods and taking (and modifying) what I liked and throwing away what I don't. Feel free to PM me any time as well if you want to chat about it . |
|
|
|
|
|
|
#41 |
|
n00b
Join Date: Jan 2007
|
I took a look at the demo and I'm looking forward to using this for my league's draft.
Couple questions and an issue. 1) Can I do a full league startup draft with this? 2) I changed up the draft order txt document to allow the draft to snake Will your program read it out to 53 rounds? 3) Will it allow for this large a player file? I have it installed, but run into an issue when I try to load the player file and draft order I get this error... Warning: Invalid argument supplied for foreach() in /home/genmgrfo/public_html/fof_draft/import_draft_run.php on line 158 Warning: Cannot modify header information - headers already sent by (output started at /home/genmgrfo/public_html/fof_draft/import_draft_run.php:158) in /home/genmgrfo/public_html/fof_draft/import_draft_run.php on line 175 |
|
|
|
| Sponsors (you can remove these ads by registering or logging in) |
|
Register or login to remove these ads and many more. |
|
|
#42 | ||
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
I've not tested it but there should not be a limit on the rounds or players. I'll be happy to work with you to get it working if you are having problems, but the algorithms should expand without any issue, as long as there are 32 picks per round. Quote:
Looks like it's in the draft order file. The parser is looking for each row to contain all of the selected pick numbers with the order in the first column, separated by spaces, as follows: 1 AAA BBB CCC ... ZZZ 2 AAA BBB CCC ... ZZZ 3 AAA BBB CCC ... ZZZ ... ... ... .... ... ... 32 AAA BBB CCC ... ZZZ It ignores any line that does not start with number and ignores any team name that is not 3 capital letters or 'xxx'. If it looks like that's what you're doing, send me a PM with the draft file and I'll see what might be going on. |
||
|
|
|
|
|
#43 |
|
n00b
Join Date: Jan 2007
|
That's all it was. From what I can tell it's up and working. I'll be back with feedback on the utility once the draft is done. Gonna run from 4/26 to 5/18. This should make it a lot more fun and interactive. Thanks!
|
|
|
|
|
|
#44 |
|
n00b
Join Date: Jan 2007
|
Nope, I was wrong. The draft order is in and working for all 53 rounds.
I don't have any players though. Shard extracted the file and sent to me. I don't get any errors when uploading. Just no players listed anywhere. |
|
|
|
|
|
#45 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Got this worked out via PM, the player file was not in the correct format.
|
|
|
|
|
|
#46 |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Just uploaded 0.13, some cool new features include:
* The admin now can see the entire draft transcript * The admin now can see any team's player queue * (this is my favorite) I added the ability to skip a team. If a team has been skipped, they can come back and make their pick at any time from the remaining players. This is designed for leagues who want to have a draft with a smaller window but don't want to have to pick for a team who doesn't pick on time; if a team runs out of time, you can just skip their pick, and the next team is on the clock. The skipped team can come in at any time and make their pick. Last edited by jdavidbakr : 04-26-2008 at 07:40 PM. |
|
|
|
|
|
#47 |
|
Dearly Missed
(9/25/77-12/23/08) Join Date: Nov 2003
Location: DC Suburbs
|
Sorry to be a johnny come lately on this one, but how does this handle trades?
__________________
NAFL New Orleans Saints GM/Co-Commish MP Career Record: 114-85 NAFL Super Bowl XI Champs In memory of Gavin Anthony: 7/22/08-7/26/08 |
|
|
|
|
|
#48 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
The admin has the power to change the team for any pick. |
|
|
|
|
|
|
#49 |
|
Dearly Missed
(9/25/77-12/23/08) Join Date: Nov 2003
Location: DC Suburbs
|
Ok. so the users can't do it? In the current draft utility, the GMs can send their picks to each other once a trade has been finalized.
__________________
NAFL New Orleans Saints GM/Co-Commish MP Career Record: 114-85 NAFL Super Bowl XI Champs In memory of Gavin Anthony: 7/22/08-7/26/08 |
|
|
|
|
|
#50 | |
|
High School Varsity
Join Date: Feb 2008
Location: Oklahoma
|
Quote:
My thinking was that changing picks was a bit too abusable to give that power to non-admins. But I'm not beyond being talked out of that position ![]() |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|