Mantis#1877. Thank you kindly, Sache Magne for a patch that:

This patch allows the operator to see the region currently served.
A message "Serving region : xxxxx" appears under help or any show commands.
0.6.0-stable
Charles Krinke 2008-08-02 02:53:11 +00:00
parent 4cf4774b3e
commit dba4d357c8
1 changed files with 13 additions and 1 deletions

View File

@ -132,6 +132,13 @@ namespace OpenSim
}
}
private string GetActualSimName()
{
if (m_sceneManager.CurrentScene == null) return "Root";
return m_sceneManager.CurrentScene.RegionInfo.RegionName;
}
#region Console Commands
private void RunEchoTest(string[] cmdparams)
@ -284,8 +291,10 @@ namespace OpenSim
m_console.Notice("create user - adds a new user.");
}
m_console.Notice("");
m_console.Notice("Serving region " + GetActualSimName());
m_console.Notice("");
break;
case "save-xml":
@ -665,6 +674,9 @@ namespace OpenSim
});
break;
}
m_console.Notice("");
m_console.Notice("Serving region " + GetActualSimName());
m_console.Notice("");
}
/// <summary>