Quote:
Originally Posted by JosephC
Could we add functionality to the Draft Runner to allow picks that aren't in the available teams list? Had some issues with that today. Or atleast make it so the Draft Runner doesn't completely crash while doing so.
|
Were you using "Remove Pick" to pull teams out of the draft?
Basic algorithm: For
any pick, the FIRST check is the full team list (see if the team is attending). THEN it checks the picked teams (not the available teams) to see if somebody already has that team. Once it's happy that the team is 1) attending and 2) not already picked, it'll try to pull the team out of the available list. I suspect that that's where the problem was: in removing the team from the list. I don't think I have good error-handling there, and there's a known bug in there somewhere that I haven't been able to squash (causes teams to not be removed properly).
Basically, I think what probably happened was the team it was looking to remove just wasn't there, possibly due to not being put back in during the big shuffle. "Remove Pick" will do that putting in.
I'll see what I can come up with over the weekend. Weekend programming tasks:
--Error handling on removing teams from available list
--Bug fixes in team removal from list (and/or from draft)
--"Rookie" functionality in picklists
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons
"Rockets are tricky..."--Elon Musk
