RE: Unhandled Exception Error
Your zip file has a folder in the root followed by the files. This shouldn't be the case.
The script info file has to be called ScriptInfo.xml
The above two causes the script pack to be invalid.
And your code won't always produce a result. Array's are 0 based indexes. And you are getting a number between 0 and 15 but your array is actually 1 to 10.
This post was edited on 04-19-2011 at 08:05 PM by matty.
|