Closed firemind closed 9 years ago
Update on this from Melvin at the forums:
I think the most accurate way to validate is to use the version of Magarena on firemind as the validator. Just chuck the card script and groovy script into the scripts folder and try to load an AI game with that card as the only card in the deck. That is what I do when I merge cards from firemind. The trick is to run DeckStrCal with --repeat 0 so that no games are actually played just the card loading is performed. The program will crash if any card fail to load. It will be really nice if the crash.log can be shown to the user when this happens.
Though sometimes scripters are using features from tip which are not in the last release, so it will fail the validation. In that case, the site can show a warning like "Your submission fails to load in version X.XX, this may happen if you are using features from the development version. Do you want to submit anyway?"
Here is a mock up of the solution I decided on:
The card validation part was implemented a while ago.
Allowing users to run duels on the latest queue no longer seems useful so I'm not going to add that.
Queue running on the latest magarena code to determine if card submissions are functional.
In a later step make it available to users to run experimentally on and dismiss results if it is broken