diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/ParcelManager.cs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/OpenSim/Region/Environment/ParcelManager.cs b/OpenSim/Region/Environment/ParcelManager.cs index 125ba19..07f39fd 100644 --- a/OpenSim/Region/Environment/ParcelManager.cs +++ b/OpenSim/Region/Environment/ParcelManager.cs | |||
@@ -481,13 +481,7 @@ namespace OpenSim.Region.Environment | |||
481 | Parcel fullSimParcel = new Parcel(LLUUID.Zero, false, m_world); | 481 | Parcel fullSimParcel = new Parcel(LLUUID.Zero, false, m_world); |
482 | 482 | ||
483 | fullSimParcel.setParcelBitmap(Parcel.getSquareParcelBitmap(0, 0, 256, 256)); | 483 | fullSimParcel.setParcelBitmap(Parcel.getSquareParcelBitmap(0, 0, 256, 256)); |
484 | fullSimParcel.parcelData.parcelName = "Your Sim Parcel"; | ||
485 | fullSimParcel.parcelData.parcelDesc = ""; | ||
486 | fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID; | 484 | fullSimParcel.parcelData.ownerID = m_regInfo.MasterAvatarAssignedUUID; |
487 | fullSimParcel.parcelData.salePrice = 1; | ||
488 | |||
489 | fullSimParcel.parcelData.parcelFlags |=(uint)libsecondlife.Parcel.ParcelFlags.ForSale; | ||
490 | fullSimParcel.parcelData.parcelStatus = libsecondlife.Parcel.ParcelStatus.Leased; | ||
491 | 485 | ||
492 | addParcel(fullSimParcel); | 486 | addParcel(fullSimParcel); |
493 | 487 | ||
@@ -611,16 +605,16 @@ namespace OpenSim.Region.Environment | |||
611 | updatePacket.ParcelData.OtherPrims = 0; //unemplented | 605 | updatePacket.ParcelData.OtherPrims = 0; //unemplented |
612 | updatePacket.ParcelData.OwnerID = parcelData.ownerID; | 606 | updatePacket.ParcelData.OwnerID = parcelData.ownerID; |
613 | updatePacket.ParcelData.OwnerPrims = 0; //unemplemented | 607 | updatePacket.ParcelData.OwnerPrims = 0; //unemplemented |
614 | updatePacket.ParcelData.ParcelFlags = parcelData.parcelFlags; //unemplemented | 608 | updatePacket.ParcelData.ParcelFlags = parcelData.parcelFlags; |
615 | updatePacket.ParcelData.ParcelPrimBonus = (float)1.0; //unemplemented | 609 | updatePacket.ParcelData.ParcelPrimBonus = m_world.RegionInfo.estateSettings.objectBonusFactor; |
616 | updatePacket.ParcelData.PassHours = parcelData.passHours; | 610 | updatePacket.ParcelData.PassHours = parcelData.passHours; |
617 | updatePacket.ParcelData.PassPrice = parcelData.passPrice; | 611 | updatePacket.ParcelData.PassPrice = parcelData.passPrice; |
618 | updatePacket.ParcelData.PublicCount = 0; //unemplemented | 612 | updatePacket.ParcelData.PublicCount = 0; //unemplemented |
619 | updatePacket.ParcelData.RegionDenyAnonymous = false; //unemplemented | 613 | updatePacket.ParcelData.RegionDenyAnonymous = (((uint)m_world.RegionInfo.estateSettings.regionFlags & (uint)Simulator.RegionFlags.DenyAnonymous) > 0); |
620 | updatePacket.ParcelData.RegionDenyIdentified = false; //unemplemented | 614 | updatePacket.ParcelData.RegionDenyIdentified = (((uint)m_world.RegionInfo.estateSettings.regionFlags & (uint)Simulator.RegionFlags.DenyIdentified) > 0); |
621 | updatePacket.ParcelData.RegionDenyTransacted = false; //unemplemented | 615 | updatePacket.ParcelData.RegionDenyTransacted = (((uint)m_world.RegionInfo.estateSettings.regionFlags & (uint)Simulator.RegionFlags.DenyTransacted) > 0); |
622 | updatePacket.ParcelData.RegionPushOverride = true; //unemplemented | 616 | updatePacket.ParcelData.RegionPushOverride = (((uint)m_world.RegionInfo.estateSettings.regionFlags & (uint)Simulator.RegionFlags.RestrictPushObject) > 0); |
623 | updatePacket.ParcelData.RentPrice = 0; //?? | 617 | updatePacket.ParcelData.RentPrice = 0; |
624 | updatePacket.ParcelData.RequestResult = request_result; | 618 | updatePacket.ParcelData.RequestResult = request_result; |
625 | updatePacket.ParcelData.SalePrice = parcelData.salePrice; //unemplemented | 619 | updatePacket.ParcelData.SalePrice = parcelData.salePrice; //unemplemented |
626 | updatePacket.ParcelData.SelectedPrims = 0; //unemeplemented | 620 | updatePacket.ParcelData.SelectedPrims = 0; //unemeplemented |