mirror of
https://github.com/opensim/opensim.git
synced 2026-05-16 11:46:04 +08:00
* Fixed a whole bunch of console messages.
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
|
||||
|
||||
private void events_OnNewPresence(ScenePresence presence)
|
||||
{
|
||||
script.logger.Verbose("Hello " + presence.Firstname.ToString() + "!");
|
||||
script.logger.Verbose("TESTSCRIPT", "Hello " + presence.Firstname.ToString() + "!");
|
||||
}
|
||||
|
||||
private void events_OnFrame()
|
||||
|
||||
@@ -48,12 +48,12 @@ namespace OpenSim.Region.ExtensionsScriptModule
|
||||
{
|
||||
ScriptInfo scriptInfo = new ScriptInfo(m_scene);
|
||||
// Since each script could potentially corrupt their access with a stray assignment, making a new one for each script.
|
||||
MainLog.Instance.Verbose("Loading " + script.Key);
|
||||
MainLog.Instance.Verbose("SCRIPT", "Loading " + script.Key);
|
||||
script.Value.Initialise(scriptInfo);
|
||||
scripts.Add(script.Value);
|
||||
}
|
||||
|
||||
MainLog.Instance.Verbose(string.Format("Finished loading {0} script(s)", compiledscripts.Count));
|
||||
MainLog.Instance.Verbose("SCRIPT", string.Format("Finished loading {0} script(s)", compiledscripts.Count));
|
||||
}
|
||||
|
||||
public ScriptManager()
|
||||
@@ -125,7 +125,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
|
||||
|
||||
public bool AddPreCompiledScript(IScript script)
|
||||
{
|
||||
MainLog.Instance.Verbose("Loading script " + script.Name);
|
||||
MainLog.Instance.Verbose("SCRIPT", "Loading script " + script.Name);
|
||||
ScriptInfo scriptInfo = new ScriptInfo(m_scene);
|
||||
// Since each script could potentially corrupt their access with a stray assignment, making a new one for each script.
|
||||
script.Initialise(scriptInfo);
|
||||
|
||||
Reference in New Issue
Block a user