Chat/Shout/etc should be working again

afrisby
MW 2007-07-13 21:12:16 +00:00
parent e6dc575bc3
commit 9b61def98d
3 changed files with 9 additions and 3 deletions

View File

@ -475,10 +475,10 @@ namespace OpenSim.Region.Environment
fullSimParcel.setParcelBitmap(Parcel.getSquareParcelBitmap(0, 0, 256, 256)); fullSimParcel.setParcelBitmap(Parcel.getSquareParcelBitmap(0, 0, 256, 256));
fullSimParcel.parcelData.parcelName = "Your Sim Parcel"; fullSimParcel.parcelData.parcelName = "Your Sim Parcel";
fullSimParcel.parcelData.parcelDesc = ""; fullSimParcel.parcelData.parcelDesc = "";
fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID; fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID;
fullSimParcel.parcelData.salePrice = 1; fullSimParcel.parcelData.salePrice = 1;
fullSimParcel.parcelData.parcelFlags |= (uint)libsecondlife.Parcel.ParcelFlags.ForSale;
fullSimParcel.parcelData.parcelFlags |=(uint)libsecondlife.Parcel.ParcelFlags.ForSale;
fullSimParcel.parcelData.parcelStatus = libsecondlife.Parcel.ParcelStatus.Leased; fullSimParcel.parcelData.parcelStatus = libsecondlife.Parcel.ParcelStatus.Leased;
addParcel(fullSimParcel); addParcel(fullSimParcel);

View File

@ -141,6 +141,12 @@ namespace OpenSim.Region.Environment.Scenes
{ {
// Console.WriteLine("Chat message"); // Console.WriteLine("Chat message");
ScenePresence avatar = null; ScenePresence avatar = null;
if (this.Avatars.ContainsKey(fromAgentID))
{
avatar = this.Avatars[fromAgentID];
fromPos = avatar.Pos;
fromName = avatar.firstname + " " + avatar.lastname;
}
m_clientManager.ForEachClient(delegate(IClientAPI client) m_clientManager.ForEachClient(delegate(IClientAPI client)
{ {