diff options
author | Teravus Ovares | 2007-11-24 00:19:48 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-24 00:19:48 +0000 |
commit | d7ec786244cce8b856233090349d85b4aec76206 (patch) | |
tree | 78c24962ce09c5108f63fb31cba91eb4d9fed698 /OpenSim/Region/ClientStack | |
parent | *Fixed bug causing parcel prim counts to stop updating. (diff) | |
download | opensim-SC-d7ec786244cce8b856233090349d85b4aec76206.zip opensim-SC-d7ec786244cce8b856233090349d85b4aec76206.tar.gz opensim-SC-d7ec786244cce8b856233090349d85b4aec76206.tar.bz2 opensim-SC-d7ec786244cce8b856233090349d85b4aec76206.tar.xz |
* Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 8c4dba6..64f5b6d 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -1065,6 +1065,47 @@ namespace OpenSim.Region.ClientStack | |||
1065 | #endregion | 1065 | #endregion |
1066 | 1066 | ||
1067 | #region unimplemented handlers | 1067 | #region unimplemented handlers |
1068 | case PacketType.RequestGodlikePowers: | ||
1069 | //RequestGodlikePowersPacket rglpPack = (RequestGodlikePowersPacket) Pack; | ||
1070 | //RequestGodlikePowersPacket.RequestBlockBlock rblock = rglpPack.RequestBlock; | ||
1071 | //LLUUID token = rblock.Token; | ||
1072 | //RequestGodlikePowersPacket.AgentDataBlock ablock = rglpPack.AgentData; | ||
1073 | |||
1074 | |||
1075 | //GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); | ||
1076 | //GrantGodlikePowersPacket.GrantDataBlock gdb = new GrantGodlikePowersPacket.GrantDataBlock(); | ||
1077 | //GrantGodlikePowersPacket.AgentDataBlock adb = new GrantGodlikePowersPacket.AgentDataBlock(); | ||
1078 | |||
1079 | //adb.AgentID = ablock.AgentID; | ||
1080 | //adb.SessionID = ablock.SessionID; | ||
1081 | |||
1082 | //gdb.GodLevel = (byte)100; | ||
1083 | //gdb.Token = token; | ||
1084 | //respondPacket.AgentData = (GrantGodlikePowersPacket.AgentDataBlock)ablock; | ||
1085 | //respondPacket.GrantData = gdb; | ||
1086 | //respondPacket.AgentData = adb; | ||
1087 | //OutPacket(respondPacket, ThrottleOutPacketType.Task); | ||
1088 | break; | ||
1089 | case PacketType.GodKickUser: | ||
1090 | //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; | ||
1091 | //gkupack.UserInfo.GodID; | ||
1092 | //gkupack.UserInfo.AgentID; | ||
1093 | //gkupack.UserInfo.KickFlags; | ||
1094 | //gkupack.UserInfo.Reason; | ||
1095 | //KickUserPacket kupack = new KickUserPacket(); | ||
1096 | //KickUserPacket.UserInfoBlock kupackib = kupack.UserInfo; | ||
1097 | |||
1098 | //kupack.UserInfo.AgentID = gkupack.UserInfo.AgentID; | ||
1099 | //kupack.UserInfo.SessionID = gkupack.UserInfo.GodSessionID; | ||
1100 | |||
1101 | //kupack.TargetBlock.TargetIP = (uint)0; | ||
1102 | //kupack.TargetBlock.TargetPort = (ushort)0; | ||
1103 | //kupack.UserInfo.Reason = gkupack.UserInfo.Reason; | ||
1104 | |||
1105 | |||
1106 | //OutPacket(kupack, ThrottleOutPacketType.Task); | ||
1107 | break; | ||
1108 | |||
1068 | case PacketType.StartPingCheck: | 1109 | case PacketType.StartPingCheck: |
1069 | // Send the client the ping response back | 1110 | // Send the client the ping response back |
1070 | // Pass the same PingID in the matching packet | 1111 | // Pass the same PingID in the matching packet |