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…
It will actually currently pull up the teamlists from this past year’s events when using the automatic download.
The event codes are the same as those listed at frclinks.com
I just fixed it so that it will not try to download a teamlist if the box is left blank. While the download attempt was harmless it set a flag to randomize the teams which may potentially be unwanted behavior.
I am also working on handling some additional errors (such as non-numerical characters in a teamlist) and displaying appropriate error dialogs to explain what’s going on.
Crashed it by putting in a good pick list set… Reopened the program and it worked fine.
I think it doesn’t like if a needed file is modified while the program is open. I don’t know if there is anything that can be done about that, though.
Also, a note: If you’re generating a fresh draft setup, it’s a good idea to remove old tiers–it’ll pick them up as good ones if they’re still around. (Saw that just now, going from my test draft (4 tiers) to AZ (2 tiers)–tiers 1 and 2 changed to AZ tiers, tiers 3 and 4 stuck around and were opened up when I started the program.)
This appears to be the case with many or all of the files that the program opens. I have tried some things that I thought would fix this, but I haven’t managed to knock this one out yet. For now I am modifying error dialogs to recommend restarting the program where appropriate.
If there is an error with the manual teamlist it can be edited and retried because the dialog box closes. I will probably implement a button or menu option to load lists in addition to the automatic prompt so that list files can be fixed without restarting the program.
Also, a note: If you’re generating a fresh draft setup, it’s a good idea to remove old tiers–it’ll pick them up as good ones if they’re still around. (Saw that just now, going from my test draft (4 tiers) to AZ (2 tiers)–tiers 1 and 2 changed to AZ tiers, tiers 3 and 4 stuck around and were opened up when I started the program.)
This confused the heck out of me yesterday, but I forgot to post about it. I spent a long time trying to figure out why the right number of tiers were not being created when I used one of the manual tiers options.
The program has been updated to better handle some errors that can occur (many still require program restart, but better inform you of what happened with dialogs).
It also now uses the FIRST pages directly for auto-team loading as the site I was using that provided the lists in XML is not going to be updated for this year’s events.
Installer still located here:
http://www.chiefdelphi.com/media/papers/2307
I have posted an updated version of the program at the CD-Media page listed in the previous post. If you have a version that does automatic team fetching, you can just grab the Update zip file and replace the main EXE with the one in the ZIP.
Changes:
- CD Text automatically includes Code tags
- File menu now includes a “Reload List” menu item which allows lists to be reloaded during the draft without restarting the program
- The program no longer needs to be restarted when errors are encountered loading list files (not sure about other files yet).
Credit to rtfgnow for feature requests
As always, feature requests or bug reports are welcome via post, PM, email or IM
Can code-tags be in the settings somewhere? They’re not universally used among the current draft runners (and I don’t like them).
I mean, not that it’s a huge deal; I’m just nitpicking.
Sure!
I turned the autorun checkbox, which I never implemented anyway, into a checkbox to enable or disable the code tags.
Eric, Alex and I all use them and Ed doesn’t use the program so the default state of the checkbox is on.
Updated installer and update zips [strike]will be posted shortly.[/strike] are posted.
Ah, you’re right, my bad. Thanks!
No worries! Flexibility is always a good thing and it was pretty easy to implement.
Another thing. Can you implement a ‘copy text’ button.
Hmmmm… that would be handy. Probably a little tougher to implement. I’ll see if I have time to work on it before I go home for the holidays on Wednesday, depends how my project at work is going.
If I don’t get it done before Wednesday I probably won’t have time to work on it for this season of drafting because I won’t have a development machine at my parent’s.
I tried to uninstall and install the new version. I am getting an error message saying libgcc_s_dw2-1.dll is missing. I uninstalled and reinstalled but it still doesn’t work.
Eww… well that’s obnoxious. I did the development for the latest version on a different machine and must have missed a compiler flag of some sort or used a new version of the compiler that requires that dll for some reason.
Looks like that dll can be found here:
You can either put it in your C:\Windows\System32 directory or the GTK\bin directory inside your FF Draft Assistant install.
Hopefully that’s the only one that is missing crosses fingers
Done, now it wants libstdc+±6.dll.
I appreciate your help but I’d prefer you to work on the waiver wires and I’ll draft manually.
Ok, sounds good. I set up a Teamviewer session on my desktop before I left and my boss lent me a laptop from work, so hopefully tomorrow I’ll be able to attack this and either get a version without the additional dependencies or an installer that includes them posted up.
I’ve posted updated versions of the instaler and update file that do not have the extra dependencies. Turns out it was the newer version of the compiler that caused the issue.
A feature not urgent but worth implementing if you get bored: being able to decide who goes in what tier (for redrafts mainly)
I think it’s possible to do that now, but it’s nastier than normal. You wouldn’t be able to randomize easily, but you could list the names of who you want in tier 1, then the names of who you want in tier 2, enter that list and unselect “Randomize Players”. Of course, then you get the fun of randomizing tiers yourself.
Or you could just enter a partial list to randomize. Again, not easy, and then you get to deal with renaming file outputs and whatnot.