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
Charles Krinke 2009-02-23 23:14:04 +00:00
parent 931754a1ab
commit e9e5c175cd
1 changed files with 33 additions and 28 deletions

View File

@ -198,6 +198,9 @@ namespace OpenSim
// Only enable logins to the regions once we have completely finished starting up (apart from scripts)
m_commsManager.GridService.RegionLoginsEnabled = true;
// If console exists add plugin commands.
if (m_console != null)
{
List<string> topics = GetHelpTopics();
foreach (string topic in topics)
@ -235,6 +238,8 @@ namespace OpenSim
}
}
}
private void HandleCommanderCommand(string module, string[] cmd)
{
m_sceneManager.SendCommandToPluginModules(cmd);