Simian:
* Actually send LogoutReply packet * Aesthetic improvements to terrain git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2149 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Simian.Extensions
|
||||
handshake.RegionInfo.SimOwner = UUID.Random();
|
||||
handshake.RegionInfo.SimAccess = 1;
|
||||
handshake.RegionInfo.SimName = Utils.StringToBytes("Simian");
|
||||
handshake.RegionInfo.WaterHeight = 20.0f;
|
||||
handshake.RegionInfo.WaterHeight = 35.0f;
|
||||
handshake.RegionInfo.TerrainBase0 = UUID.Zero;
|
||||
handshake.RegionInfo.TerrainBase1 = UUID.Zero;
|
||||
handshake.RegionInfo.TerrainBase2 = UUID.Zero;
|
||||
@@ -79,6 +79,8 @@ namespace Simian.Extensions
|
||||
reply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock();
|
||||
reply.InventoryData[0].ItemID = UUID.Zero;
|
||||
|
||||
agent.SendPacket(reply);
|
||||
|
||||
lock (server.Agents)
|
||||
{
|
||||
if (server.Agents.ContainsKey(agent.Address))
|
||||
@@ -96,6 +98,5 @@ namespace Simian.Extensions
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,12 +59,12 @@ namespace Simian.Extensions
|
||||
imageData.ImageID.Packets = 1;
|
||||
if (bake)
|
||||
{
|
||||
Logger.DebugLog("Sending default bake texture");
|
||||
Logger.DebugLog(String.Format("Sending default bake texture for {0}", block.Image));
|
||||
imageData.ImageData.Data = DefaultBakedJP2;
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.DebugLog("Sending default texture");
|
||||
Logger.DebugLog(String.Format("Sending default texture for {0}", block.Image));
|
||||
imageData.ImageData.Data = DefaultJP2;
|
||||
}
|
||||
imageData.ImageID.Size = (uint)imageData.ImageData.Data.Length;
|
||||
|
||||
Reference in New Issue
Block a user