aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/LSOEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-01 16:39:02 +0000
committerTeravus Ovares2008-05-01 16:39:02 +0000
commitc803e0cca1ef1e81bec4dcd615aea955f3756b19 (patch)
tree97c1ff9b468e930e8152a8d6e8df523353229d16 /OpenSim/Region/ScriptEngine/LSOEngine
parent* Spring cleaning on Region.Environment. (diff)
downloadopensim-SC_OLD-c803e0cca1ef1e81bec4dcd615aea955f3756b19.zip
opensim-SC_OLD-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.gz
opensim-SC_OLD-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.bz2
opensim-SC_OLD-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.xz
* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/LSOEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/ScriptManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/LSOEngine/ScriptManager.cs
index 0434f55..20d1a58 100644
--- a/OpenSim/Region/ScriptEngine/LSOEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/LSOEngine/ScriptManager.cs
@@ -91,6 +91,8 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine
91 CompiledScript.Start(LSLB); 91 CompiledScript.Start(LSLB);
92 92
93 // Fire the first start-event 93 // Fire the first start-event
94 int eventFlags = m_scriptEngine.m_ScriptManager.GetStateEventFlags(localID, itemID);
95 m_host.SetScriptEvents(itemID, eventFlags);
94 m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); 96 m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { });
95 } 97 }
96 catch (Exception e) // LEGIT - User Script Compilation 98 catch (Exception e) // LEGIT - User Script Compilation