Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config.

ScriptServer will still not start!
This commit is contained in:
Tedd Hansen
2008-01-02 15:58:33 +00:00
parent 459a4b0bb5
commit 198dea28ad
5 changed files with 14 additions and 5 deletions

View File

@@ -35,11 +35,12 @@ namespace OpenSim.Grid.ScriptServer
private static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
// Application is starting
SE = new ScriptServerMain();
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)

View File

@@ -14,6 +14,7 @@ namespace OpenSim.Grid.ScriptServer
// NOTE! CURRENTLY JUST HARDWIRED DOTNETENGINE!
public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine ScriptEngine = new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine();
/// <summary>
/// Receives calls from remote grids.
/// </summary>

View File

@@ -54,6 +54,7 @@ namespace OpenSim.Grid.ScriptServer
//ScriptEngines = new ScriptEngineManager(this, m_log);
m_RemotingServer = new RemotingServer();
m_RemotingServer.CreateServer(listenPort, "DotNetEngine");
System.Console.ReadLine();
}
~ScriptServerMain()