Small bit of refactoring to the startup command script code (moved it into a separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.

This commit is contained in:
MW
2007-08-24 16:17:57 +00:00
parent 487a54ffc0
commit 4276a352bc
2 changed files with 32 additions and 22 deletions

View File

@@ -207,8 +207,7 @@ namespace OpenSim.Region.Environment.LandManagement
if (x > 63 || y > 63 || x < 0 || y < 0)
{
return null;
//throw new Exception("Error: Parcel not found at point " + x + ", " + y);
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
}
else
{
@@ -221,8 +220,7 @@ namespace OpenSim.Region.Environment.LandManagement
{
if (x > 256 || y > 256 || x < 0 || y < 0)
{
return null;
//throw new Exception("Error: Parcel not found at point " + x + ", " + y);
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
}
else
{