[CHAT OUTPUT]
System.Reflection.TargetParameterCountException: Number of parameter does not match expected count.
at System.Reflection.Binder.ConvertArgs (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
at LindenLab.SecondLife.LslUserScript.OnEvent (ScriptEvent evt) [0x00000]
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]
[/CHAT OUTPUT]
the only thing in common between the two is an if tree that may be "iffy" XD
the if tree is (in one script) in a listen event, checking to see if the speaker is llGetOwner, pilot or copilot (keys passed in linkmessage
in the other script it is in both a collision event and a sensor, checking the same thing.
the possible iffyness is that the owner could be the pilot or copilot key in question, and the tree looks like this:
CODE
collision(integer numb)
{
integer i=0;
for (i = 0; i < numb; i++)
{
key test=llDetectedKey(i);
if(test==llGetOwner())
{
llSensorRemove();
llSensorRepeat("","",AGENT,5.6,PI,1.0);
}
else if(test==pilot||test==copilot)
{
llSensorRemove();
llSensorRepeat("","",AGENT,5.6,PI,1.0);
}
}
}
i suspected for a moment that a NULL_KEY in pilot or copilot might have something to do with it, but... i'm always owner in all cases so far, so the if should never be getting to 2nd branch..
halp?