Chat/Shout/etc should be working again
parent
e6dc575bc3
commit
9b61def98d
|
@ -475,10 +475,10 @@ namespace OpenSim.Region.Environment
|
|||
fullSimParcel.setParcelBitmap(Parcel.getSquareParcelBitmap(0, 0, 256, 256));
|
||||
fullSimParcel.parcelData.parcelName = "Your Sim Parcel";
|
||||
fullSimParcel.parcelData.parcelDesc = "";
|
||||
|
||||
fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID;
|
||||
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;
|
||||
|
||||
addParcel(fullSimParcel);
|
||||
|
|
|
@ -141,6 +141,12 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
// Console.WriteLine("Chat message");
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -478,7 +478,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
client.OnObjectName += this.PrimName;
|
||||
client.OnLinkObjects += this.LinkObjects;
|
||||
client.OnObjectDuplicate += this.DuplicateObject;
|
||||
|
||||
|
||||
client.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest);
|
||||
client.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest);
|
||||
client.OnParcelJoinRequest += new ParcelJoinRequest(parcelManager.handleParcelJoinRequest);
|
||||
|
|
Loading…
Reference in New Issue