Ok, so NOW scripts work. New patch to break them coming soon.

This commit is contained in:
Tedd Hansen
2008-02-24 17:01:20 +00:00
parent 8af64c979f
commit f10d895105
3 changed files with 6 additions and 4 deletions

View File

@@ -40,11 +40,13 @@ namespace OpenSim.Region.ScriptEngine.Common
: base(scriptEngine, host, localID, itemID)
{
Prim = new OSSLPrim(this);
}
public OSSLPrim Prim;
[Serializable]
public class OSSLPrim
{
private OSSL_BuilIn_Commands OSSL;

View File

@@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
// this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed.
BuilIn_Commands LSLB = (BuilIn_Commands)new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
// Start the script - giving it BuiltIns
CompiledScript.Start(LSLB);