Errors with offending parts listed.
Posted: Fri Feb 03, 2012 12:39 am
In one of my stacks I'm using the skinning code that David demonstrated in the Games Academy.
Pretty cool stuff, until it all goes wrong.
"can't find card".
Huh...that's strange. The card is *there*. When I type it in the message box it works. What gives?
I finally twigged that the name of the skin card is kept in a custom property cSkin. Somehow, instead of 'skin' it was 'skin '. Of course there was no card called that.
Can the error messages please list the offending bit like this:
can't find card "skin "
I know this would be too big a job to implement retrospectively right now, but going forward error messages shouldn't just be on line x, char y, they should give slightly more of a clue to us clueless.
Thanks,
-Ken
Pretty cool stuff, until it all goes wrong.
"can't find card".
Huh...that's strange. The card is *there*. When I type it in the message box it works. What gives?
I finally twigged that the name of the skin card is kept in a custom property cSkin. Somehow, instead of 'skin' it was 'skin '. Of course there was no card called that.
Can the error messages please list the offending bit like this:
can't find card "skin "
I know this would be too big a job to implement retrospectively right now, but going forward error messages shouldn't just be on line x, char y, they should give slightly more of a clue to us clueless.
Thanks,
-Ken