Talk:OsNpcCreate
From OpenSimulator
(New page: I don't know if i should submit this as a bug, or if it's already submitted, or if it's known, but the example script causes a script error for me. osFunctions are enabled on my server, wi...) |
|||
Line 25: | Line 25: | ||
--[[User:Fritigern|Fritigern]] 23:24, 10 December 2010 (UTC) | --[[User:Fritigern|Fritigern]] 23:24, 10 December 2010 (UTC) | ||
+ | |||
+ | I know this is ancient by now, but it suggests the osNpcCreate signature changed and a previously compiled script DLL was still being used. The latest versions of OpenSim delete all the old script DLLs on each restart, so this might go away there -- [[User:Justincc|Justincc]] 18:42, 28 June 2011 (UTC) |
Revision as of 10:42, 28 June 2011
I don't know if i should submit this as a bug, or if it's already submitted, or if it's known, but the example script causes a script error for me. osFunctions are enabled on my server, with thread level set to VeryHigh. The script error is:
[03:12 PM] Primitive: System.Reflection.TargetParameterCountException: parameters do not match signature at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at OpenSim.Region.ScriptEngine.Shared.ScriptBase.Executor.ExecuteEvent (System.String state, System.String FunctionName, System.Object[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.ExecuteEvent (System.String state, System.String FunctionName, System.Object[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.EventProcessor () [0x00000] in <filename unknown>:0
I don't know what this error means. Is it something in my config? Is the function broken? Server is running in Linux, Mono v2.6.7 OpenSimulator version: OpenSim 0.7.1 Dev OSgrid 0.7.1 (Dev) 8f1a794: 2010-11-18
--Fritigern 23:24, 10 December 2010 (UTC)
I know this is ancient by now, but it suggests the osNpcCreate signature changed and a previously compiled script DLL was still being used. The latest versions of OpenSim delete all the old script DLLs on each restart, so this might go away there -- Justincc 18:42, 28 June 2011 (UTC)