PDA

View Full Version : Adding S3SA


PigiePower
17th Jan 2010, 08:34 AM
I'm Having trouble adding S3SA Resourses to my Package. Whenever i make one i cannot save without getting an error(cant save null or somthing). In The Previewer shows


Error reading resource 073FAA07:00000000:0000000000000000
Exception has been thrown by the target of an invocation.
Destination array is not long enough to copy all the items in the collection. Check array index and length.
----
Stack trace:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at s3pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s)
at s3pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault)
at S3PIDemoFE.MainForm.browserWidget1_SelectedResourceChanged(Object sender, ResourceChangedEventArgs e)
----
Stack trace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.BitConverter.ToInt64(Byte[] value, Int32 startIndex)
at ScriptResource.ScriptResource.decrypt()
at ScriptResource.ScriptResource.Parse(Stream s)
at ScriptResource.ScriptResource..ctor(Int32 APIversion, Stream s)


The Grid button is greyed out so i cant add the assembly. i also did the FNV hash aswell.

pljones
17th Jan 2010, 10:01 AM
At what point do you get the error? Immediately after doing Resource->Add?

pljones
17th Jan 2010, 02:10 PM
Oh, is this with 13/Dec from the stickies or with yesterday's QA?

PigiePower
17th Jan 2010, 04:46 PM
I just updated to the 13/dec form the stickies and it works now! ^.^ Thank you for your time, Pljones.