* All nine regions in Simian come online at startup now (one step at a time)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2484 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-03-13 08:57:52 +00:00
parent 7b2154cd89
commit 1506846d36
16 changed files with 195 additions and 62 deletions

View File

@@ -124,12 +124,13 @@ namespace Simian
{
}
public bool Start(Simian server, string name, IPEndPoint endpoint, uint regionX, uint regionY,
public bool Start(Simian server, string name, IPEndPoint endpoint, UUID regionID, uint regionX, uint regionY,
string defaultTerrainFile, int staticObjects, int physicalObjects)
{
this.server = server;
this.regionName = name;
this.endpoint = endpoint;
this.regionID = regionID;
// Set the properties because this will automatically update the regionHandle
RegionX = regionX;
@@ -176,6 +177,8 @@ namespace Simian
if (!String.IsNullOrEmpty(defaultTerrainFile))
LoadTerrain(Simian.DATA_DIR + defaultTerrainFile);
Logger.Log(String.Format("Region {0} online at ({1},{2}) listening on {3}", name, regionX, regionY, endpoint),
Helpers.LogLevel.Info);
return true;
}