Re: CardDb exception
The "NEW" column is back in shop AND deckeditor for quest mode.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=5289
Good work Max. This feature is much appreciated (and much more obvious now).Max mtg wrote:The "NEW" column is back in shop AND deckeditor for quest mode.
Yea that should work.Max mtg wrote:10182 - added a column with number of decks.
May I close issue 102 with that?
If we are loading card data from cardname.txt, SetInfo should not be ever deprecated. It is a mandatory field, no card without it would show in deckeditor. And it does not, there is an exception thrown during load of such cards.ArsenalNut wrote:Reading the Innistrad script thread, reminded me about the missing SetInfo exception. I know the SetInfo line is in the process of being deprecated. Is that going to be done before the next biweekly release?
The current release doesn't need SetInfo line for testing card scripts like Innistrad but a release based on the current trunk would. This might cause a lot of crash reports if people aren't aware of the change.
Index:78|Code2:ISD|Code3:ISD|Name:InnistradI may have miss interpreted FriarSol intentions about SetInfo. He was only asking about the URL part of the SetInfo. (See http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=5272)Max mtg wrote:
If we are loading card data from cardname.txt, SetInfo should not be ever deprecated. It is a mandatory field, no card without it would show in deckeditor. And it does not, there is an exception thrown during load of such cards.
If the SetInfo is going to be required for card scripts in future releases, I think a clear error message is better than throwing an exception which generates a crash report. Can you setup it up so that cards with missing info are just ignored and the user is given a message that the card was ignored?Max mtg wrote:Did I get you right that a clear error message should be added there instead of just throwing?
viewtopic.php?f=52&t=5315&start=22Chris H. wrote:People enjoy scripting the new card sets. We want to encourage them to play test their card scripts before they are submitted. These people should not have to install Python in order to run these scripts themselves.
`Max mtg wrote:viewtopic.php?f=52&t=5315&start=22Chris H. wrote:People enjoy scripting the new card sets. We want to encourage them to play test their card scripts before they are submitted. These people should not have to install Python in order to run these scripts themselves.