Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Fantasy FIRST (http://www.chiefdelphi.com/forums/forumdisplay.php?f=128)
-   -   [FF]: FF Draft Assistant Rewrite (http://www.chiefdelphi.com/forums/showthread.php?t=86162)

Vikesrock 01-09-2010 18:53

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by EricH (Post 973096)
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

Vikesrock 01-09-2010 19:42

Re: [FF]: FF Draft Assistant Rewrite
 
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.

EricH 01-09-2010 20:41

Re: [FF]: FF Draft Assistant Rewrite
 
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.)

Vikesrock 01-09-2010 22:10

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by EricH (Post 973110)
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.

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.

Quote:

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.

Vikesrock 31-10-2010 17:35

Re: [FF]: FF Draft Assistant Rewrite
 
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

Vikesrock 19-12-2010 10:36

Re: [FF]: FF Draft Assistant Rewrite
 
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

Basel A 19-12-2010 12:34

Re: [FF]: FF Draft Assistant Rewrite
 
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.

Vikesrock 19-12-2010 13:23

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by Basel A (Post 986601)
Can code-tags be in the settings somewhere? They're not universally used among the current draft runners (and I don't like them).

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 will be posted shortly. are posted.

Basel A 19-12-2010 15:27

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by Vikesrock (Post 986610)
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 will be posted shortly. are posted.

Ah, you're right, my bad. Thanks!

Vikesrock 19-12-2010 15:30

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by Basel A (Post 986632)
Ah, you're right, my bad. Thanks!

No worries! Flexibility is always a good thing and it was pretty easy to implement.

ATannahill 19-12-2010 18:52

Re: [FF]: FF Draft Assistant Rewrite
 
Another thing. Can you implement a 'copy text' button.

Vikesrock 19-12-2010 19:21

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by rtfgnow (Post 986658)
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.

ATannahill 22-12-2010 16:35

Re: [FF]: FF Draft Assistant Rewrite
 
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.

Vikesrock 22-12-2010 16:54

Re: [FF]: FF Draft Assistant Rewrite
 
Quote:

Originally Posted by rtfgnow (Post 987740)
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:
http://pt.sourceforge.jp/projects/sf...c_s_dw2-1.dll/

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*

ATannahill 22-12-2010 17:05

Re: [FF]: FF Draft Assistant Rewrite
 
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.


All times are GMT -5. The time now is 00:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi