diff options
author | Adam Frisby | 2007-05-30 03:58:27 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-30 03:58:27 +0000 |
commit | 6f9aba58ee2590d2594e365789c92da58923d3fc (patch) | |
tree | ef7e797966f1e99cebfada59aabbfa3e58b1f7da /OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |
parent | and log mode reconnect added. (diff) | |
download | opensim-SC_OLD-6f9aba58ee2590d2594e365789c92da58923d3fc.zip opensim-SC_OLD-6f9aba58ee2590d2594e365789c92da58923d3fc.tar.gz opensim-SC_OLD-6f9aba58ee2590d2594e365789c92da58923d3fc.tar.bz2 opensim-SC_OLD-6f9aba58ee2590d2594e365789c92da58923d3fc.tar.xz |
* May have fixed issues with the world map.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs index ed3355f..0d4e42e 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |||
@@ -350,13 +350,21 @@ namespace OpenSim | |||
350 | } | 350 | } |
351 | break; | 351 | break; |
352 | case PacketType.MapLayerRequest: | 352 | case PacketType.MapLayerRequest: |
353 | // This be busted. | ||
354 | MapLayerRequestPacket MapRequest = (MapLayerRequestPacket)Pack; | ||
353 | this.RequestMapLayer(); | 355 | this.RequestMapLayer(); |
356 | this.RequestMapBlocks((int)this.m_regionData.RegionLocX - 50, (int)this.m_regionData.RegionLocY - 50, (int)this.m_regionData.RegionLocX + 50, (int)this.m_regionData.RegionLocY + 50); | ||
354 | break; | 357 | break; |
358 | |||
355 | case PacketType.MapBlockRequest: | 359 | case PacketType.MapBlockRequest: |
356 | MapBlockRequestPacket MapRequest = (MapBlockRequestPacket)Pack; | 360 | MapBlockRequestPacket MapBRequest = (MapBlockRequestPacket)Pack; |
361 | this.RequestMapBlocks(MapBRequest.PositionData.MinX, MapBRequest.PositionData.MinY, MapBRequest.PositionData.MaxX, MapBRequest.PositionData.MaxY); | ||
362 | break; | ||
357 | 363 | ||
358 | this.RequestMapBlocks(MapRequest.PositionData.MinX, MapRequest.PositionData.MinY, MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); | 364 | case PacketType.MapNameRequest: |
365 | // TODO. | ||
359 | break; | 366 | break; |
367 | |||
360 | case PacketType.TeleportLandmarkRequest: | 368 | case PacketType.TeleportLandmarkRequest: |
361 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket)Pack; | 369 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket)Pack; |
362 | 370 | ||