diff options
author | Adam Frisby | 2007-12-04 10:13:13 +0000 |
---|---|---|
committer | Adam Frisby | 2007-12-04 10:13:13 +0000 |
commit | 91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0 (patch) | |
tree | 7197561681677d4bd7202d9c7a49757b28bccd04 /OpenSim/Region/ExtensionsScriptModule | |
parent | removed old svn eol-style property (diff) | |
download | opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.zip opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.gz opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.bz2 opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.xz |
* Fixed a whole bunch of console messages.
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/Script.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/Script.cs b/OpenSim/Region/ExtensionsScriptModule/Script.cs index 5f85799..350ca2d 100644 --- a/OpenSim/Region/ExtensionsScriptModule/Script.cs +++ b/OpenSim/Region/ExtensionsScriptModule/Script.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
53 | 53 | ||
54 | private void events_OnNewPresence(ScenePresence presence) | 54 | private void events_OnNewPresence(ScenePresence presence) |
55 | { | 55 | { |
56 | script.logger.Verbose("Hello " + presence.Firstname.ToString() + "!"); | 56 | script.logger.Verbose("TESTSCRIPT", "Hello " + presence.Firstname.ToString() + "!"); |
57 | } | 57 | } |
58 | 58 | ||
59 | private void events_OnFrame() | 59 | private void events_OnFrame() |
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs index 8cd94c3..dd70ad5 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs | |||
@@ -48,12 +48,12 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
48 | { | 48 | { |
49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
51 | MainLog.Instance.Verbose("Loading " + script.Key); | 51 | MainLog.Instance.Verbose("SCRIPT", "Loading " + script.Key); |
52 | script.Value.Initialise(scriptInfo); | 52 | script.Value.Initialise(scriptInfo); |
53 | scripts.Add(script.Value); | 53 | scripts.Add(script.Value); |
54 | } | 54 | } |
55 | 55 | ||
56 | MainLog.Instance.Verbose(string.Format("Finished loading {0} script(s)", compiledscripts.Count)); | 56 | MainLog.Instance.Verbose("SCRIPT", string.Format("Finished loading {0} script(s)", compiledscripts.Count)); |
57 | } | 57 | } |
58 | 58 | ||
59 | public ScriptManager() | 59 | public ScriptManager() |
@@ -125,7 +125,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
125 | 125 | ||
126 | public bool AddPreCompiledScript(IScript script) | 126 | public bool AddPreCompiledScript(IScript script) |
127 | { | 127 | { |
128 | MainLog.Instance.Verbose("Loading script " + script.Name); | 128 | MainLog.Instance.Verbose("SCRIPT", "Loading script " + script.Name); |
129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
131 | script.Initialise(scriptInfo); | 131 | script.Initialise(scriptInfo); |