aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs19
1 files changed, 6 insertions, 13 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
index 35de1e6..2a75205 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
@@ -84,6 +84,7 @@ namespace OpenSim
84 public event UpdatePrimVector OnUpdatePrimScale; 84 public event UpdatePrimVector OnUpdatePrimScale;
85 public event StatusChange OnChildAgentStatus; 85 public event StatusChange OnChildAgentStatus;
86 public event ParcelPropertiesRequest OnParcelPropertiesRequest; 86 public event ParcelPropertiesRequest OnParcelPropertiesRequest;
87 public event ParcelDivideRequest OnParcelDivideRequest;
87 88
88 protected override void ProcessInPacket(Packet Pack) 89 protected override void ProcessInPacket(Packet Pack)
89 { 90 {
@@ -472,6 +473,10 @@ namespace OpenSim
472 ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; 473 ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack;
473 OnParcelPropertiesRequest((int)Math.Round(propertiesRequest.ParcelData.West), (int)Math.Round(propertiesRequest.ParcelData.South), (int)Math.Round(propertiesRequest.ParcelData.East), (int)Math.Round(propertiesRequest.ParcelData.North),propertiesRequest.ParcelData.SequenceID,propertiesRequest.ParcelData.SnapSelection, this); 474 OnParcelPropertiesRequest((int)Math.Round(propertiesRequest.ParcelData.West), (int)Math.Round(propertiesRequest.ParcelData.South), (int)Math.Round(propertiesRequest.ParcelData.East), (int)Math.Round(propertiesRequest.ParcelData.North),propertiesRequest.ParcelData.SequenceID,propertiesRequest.ParcelData.SnapSelection, this);
474 break; 475 break;
476 case PacketType.ParcelDivide:
477 ParcelDividePacket parcelDivide = (ParcelDividePacket)Pack;
478 OnParcelDivideRequest((int)Math.Round(parcelDivide.ParcelData.West), (int)Math.Round(parcelDivide.ParcelData.South), (int)Math.Round(parcelDivide.ParcelData.East), (int)Math.Round(parcelDivide.ParcelData.North), this);
479 break;
475 #endregion 480 #endregion
476 481
477 #region unimplemented handlers 482 #region unimplemented handlers
@@ -481,19 +486,7 @@ namespace OpenSim
481 case PacketType.ObjectScale: 486 case PacketType.ObjectScale:
482 break; 487 break;
483 case PacketType.MoneyBalanceRequest: 488 case PacketType.MoneyBalanceRequest:
484 //This need to be actually done and not thrown back with fake info 489 //This need to be actually done and not thrown back with fake infos
485 MoneyBalanceRequestPacket incoming = (MoneyBalanceRequestPacket)Pack;
486 MoneyBalanceReplyPacket outgoing = new MoneyBalanceReplyPacket();
487 outgoing.MoneyData.AgentID = incoming.AgentData.AgentID;
488 outgoing.MoneyData.MoneyBalance = 31337;
489 outgoing.MoneyData.SquareMetersCommitted = 0;
490 outgoing.MoneyData.SquareMetersCredit = 100000000;
491 outgoing.MoneyData.TransactionID = incoming.MoneyData.TransactionID;
492 outgoing.MoneyData.TransactionSuccess = true;
493 outgoing.MoneyData.Description = libsecondlife.Helpers.StringToField("");
494 this.OutPacket((Packet)outgoing);
495 MainConsole.Instance.Notice("Sent Temporary Money packet (they have leet monies)");
496
497 break; 490 break;
498 491
499 case PacketType.EstateCovenantRequest: 492 case PacketType.EstateCovenantRequest: