Thank you kindly, TLaukkan (Tommil) for a patch that solves:
If -background=true is specified on the command line, a null pointer exception crashes the server in OpenSim/Region/Application/OpenSimBase.cs in method StartupSpecific. Its trying to dereference m_console which is null, presumably because we're in background mode.GenericGridServerConcept
parent
931754a1ab
commit
e9e5c175cd
|
@ -198,6 +198,9 @@ namespace OpenSim
|
||||||
// Only enable logins to the regions once we have completely finished starting up (apart from scripts)
|
// Only enable logins to the regions once we have completely finished starting up (apart from scripts)
|
||||||
m_commsManager.GridService.RegionLoginsEnabled = true;
|
m_commsManager.GridService.RegionLoginsEnabled = true;
|
||||||
|
|
||||||
|
// If console exists add plugin commands.
|
||||||
|
if (m_console != null)
|
||||||
|
{
|
||||||
List<string> topics = GetHelpTopics();
|
List<string> topics = GetHelpTopics();
|
||||||
|
|
||||||
foreach (string topic in topics)
|
foreach (string topic in topics)
|
||||||
|
@ -235,6 +238,8 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private void HandleCommanderCommand(string module, string[] cmd)
|
private void HandleCommanderCommand(string module, string[] cmd)
|
||||||
{
|
{
|
||||||
m_sceneManager.SendCommandToPluginModules(cmd);
|
m_sceneManager.SendCommandToPluginModules(cmd);
|
||||||
|
|
Loading…
Reference in New Issue