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.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);

View File

@ -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)
{

View File

@ -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);