![]() |
[FF]: FF Draft Assistant Rewrite
As a project to refresh my programming skills this summer I plan to completely rewrite my FF Draft Assistant app as a full GUI application using GTK+.
Here's a current planned feature list: Full Draft Setup Capabilities
Full Draft Running Capabilities
Save/Resume Functionality
There may be more implemented if I think of things, but if anyone has anything they would like to see in a program like this please post here with your idea(s). |
Re: [FF]: FF Draft Assistant Rewrite
How about a way to "auto-rollback" a draft when a user posts a minute later going "oh i wanted team x that you gave to that guy"?
|
Re: [FF]: FF Draft Assistant Rewrite
Quote:
|
Re: [FF]: FF Draft Assistant Rewrite
I have completed the draft setup portion of the new program that will create tier and random team text files similar to the last version. The auto team list portion is not working yet, I am having some issues with getting something written to download a webpage to a file. I am going to put that off for now and work on the portion that runs the draft.
Here's a screenshot of the "New Draft Wizard" with the "Edit Round Times" and "Manual Team List" dialog boxes open. The edit round times dialog will adjust the number of boxes to match the number of rounds selected at the time. ![]() |
Re: [FF]: FF Draft Assistant Rewrite
Kevin, I'll volunteer to run beta tests when you're ready for that. Ought to be able to use last year's or offseason team lists for that.
|
Re: [FF]: FF Draft Assistant Rewrite
Thanks Eric, I'm not there quite yet, but I'm getting closer.
Most of the draft setup is done (I did realize I forgot the option for an entered random list order, but it shouldn't be too bad to add) The UI for the draft running is mostly done, the last thing I have to work out is how to display the text to copy-paste to CD. My current plan is to use an expander (one of those little triangles that expands when clicked) to show/hide a text box below the draft table. Here's a peak at the draft running interface: ![]() |
Re: [FF]: FF Draft Assistant Rewrite
After having some trouble with the installer and less time to work on this than I would have liked I finally have a version of this program ready to test (I think).
The program is posted here as FF_Draft_Assistant_setup.zip Unfortunately the way it is currently written it is incompatible with both tier files and list files from the previous version. I couldn't come up with a good way to parse the list files if the player names have spaces. Right now the program uses list files where the player names are followed by periods. I could switch back to no spaces in player names and no required periods in the list files if that seems like it would be easier. There's a brief ReadMe and an example list file included in the install. Feel free to post or PM with any questions or anything that's broken. I don't think the player coloring is explained in the ReadMe yet. Players in green have teams left on their list, players in red do not. Known Issue: Player coloring does not occur when changing to a new tier for the first time. |
Re: [FF]: FF Draft Assistant Rewrite
Guess I better get testing before too long...
When life is a little less crazy, of course (getting ready to go back to college and all that). BTW, hitting "apply" with not all the lists in/files loaded simply exits the program with no warning. |
Re: [FF]: FF Draft Assistant Rewrite
Quote:
|
Re: [FF]: FF Draft Assistant Rewrite
Quote:
These are all minor edits so I'll hold onto the new version for now. There are still issues (crashes or lockups) if you accidentally load a file of the wrong format. I'm going to try to work on that a little bit, but it's not quite as easy to solve as the other issues were. |
Re: [FF]: FF Draft Assistant Rewrite
A new version has now been posted.
Changes: New Features: 1. Auto team list downloading and processing is now available, simply enter the event code in the box. Error Fixes: 1. Graceful handling of missing player file or team file. 2. Player coloring based on list status is available immediately on tab change 3. Fixed glitch which occurred when selecting a time but making no pick. I haven't had a chance to test what happens if you try to use this installer directly over the last install, so there a few ways to upgrade: 1) Uninstall the old version and install this one 2) Guinea pig installing this over the other one (I think this will work if you say yes to any file overwrites it asks about) 3) Download the 4th file listed in the paper and replace your current program with the new one and copy curl.exe into "Install Directory\GTK\bin" |
Re: [FF]: FF Draft Assistant Rewrite
Well, I discovered how to lock up the old version.
Manually enter the team list. I haven't tried event code hunting yet; I also can't figure out how to actually run a draft instead of just set one up. Guess I better see if the newer version works on that front... Oh, and when I uninstalled in preparation to install the new one, all the .txt files on my desktop vanished entirely. Ditto for some movies and the .exe files for some other programs that I'd written. |
Re: [FF]: FF Draft Assistant Rewrite
OK, new version: I go to put in a file for players with the requested parameters. It can't open (but goes right back to the setup screen, which is good). Check the file again, save it again, try again. Then it pops up the manual team entry list box, so I enter that again, then I get an error message "encountered a problem and needs to close. Sorry..."
However, it did spit out the files needed for a draft. And I figured out how to run it. Next up: testing with lists when I get the time. (Oh, and the manual team entry popped up again when I went to run the draft.) |
Re: [FF]: FF Draft Assistant Rewrite
Well that sounds fun!
I will fix the uninstall problem, I know what caused that. If you could email me the files you have been using (player and team list) that have been giving you trouble I'll try to figure out what's going on. My email is my CD Username @ gmail.com I'm hoping to get in some more testing of my own tonight as I have been primarily testing all versions with a single player file and team file that haven't caused these issues. |
Re: [FF]: FF Draft Assistant Rewrite
I got a clean run using the files that I sent and a lists file (after I put the periods in the list file). Can't wait to get some team lists for the actual events and try it out that way...
|
| All times are GMT -5. The time now is 17:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi