In trying to apply a hair color change script, I encountered the above error. LSL @ http://pastebin.com/K6HnW1N4 Error below
n.b. tried both string and key for the global assign's [OA] Hair - Alan - Copper: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid. Server stack trace: at OpenSim.Region.ScriptEngine.Shared.LSL_Types.list.GetLSLFloatItem(Int32 itemIndex) at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.SetPrimParams(SceneObjectPart part, list rules) at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llSetLinkPrimitiveParams(Int32 linknumber, list rules) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInC _______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
